Skip to content

Functions

Current NodeRED Project: Playing a Random Song from a Spotify Playlist When Turning on the Shower

It all boils down to an automation that plays media using Spotify as the source when triggered. In this case, the trigger will be the state of our digital shower valve which is a simple on/off switch. The media player will be a PiCore Player (squeezebox) running on a Raspberry Pi3b, and the media source (i.e. the song played) will be a link to a Spotify track (URI).