Hi. Not that I can see. I had to manually trigger the automation. Previously when I had a change to the config the panel would restart, now it wont. So looks like something might have broken here. What would you suggest? Hopefully not to delete the automations and restart?
What is the status of the sensor named “Nextion Display”?
Could you please send a picture of your panel’s screen so I can understand to which point it is going?
Can you see the IP address in that screen? What about the versions of TFT, ESPHome and Blueprint shown on the panel’s screen, which are shown?
Status of Nextion Display is Connected.
Think somehow the blueprint got disconnected or unjoined (whatever the term is). On the display I get a IP, TFT, ESPHome, but nothing for the blueprint.
The problem is the mismatch between the TFT and ESPHome.
Try to update your TFT file using the latest available on GitHub (v3.3).
Is it possible to automatically update the tft if there is a mismatch ?
Everything is possible, however, when we start the TFT upload process and the process is interrupted for any reason (a network failure, power failure, etc), you will have an error message shown in your panel, and the transfer directly from GitHub is always more sensitive than from a local server, so there’s always a chance for an error when the user is not prepared for that.
Again, it is possible, but needs a lot of planning on development… But it’s possible and maybe it’s really good to start this discussion here.
Updated my panels. Still no change. TFT and ESPhome now match. Its not listing a blueprint though. Was certain it loaded in the past.
Indeed if something goes wrong while auto updating one might not know what to do.
So maybe a button, “Update tft using this address…”
or an error message “versions of tft and esp defer, please update”
at least then the user knows what the problem is. I think a lot of people right now don’t know the versions should be the same.
did you create an automation from the blueprint?
and if so,
did you fill this field correctly?
the esp device name should not contain any characters like - and _
after the update you have to select your Davice again in the Blueprint because there was a change.
This is not possible because we do not always know what the problem is or what the user has done wrong.
In the release notes you will always find the versions of TFT, Blueprint and ESPhome that should be used.
But then the user must also read.
We always try hard to write good and clear release notes.
There are also all changes or important things mentioned.
The problem is that many people are too lazy to read
And we actually already do more support than we have to do
So I had to manually update the blueprint as well (copy and pasted the code into file editor) then started working again.
Thanks for the help anyone!
I need your help with translations of new strings
Please help with translation using this discussion on GitHub: Translation update needed · Blackymas/NSPanel_HA_Blueprint · Discussion #829 · GitHub
I have automations to wake my NS Panels on motion which work fine but the screen will sleep after the set time even when motion continues since there is no new trigger event (in this instance I have a presence sensor so it stays set to ‘on’ for long periods while I’m in the area). Is there a way to keep the screen awake until motion ends? …without continuously sending the wake command.
Automation
alias: NS Panel 2 Motion Wakeup
description: Wake NS Panel 2 when motion detected in Kitchen
trigger:
- platform: state
entity_id:- binary_sensor.kitchen_presence
to: “on”
- binary_sensor.kitchen_presence
- platform: state
entity_id:- binary_sensor.kitchen_ms6_home_security_motion_detection
condition:
- binary_sensor.kitchen_ms6_home_security_motion_detection
- condition: state
entity_id: sensor.nspanel2_currentpage
state: screensaver
enabled: false
action: - service: esphome.nspanel2_wake_up_display
data:
option: keep_wake
mode: single
Use the sleep mode toggle
- service: switch.turn_off
data: {}
target:
entity_id: switch.lamp_kamer_voor_sleep_mode
Ah of course! Thank you
Thank you @Blackymas for creating this integration! But yeah also seeking for some help being unfamiliar with creating / modifying HA blueprints…
I have added an ‘house’ icon to the home page to indicate if my smartlock is locked or unlocked. Being familiar with Nextion displays, I added a pic object ‘id: smartlock’, add a ‘locked’ picture #124 add an ‘unlocked’ picture #125, compile, upload new tft to NSPanel (see screenshot). Now for me the hard part is modifying the blueprint… My idea is/was configure the smartlock on the Blueprint its Entity Page #1 - entry #1… then reuse the lock status to change the ‘house’ icon on the home page. Seemed easy but it turns out this is quite hard being a newbie with HA blueprints. I just can not wrap my head around things like i.e. ‘&id001’, ‘*id014’ (did not find this notation in the HA documentation), also the code that handles the Entity Pages is not straight forward for me. So I need some help to realize my dream
Maybe someone can provide a code snippet how this can be done in this blueprint? Thx in advance.
You want this visible on the Home page, right? If so, it should be included in the code where the Home page is constructed. But I would suggest you using the services (Developer Tools > Services) first and try to change the pics manually, so you o now which services to call and it’s parameters.
How this should be updated? Should this picture be hidden/shown based on some entity’s state? (Choose the pic based on the locked/unlocked)?
Please send more details and then we will be able to help.
Hi thx for your reply. The icon should always be shown, showing a house with green key (pic #125) when the smartlock its state is unlocked and house with red key (pic #124) when the smartlock its state is locked… so my goal is to change the picture based on smartlock state. This all boils down to programatically give the Nextion display the command to change the picture shown by the newly defined smartlock element (same is done for the weather element…).
My smartlock is already configured and showing its state on entity page #1 entry #1 (see bottom part of my screenshot).
Só, you don’t have to edit the Blueprint. You can have a separated service calling the pic ange every time the state of your locker changes.
If you have create that pic on the Nextion as a local, you might have a few error messages on ESPHome logs when the status changes and the page is other than home page, so I would suggest using a global object for your picture.
In your automation you call the service like this:
service: esphome.yourpanelname_send_command_printf
data:
cmd: home.locker_obj_name.pic=124
Again, try the service calling first using the Developer Tools so you make sure you have the right names and parameters before trying in an automation.