# Sonos app api timing issues

**URL:** <https://community.homey.app/t/sonos-app-api-timing-issues/116560>\
**Category:** Questions & Help\
**Created:** [September 23, 2024, 7:14am UTC](https://community.homey.app/t/sonos-app-api-timing-issues/116560 "2024-09-23T07:14:22Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Amersfoort](https://avatars.discourse-cdn.com/v4/letter/a/94ad74/32.png) [@Amersfoort](https://community.homey.app/u/Amersfoort)\
**Post date:** [September 23, 2024, 7:14am UTC](https://community.homey.app/t/sonos-app-api-timing-issues/116560/1 "2024-09-23T07:14:22Z")

</div>

I’m using Spotify on my Sonos linked via Sonos app on my Homey.

Using the Homey cloud api v3 I would like to sync the playing time of the current song with the songtext, but the timers in the Homey Sonos app are not reliable. After pausing a song or playing next song in the middle of a song result in incorrect playing time values.

Is there a formula I can use for a reliable current playing time of a song in these cases?
