This document describes the first configuration steps after flashing of firmware. The firmware supports MQTT messaging and Mozilla Webthings. Both can be running parallel.
Steps are in general:
- Configure thermostat device (model selection)
- Configure network access
- Configure MQTT (optional)
- Configure clock settings
- The thermostat opens an Access Point when it's started first time after flashing.
- The AccessPoint is named
Thermostat-Beca_xxxxxx
. Default password is12345678
- After connection open
http://192.168.4.1
in a web browser - Goto 'Configure device'
- Choose your thermostat model
- Choose, if heating relay monitor is supported, hw modification need to work, see #17 (comment)
- Choose work day and weekend start in your region
- Press 'Save Configuration' and wait for reboot of device.
- Goto 'Configure network'
- Fill out 'Things IDX' (unique id of your choice), 'SSID' (only 2G network), 'Password' for Wifi
- Leave 'Support Mozilla WebThings' checked (recommended). If this is checked, the thermostat will always run the web interface. You don't need to use Webthings itself.
- If you don't want to use MQTT, press 'Save Configuration' and wait for reboot of device.
- Stay at page 'Network configuration'
- Select checkbox 'Support MQTT', web page will extend
- Fill out 'MQTT Server', 'MQTT User' (optional), 'MQTT password' (optional) and 'MQTT topic'
- Press 'Save Configuration' and wait for reboot of device.
- After restart the thermostat sends 2 MQTT messages to topics 'devices/thermostat' and 'devices/clock' to let you know the IP and MQTT topic of the device. The json message looks like:
{
"url":"http://192.168.0.xxx/things/thermostat",
"ip":"192.168.0.xxx",
"topic":"<your_topic>/things/thermostat"
}
Normally you don't need to change options here.
- Open configuration page at
http://<device_ip>/config
- Goto 'Configure clock'
- Modify 'NTP server' for time synchronisation
- Modify 'Time zone request' for time offset synchronisation depending on your location