Kajkac / ZTE-MC-Home-assistant-repo

ZTE MC801A, MC888, MC889 Home assistant Custom integration
GNU General Public License v3.0
12 stars 2 forks source link

The repo is not working on my HA #11

Closed Andrege16100 closed 2 months ago

Andrege16100 commented 2 months ago

Hi! I have a ZTE Mc801A. I've installed your repo following your instructions but I received alsways the same error: image image

What could be my mistake? Maybe I've to enable something like remote managment on the router?

Thanks in advance: I'm a new user of HA and I have to learn a lot of things..

MiG-41 commented 2 months ago

Only the password or IP could be wrong. But if it is not connecting remove the integration and add it from scratch instead of Re-config it ( since this is still some issue to use this button).

Here is my screen ( unfortunatly in Polish , but location should be same) : Dont use "KONFIGURUJ" button , just do "Usuń"- Delete from menu , and then add it again... image

Andrege16100 commented 2 months ago

Thanks for your reply. Before writing here I've tried several times to remove and reinstall the repo (also the oldest, the unsupported) without differenti results. I'm sure that the address and the password are correct because they work on the browser. I have only to try to insert the repo manually but i have still to understand how. ;) I Will look for some tutorial. Thanks anyway for your help!

MiG-41 commented 2 months ago

The easiest way is to install Samba in HA , then you have acces to the files via network drives: https://smarthomecircle.com/easily-share-files-with-home-assistant-using-samba-share

@Kajkac , HACS is downloading this integration to catalog '/config/custom_components/zte_tracker' instead '/config/custom_components/zte_router' ( confirmed by doing this) ,could be a reason why it is having issues ? image

Could be this commit from @Shariner https://github.com/Kajkac/ZTE-MC-Home-assistant-repo/pull/9/commits/6736049fa74b01b6112c0a80a3dd34c8fa5cb2c9

Shariner commented 2 months ago

The easiest way is to install Samba in HA , then you have acces to the files via network drives: https://smarthomecircle.com/easily-share-files-with-home-assistant-using-samba-share

@Kajkac , HACS is downloading this integration to catalog '/config/custom_components/zte_tracker' instead '/config/custom_components/zte_router' ( confirmed by doing this) ,could be a reason why it is having issues ? image

Could be this commit from @Shariner 6736049

I had the same experience when i tried installing via HACS on my own branch, then i edited the linked commit in my own branch and it was working, so yes this is the reason, it expexts the domain zte_tracker.

You could simply rename the folder for a quick fix. I don't think my pull request will be merged as it's now not compatible anymore, so someone needs to adjust it and open another pull request or fix it by hand.

Kajkac commented 2 months ago

Yeah i know, will push the next update with more fixes as soon as i can, for now manual installation works fine

Andrege16100 commented 2 months ago

I followed your instructions for manual installation and now the repo works without problem! Thanks for your time and your help! I appreciate!

MiG-41 commented 2 months ago

In meantime there was update HACS from 1.x to 2.0. Yesterday i got notification , that ZTE_router can be upgraded to 1.0.21 ( from 1.0.20). So i did it , and after that there where several errors . So i updated manually , added once again integration ,and this works. So either 1.0.21 has improved this errors and there won't be them during HACS update , or there is still something wrong...

Kajkac commented 2 months ago

The router domain is fixed, hacs repositroy merge is pending but manual repository and manual istallation is working so closing the issue