Blackymas / NSPanel_HA_Blueprint

This allows you to configure your complete NSPanel via Blueprint with UI and without changing anything in the code
1.26k stars 234 forks source link

Resolving IP adress #1993

Closed kristianolofsson closed 2 months ago

kristianolofsson commented 3 months ago

TFT Version

No response

ESPHome Version

No response

Blueprint Version

No response

Panel Model

EU

What is the bug?

When trying to update the nspanel to the newest version it downloads, compiles but fails in the final step trying to locate ip

the panel is connected checking the router and the WiFi indicator on the panel shows the same.

Steps to Reproduce

No response

Your Panel's YAML

No response

ESPHome Logs

No response

Home Assistant Logs

No response

edwardtfn commented 2 months ago

Are you using manual IP, VLANs, or something different than standard? Could you please share the yaml used for your panel and some logs who wing this issue? Please remove any sensitive information before sharing.

kristianolofsson commented 2 months ago

No, nothing special. I used to have fixed ip but removed it. Didn’t help

kristianolofsson commented 2 months ago

IMG_1464

kristianolofsson commented 2 months ago

... Successfully created esp32 image. esp32_create_combined_bin([".pioenvs/nspanel1/firmware.bin"], [".pioenvs/nspanel1/firmware.elf"]) Wrote 0x12ca20 bytes to file /config/.esphome/build/nspanel1/.pioenvs/nspanel1/firmware-factory.bin, ready to flash to offset 0x0 ======================== [SUCCESS] Took 102.67 seconds ======================== INFO Successfully compiled program. INFO Resolving IP address of nspanel1.local ERROR Error resolving IP address of nspanel1.local. Is it connected to WiFi? ERROR (If this error persists, please set a static IP address: https://esphome.io/components/wifi.html#manual-ips) ERROR Error resolving IP address: Error resolving address with mDNS: Did not respond. Maybe the device is offline., [Errno -2] Name or service not known ============== [ERROR] /config/nspanel1.yaml ==============

edwardtfn commented 2 months ago

If you used to have manual ip you should return with that until fix this, as it is easier to have it working using ip than host names. ;) Have you changed anything else? Device name? Please try to add this to your substitutions:

  name: nspanel1
kristianolofsson commented 2 months ago

Changed it back and restarted HA so as the NSPanel, still the same error as above. :(

The router shows the IP to the NSpanel, but it seems to be a conflict since the panel it self is not connected. Even ping is responding.

The panel shows a red HA icon.

Can I force the panel it self to a specific IP and not only the router?

edwardtfn commented 2 months ago

Yes, you can instruct the panel itself to use a specific IP: https://github.com/Blackymas/NSPanel_HA_Blueprint/blob/dev/docs/customization.md#manual-ip

kristianolofsson commented 2 months ago

That solved it. Big thank you!