-
-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[FEATURE REQUEST] add temp. sensor for VL and RL per channel for doing thermal balancing? #4
Comments
Please give a definition of your mean of VL and RL (German abbreviation ?) Actually, the target position of valve is calculated with a simplification of arduino map function :
I use that formula for 2 years and it works great, is easy to understand and fast to compute. For temperature fine tuning, I've tested PID climate controller, but my low temperature floor heating has too much inertia to find good values for ki, kp ,kd The next step I'll go is to fine tune the target valve values with hassio automations. It would be most easy cause hassio retains historical values and can have more sensors, like external temperature, etc. You can get temperature from external sensors like Xiaomi BLE or via hassio and then compute a template sensor |
Hello, great project, VL means supply flow, I have on my actual Floor Heating system (standard wax based Actuators to control flow) on top of the PWM a PID controller running. Its PID_PFactor is 0.95, PID_IFactor is 0,59, PID_DFactor =0.5, The D-Value is based on a gradient t(n) to t(n-7) with recalc time of the PID controller of every 60 sec. It works good. My experience is that the PID controller is needed to keep the Temperature close to the desired Temp. |
They are 7 free pin available to add custom sensors Look at schematics.pdf for details. You can use NTC sensors or values from hassio. Code need to be rewritten a bit (THx_check), but it's simple task |
The new firmware version lets you change the valve position formula (at line 53). You can adapt it to get what you want. |
Maybe you already know, but apparently esphome has a PID Climate component with support for autotuning. |
Yes, you can replace thermostat component with PID Climate, I works the same and a sample code is provided in the yaml file (commented out) |
Sorry, the code was not fully included :
I have tested the climate component, but the update frequency is to hight for valve good life |
Is it also possible to use 12 x 1-wire temperature sensors (DS18B20) connected to your board? I've already implemented via espHome with But I want to change to Homematic valve actuators [HmIP-VDMOT] for some reasons ;-) |
Yes, you only need a VCC, GND, IO. |
Coming back to the origional topic: thermal balancing In Germany, a hydraulic balancing must be carried out after installation or changes to a heating system. However, if the heating circuit conditions like line cross-sections and line lengths of the individual heating circuits are not known, an exact calculation of the required flow rate is not possible. For that reason, only a thermal calibration/balancing can be carried out. By measuring the supply flow temperature and the return flow temperature in each individual heating circuit, you can calculate the spread per heating circuit. Recommendation for heating pomp system temperature of the heating at full load (in my case the house has an demand of ~40 W/m2): Supply flow temperature: 32 °C => System temperature: 32/27/20 Ideally the spread in each heating circuit within one thermal zone (e.g. room) should be equal. For the thermal calibration/balancing you have three possibilities:
The third option is obviously the best method because then you have setup a real As mentioned by Karl-opec an external HA PID controller can manage this (please see above). It is also mentioned in floor-heating-controller wiki that you can use Hassio custom climate components. Can you please provide some example code for the usage/integration of Hassio components to control the valve percentage of the actuators. |
There is 2 ways to go to do external PID control : The simplest is to adjust the target temperature (like in https://github.com/KartoffelToby/better_thermostat) |
https://github.com/vindaalex/multizone-thermostat can control proportionnal valves |
I've setup an very early alpha version of a documentation / project paper to describe the goals and the physics behind: https://github.com/heinemannj/Hydraulic-Balancing/edit/main/README.md |
Describe the problem you have/What new integration you would like
For thermal balancing i think it was nice to measure VL and RL and calculate thermal balancing automatically.
What do you think is this possible?
That would be the killer application, install underfloor heating, control it, thermal balancing is done automatically. Suspension of control for the valves marked as closed.
Please describe your use case for this integration and alternatives you've tried:
Additional context
The text was updated successfully, but these errors were encountered: