I’ve added PR#748 to add support to boolean entities on chips. That will probably be included in the next release.
Awesome! Thanks.
here code
substitutions:
device_name: "nspanelblueprint"
wifi_ssid: !secret wifi_ssid
wifi_password: !secret wifi_password
nextion_update_url: "http://my-ip:8123/local/nspanelblank.tft"
# nextion_update_url: "http://my-ip:8123/local/nspanel_eu.tft"
external_components:
- source: github://pr#2956
components: [nextion]
refresh: 1h
packages:
remote_package:
url: https://github.com/Blackymas/NSPanel_HA_Blueprint
ref: main
files: [nspanel_esphome.yaml]
refresh: 300s
Hi Jarne_Roussard, I too had problems with the tasmota to blueprint installation, I practically could not install the blank tft file. To do this, I had to create my own http web server, upload the blank file to it and then upload it from there to Tasmota. Basically after creating the web server and uploading the file I followed these steps: After installing the web server on the raspy and trying to install the blank file without success but with a different error, I took a deep breath, rearranged my ideas and: OK let’s reinstall everything from scratch: 1) Installed tasmota, flashed the berry and flashed the modified blank file taking it from my web server on the raspy (the original one to which I modified the ID device and then put the original ID device back) result: white screen! Perfect 2) Flashed the esphome file with the nextion_update_url: which now points to the file on the raspy web server and… Hello World! Now every time I have to upload a tft file to the nspanel I first upload the file to my webserver and then download it to the nspanel!
That is certainly an important advise.
Thanks for that!!!
New Version is online
Wanted to say thanks - this solved the TFT update problem I was having.
Hi
I just tried to install the blueprint but I get stuck in the beginning flashing the esphome code.
Starting to flash gives me following error message:
I went through all steps and can’t find my mistake.
I don’t even know where to look.
Does anybody has an idea?
Thx
Lars
Which version of esphome are you using? I think you are on a really old one.
At some point I can remember you need to add an of on repository to be able to update esphome.
hello amai this is a very step-by-step plan can I approach you here in a different way via discord or via dm? would I like to do this too?
that was the correct idea! I already figured out.
No the problem is that the flashing was running and a cable connection was interrupted. So the installation stopped. After trying again a new error message is appearing which was not there before… strange
I just deleted everything regarding the nspanel and try everything again.
This is strange. No I receive this error message. Before the flash process was interrupted everything was fine. Now this:
I made no modification. So I don’t understand why this massege is suddenly appearing.
Validation is fine!
hello @EdwardTFN have new nspanel in today wow this flash with this version but i get everything done until i want to upload the tft it doesn’t want to do it if not via local or the online tft file this is my config in esphome i am very sorry that this is not hope you can help me?
substitutions:
###### CHANGE ME START ######
device_name: "nspanelblueprint"
wifi_ssid: !secret wifi_ssid
wifi_password: !secret wifi_password
# nextion_update_url: "http://192.168.0.184: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:
##### download esphome code from Github
remote_package:
url: https://github.com/Blackymas/NSPanel_HA_Blueprint
ref: main
files: [nspanel_esphome.yaml]
refresh: 300s
##### DO NOT CHANGE ANYTHING! #####
Have you tried the new Exit reparse
button?
Please take a look on this info from the latest release notes:
3. “Exit reparse” button
One of the biggest challenges to a new user is to upload the TFT file for the first time. This is due to Sonoff using the Protocol Reparse Mode to control the communication with the Nextion display. This prevents ESPHome to communicate with the display using its default libraries and therefore prevents installing the new TFT.
With this version you will have a new button named “Exit reparse”, which will send a command to the Nextion to exit that mode for a few seconds, giving to the use a chance to then upload the TFT file without the need to change your ESPHome settings or using older Nextion libraries.
Once you have successfully uploaded any of the TFT files from this project (nspanel_blank.tft
, nspanel_eu.tft
or nspanel_us.tft
), the reparse mode will be permanently disabled and this button is not needed anymore.
If you have your panel displaying the Sonoff original screen, please follow the following steps to install your TFT file:
- Go to the front of your panel with a portable device with access to Home Assistant
- Open the device related to your panel under Settings > Device & Services > ESPHome
- Press the new button “Exit reparse” and wait for your panel to change it’s screen to another page (which will take around 10s)
- While the new page is shown (it will be there for just a couple of seconds), press the button “Upload TFT”
- You should then see the progress bar in your display and after no more than 20 minutes the new TFT will be displayed.
Hi.
I’m ging to switch from tasmota lovelace ui to esphome incl. Blueprint.
What is the best way to change?
What mistakes can i do?
Hope you can help me…
Install the TFT file while you are with Tasmota. It’s much smoother than ESPHome.
After uploading TFT, I think you can do the move without any other recommendation. At least nothing coming to my mind right now.
Upload the blank tft?
You can update the final TFT (nspanel_eu.tft
or nspanel_us.tft.tft
) using tasmota. But usually the issue is just with the first update, so if you wanna do nspanel_blank.tft
with Tasmota and then the others with ESPHome you shouldn’t have major issues.
Hi Edward, I just updated my NS Panels to the new version with these changes and wanted to thank you for getting Chips working with True/False entities. Love you work mate