Open MiG-41 opened 1 year ago
Hi, this looks really interesting and I'm trying to understand how it works as I've a ZTE MF286D that I'd like to monitor in HomeAssistant and I reckon there's a chance I can modify what you've done to make it work. Problem is I haven't a clue what I'm doing and where I'm going wrong!
I'm initially hoping to get the zteinfo part working to try and pull the equivalent info from the router. From analysing the Router webpage I can see some of the goform info that's available and it's obviously got slightly different tags than the MC801A as it's only 4G+. So far I've reduced the cmd_url in the zteinfo part of the python script to a few tags that both the MC810A and MF286D have in common, I've then altered the command line sensor json attributes to match. The problem I'm having is that I'm just getting an error 1 when the python script is called.
It's probably worth pointing out that in my configuration, I've not seperated out my sensors into separate files, so I've imported the sensors.yaml into my main configuration.yaml
Any ideas where I'm going wrong and likewise anything I can do to pin down where it's failing.
First, MF286D has different login , like this https://github.com/paulo-correia/ZTE_API_and_Hack And from that part probably you should start. I know that , since i used some scripts ,with reads info from MF286D , but was not able to read from MC801A...
For more devices you can duplicate the python script part and sesnsors part, so it could trigger 2 scripts for different devices, i have added support for mc889 , mine is fully on https and mc801a i have is on http so you can test it
for other options like band selections, dns or something else i am still in the works of implementing that multiple options
First , Good job !
In my network i use curently MC889 and MC7010 , with are connected to router Mikrotik RB750Gr3 with OpenWRT fw , installed with MWAN3 for loadbalancing .
So first i will be good that i could use two (or more ) devices , not only one .
Second ,maybe it would be posible to set a agregation band from HA ?