Blackymas / NSPanel_HA_Blueprint

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

`Bug` Dev 4.3 Confirm Message does not work #1880

Closed kroessig closed 3 months ago

kroessig commented 3 months ago

TFT Version

4.3dev4

ESPHome Version

4.3dev4

Blueprint Version

4.3dev4

Panel Model

EU

What is the bug?

Confirm Message does not work

Steps to Reproduce

Automatisation with esphome.[panelname]_notification_show confirm notification does not work - see video Link

there are errors in the esp-home log

Your Panel's YAML

substitutions:

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

  device_name: "panelwozi"
  wifi_ssid: !secret wifi_ssid
  wifi_password: !secret wifi_password

#  nextion_update_url: "http://192.168.178.75:8123/local/nspanel_eu_dev4.2.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: dev
    files: [nspanel_esphome.yaml]
    refresh: 300s
#esp32:
#  framework:
#    type: esp-idf  

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

ESPHome Logs

[19:55:23][D][sensor:094]: 'Temperature': Sending state 24.25278 °C with 1 decimals of accuracy [19:55:29][D][sensor:094]: 'RSSI': Sending state -55.00000 dBm with 0 decimals of accuracy [19:55:56][D][nextion:446]: Got touch event: [19:55:56][D][nextion:447]: page_id: 0 [19:55:56][D][nextion:448]: component_id: 28 [19:55:56][D][nextion:449]: event type: PRESS [19:55:56][D][script.timer_dim:2809]: Waking up on page: home [19:55:56][E][nextion:550]: ERROR: Received numeric return but next in queue "send_command_printf" is not a valid sensor type 0 [19:55:56][D][nextion:446]: Got touch event: [19:55:56][D][nextion:447]: page_id: 0 [19:55:56][D][nextion:448]: component_id: 28 [19:55:56][D][nextion:449]: event type: RELEASE

[19:55:56][D][script.timer_dim:2809]: Waking up on page: home

[19:55:56][D][nextion:464]: Got new page: 16 [19:55:56][D][text_sensor:064]: 'Current Page': Sending state 'notification' [19:55:56][D][text_sensor:064]: 'Detailed Entity': Sending state '' [19:55:56][D][script.page_changed:2109]: New page: notification

[19:55:56][D][script.timer_dim:2809]: Waking up on page: notification

[19:55:56][E][nextion:550]: ERROR: Received numeric return but next in queue "send_command_printf" is not a valid sensor type 0 [19:55:56][D][sensor:094]: 'Display Current brightness': Sending state 16.00000 % with 0 decimals of accuracy [19:55:56][E][nextion:550]: ERROR: Received numeric return but next in queue "send_command_printf" is not a valid sensor type 0 [19:55:58][D][nextion:446]: Got touch event: [19:55:58][D][nextion:447]: page_id: 16 [19:55:58][D][nextion:448]: component_id: 7 [19:55:58][D][nextion:449]: event type: PRESS

[19:55:58][D][script.timer_dim:2809]: Waking up on page: notification

[19:55:58][E][nextion:550]: ERROR: Received numeric return but next in queue "send_command_printf" is not a valid sensor type 0 [19:55:58][D][nextion:446]: Got touch event: [19:55:58][D][nextion:447]: page_id: 16 [19:55:58][D][nextion:448]: component_id: 7 [19:55:58][D][nextion:449]: event type: RELEASE

[19:55:58][D][script.timer_dim:2809]: Waking up on page: notification

[19:55:58][D][text_sensor:064]: 'NSPanel event': Sending state '{"page": "notification", "component": "accept", "value": "release"}' [19:55:58][E][text_sensor.nspanelevent:1648]: Obsolete call

[19:55:58][D][script.timer_dim:2809]: Waking up on page: notification

[19:55:58][E][text_sensor.nspanelevent:1665]: Page: notification [19:55:58][E][text_sensor.nspanelevent:1666]: Component: accept [19:55:58][E][text_sensor.nspanelevent:1667]: Value: release

[19:55:58][D][nextion_textsensor:014]: Processed text_sensor "nspanelevent" state "{"page": "notification", "component": "accept", "value": "release"}" [19:55:58][E][nextion:550]: ERROR: Received numeric return but next in queue "send_command_printf" is not a valid sensor type 0 [19:55:58][E][nextion:550]: ERROR: Received numeric return but next in queue "send_command_printf" is not a valid sensor type 0 [19:55:59][D][switch:016]: 'Notification unread' Turning OFF. [19:55:59][D][nextion:464]: Got new page: 0 [19:55:59][D][text_sensor:064]: 'Current Page': Sending state 'home' [19:55:59][D][text_sensor:064]: 'Detailed Entity': Sending state '' [19:55:59][D][script.page_changed:2109]: New page: home

[19:55:59][D][script.timer_dim:2809]: Waking up on page: home

[19:55:59][E][nextion:550]: ERROR: Received numeric return but next in queue "send_command_printf" is not a valid sensor type 0 [19:55:59][E][nextion:550]: ERROR: Received numeric return but next in queue "send_command_printf" is not a valid sensor type 0 [19:56:04][E][nextion:550]: ERROR: Received numeric return but next in queue "fill_area" is not a valid sensor type 0

Home Assistant Logs

No response

kroessig commented 3 months ago

same with ver. 4.3.b2

