![](/static/253f0d9/assets/icons/icon-96x96.png)
![](https://lemmy.world/pictrs/image/94b2b808-7c9c-4de0-a35b-966d14ae40fd.png)
I don’t use HA but FHEM and what I do to retrieve data from my homecontrol is using a telegram bot.
In telegram you can setup buttons when formatting messages, so my bot shows me the control menu with predefined actions. One action is to show my power consumption at home.
There is no need to open ports as the telegram bot polls the same way you cell phone does.
Also the bot only communicates to known clients that I predefined before, so nobody can see or control my home network.
Maybe something similar is possible in HA.
I checked and there is basically no need to switch to fhem if you have a working environment as in HA the connection/use of a telegram bot is also possible.