Closed adrianGOO closed 1 year ago
hi - is it the first flash on the nspanel or did you have lovelace ui version on the nspanel before?
hi - is it the first flash on the nspanel or did you have lovelace ui version on the nspanel before?
No I never used lovelace ui, I always use esp only to run HA scripts and button switches. The hmi I was using until now is hmi based on NSPanel YAML by marcfager.
the problem difficult to admit for me.
If you are using my ESPhome version - do you try to install the ESPhome version via OTA (wireless) or do you flash it via cable?
the problem difficult to admit for me.
If you are using my ESPhome version - do you try to install the ESPhome version via OTA (wireless) or do you flash it via cable?
I tried both versions, wireless and cable but still same.
I think there is a mistake in flashing steps.
Do I need to load your hmi and then load your yaml or I have to stay on initially installed hmi instructed by Mark?
hear is a step by step guide
https://github.com/Blackymas/NSPanel_HA_Blueprint/wiki/(EN)-First-Steps---Installation-and-Setup
hear is a step by step guide
https://github.com/Blackymas/NSPanel_HA_Blueprint/wiki/(EN)-First-Steps---Installation-and-Setup
Yes I did the same steps but ESP comes offline again.
I will try something else tonight and let you know about the results
I will remove ESP home from my HA server and delete all saved files in ESP config and reinstall everything from the begining. Anyway you have done a great job with yor firmware and we really appreciate your contribution.
I had this same issue with the nspanel never coming online while using the secrets file substitutions for wifi ssid and password, when I replaced them hardcoded into the yaml it came up. I think esphome doesn't like it when we use secrets in substitutions?
ESPHome supports using !secrets in substitutions. Use this in all my ~40 esphome-files since the first project. Have you created a secrets-file inside esphome - this is another one than ha uses per default? Look at the esphome-documentation: https://esphome.io/guides/faq.html This is from my (working) config:
##### ADVANCED CONFIGURATION - activate only when you know what you do ##############################
substitutions:
## usage of secrets-file ## -> comment in ###### Change ME ######
device_name: "nspanel01" # Wird im Blueprint benötigt!
wifi_ssid: !secret nspanel_wifi_ssid # add in your esphome secrets file.
wifi_password: !secret nspanel_wifi_password # add in your esphome secrets file. -> per default this is also used for ota_password and web_password
ota_password: !secret nspanel_ota_password # add in your esphome secrets file. - manual change in code required to activate
web_password: !secret nspanel_web_password # add in your esphome secrets file. - manual change in code required to activate
api_password: !secret nspanel_api_password # add in your esphome secrets file. - manual change in code required to activate
nextion_update_url: !secret nspanel_update_url # add in your esphome secrets file. Example: "http://"HOME ASSISTANT IP":8123/local/nspanel/nspanel.tft"
you can have a look at the secrets-file from esphome with the button right on top in the esphom-dashboard:
I close the issue because no feedback
Hello,
I have a problem loading ESP code on my NSPanel
Currently my NSPanel is flashed successfully with tft file according to Mark Watt Tech manual but when I replace ESP config code with the one you posted my ESP will stay offline and show error when trying to install your codes. When I load back my old ESP yaml the NSPanel will come online again and work with my custom hmi and esp yaml. For your information this is my first week using NSPanel and ESP.
My secrets.yaml
ESP yaml
Log