Blackymas / NSPanel_HA_Blueprint

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

Noob instalation problems. #1440

Closed IkaSGC closed 10 months ago

IkaSGC commented 10 months ago

Hi, I'm having a few NOOB problems on my first attempt at installation. The first problem is wifi. The device is connecting to wifi with a hidden SSID. But for some reason it can't see the wifi and won't connect.

The second problem is with the FW itself?? After I load it into the panel the screen stays black. As soon as I press the buttons, I get the non-functional layout from the last installation (different type of integration).

Can anyone advise ?

image

edwardtfn commented 10 months ago

Let's solve the wifi first then we look at the issue with the screen.

Please try this: https://github.com/Blackymas/NSPanel_HA_Blueprint/wiki/(EN)-Customization#hidden-wi-fi

edwardtfn commented 10 months ago

I get the non-functional layout from the last installation (different type of integration).

What have you used before? Knowing what you have on your screen will help with the next steps.

IkaSGC commented 10 months ago

Before i try NSPanel Manager.....

About that wifi, i try multiple inputs, but i gets only errors.... Last try is this, galidation done, no error, but no connection to hidden wifi after reboot.

image

edwardtfn commented 10 months ago

Next time,please pase as a text and not an image, so it's easier to make the changes. 😉

edwardtfn commented 10 months ago

Try this:

substitutions:
  ###### CHANGE ME START ######
  device_name: "testpanel" 
  wifi_ssid: !secret wifi_ssid
  wifi_password: !secret wifi_password

  nextion_update_url: "http://homeassistant.local:8123/local/nspanel_eu.tft"
  nextion_blank_url: "http://homeassistant.local:8123/local/nspanel_blank.tft"

  ##### addon-configuration #####
  ## addon_climate ##
  # addon_climate_heater_relay: "1" # possible values: 1/2

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

packages:
  remote_package:
    url: https://github.com/Blackymas/NSPanel_HA_Blueprint
    ref: main
    files:
      - nspanel_esphome.yaml # Core package
      # - advanced/esphome/nspanel_esphome_addon_climate_cool.yaml # activate for local climate (cooling) control
      # - advanced/esphome/nspanel_esphome_addon_climate_heat.yaml # activate for local climate (heater) control
    refresh: 1s

esp32:
  framework:
    type: esp-idf

##### My customization - Start #####
# Connect to a hidden Wi-Fi network.
wifi:
  networks:
    - id: !extend wifi_default
      hidden: true
  fast_connect: true
##### My customization - End #####
IkaSGC commented 10 months ago

Sorry, my bad.... 😇 But looks like its working, i mean, wifi is working now.... It shows bad hostname, but it is connected.

image

But screen is stil bad.... I pres some buttons, then touch screen (red errors) and then it jumps into fallback screen as you can see on the screen.

image

edwardtfn commented 10 months ago
  1. Have you tried the "Upload TFT" button?
  2. Could you please send ESPHome logs from when you press that button to the moment the display restarts?

Please take a look at this: https://github.com/Blackymas/NSPanel_HA_Blueprint/wiki/(EN)-Common-Issues-TFT-Upload

IkaSGC commented 10 months ago

I'm a little lost on this one. The manual describes that if I have the EU version, I should have the TFT version as well. See the screen I have such a version uploaded in the WWW folder.

image

If I understand correctly, it is not an "Upload" to the device but only to the HA file system. Which I'm done. The file installation is then listed in the ESPhome code.

nextion_update_url: "http://homeassistant.local:8123/local/nspanel_eu.tft"

Or is there another button I don't know about?

edwardtfn commented 10 months ago

Or is there another button I don't know about?

There is. Under Settings > Devices & Services > ESPHome, you will find what we call your "Device's page". On that page there is a button "Upload TFT". Press that one.

edwardtfn commented 10 months ago

What you have done before was to copy the file from GitHub to your local http server (Home Assistant) and informed ESPHome where to find that file (`nextion_update_url´), but to start the upload you must click that button under your device's page.

IkaSGC commented 10 months ago

Ok, that was the NOOB problem... Its working now.... But screen is turning of after cca 1 min.... Possible just settings, bud i dont fing it... But i will find it !! :D

bentouspam commented 10 months ago

on device page / configuration, you have the timers for dimming and sleep. to unset the sleep timeout, enter 0.