Hello All,
I'm new to arduino, but not totally green to programming. I'm working on a project that requires the arduino to interact with my web enabled thermostat (Proliphix NT100e). I need to do an http get request and dump that into a variable. (Specifically the temperature & state of the device). I'm using a nanode (http://www.nanode.eu) as the controller on the project.
Below is what I'm trying to accomplish. Any help / pointers would be greatly appeciated.
7.3
.1 Get
Gets assume the following format: http://IPADDR:PORT/get?OIDoidid=.
The following example gets the current zone temperature of the thermostat at IP Address 192.168.1.100, Port 8100.
http://192.168.1.100:8100/get?OID4.1.13=
Typing this into a browser’s URL line returns:
OID4.1.13=795&
The value returned is in deci-degrees so the zone temperature is 79.5°F.
7.3.2 Set
Sets assume the following format: http://IPADDR:PORT/pdp?OIDoidid=value&submit=Submit. Do not include an ‘&’ after the 'submit=Submit'.
The following example sets the HVAC mode of the thermostat at IP Address 192.168.1.100, Port 8100 to Heat.
http://192.168.1.100:8100/pdp?OID4.1.1=2&submit=Submit
The following example sets the HVAC mode of the thermostat at IP Address 192.168.1.100, Port 8100 to Cool.
http://192.168.1.100:8100/pdp?OID4.1.1=3&submit=Submit
The following example sets the HVAC mode of the thermostat at IP Address 192.168.1.100, Port 8100 to Off.
http://192.168.1.100:8100/pdp?OID4.1.1=1&submit=Submit
The following example sets the device name of the thermostat at IP Address 192.168.1.100, Port 8100 to Lobby One.
http://192.168.1.100:8100/pdp?OID1.2=Lobby+One&submit=Submit