Jump to content

REST control of dimmer from Crestron


JustinDR@cox.net

Recommended Posts

Posted

I have a isy-99i that I am using to manage 12 Insteon dimmers / keypads.

 

I recently have integrated control of the isy-99i from my Crestron processor using the REST interface and have run into a small snag.

As of now, I can successfully control scenes that are programmed in the isy99, but I am not able to control a single dimmer.

 

Here is the string I am sending for control of a scene. The scene ID that is displayed in the isy99 programming interface is 13714. This command seems to work fine for on and off.

 

GET rest/nodes/13714/cmd/DON HTTP/1.1\x0D\x0AHost: 10.30.20.21\x0D\x0AAuthorization: Basic YWRtaW46YWRtaW4=\x0D\x0A\x0D\x0A

 

What I can't figure out is how to control a single dimmer directly. My goal is to send a command to the dimmer (ex: on to 60%), then query the dimmer for it's status in order to provide level feedback to my touchpanels.

 

I have tried the following strings to a dimmer with the address 14.98.DE, but none work... What am I missing?

 

GET rest/nodes/14 98 DE/cmd/DON HTTP/1.1\x0D\x0AHost: 10.30.20.21\x0D\x0AAuthorization: Basic YWRtaW46YWRtaW4=\x0D\x0A\x0D\x0A

 

GET rest/nodes/14 98 DE 1/cmd/DON HTTP/1.1\x0D\x0AHost: 10.30.20.21\x0D\x0AAuthorization: Basic YWRtaW46YWRtaW4=\x0D\x0A\x0D\x0A

 

GET rest/nodes/14.98.DE/cmd/DON HTTP/1.1\x0D\x0AHost: 10.30.20.21\x0D\x0AAuthorization: Basic YWRtaW46YWRtaW4=\x0D\x0A\x0D\x0A

 

Thanks in advance for any help you can provide.

Posted

Maybe the bulletin board here is taking out the %20 in the address of the nodes here, you might try posting the rest commands with the Code button above and put it between so we really know.

 

Also, I hope you have changed your password from the basic you posted above, someone nefarious could find you.

 

Alan

Guest
This topic is now closed to further replies.

  • Recently Browsing

    • No registered users viewing this page.
  • Forum Statistics

    • Total Topics
      37k
    • Total Posts
      371.5k
×
×
  • Create New...