Read API data from Huawei fiberoptics router?

Topics (not sure which fora)
when not sure where to post, post here and mods will move it to right forum.

Moderators: leecollings, remb0

Post Reply
Scaevola
Posts: 7
Joined: Saturday 09 November 2019 20:36
Target OS: Linux
Domoticz version:
Contact:

Read API data from Huawei fiberoptics router?

Post 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?
User avatar
waltervl
Posts: 5791
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2024.7
Location: NL
Contact:

Re: Read API data from Huawei fiberoptics router?

Post by waltervl »

If you can find the python library that HA is using you could make a Python plugin.
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest