NSPManager / NSPanelManager

Sonoff NSPanel custom firmware for responsive and intuitive use
https://nspanelmanager.com/
128 stars 10 forks source link

[Bug] Restarting HA/Panel #86

Open mainmind83 opened 10 months ago

mainmind83 commented 10 months ago

If Home Assistant is restarted and the panel is still active, when HA starts, the panel appears as connected in the Manager but the screen shows "registering to manager"

tpanajott commented 10 months ago

Yhea, the manager only looks at the mqtt status topic for the panel and if it's state is "online", that will however occur as long as it's connected to mqtt and might be before it has registered to the manager. As said in another post, this handshake between the manager and the panel is being reworked.

mainmind83 commented 10 months ago

If the IP of the panel changes, it is not updated either

tpanajott commented 10 months ago

If the IP of the panel changes, it is not updated either

What do you mean not updated? Not automatically updated on the page without a refresh or that it doesn't even show the correct IP after you reload the page?

mainmind83 commented 10 months ago

Not show the correct/new IP of Panel...

With new IP when this screen appear, trying access show "page Not found" on browser too

tpanajott commented 10 months ago

I'm assuming you are running it as a HA add-on?

mainmind83 commented 10 months ago

yes, HA add-on with NSpanel v1.0 Protocol (by default)

tpanajott commented 10 months ago

The protocol is just for when updating the screen, v1.2 is faster :)

mainmind83 commented 10 months ago

So it should be enabled by default when loading firmware ;D

tpanajott commented 10 months ago

So it should be enabled by default when loading firmware ;D

Yes, and I thought it was. What browser were you using at first setup?

mainmind83 commented 10 months ago

Chrome