Controlling Sonos to play a particular radio station or MP3

Einklappen
X
 
  • Zeit
  • Anzeigen
Alles löschen
neue Beiträge
  • Gast

    #1

    Controlling Sonos to play a particular radio station or MP3

    I'd like to be able to control my Sonos so that in the mornings it will play a certain radio station when I go downstairs. I'd also like to be able to play a certain MP3 when my burglar alarm is triggered. Does anyone know how to do this?
  • deepinpowder
    LoxBus Spammer
    • 07.03.2016
    • 412

    #2
    Hy,

    use browser google chrome. Search this Forum "Sonos" tap on translate. The best topic here is German, sorry.

    There is a good Thread about sonos and php. This works. You should try.

    the guys did a great job with this php class.

    Cheers
    Zuletzt geändert von deepinpowder; 23.06.2016, 09:43.

    Kommentar

    • Gast

      #3
      Zitat von knokTANK
      I'd like to be able to control my Sonos so that in the mornings it will play a certain radio station when I go downstairs. I'd also like to be able to play a certain MP3 when my burglar alarm is triggered. Does anyone know how to do this?
      Hi knokTANK,

      After a long time I managed to setup something like this and it works perfectly. You might need some Python knowledge or help from someone but otherwise it's easy.
      All starts from a pulse in Loxone. Either morning time pulse or burglar alarm pulse. From this pulse you trigger a request to an http server that you can run in your home (imagine raspberry pi for example). This server receives the request (I have a python http server running) and using socos (search socos github) it starts to play a music. That's all. The details here are the important bits. If I can expand on this in any way or need scripts please let me know. Happy to help.

      Kommentar

      • Gast

        #4
        Thanks for the info you two, I am not that great at coding so I may well be back for further help. Thank you.

        Kommentar

        Lädt...