garybixler Posted December 7, 2014 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
LeeG Posted December 7, 2014 Posted December 7, 2014 (edited) 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 Edited December 7, 2014 by LeeG
garybixler Posted December 7, 2014 Author Posted December 7, 2014 (edited) 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 Edited December 7, 2014 by garybixler
LeeG Posted December 7, 2014 Posted December 7, 2014 (edited) 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. Edited December 7, 2014 by LeeG
garybixler Posted December 7, 2014 Author Posted December 7, 2014 Yes, you are absolutely right. Works ok now. Thanks Lee
LeeG Posted December 7, 2014 Posted December 7, 2014 You're welcome. Thanks for posting back as the examples may help someone in the future.
Recommended Posts