Posted July 31, 20169 yr Just starting to understand Zwave and I am struggling to find the right rest commands or the correct device ID to use. As a start all I want to to do is put together a rest command to turn on/off a GE switch. Would very much appreciate an example to get me started. Thanks in advance.
July 31, 20169 yr I only operate variables via the rest commands. Then a program detects the variable change and operates my scenes etc. This method has some advantages that you can still do logic to lockout operations etc. but may incurr some slight delay. What device are you using to send the REST commands? Edited July 31, 20169 yr by larryllix
August 1, 20169 yr Author I use an ios program called Demopad that allows me to design an iPhone/iPad remote to control everything from the ios device. I have the isy Insteon intergrated, as well as Hue lights, receivers, Bluray etc all via IP control. Now I have added the Zwave module to t.he isy I am looking to migrate from Insteon to Zwave because my third. PLM just went dead (always just after 2 years).
August 1, 20169 yr Z-Wave devices are no different from Insteon devices for basic REST operations like "On" and "Off" or even dimming. Just replace the node address with the address of the z-wave node, as displayed in your admin console. If confused, just use the REST command to get the entire list of nodes, and pick your z-wave node name's address from that list. I just open the node list in my browser: http://isy.example.com/rest/nodes
August 1, 20169 yr Z-Wave devices are no different from Insteon devices for basic REST operations like "On" and "Off" or even dimming. Just replace the node address with the address of the z-wave node, as displayed in your admin console. If confused, just use the REST command to get the entire list of nodes, and pick your z-wave node name's address from that list. I just open the node list in my browser: http://isy.example.com/rest/nodes IIRC the device IDs are listed at one side of the device list in the admin console. You have to add a 1 or somthing like that to the shown ID though.
August 1, 20169 yr Here's an example that turns on a z-wave dimmer (I think this one's a GE unit; they're pretty much all the same from the REST point-of-view): http://isy.example.com/rest/nodes/ZW002_1/cmd/DON Here's setting a specific dim level: http://isy.example.com/rest/nodes/ZW002_1/cmd/DON/50 And turning it off again: http://isy.example.com/rest/nodes/ZW002_1/cmd/DOF (BTW, adding the " 1" to the end of the address is an Insteon device thing, not a zwave thing -- to avoid any confusion, use the rest/nodes command above to unambiguously get your addresses.)
August 1, 20169 yr hmmmm..... the forum shortens the URLs you posted, making them not that helpful. I can see the whole URL if I click Quote and then cancel the post. Maybe try inserting a space into the URLs somewhere?? or Insert them into a code box <> maybe. Edited August 1, 20169 yr by larryllix
August 1, 20169 yr Author Thanks "mwester" and "larryllix" that was what I was afer the " zw002-1 " being the node name.
August 1, 20169 yr Hi trevorst, http://wiki.universal-devices.com/index.php?title=ISY_Developers:API:REST_Interface. With kind regards, Michel
Archived
This topic is now archived and is closed to further replies.