klejejs / python-thermia-online-api

A Python API for Thermia heat pumps using https://online.thermia.se
GNU General Public License v3.0
25 stars 10 forks source link

Heatpump not discovered #1

Closed nisarerbest closed 2 years ago

nisarerbest commented 2 years ago

Hi @klejejs.

Thanks for this awesome Home Assistant Thermia connectivity. My heatpump (Atlas 12) uses the API: https://online-genesis.thermia.se/api/configuration

So when I try to connect to online.thermia.se, No heatpump is discovered. Is it a completely different API, or just different link?

Thanks!

klejejs commented 2 years ago

Hello. Thanks for making the issue.

I didn't realize there could be different API URLs, that's why this was never implemented. I just created an API release as a fix, from what I could tell using a demo account, the APIs are pretty similar, so it should work. Nevertheless, if you notice any errors, please report them, I'd be happy to look into it.

P.S. The Home Assistant integration will be updated a bit later as I have to change the config flow for it.

klejejs commented 2 years ago

I also just updated the Home Assistant integration. During installation, you will have to choose the genesis API type.

Please let me know if it works 😉

nisarerbest commented 2 years ago

Thank you so much for adding. I managed to see my heat pump! :-) 3 entities are visible:

klejejs commented 2 years ago

This is the API repository which exposes a lot different entities. Those are all used together to expose 3 entities in Home Assistant - the ones you mentioned above.

More info regarding that is in Integration Repository.

If you think there are other entities you would find useful in Home Assistant, I'd be happy to look into that, but I'd appreciate if in that case you created a feature request in integration repository.

klejejs commented 2 years ago

Closing as the issue has been fixed.