Modifiied repo to use PID Climate #11
Replies: 8 comments 8 replies
-
Hi, How many times an hour your valves changes their status ? I have pretty smooth temperature in living room according to outdoor temperature changes : |
Beta Was this translation helpful? Give feedback.
-
See the following: In the left side of the chart you see the stable Temp Soll/Ist mean desired-/measured- Temp. Then a window is opened and the measured temp drops, the Öffnung (valve open State) goes up to 100%. Steps are min-movement% appx. every 3-4 minutes. The PID's get a temp value ervery 60sec (heart-beat) of sensor. This means every 60sec PID loop is recalced. It works fine |
Beta Was this translation helpful? Give feedback.
-
Glad it works well ! You mentionned github/Technologic in config.yaml to find the correct pid values. I cannot find that repo :(
How do you compute your pid values ? I''ll make a try on your solution to compare but my floor heating is low temperature and has a lot of inertia. I mean that I cannot see major differences between pid and "differential target temp" systems. Can You ? Regards |
Beta Was this translation helpful? Give feedback.
-
I'm actually testing a return flow based thermostat. 1-wire temperature sensors for each heating circuit: Initially I've started with the "differential target temp" approach (return flow target) which was working more or less accurate - return flow based temperature measurements are extremely sensitive - you can measure temp diffs of ~0.1K within a minute! Second I've tried your setup of PID => my ESP is rebooting latest after 16 mins ...
Switching back to the roots. Any ideas:? |
Beta Was this translation helpful? Give feedback.
-
Perhaps it could be a good idea to make a separate branch for your Climate PID integration in that repo. What do you mean ? |
Beta Was this translation helpful? Give feedback.
-
Rebooting the ESP is happening when timing problems happen. Try using ESP-IDF. I have disabled api to homeassistant. I envision you use the dallas 18B20 sensors to mesure the Supply and Return Flow temperatures? If so, these sensors are very calculation time resource vampire's. I use in a different situation in total 18 Dallas 18B20 with i2c DS2482-800 chip which communicates per i2c with the CPU and take a lot of computing burden away from thee ESP-32. These are my quick thoughts |
Beta Was this translation helpful? Give feedback.
-
Many thanks to both of you for your input and exellent support! I've done a little bit of code cleanup and increaseed the update time of a couple of sensors. Switched from Arduino framework to esp-idf:
Since ~11 hours no reboot! Because I've made a couple of changes at the same time I can not be 100% sure, if the change to esp-idf has resolved - but on 98%. Any risks or disadvantages by using esp-idf? Default ESPHome settings after ESP32 device setup:
|
Beta Was this translation helpful? Give feedback.
-
Hi, You'll find a new template for channels : heating_channel_PID.yaml and a sample config in config.yaml I mean it could help to stay sync with your repo. Regards |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I have commited my modifications to this repo in Karl-Opec to use Climate PID and bluetooth Temperature Sensor for the Rooms.
Any Comments welcome
Beta Was this translation helpful? Give feedback.
All reactions