ksya / ha-nefiteasy

Nefit Easy connection for Home Assistant
74 stars 30 forks source link

Status update too slow for controlling pumps #213

Open prmfeddema opened 1 year ago

prmfeddema commented 1 year ago

I've noticed that the CV status update is rather slow - which makes is difficult to start the floor heating pump in a timely manner. This issue did not exist in older version. Is there a way we can set the interval in the code?

Already solved by changing the update_interval variable in _init_py - line 120 : update_interval = timedelta(seconds=15)

RobBie1221 commented 1 year ago

That’s the one indeed. I’m working on something to edit this from the UI as option.

arjanvdnoort commented 1 year ago

@prmfeddema, can you please share how you implemented the check of the CV status? I am new to HA (and also new to ha-nefiteasy). I was also looking for the floor heating pump to be triggered by the CV status bur can not find the entity/trigger to be used. Like to hear from you.

prmfeddema commented 1 year ago

Hi - no problem - i will share the details tomorrow. If needed i can also provide my phone number (a conversation is always easier).Regards,PascalVerstuurd vanaf mijn iPadOp 2 feb. 2023 om 20:09 heeft arjanvdnoort @.***> het volgende geschreven: @prmfeddema, can you please share how you implemented the check of the CV status? I am new to HA (and also new to ha-nefiteasy). I was also looking for the floor heating pump to be triggered by the CV status bur can not find the entity/trigger to be used. Like to hear from you.

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: @.***>

prmfeddema commented 1 year ago

Good morning,

I promised to send my conf yesterday - here it is (one day late - sorry).

i assume that you already managed to connect your nefit easy to the internet. If so, i look at the "sensor.status" to trigger various automation. Note that the "sensor.status" is a bit cumbersome and might change into something meaningful in the future. As for automations: i have two zigbee/zwave poweroutlet that i switch). Here is the general overview + yaml codes

This is for "enable floorpumps when the nefit easy thermostat switches on" automation. Note that i have 2 floor heating pumps - one for the living room, one for the bathroom but in some automations i have removed the bathroom pump in order to save energy - hence you might see only one switch being operated in some automations while other automations might show you two devices that are being switched on/off

btw: i'm dutch, l;ive in the netherlands close to the Hague.

Kind regards,

Pascal

[image: image.png]

Individual yaml: "when status changes" entity_id:

Below for switch off:

entity_id:


condition: or conditions:


service: switch.turn_off target: device_id:


Now 2 automations that will run the pumps on a dialy basis for one minute each to prevent the pumps from getting stuck

Switch on for 1 minute on a daily basis (no yaml as this is really simple)

[image: image.png]

and the switch off. this is more complex as you don't want to switch off any heating program that might be running.

[image: image.png]

That;s it.

Op do 2 feb. 2023 om 20:42 schreef Pascal Feddema @.***>:

Hi - no problem - i will share the details tomorrow. If needed i can also provide my phone number (a conversation is always easier).

Regards,

Pascal

Verstuurd vanaf mijn iPad

Op 2 feb. 2023 om 20:09 heeft arjanvdnoort @.***> het volgende geschreven:



@prmfeddema https://github.com/prmfeddema, can you please share how you implemented the check of the CV status? I am new to HA (and also new to ha-nefiteasy). I was also looking for the floor heating pump to be triggered by the CV status bur can not find the entity/trigger to be used. Like to hear from you.

— Reply to this email directly, view it on GitHub https://github.com/ksya/ha-nefiteasy/issues/213#issuecomment-1414230776, or unsubscribe https://github.com/notifications/unsubscribe-auth/ANORV3D62KALW6USK2WBSJTWVQA7RANCNFSM6AAAAAAS5X6QUU . You are receiving this because you were mentioned.Message ID: @.***>

arjanvdnoort commented 1 year ago

Thank you very much @prmfeddema ! That was exactly where i was looking for.

I already made some progress, but based on your yaml i detected i was wrongly checking the status: I was checking for "-H" instead of "-H: central heating active" :) (sensor.py is also mentioning all the statuses, that's is what I noticed after reading your post) Your anti-pump-stuck screenshots are not vissible in the discussion. Can you share them by email with me (please send to vdnoort-at-gmail-com) ? I am also living in Netherlands, close to Deventer, so we can talk dutch in email. Appreciating your help!

Best regards, Arjan

prmfeddema commented 1 year ago

Goedemiddag Arjan,

Ik ben weer in de lucht - email komt er aan :-)

Groet,

Pascal

Op za 4 feb. 2023 om 13:33 schreef arjanvdnoort @.***>:

Thank you very much @prmfeddema https://github.com/prmfeddema ! That was exactly where i was looking for.

I already made some progress, but based on your yaml i detected i was wrongly checking the status: I was checking for "-H" instead of "-H: central heating active" :) (sensor.py is also mentioning all the statuses, that's is what I noticed after reading your post) Your anti-pump-stuck screenshots are not vissible in the discussion. Can you share them by email with me (please send to vdnoort-at-gmail-com) ? I am also living in Netherlands, close to Deventer, so we can talk dutch in email. Appreciating your help!

Best regards, Arjan

— Reply to this email directly, view it on GitHub https://github.com/ksya/ha-nefiteasy/issues/213#issuecomment-1416740693, or unsubscribe https://github.com/notifications/unsubscribe-auth/ANORV3FFUZWAEO2ICCPICZDWVZEB5ANCNFSM6AAAAAAS5X6QUU . You are receiving this because you were mentioned.Message ID: @.***>