Page 1 of 1

Read API data from Huawei fiberoptics router?

Posted: Tuesday 15 February 2022 11:52
by Scaevola
Hi there,
I've got Huawei HS8145V fibreoptics router. I use Domoticz as my basic home system also. Lately, I checked on docker the Home Assistant instance.
To my surprise, the Huawei router was discovered by the HA as upnp/igd device and sent very interesting data (e.g. number of clients, sent and received data etc.) This was made without my any install and so on. I presume, there is some API, that is sent to the HA. But this was only for fun, so I didn't go further with HA. I like Domoticz and prefer it over the HA.
But is there such option to receive this data in Domoticz? I searched through github and found some js code reading API from Huawei LTE routers, but this don't seem to work in my case. Maybe there is some Domoticz plugin that already does this?

Re: Read API data from Huawei fiberoptics router?

Posted: Tuesday 15 February 2022 13:13
by waltervl
If you can find the python library that HA is using you could make a Python plugin.