Custom component for controlling pool heatpumps that uses the Alsavo Pro app in Home Assistant.
Warning: This is made by someone with no previous knowledge of Python and no knowledge of Home Assistant framework. And one could argue that both is still the case. Use this at your own risk, and please take backups!
If some adult with the proper knowledge could improve this, and maybe make it installable with HACS, please feel free to do so!
In Home Assistant, create a folder under custom_components named AlsavoPro and copy all the content of this project to that folder. Restart Home Assistant and go to Devices and Services and press +Add integration. Search for AlsavoPro and add it.
In HACS, add a custom repository and use https://github.com/goev/AlsavoProHomeAssistantIntegration Download from HACS. Restart Home Assistant and go to Devices and Services and press +Add integration. Search for AlsavoPro and add it.
You must now choose a name for the device. The serial number for the heat pump can be found in the Alsavo Pro app by logging in to the heat pump and pressing the Alsavo Pro-logo in the upper right corner. Password is the same as the one you logged into the Alsavo Pro app with.
Ip-address and port can be one of two:
This code is very much based on AlsavoCtrl: https://github.com/strandborg/AlsavoCtrl