erikkastelec / hass-WEM-Portal

Custom component for retrieving sensor information from Weishaupt WEM Portal
MIT License
44 stars 10 forks source link

Function "Warmwasser Push" #23

Closed mathiaslehmann closed 2 years ago

mathiaslehmann commented 2 years ago

Hello, I have a question about the request at the time for the hot water push function. Where can I find this function in the current version. I refer to #7

Thank you very much

erikkastelec commented 2 years ago

After updating the integration you should see the entity under entities in Home Assistant. If you go to https://your_homeassistant_ip/config/entities and search for wemportal you should get all the available entities for this integration. All the entities of type number of select are used for changing settings.

For me WW-Push is named nachladung inside Home Assistant (select.nachladung). I hope this helps.

mathiaslehmann commented 2 years ago

Hi, thanks for the quick response. I had already discovered the new entities, but unfortunately the entity "select.nachladung" is missing. I only have the entities "select.betriebsart", "select.party_heizpause_funktion", "select.party_heizpause_raumsoll_temperatur", "select.urlaub_funktion" and "select.urlaub_raumsoll_temperatur"

erikkastelec commented 2 years ago

Do you have hot water push functionality inside WEM mobile app?

mathiaslehmann commented 2 years ago

Yes

erikkastelec commented 2 years ago

Does it look like the example below or is it just an on and off option.

Screenshot_20220420-142505

mathiaslehmann commented 2 years ago

Screenshot_20220420-142315_WEM

erikkastelec commented 2 years ago

Ok, I think I see the issue. I only added settings where you select from multiple options or enter a number eg. set temperature. This setting seems to be on/off so I left it out.

Thanks for pointing this out, will try to fix this as soon as possible.

mathiaslehmann commented 2 years ago

Yes, I can only press the "Warmwasser Push" button and then I get the question whether the function should be activated. See the screenshot. Thank you for the amazing support.

Screenshot_20220420-143634_WEM .

iridium2001 commented 2 years ago

@erikkastelec: if I recall correctly, Hot Water Push also is a numeric value, which the API seems to interpret as a boolean. So this can be set to e.g. 1 to activate. I think I included this in my first posts on this topic in the other thread.

erikkastelec commented 2 years ago

I used your comment from a previous issue for reference. The type is set to 2, which is weird as for me this denotes a schedule(holidays...), so I made a special case for this. Just needs a few fixes, so expect the change to be released next week, as I am away for the weekend

iridium2001 commented 2 years ago

@erikkastelec:

Not really sure what you mean by "type 2" but here are the links to my previous post on this topic: https://github.com/erikkastelec/hass-WEM-Portal/issues/9#issuecomment-1036601489 and https://github.com/erikkastelec/hass-WEM-Portal/issues/9#issuecomment-1039650494

... and enjoy the weekend - well deserved! ;-)

iridium2001 commented 2 years ago

Hi Erik, just wanted to ask if there is still s chance that we can get this function. For me personally, this is one of the most interesting parameters to control remotely from home assistant. I plan to use it to reduce water temperature while we are out of the house and quickly get convenient temperature automatically upon return.

erikkastelec commented 2 years ago

I will try to get it done this week. Had to complete some university assignments and forgot about this.

erikkastelec commented 2 years ago

Expect this between 6 and 12 June, as I am currently preoccupied with exams.

erikkastelec commented 2 years ago

Changes are in dev branch. It would be great if someone could test this (I don't have any entities with this kind of input). Let me know if you need any instructions on how to set it up using dev branch.

mathiaslehmann commented 2 years ago

Hello and thanks for the work. Maybe I'll come and test it tonight. To install the module from the dev branch I just have to change the contents of the folder "wemportal" under "custom_components", right?

erikkastelec commented 2 years ago

Yes, that's it.

mathiaslehmann commented 2 years ago

Hello, unfortunately my health has failed and I am not able to test. Maybe @iridium2001 can test it.

iridium2001 commented 2 years ago

Thanks Erik for implementing this! Will try to test it tonight. Already installed the dev version.

One question: the button will not be reset automatically, correct?

Best regards, Ingo

09.06.2022 19:31:02 mathiaslehmann @.***>:

Hello, unfortunately my health has failed and I am not able to test. Maybe @iridium2001[https://github.com/iridium2001] can test it.

— Reply to this email directly, view it on GitHub[https://github.com/erikkastelec/hass-WEM-Portal/issues/23#issuecomment-1151405799], or unsubscribe[https://github.com/notifications/unsubscribe-auth/AXU3JJTMLN7MDNML2E5BI3DVOIS5LANCNFSM5T3WRIHA]. You are receiving this because you were mentioned.[Verfolgungsbild][https://github.com/notifications/beacon/AXU3JJSGRSJLJOM6D4XFPCTVOIS5LA5CNFSM5T3WRIHKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOISQQ5ZY.gif]Message ID: @.***>

erikkastelec commented 2 years ago

One question: the button will not be reset automatically, correct?

Switch stays in the state that you set it to. If it changes outside of Home Assistant it gets updated with the next API update (same as other entities). I hope this answers your question.

iridium2001 commented 2 years ago

Warmwasser-Push works fine for me. The state can be manually reset and the system will continue to heat up the water until the correct temperature is reached. For the reset of the button state a small automation in HA will do the job. Perhaps Wemportal is also resetting the state once the heat up cycle is completed, but for testing this I first need to wait until my water has cooled down. :-) Will let you know tomorrow. Thanks again @erikkastelec for implementing this!

iridium2001 commented 2 years ago

I can confirm that the switch state is automatically reset to "false" when the push function reached the target temperature. No need to artificially reset it in HA.

Testing was a bit complicated. When I set a new (higher) target temperature, the heating immediately starts warming up the water. And then the push function would not be possible for several hours. The only way I found was to change the water temperature schedule directly after a new temperature was configured (and define the current time as a "low" phase).

erikkastelec commented 2 years ago

Glad to hear that, thanks again for taking the time to test this. I made a new release and will be closing this issue. If any problems arise please open a new issue.