garybixler Posted December 7, 2014 Share Posted December 7, 2014 Hi I was trying to turn on a relay using REST but couldn't find any documentation on how to turn on/off an individual relay on the EZ4O. Example would be appreciated. Thanks Gary Link to comment
LeeG Posted December 7, 2014 Share Posted December 7, 2014 The following turns On Relay 2 http://192.168.2.3/REST/nodes/17 6F 77 2/cmd/DON turn Off relay 1 http://192.168.2.3/REST/nodes/17 6F 77 1/cmd/DOF Link to comment
garybixler Posted December 7, 2014 Author Share Posted December 7, 2014 Hi Lee I had tried that but always get a 404 error. Other nodes work fine using rest but not the EZ4O. This is my example: (http://admin:admin@192.168.0.0:6040/rest/nodes/01 DD E5 1/cmd/DON) Because what I need to do is in programs anyway I just use ..rest/programs/006E/runThen as a work around. Thanks Gary ISY994i/IR PRO ver 4.2.15 Link to comment
LeeG Posted December 7, 2014 Share Posted December 7, 2014 The leading 0 in the Insteon address is likely the problem http://admin:admin@1...0/rest/nodes/1 DD E5 1/cmd/DON I tested the two examples before posting. Link to comment
garybixler Posted December 7, 2014 Author Share Posted December 7, 2014 Yes, you are absolutely right. Works ok now. Thanks Lee Link to comment
LeeG Posted December 7, 2014 Share Posted December 7, 2014 You're welcome. Thanks for posting back as the examples may help someone in the future. Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.