[quote=“mda, post:11, topic:167512”]i believe the virtual switch is at Box
i created one virtual switch for each scene that i wanted to display status for. in my case i named them “status-home”, “status-leave”, and “status-sleep” to correspond with my “Home”, “Leave Home” and “Sleep” scenes. (the switch names are not used in the display however, so naming is just to make it easier to know which is which when programming).
in my scenes i used luup code to set status to ON for the scene just selected and to OFF for the others. For example, this is what is in Luup for my home scene (along with other unrelated stuff):
– set status virtual devices so sq remote can show scene activation
luup.call_action(“urn:upnp-org:serviceId:SwitchPower1”,“SetTarget”,{ newTargetValue=“1” },124) – status-home
luup.call_action(“urn:upnp-org:serviceId:SwitchPower1”,“SetTarget”,{ newTargetValue=“0” },123) – status-leave
luup.call_action(“urn:upnp-org:serviceId:SwitchPower1”,“SetTarget”,{ newTargetValue=“0” },125) – status-sleep
then in my SQ Remote setup i added a MIOS Controls → Status Labels → Light Status control for each of the 3 virtual switches and i placed them so that the name of the switch is off screen and just the status text is visible on the control pad. i then saved the SQ Remote config to box.net and opened edited the XML to replace “On” in the status message for 1 and default with a tick mark and a space for status 0, and i upped the font size. (see “sq remove screen shot”)
now what happens is when i tap the scene button in SQ Remote it calls the scene and the scene sets the virtual devices on or off, and SQ Remote sees the on/off update to the virtual devices and show a green tick mark to the left of the one that is on and a space (nothing) for the others. This provides me with visual feedback that the scene did actually execute on vera (because it is the scene that changes the switch status).
i realize this is convoluted and perhaps there is a simpler way to do this which eludes me, but this way does in fact work quite nicely in practice.[/quote]
Whoa, thanks! Wish me luck…