versatile_thermostat: Too many calls to calculate_regulated_temperature
With currently 10 VTherm services using the regulated algo I can see 388 log entries within exactly 1 hour, so in average every service calls calculate_regulated_temperature
in average every 1.5 minutes, even when using a 5 minutes cycle. Something is off, it should be called exactly once per cycle.
_Originally posted by @maia in https://github.com/jmcollin78/versatile_thermostat/discussions/154#discussioncomment-7480989_
About this issue
- Original URL
- State: closed
- Created 8 months ago
- Reactions: 1
- Comments: 32 (18 by maintainers)
Commits related to this issue
- Add logs for issue #164 — committed to jmcollin78/versatile_thermostat by deleted user 8 months ago
- Issue #164 - multiple calls to regulation — committed to jmcollin78/versatile_thermostat by deleted user 8 months ago
This morning what I did was:
I didn’t touch any other service and I didn’t touch the TRVs. So the three services with too many cycles at the moment were not reconfigured since the reboot.
I will try to reproduce what you have found. It sounds very strange to me. Regarding the code, it seems not possible to have multiple cycle in // on the same VTherm. Nevertheless, i will try. The most strange think is that you does nothing special. Maybe a side effect of the regulation which is relatively new.