setStatus(id:sub-id,”Area(address)\AutoN(command)”);

Name type and variety description default value
id* number server ID 1000
sub-id* number,br>100…102 element address on the device
Area(address) line Area for running the command. If there is no recording then give the command to all connected to id:sub-id.
Address – id:sub-id of connected device where the status is set
AutoN(command) string Automation mode setting or command (0 – manual mode; “always-off” means permanently disabled)

In case if set automation type is absent in the heating circuit the server will return the error and will assign to the circuit the default values with a setpoint of 21 degrees.

Examples:

  1. setStatus(1000:100, 0); – for all: manual mode;
  2. setStatus(1000:100, “always-off”); – for all: permanently disabled
  3. setStatus(1000:100, “Komfort”); – for all: change to automation “Komfort “;
  4. setStatus(1000:101, “Area1\0Komfort “); – for all in “Area1”: change to automation “Komfort “;
  5. setStatus(1000:101, “Area1\10SubArea11\0always-off”); – for all in “Area1” and in subarea “SubArea11”: permanently disabled;
  6. setStatus(1000:102, “16:1\0Komfort”); – heating circuit with the address 16:1, where 16 – heating control module ID, and 1 – its SUBID, specified in file logic.xml.

In a similar way the temperature can be specified for the current mode (but it is not changed in within specified intervals, only general temperature of mode). ts – temperature value is presented textually, t – simply u8.
setStatus(1000:101, “Area1\0ts:25”); – set the temperature of current mode as 25 degrees for all in “Area1”;
setStatus(1000:101, {“Area1\0t:”A, temp,0}); – set the temperature recorded in temp variable for all in “Area1”;
setStatus(1000:102, “891:1\0ts:25”); – heating with the address 891:1 set the temperature 25 degrees.

In a similar way the automation can be specified for the current mode as – automation value is presented textually, a – simply u8.
setStatus(1000:101, “Area1\0as:0”); – set the autimation mode;
setStatus(1000:101, {“Area1\0a:”A, temp,0}); – set the automation recorded in temp variable for all in “Area1”;
setStatus(1000:102, “891:1\0as:0”); – heating with the address 891:1.

Set mode by it number
-1 mean always-off
-2 means previosly mode
-3 means manual mode