We have moved at community.getvera.com

Author Topic: How-to: force to check Sonos state  (Read 1125 times)

Offline Santos

  • Jr. Member
  • **
  • Posts: 93
  • Karma: +2/-1
How-to: force to check Sonos state
« on: January 17, 2016, 07:58:13 pm »
I turn the power off for my Sonos device when I'm away from home. When I return back home, I turn the device power back on but sonos shows as offline and so if I give it a luup action to play a certain playlist, it does not play it.

Is there anyway I can force a "getstatus" using luup code? I have a fixed IP address for the Sonos device.

Thanks for your help!

Offline Santos

  • Jr. Member
  • **
  • Posts: 93
  • Karma: +2/-1
Re: How-to: force to check Sonos state
« Reply #1 on: January 20, 2016, 06:36:12 pm »
Finally I found a way to solve this. Please see my other post at:
http://forum.micasaverde.com/index.php/topic,35880.0.html

It also includes code to play a random song on your sonos when you get home :)