Jump to content

URLs - should be a trivial question


Recommended Posts

Posted

This should be a trivial question but ...

The query http://192.55.226.204/rest/status works just fine in my browser

But I'm trying to control a light and have tried

http://192.55.226.204/rest/nodes/8+1B+A7+1/cmd/DFOF

http://192.55.226.204/rest/nodes/8 1B A7 1/cmd/DFOF

http://192.55.226.204/rest/nodes/8%201B%20A7/cmd/DFOF

http://192.55.226.204/rest/nodes/OfficeMidFront/cmd/DFOF

And all give me

<RestResponse succeeded="false">
  <status>404</status>
</RestResponse>
 
(yes, I also tried with credentials in NodeJS)

What am I missing?
 
 
 

 

Posted

You probably missed the trailing " 1" in the third one.  This works for me:

http://isy994/rest/nodes/3C%20EB%20EC%201/cmd/DON

 

Posted

Thanks. the 1 is indeed necessary but (emarrassingly). the primary problem was having the wrong Insteon address.

I also updated to 5 -- now if I could figure out how to install the websocket sample on the ISY I'm golden.|

One aside, in 5 the /rest/status seems much slower.

 

Posted

OK, now that I have things working where is the documentation on properties -- I can try to guess at what ERR, OL, RR and ST mean but documentation would help.  When I do DON/50  I get ST=50 but if I do a DFO I see ST=255. So I'm confused

 

Posted

Insteon devices are 255 = Full On and 0 = Off. This is a single 8 bit byte and defined by the Insteon spec.

Zwave devices use 100 = On though. So, the number represents a percentage.

In both cases, sending simply ‘On’ sakes the device to turn on. When that means is set in the device as the default on level. For both that’s usually 100% (255 for Insteon or 100 for zwave).

  • Like 1
Guest
This topic is now closed to further replies.

×
×
  • Create New...