Trying to fully emulate a thermostat. #974
Replies: 4 comments
-
This question gets asked regularly. My question back would be : "Why emulate a thermostat when you can buy one?" There's a lot going on inside the thermostat:
to name just a few. Back in my younger years, a mate and I tried to write a heating control system from scratch. It worked OK, but building a system that caters for every eventuality and works reliably is very hard! Users (especially family...) aren't sympathetic when it stops working and they are cold or it goes mad and wastes lots of energy... So I'd say buy a good thermostat and use EMS-ESP to monitor it and fine-tune its settings. Then, most of the time, you can relax and just let it get on with the job! Others might disagree... |
Beta Was this translation helpful? Give feedback.
-
I understand your point of view. Mine is that i like to understand how things work. Thanks for your tips about what goes inside the thermostat. Guillaume |
Beta Was this translation helpful? Give feedback.
-
OK. I'd start with the core stuff first : timed programmes for heating and hot water and basic temperature control. You'd have to guess some sensible flow temperatures. For hot water, you need the boiler running at least 5ºC than the stored hot water, possibly 10ºC. For the heating you could start with 55ºC (if you have radiators, or lower if you have under-floor) which would almost guarantee the boiler will condense, for improved efficiency. That might be higher than you need or, in cold weather, it might have to be hotter. Also depends on your heating system - under-floor, radiators etc. |
Beta Was this translation helpful? Give feedback.
-
As I have just ordered PCB and going to mount the ems board (https://github.com/rocksolidsr/esp-ems-board) I have similar question. |
Beta Was this translation helpful? Give feedback.
-
Hello,
Here is the "test lab" :
A boiler, a thermostat (in the ceiling so the T° is really low) and an ems esp gateway.
initial situation :
Heating active: on
Selected flow temperature: 47 °C
Setting manual temp on thermostat to low value. the thermostat shut all.
Heating active: off
Selected flow temperature: 0 °C
Setting manual temp on thermostat to high value. the thermostat put boiler on.
Heating active: on
Selected flow temperature: 47 °C
I've watch all the packets during these operations (attached file).
logems.txt
Can someone help me to find how to fully emulate the thermostat ?
I would like to know what it does excatly, and how it manage to make the values retains by the boiler.
Thanks.
Beta Was this translation helpful? Give feedback.
All reactions