Jump to content

ISY response protocol


Zellarman

Recommended Posts

I successfully use a third party app (iRule) to control my lights. A new release of this app now allows reporting of feedback and I'd love to incorporate this into my GUI. How does the ISY report the current status of devices (what is the format or coding)? For example if the on level of a device (0A.23.45) is presently 85 (out of the 0-255 range) what does the ISY send?

Link to comment

Calculate 85% of 255. A direct cause/effect can be viewed by running Tools | Diagnostics | Event Viewer with Device communications events selected (important). Set the device to a particular On percentage and view the command issued. I set a device to 85% ON using the Admin Console Current State slider. The On command issued used a value of hex D8 decimal 216. The byte immediately after the hex 11 ON command contains the On Level (hex D8).

 

Sun 08/14/2011 11:57:49 AM : [iNST-ACK ] 02 62 15.9A.F9 0F 11 D8 06 LTONRR (D8)

Link to comment

I did as you said and looked at the event viewer. It did help me gain a little more of an understanding as to how things operate with the ISY, however it didn't help me progress any with what I'm trying to accomplish.

What I did discover, and maybe it really doesnt tell much, because regardless of the command I sent from the app I'm using, or status of any device, what I got in response

" <?xml version="1.0" encoding="UTF-8"?> "

doesn't change

Link to comment

There is no Status of a Scene if that is what you are looking for. Insteon has no concept of Scene Status.

 

A more extensive query of a node would be

 

//192.168.2.2/rest/nodes/15%20B2%206A%201

 

<?xml version="1.0" encoding="UTF-8" ?>

-

-

15 B2 6A 1

ICON Dimmer 1

1.30.57.53

true

I02

-

Link to comment

Thanks for your patience and excellent help! I'll have to use the info in your last post, the previous query works, but doesn't return the device address, which wouldn't work on a GUI that's intended to show multiple statices. In any case I think I have it now, the only thing I'd like to see differently, would be a query that returned multiple addressed statices, but I don't think that exists. Anyway, thanks again for all your help, now I have to ask, Who pays you?!

Link to comment

Archived

This topic is now archived and is closed to further replies.


×
×
  • Create New...