Posted March 23, 201510 yr I'm creating a lock/unlock command to use in iRules Here is what I created and its not working. Any suggestions? /rest/nodes/ZW011_1/cmd/DON When I use this in my browser I get a response of 404 (I'm assuming that's an error message) Here is what I'm using for unlock. /rest/nodes/ZW011_1/cmd/DOF Thank you Edited March 23, 201510 yr by Envirogreen
March 26, 201510 yr Author So I forgot that I triggered the lock unlock by sending a message from irule to elk (f3) Then in ISY i have a rule that locks unlocks based on elk f3 being pressed The key item missing is a rest command to the ISY that queries the lock or unlock state of the Yale lock (that will let me determine the correct image in irule when I enter the page) Thank you
March 26, 201510 yr Commands: http://forum.universal-devices.com/topic/12373-lock-unlock-with-rest-interface/?p=101099 Status: http://<ISYIP>/rest/status/<ZW_NODE> OR http://<ISYIP>/rest/nodes/<ZW_NODE> and look for: Locked <property id="ST" value="100" formatted="Locked" uom="11"/> Unlocked <property id="ST" value="0" formatted="Unlocked" uom="11"/> Edited March 26, 201510 yr by PurdueGuy
March 26, 201510 yr Any suggestions to query status (is it locked/unlocked)? I gave that answer previously, via a REST API command.
March 27, 201510 yr Author I tried the following http://192.168.2.85/rest/status/zw011_1and I get a response of 404...any suggestions of what I'm doing wrong?
March 27, 201510 yr I tried the following http://192.168.2.85/rest/status/zw011_1and I get a response of 404...any suggestions of what I'm doing wrong? Try: http://192.168.2.85/rest/status/ZW011_1 (ZW vs zw)
March 30, 201510 yr Author I tried that and now I get a blank response....better than an error...any suggestions?
March 30, 201510 yr The ISY doesn't give blank responses that I know of. Are you using Firefox or Chrome?
Archived
This topic is now archived and is closed to further replies.