ferdies Posted June 5, 2014 Posted June 5, 2014 Is it possible to get the status of a SCENE (whether ON or OFF)? As per wiki, it is only a node: /rest/status/ returns the status for the given node Example
Xathros Posted June 5, 2014 Posted June 5, 2014 Insteon scenes don't have a status. You would need to test the status of each scene member to make a determination. Many of us choose a single member device to represent the status of a scene. Others will set a variable at the same time as turning on/off a scene and use the value of the variable to represent the scene's status. -Xathros
ferdies Posted June 5, 2014 Author Posted June 5, 2014 Thank you for the feedback. I will follow your suggestion on using a member of a scene to get the status of a scene. In the same token, what is the best best to capture the the status This XML file does not appear to have any style information associated with it. The document tree is shown below. The result would be used in a tasker's task to determine if a scene is on or off, then execute a program. Is this possible?
Xathros Posted June 5, 2014 Posted June 5, 2014 Using /rest/status/21 61 F8 2 I get: Indicating that the Dusk/Dawn node of this motion sensor is On. Using: /rest/status/1 C9 FA 1 I get: Indicating the on level of 41% on this dimmer. Hope this helps. -Xathros
ferdies Posted June 5, 2014 Author Posted June 5, 2014 Thanks Xathros. I have done the rest/status on my URL and got the same results, Maybe I was not so clear but my question was more on the the best way to store the results into a variable (using Tasker). I just created a new topic since my question was on status of a scene, initially. Similar to the discussion here. http://forum.universal-devices.com/viewtopic.php?f=27&t=14915&p=116411#p116411 Again, thanks.
Xathros Posted June 6, 2014 Posted June 6, 2014 Thanks Xathros. I have done the rest/status on my URL and got the same results, Maybe I was not so clear but my question was more on the the best way to store the results into a variable (using Tasker). I just created a new topic since my question was on status of a scene, initially. Similar discussion to the discussion here. http://forum.universal-devices.com/viewtopic.php?f=27&t=14915&p=116411#p116411 Again, thanks. My apologies. I did in fact misunderstand the question. Not being familiar with Tasker, I cannot answer that. However, I do believe the other thread has the info you are looking for. -Xathros
Recommended Posts