Hello!
I've integrated HA Spotify tracks (currently playing) into node red flows.
Got some of my fav tracks colour matched to the lighting states on the RGB lights in the living room.
What I am trying to find is a second counter node which will be triggered by a numerical input (from the media player)
IE: 21.31s then pulse a message out per complete second increasing on that time to do some fancy lighting changes on track positions (Similar to SMPTE LTC Timecode).
Tacks are filtered through switches per flow so the second pulse messages need to be just that, not unique.
I'd use the time input from HA media player but the updates arent that frequent. So a static timer that can be updated with the real track time (from time to time) during the track would be great.
Cheers