NSPManager / NSPanelManager

Sonoff NSPanel custom firmware for responsive and intuitive use
https://discord.gg/RwXvAH56fE
195 stars 14 forks source link

After migrating to a new hardware with a new IP, NS panel does not connect #216

Open juancameijeiras opened 2 days ago

juancameijeiras commented 2 days ago

Describe the bug I have migrated my HA to another hardware with a different IP, I cannot connect anymore to my NSPANEL, I have checked the settings and rebooted the device physically without avail. Have tried with a standalone docker container with the same results, In the documentation there is no mention of how to proceed in this case

To Reproduce Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior A clear and concise description of what you expected to happen.

Screenshots If applicable, add screenshots to help explain your problem.

Environment info (please complete the following information):

aaronouthier commented 2 days ago

Wow! I was just coming here to report the very same issue. Imagine my surprise to find this.

In my case, I'm not using Home Assistant, except for MQTT. ie, not running manager as an add-on. Safari on my iPad can't access my NSPanel after my docker system went down due to a temporary network reconfiguration. I am running the MosQuiTTo add-on in HAOS, which is used by my NSPanel and Manager.

Using Firefox on the same iPad works fine. Safari used to work just fine before my network change.

Suspect an incompatibility with Safari on iOS/iPadOS.

I am running beta firmware on my NSPanel.

My iPad is running iPadOS 18.1 on an iPad Air 4.

By the way, the OP didn't specify Safari on what hardware. iPhones, iPads, and Macs all have Safari installed.

juancameijeiras commented 2 days ago

Hello! Yes safari in a Mac running the latest as of today, on iPhone same issues running latest and on an iPad (just for kicks!). I tried Firefox and could access the panel directly, changed the configuration there and it appeared and could accept it and configure it, mystery solved! Thank you

tpanajott commented 2 days ago

Strange that safari wouldn't work but it sounds like you solved it? If the manager has changed IP it needs to be updated in the settings of the manager.

aaronouthier commented 2 days ago

Not exactly solved it, so much as found a work-around. For what it's worth, Safari starts to connect, but it hangs, taking a long time with a blank screen, before giving a timeout. At least for me.