captain118 Posted March 9, 2012 Posted March 9, 2012 I have a third party package that allows me to do a http get/post as the result of a trigger. I would like to turn on my insteon light upon calling the trigger. However when I try this method, it requires a password. Is there a method to setup a trusted device that way it doesnt require authentication or is there a way to perform an action on my insteon light through a http request? for those interested the http request for your devices are as such: http:///rest/nodes//cmd/ IE: If my ISY Device was at IP 192.168.0.1 and my insteon module was 11 4C 88 and the Action was ON http://192.168.0.1/rest/nodes/11%204C%2088%201/cmd/DON Same details and the off command would be: http://192.168.0.1/rest/nodes/11%204C%2088%201/cmd/DOF Ok so I'm not entirely sure what the last %201 is. Its possible that its the scene number? Thanks, Kirk
Michel Kohanim Posted March 9, 2012 Posted March 9, 2012 Hi Kirk, Unfortunately you do need the HTTP Authorization headers. The last %201 is the button number. So, if you have a KeypadLinc, you will have 1, 2, 3, etc. With kind regards, Michel
captain118 Posted March 9, 2012 Author Posted March 9, 2012 Is there any way around it? snmp read/write, a trusted device mechanism, api I can use to write something?
Michel Kohanim Posted March 9, 2012 Posted March 9, 2012 Hi again, Fortunately not. The same mechanism can be used by anyone else to gain access. We do have plans for profiles and security levels but none include no-security. If you have such capabilities as snmp read/write, I guarantee you that adding an HTTP Authorization header in your request is much simpler. With kind regards, Michel
Recommended Posts