INFO Successfully connected to panelwozi @ 192.168.178.110 in 0.005s INFO Successful handshake with panelwozi @ 192.168.178.110 in 0.014s [20:33:00][D][sensor:094]: 'Display Current brightness': Sending state 100.00000 % with 0 decimals of accuracy [20:33:17][D][sensor:094]: 'RSSI': Sending state -55.00000 dBm with 0 decimals of accuracy [20:33:25][D][sensor:094]: 'Display Current brightness': Sending state 100.00000 % with 0 decimals of accuracy [20:33:28][D][sensor:094]: 'ntc_source': Sending state 1.57900 V with 2 decimals of accuracy [20:33:28][D][resistance:039]: 'resistance_sensor' - Resistance 10275.9Ω [20:33:28][D][sensor:094]: 'resistance_sensor': Sending state 10275.88574 Ω with 1 decimals of accuracy [20:33:28][D][ntc:026]: 'Temperature' - Temperature: 24.4°C [20:33:28][D][sensor:094]: 'Temperature': Sending state 24.38879 °C with 1 decimals of accuracy [20:33:30][D][sensor:094]: 'Display Current brightness': Sending state 100.00000 % with 0 decimals of accuracy [20:33:31][D][text_sensor:064]: 'Notification Label': Sending state 'Abfallkalender' [20:33:31][D][text_sensor:064]: 'Notification Text': Sending state 'Müll rausstellen: Restmüll' [20:33:31][D][script.timer_dim:2830]: Waking up on page: home [20:33:31][D][switch:012]: 'Notification unread' Turning ON. [20:33:31][D][switch:055]: 'Notification unread': Sending state ON [20:33:31][D][nextion:464]: Got new page: 16 [20:33:31][D][text_sensor:064]: 'Current Page': Sending state 'notification' [20:33:31][D][text_sensor:064]: 'Detailed Entity': Sending state '' [20:33:31][D][script.page_changed:2130]: New page: notification

[20:33:31][D][script.timer_dim:2830]: Waking up on page: notification

[20:33:31][D][sensor:094]: 'Display Current brightness': Sending state 100.00000 % with 0 decimals of accuracy [20:33:31][D][sensor:094]: 'Page Id': Sending state 16.00000 with 0 decimals of accuracy [20:33:31][D][sensor:094]: 'Display Current brightness': Sending state 100.00000 % with 0 decimals of accuracy [20:33:36][D][sensor:094]: 'Display Current brightness': Sending state 100.00000 % with 0 decimals of accuracy [20:33:37][D][nextion:446]: Got touch event: [20:33:37][D][nextion:447]: page_id: 16 [20:33:37][D][nextion:448]: component_id: 7 [20:33:37][D][nextion:449]: event type: PRESS

[20:33:37][D][script.timer_dim:2830]: Waking up on page: notification [20:33:37][D][sensor:094]: 'Display Current brightness': Sending state 100.00000 % with 0 decimals of accuracy [20:33:37][D][nextion:446]: Got touch event: [20:33:37][D][nextion:447]: page_id: 16 [20:33:37][D][nextion:448]: component_id: 7 [20:33:37][D][nextion:449]: event type: RELEASE

[20:33:37][D][script.timer_dim:2830]: Waking up on page: notification

[20:33:37][D][text_sensor:064]: 'NSPanel event': Sending state '{"page": "notification", "component": "accept", "value": "release"}' [20:33:37][E][text_sensor.nspanelevent:1669]: Obsolete call

[20:33:37][D][script.timer_dim:2830]: Waking up on page: notification

[20:33:37][E][text_sensor.nspanelevent:1686]: Page: notification [20:33:37][E][text_sensor.nspanelevent:1687]: Component: accept [20:33:37][E][text_sensor.nspanelevent:1688]: Value: release

[20:33:37][D][nextion_textsensor:014]: Processed text_sensor "nspanelevent" state "{"page": "notification", "component": "accept", "value": "release"}" [20:33:37][D][sensor:094]: 'Display Current brightness': Sending state 100.00000 % with 0 decimals of accuracy [20:33:37][D][sensor:094]: 'Display Current brightness': Sending state 100.00000 % with 0 decimals of accuracy [20:33:38][D][switch:016]: 'Notification unread' Turning OFF. [20:33:38][D][switch:055]: 'Notification unread': Sending state OFF [20:33:38][D][nextion:464]: Got new page: 0 [20:33:38][D][text_sensor:064]: 'Current Page': Sending state 'home' [20:33:38][D][text_sensor:064]: 'Detailed Entity': Sending state '' [20:33:38][D][script.page_changed:2130]: New page: home

[20:33:38][D][script.timer_dim:2830]: Waking up on page: home

[20:33:39][D][sensor:094]: 'Page Id': Sending state 0.00000 with 0 decimals of accuracy [20:33:39][D][sensor:094]: 'Display Current brightness': Sending state 100.00000 % with 0 decimals of accuracy [20:33:43][D][sensor:094]: 'Display Current brightness': Sending state 100.00000 % with 0 decimals of accuracy [20:34:08][D][sensor:094]: 'Display Current brightness': Sending state 100.00000 % with 0 decimals of accuracy [20:34:13][D][sensor:094]: 'Display Current brightness': Sending state 100.00000 % with 0 decimals of accuracy [20:34:17][D][sensor:094]: 'RSSI': Sending state -55.00000 dBm with 0 decimals of accuracy

edwardtfn commented 3 months ago

I believe this is fixed with the latest beta. Could you please update your system and let me know the results?