Kajkac / ZTE-MC-Home-assistant

ZTE MC801A, MC888, MC889 Home assistant addon
31 stars 8 forks source link

Can I use this without Home Assistant? #23

Open Sahta77 opened 3 weeks ago

Sahta77 commented 3 weeks ago

Hi, I would like to use the function of sending and checking SMS messages without Home Assistant. However, I have a custom HT (Hrvatski Telekom) firmware which doesn't have a username attached to the device, only admin password. I see that you have one Croatian word in the screenshot ("brzina") so I was wondering did you also have this firmware and did you flash something else on it maybe?

My plan was to just use the functions inside the zte_tool.py file but I'm not having initial success.

ngarafol commented 3 weeks ago

Hi, it should totally be possible to run python script only without HA. Dont remember which version I used, but if username=admin or root does not work for you, try to use some older commit without username in login method :)

As long as sms functionality is present in router webui, no flashing is needed.

Also, for sending sms, after installing required python dependencies, sending sms should be argument 2, as in https://github.com/Kajkac/ZTE-MC-Home-assistant/blob/master/python_scripts/zte_tool.py#L312

something like this should work: python zte_tool.py 2

Kajkac commented 3 weeks ago

Hi, if you wanna use without Home assistant i build up a new Windows GUI for zte using the basic functions that i need so you can have a look and test it if it fits you.

https://github.com/Kajkac/ZTE-MC-WINGUI/tree/main