Jump to content

Help Fromating a rest command for Thermostat in tasker


3gdigital

Recommended Posts

Posted

I have been reading through the Dev SDK documentation, and the Wiki for rest commands.  Lighting seems to be well documented and works great, but I am having issue with controlling the thermostat.

I understand it as having to be formatted with the following syntax:

http://xxx.xxx.xxx/rest/node/xxxx xx x/CLISPH/74   set heat to 74?

or

http://xxx.xxx.xxx/rest/node/xxxx xx x/CLIMD/HEAT    turn mode to HEAT?

Neither one of the commands works.

Can anyone share an example of how to turn the thermostat to heat or cool and set the temp?

Thank you.

Posted

My apologies I mistakenly typed the command in the first post without the "nodes", but in fact tested it with "nodes".
 

http://xxx.xxx.xxx/rest/nodes/xxxx xx x/CLIMD/HEAT/    turn mode to HEAT?

The above command gives the following response but does not change the mode:

<properties><property id="CLIMD" value="0" formatted="Off" uom="n/a"/></properties>

 

It is the same result as if I had typed the command without "HEAT" at the end.

 

Thanks again for the suggestions.

Posted (edited)

The options are as follows:

 

Venstar t1700 with the insteon Thermostat module 2441v.

 

0 = off

1 = heat

2 = cool

3 = Auto

 

 

Thanks for the nudge in the right direction LeeG.

Edited by 3gdigital
Posted

CLIMD/HEAT is not correct to set Heat Mode.  The word HEAT is unknown so the set/CLIMD turned the thermostat Off.

 

Around page 23 is the list of values that are used with CLIMD.

 

0 = Off

1 = Heat

2 = Cool

 

..../REST/nodes/14 B7 2A 1/set/CLIMD/1/

 

sets the thermostat to heat mode.

 

 

<name>CLIMD</name>

                  <label>Thermostat Mode</label>

                  <readOnly>false</readOnly>

                  <isQueryAble>true</isQueryAble>

                  <isNumeric>false</isNumeric>

                  <actions>

                        <action>

                              <name>0</name>

                              <label>Off</label>

                        </action>

                        <action>

                              <name>1</name>

                              <label>Heat</label>

                        </action>

                        <action>

                              <name>2</name>

                              <label>Cool</label>

                        </action>

                        <action>

                              <name>3</name>

                              <label>Auto</label>

                        </action>

                        <action>

                              <name>4</name>

                              <label>Fan</label>

                        </action>

                        <action>

                              <name>5</name>

                              <label>Program Auto</label>

                        </action>

                        <action>

                              <name>6</name>

                              <label>Program Heat</label>

                        </action>

                        <action>

                              <name>7</name>

                              <label>Program Cool</label>

Guest
This topic is now closed to further replies.

×
×
  • Create New...