Skip to content
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

Datapoint to switch between heating/ cooling missing #443

Open
timoglaess opened this issue Apr 7, 2023 · 3 comments
Open

Datapoint to switch between heating/ cooling missing #443

timoglaess opened this issue Apr 7, 2023 · 3 comments
Labels
enhancement New feature or request

Comments

@timoglaess
Copy link

The datapoint to switch between heating and cooling is missing.

To Reproduce
In the HmIP app "cooling mode" can be allowed. Doing so, heating or cooling mode can be selected. As well as selecting which rooms can be cooled.

Expected behavior
The adapter allows, in "hmip/0/homes/.../indoorClimate" to switch on/off "coolingEnabled". Nevertheless, to make is usefull, an additional datapoint, to actually switch between heating/ cooling should be added.

@Apollon77 Apollon77 added the enhancement New feature or request label Apr 8, 2023
@Apollon77
Copy link
Member

I needs to be researched or sniffed from the app traffic what exactly it is and how to do it

@timoglaess
Copy link
Author

I did some research! See attached pdf
The datapoint to be triggered is called "/hmip/home/heating/setCooling" {"cooling":true/false} by setting it to true, cooling mode is activated. Setting it to false, heating mode is activated.

The adapter has already the datapoint "/hmip/home/heating/setCoolingEnabled" {"cooling":true/false}. So the datapoint to add should follow the same syntax!

I sniffed also whats happening with the rooms selected for cooling. A bit more complex, as all rooms (not to be cooled) need to be integrated into the command --> Not necessary to integrate in the adapter, as it is usually an one time set-up in the app ;-)

Thanks for the idea to "sniff" the app traffic.. never done that before ;-)

HmIP cooling mode.pdf

@timoglaess
Copy link
Author

timoglaess commented Apr 9, 2023

I have checked the main.js.. moreless line by line. Wie immer gaaanz am Ende ;-)
I think line 2662 just need to be duplicated and the "enabled" removed from coolingEnabled.

Neighter want to mix-up your code nor have any idea, how to contribute on a new release...

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants