The thermostat runs a small web interface for direct control and configuration. The web interface itself runs on HTTP port 80.
URL: http://IPADDRESS/
It can be user/password protected using the options in Base configuration. The Web interface includes the following functions:
Some values can be also directly be changed using this HTTP API. Most options use a TOKEN for "protection", which can be different to the HTTP password and must be configured on the Base configuration page on the web interface.
Currently the following HTTP API calls are implemented:
Sets the heating target temperature.
URL: http://IPADDRESS/setPoint?value=VALUE&token=TOKEN
Where VALUE is float in 0.5 steps >= configured setTempMin & <= setTempMax.
Lower values result in setTemp = setTempMin, higher in setTemp = setTempMax.
Decimals other than .0 and .5 are rounded to the nearest valid value.
Sets the heating mode. Can be one of the following values:
URL: http://IPADDRESS/setMode?value=VALUE&token=TOKEN
Forces MQTT reconnect. Can be used without token or authentication.
URL: http://IPADDRESS/mqttReconnect
Restarts the MCU. Can be used without token or authentication.
Returns some runtime information. Currently not much.
Returns a JSON string with some current data. Can currently be used without token or authentication but this will be changed. Also used for the buttons on the web interface.
Example: {"devname":"Thermostat 1","ssid":"SSID","setTemp":22.5,"temp":22.40049,"hum":37,"mode":1,"heating":false}
Where:
Additionally /api can take the following arguments, which are only intended to be used by the web interface buttons:
This is the backend of the configuration pages in the web interface. Only intended to be used by that.