Jump to content

REST and a Slider


deg01004

Recommended Posts

So, I made a slider to control my insteon lights through ISY-99i's rest interface. I have the scale going from 0-255 and it works perfectly from 1-255.

 

My code is

192.168.50.100/rest/nodes/99999/cmd/DON/[value]

 

or using my http request:

 

Get /rest/nodes/99999/cmd/DON/[value] HTTP/1.1\x0D\x0AHost: 192.168.50.100\x0AAuthorization:Basic YWRtaW46YWRtaW4=\x0D\x0A\x0D\x0A

 

When the [value] is 0 the lights go to full on. It's easy to work around by setting my scale from 1-255 and having a off button but it would be nice if using 0 made the lights go to off.

 

You can see my slider here

 

http://deg01004.blogspot.com/

 

IMG_0010%5B1%5D

 

IMG_0011%5B1%5D

 

Is there anything i can do to fix this?

 

Thanks Shad

Link to comment

Archived

This topic is now archived and is closed to further replies.


×
×
  • Create New...