Play Sonos radio
-
Hi all,
Just started using Flic for our office. I have a case that I didn't figure out yet.
We use the button to play a song whenever someone pushes the button. Afterwards I would like to start the sonos radio after 30 seconds.
Is there a possibility to start sonos radio? I haven't find a way yet.
Thx in advance!
#sonos
-
@rick-0 While it would definitely be nice to be able to do this natively within Flic, you could do this with the IFTTT service. Not sure if you've ever used it. Below is a link that describes how. Essentially, create 2 IFTTT applets that are linked together via web hook with a Delay before the second one starts. Yes, more involved than an average consumer is going to want, but still an option. (and I believe it requires an IFTTT Pro account $)
https://help.ifttt.com/hc/en-us/articles/13299982764315-How-to-Add-Delays-Between-Actions
-
@admin-flic Please have this added as a build in feature in the app. Not all your users is developers but just normal people.
-
Hey @rick-0!
I don't know about all the play a song then radio business... But I also wanted to be able to play radio stations on sonos with my flics(not a playlist) and wrote some code that works for me.
https://github.com/V0idmain/flic_examples/tree/main/sonos_radio_example
You'll need to be able to get setup with the hub sdk.
Hope it helps!
-
@rick-0 We don't have any built-in functionality for that. Maybe you can use the Windows client for Sonos and at the same time have Wireshark running and sniff what HTTP request it sends to the speaker when you press start radio, then enter the same request as an "Internet request" action in our app.