Blackymas / NSPanel_HA_Blueprint

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

NSPanel doesnt start after flashing - black screen #2187

Open KKaiKn opened 1 month ago

KKaiKn commented 1 month ago

TFT Version

No response

ESPHome Version

2024.6.6

Blueprint Version

4.3.9

Panel Model

EU

What is the bug?

Hi, after I have successfully flashed the NSPanel, the panel does not start. The panel remains black. After flashing, the message “configuration installed” appears.

I have tried to connect the panel to 220V and also to 5V. The panel also appears as offline in ESPHome. Do you have any idea what the problem could be?

Steps to Reproduce

No response

Your Panel's YAML

substitutions:

###### CHANGE ME START ######

  device_name: "nspanel" 
  wifi_ssid: !secret wifi_ssid
  wifi_password: !secret wifi_password

  nextion_update_url: "http://http://192.168.178.96:8123/local/nspanel_eu.tft" # URL to local tft File
#  nextion_update_url: "https://raw.githubusercontent.com/Blackymas/NSPanel_HA_Blueprint/main/nspanel_eu.tft" # URL to Github

##### CHANGE ME END #####

##### DO NOT CHANGE ANYTHING! #####

packages:
  remote_package:
    url: https://github.com/Blackymas/NSPanel_HA_Blueprint
    ref: main
    refresh: 300s
    files:
      - nspanel_esphome.yaml # Basic package

esp32:
  framework:
    type: esp-idf

##### DO NOT CHANGE ANYTHING! #####

ESPHome Logs

No response

Home Assistant Logs

No response

edwardtfn commented 1 month ago

The panel only shows something on it's display when powered by AC power (110V to 240V). I would suggest you repeat the process, making sure all cables are connected properly, no contacts are damaged (please look at that contact between the front panel and the back, also the cable connecting to the screen)...

KKaiKn commented 1 month ago

Thank you. I have tried flashing several times (about 10 times). The connections seem to be good. Can I test if flashing the firmware worked? or are there other test possibilities?

edwardtfn commented 1 month ago
  1. Do you have any other ESPHome device working or is this the first one?
  2. Do you have VLANs or any special configuration on your network?
  3. Do you see anything on the panel's screen? Any beep after powering on (mains/AC)?
  4. As I understood, it is showing as Offline under ESPHome dashboard, is that correct?
  5. Have you tried flashing a super-simple firmware to this device? Like the one suggested by ESPHome when creating a new device? Do you see the device online in that case?
edwardtfn commented 1 month ago

Sorry for so many questions, buts it's really difficult to troubleshoot when your panel is not even connecting to ESPHome. This is not common at all.

KKaiKn commented 1 month ago

I won't be able to try until next week. Thank you for the tips.

bkbartk commented 1 month ago

The panel only shows something on it's display when powered by AC power (110V to 240V).

You could also use the 5volt dc connector.

KKaiKn commented 4 weeks ago
  1. Do you have any other ESPHome device working or is this the first one?
  2. Do you have VLANs or any special configuration on your network?
  3. Do you see anything on the panel's screen? Any beep after powering on (mains/AC)?
  4. As I understood, it is showing as Offline under ESPHome dashboard, is that correct?
  5. Have you tried flashing a super-simple firmware to this device? Like the one suggested by ESPHome when creating a new device? Do you see the device online in that case?
  1. I don´t have any other ESPHome devices. i can serach for a old sonoff basic.
  2. I have no special network config.
  3. I don´t see anything on the screen. It is black. There is also no any beep after powering on at AC or 5VDC.
  4. Right, ESPHome shows offline.
  5. I have tried a 'first use' firmware from epshome.io. There is the same error.

Is it correct that no LED lights up during/after the flashing on the panels board? Is there anything special to do when the flashing is finished? Can I disconnect the flashadapter directly? Can i download the original nspanel firmware somewhere to check the device?

KKaiKn commented 4 weeks ago

Finally! it worked. i used the esptool. I don´t know why it didn´t work with ESPHome Web.

edwardtfn commented 4 weeks ago

Is everything working fine?