This is an old revision of the document!
Table of Contents
Heating
Using
The G1, G2 and G14 heater thermostat can be set from the control panel or mqtt. Setting a higher temperature will not make the room heat up faster.
There is also central heating from Summerhall, which is switched on rarely. Panels are above the windows of G1, and above the test gear in G14. It can by adjusted with the knobs.
Implementation Details
The electric heaters in G1, G2 and G8 are switched by multiple WiFi sockets. Room temperature is determined by the LoRaWAN connected environment sensors (ehl-vm-things:/srv/docker/py3scripts/scripts/co2-sensors), or in G1 the sensor on the table (with DS18B20, LDR, and two AA batteries). Room presence is determined by the PIRs OR environment sensors (ehl-vm-things:/srv/docker/py3scripts/idle-monitor).
The thermostat is a python script at ehl-vm-things:/srv/docker/py3scripts/scripts/thermostat.
Target temperature can be changed by MQTT Message Bus messages, which can be sent by the control panel in G1, or by your computer.
The plugs are MQTT devices which also monitor power usage. Heaters must be run on the lowest power setting to avoid exceeding the plug's safe switching capacity.
TODO
- QR codes to turn the heating on/off in G2/G14
- Show current temperature on the control panel by subscribing to MQTT using a WebSocket
Add temperature target charges to #things discord channel- Warn when the heater power is set too high and turn the plug off
Repair the G1 temperature sensor- Repair the G14 PIR
- Stop using cloud-based temperature and presence detection
- Contactor-based control of the 2kW heaters in G1 (this may not work well because people won't like 2kW of heat right next to them even if it's required to maintain the room temperature -Simon)
- Use G1 500W heaters in for G2/G14
- Repurpose plugs for soldering irons
Example Stats
- tasmota_G1R_D5A509 (G1 Radio 500W)
- tasmota_G1K_D5A50B (G1 Kitchen 500W)
- tasmota_G1T_D5A552 (G1 Table 900W)
- tasmota_G1E_D5CF1A (G1 Electronics 1000W)
- tasmota_G2_D5CF2B (G2 500W)
- tasmota_G14_D5ED10 (G14 500W)
plug/tasmota_G1T_D5A552/tele/SENSOR {“Time”:“2024-11-23T15:49:42”,“ENERGY”:{“TotalStartTime”:“2024-11-23T13:18:27”,“Total”:0.812,“Yesterday”:0.000,“Today”:0.812,“Period”:98,“Power”:1171,“ApparentPower”:1171,“ReactivePower”:0,“Factor”:1.00,“Voltage”:244,“Current”:3.823}}
plug/tasmota_G1K_D5A50B/tele/STATE {“Time”:“2024-11-23T15:49:48”,“Uptime”:“0T00:05:10”,“UptimeSec”:310,“Heap”:24,“SleepMode”:“Dynamic”,“Sleep”:50,“LoadAvg”:20,“MqttCount”:1,“POWER”:“ON”,“Wifi”:{“AP”:1,“SSId”:“LabThings”,“BSSId”:“22:E8:29:C1:FD:B1”,“Channel”:6,“Mode”:“11n”,“RSSI”:98,“Signal”:-51,“LinkCount”:1,“Downtime”:“0T00:00:04”}}