Repository navigation
Fix for on/off heatpump not switching off when required heat has been generated - #1047
Conversation
|
@corneel27 Heat pump handling when "hp enabled" is off. The output block now runs for Before, "disabled" meant DAO left the pump alone. Now DAO overrides manual control. The intent (switch off once enough heat has been made) is fine for the |
|
@soeter01 I suggest the following change:
What is your opinion? |
|
Yes saw the comment. My view of hp_enabled is same as yours. Only problem
in original code is that the code itself changes hp_enabled if enough heat
has been generated and this prevents switching the heatpump off. This is a
rather large problem.
In solving the issue I took a shortcut and eliminated the hp_enabled test
when switching the heatpump. This works very well in my set up (on/off heat
pump) but introduced the problem that when hp_enabled is set to false by a
user, the heatpump continues to be switched off.
In a manual mode this may be a problem. Although this can easily be solved
in HA, I propose to make an update to the code.
Does this work for you?
Also, did you have a chance to review my PR #1073 solving the minimum run
length issue. Has been running for a while now and works well.
Op wo 25 nov 2026 om 22:24 schreef Cees van Beek ***@***.***>:
… *corneel27* left a comment (corneel27/day-ahead#1047)
<#1047 (comment)>
@soeter01 <https://github.com/soeter01>
Did you see the comment of @dewi-ny-je <https://github.com/dewi-ny-je> ?
What is your opinion about this?
I think it is a discussion about: what is the meaning of "hp enabled=false"
For me it was: my hp is now not available for heating -> no planning
For you (in my words): it is now at the moment heat enough in the house.
no direct planning
I suggest the following change:
- we revert this change
- we introduce a new optional entity: "hp_heat required" and the
functionality of that entity is according your proposal for hp_enabled
What is your opinion?
—
Reply to this email directly, view it on GitHub
<#1047?email_source=notifications&email_token=AL7BIJIPKRYRCIMBTCYCMGL525EXTA5CNFSNUABFM5UWIORPF5TWS5BNNB2WEL2JONZXKZKDN5WW2ZLOOQXTOMJXGUYDCOBYGM3KM4TFMFZW63VHNVSW45DJN5XKKZLWMVXHJLDGN5XXIZLSL5RWY2LDNM#issuecomment-7175018836>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AL7BIJNNNK3BBW2TPI3UTCL525EXTAVCNFSNUABFKJSXA33TNF2G64TZHM2TSNBQGQZDCMJUHNEXG43VMU5TMMZXGQYTGOBUGA2KC5QC>
.
Triage notifications, keep track of coding agent tasks and review pull
requests on the go with GitHub Mobile for iOS
<https://github.com/notifications/mobile/ios/AL7BIJN43W5QPUB3YSMOELL525EXTA5CNFSNUABFM5UWIORPF5TWS5BNNB2WEL2JONZXKZKDN5WW2ZLOOQXTOMJXGUYDCOBYGM3KM4TFMFZW63VHNVSW45DJN5XKKZLWMVXHJKTGN5XXIZLSL5UW64Y>
and Android
<https://github.com/notifications/mobile/android/AL7BIJMOEIDHC7NIQVTIVVD525EXTA5CNFSNUABFM5UWIORPF5TWS5BNNB2WEL2JONZXKZKDN5WW2ZLOOQXTOMJXGUYDCOBYGM3KM4TFMFZW63VHNVSW45DJN5XKKZLWMVXHJLTGN5XXIZLSL5QW4ZDSN5UWI>.
Download it today!
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
|
Yes true. In resolving the major issue where the heatpump is not switched
off, I introduced this new but smaller problem. I'll look into this.
Op di 24 nov 2026 om 14:13 schreef Olaf Marzocchi ***@***.***
…:
*dewi-ny-je* left a comment (corneel27/day-ahead#1047)
<#1047 (comment)>
@corneel27 <https://github.com/corneel27>
Found by LLM:
Heat pump handling when "hp enabled" is off. The output block now runs for
hp_present without hp_enabled. When the user switches entity_hp_enabled
off, DAO now turns the heat pump switch off on every run. hp_adjustment
stays None in that case, which passes != "on/off", so DAO also writes 0 kW
to entity_hp_power.
*Before, "disabled" meant DAO left the pump alone. Now DAO overrides
manual control.*
The intent (switch off once enough heat has been made) is fine for the heat_needed
<= 0 path. The entity_hp_enabled = off path should probably avoid
changing settings.
—
Reply to this email directly, view it on GitHub
<#1047?email_source=notifications&email_token=AL7BIJPEFK2HYWISWCCRLOD52WCO3A5CNFSNUABFM5UWIORPF5TWS5BNNB2WEL2JONZXKZKDN5WW2ZLOOQXTOMJTGI2TAOJXGE2KM4TFMFZW63VGMF2XI2DPOKSWK5TFNZ2KYZTPN52GK4S7MNWGSY3L#issuecomment-7132509714>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AL7BIJKGAKEBI3CU4S6ASHL52WCO3AVCNFSNUABFKJSXA33TNF2G64TZHM2TSNBQGQZDCMJUHNEXG43VMU5TMMZXGQYTGOBUGA2KC5QC>
.
Triage notifications, keep track of coding agent tasks and review pull
requests on the go with GitHub Mobile for iOS
<https://github.com/notifications/mobile/ios/AL7BIJJGK73XVRO2F2RTPNL52WCO3A5CNFSNUABFM5UWIORPF5TWS5BNNB2WEL2JONZXKZKDN5WW2ZLOOQXTOMJTGI2TAOJXGE2KM4TFMFZW63VGMF2XI2DPOKSWK5TFNZ2KUZTPN52GK4S7NFXXG>
and Android
<https://github.com/notifications/mobile/android/AL7BIJLFDE7ZJL3KN3IB4CL52WCO3A5CNFSNUABFM5UWIORPF5TWS5BNNB2WEL2JONZXKZKDN5WW2ZLOOQXTOMJTGI2TAOJXGE2KM4TFMFZW63VGMF2XI2DPOKSWK5TFNZ2K4ZTPN52GK4S7MFXGI4TPNFSA>.
Download it today!
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
|
@corneel27 & @dewi-ny-je
I've updated my main branch to keep hp_enabled working as before.
Have a look and let me know if now ok.
Op wo 25 nov 2026 om 22:24 schreef Cees van Beek ***@***.***>:
… *corneel27* left a comment (corneel27/day-ahead#1047)
<#1047 (comment)>
@soeter01 <https://github.com/soeter01>
Did you see the comment of @dewi-ny-je <https://github.com/dewi-ny-je> ?
What is your opinion about this?
I think it is a discussion about: what is the meaning of "hp enabled=false"
For me it was: my hp is now not available for heating -> no planning
For you (in my words): it is now at the moment heat enough in the house.
no direct planning
I suggest the following change:
- we revert this change
- we introduce a new optional entity: "hp_heat required" and the
functionality of that entity is according your proposal for hp_enabled
What is your opinion?
—
Reply to this email directly, view it on GitHub
<#1047?email_source=notifications&email_token=AL7BIJIPKRYRCIMBTCYCMGL525EXTA5CNFSNUABFM5UWIORPF5TWS5BNNB2WEL2JONZXKZKDN5WW2ZLOOQXTOMJXGUYDCOBYGM3KM4TFMFZW63VHNVSW45DJN5XKKZLWMVXHJLDGN5XXIZLSL5RWY2LDNM#issuecomment-7175018836>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AL7BIJNNNK3BBW2TPI3UTCL525EXTAVCNFSNUABFKJSXA33TNF2G64TZHM2TSNBQGQZDCMJUHNEXG43VMU5TMMZXGQYTGOBUGA2KC5QC>
.
Triage notifications, keep track of coding agent tasks and review pull
requests on the go with GitHub Mobile for iOS
<https://github.com/notifications/mobile/ios/AL7BIJN43W5QPUB3YSMOELL525EXTA5CNFSNUABFM5UWIORPF5TWS5BNNB2WEL2JONZXKZKDN5WW2ZLOOQXTOMJXGUYDCOBYGM3KM4TFMFZW63VHNVSW45DJN5XKKZLWMVXHJKTGN5XXIZLSL5UW64Y>
and Android
<https://github.com/notifications/mobile/android/AL7BIJMOEIDHC7NIQVTIVVD525EXTA5CNFSNUABFM5UWIORPF5TWS5BNNB2WEL2JONZXKZKDN5WW2ZLOOQXTOMJXGUYDCOBYGM3KM4TFMFZW63VHNVSW45DJN5XKKZLWMVXHJLTGN5XXIZLSL5QW4ZDSN5UWI>.
Download it today!
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
No description provided.