Blackymas / NSPanel_HA_Blueprint

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

`Enhancement` Use hardware button hold to increase/decrease light brightness #1711

Closed Beau11999988 closed 8 months ago

Beau11999988 commented 9 months ago

TFT Version

V4.2.4

ESPHome Version

V4.2.4

Blueprint Version

V4.2.4

Panel Model

NSPanel EU Model

What is the bug?

NS panel restart when left butten hold on

Steps to Reproduce

  1. press and hold left button for 15 sec
  2. ns panel restart

i want that if i hold de left button that my light increase the light, to the desired brightness

Screenshot 2024-01-22 221748 Screenshot 2024-01-22 222357 Screenshot 2024-01-22 223122

Your panel's YAML

repeat:
  sequence:
    - service: light.turn_on
      data:
        brightness_step_pct: 20
      target:
        device_id: f639d5f087f206d90500ab30481cad86
  while:
    - type: is_on
      condition: device
      device_id: 6b17835b87189036bbafbc0997a8c5e7
      entity_id: 0f73ba92950c94ca3ffb9e811ac688fc
      domain: binary_sensor
enabled: true

ESPHome logs

[22:29:30][I][script.watchdog:3115]: Wi-Fi:         Fair (-66 dBm)
[22:29:30][I][script.watchdog:3135]: API:           Connected
[22:29:30][I][script.watchdog:3153]: Blueprint:     4.2.4
[22:29:30][I][script.watchdog:3166]: ESPHome:
[22:29:30][I][script.watchdog:3167]:   Version:     4.2.4
[22:29:30][I][script.watchdog:3172]:   Framework:   esp-idf
[22:29:30][I][script.watchdog:3176]: UART:
[22:29:30][I][script.watchdog:3177]:   Baud rate:   115200 bps
[22:29:30][I][script.watchdog:3178]:   Queue size:  0
[22:29:30][I][script.watchdog:3182]: Nextion:
[22:29:30][I][script.watchdog:3183]:   Queue size:  2
[22:29:30][I][script.watchdog:3185]:   Is setup:    True
[22:29:30][W][script.watchdog:3196]:   Init:        False
[22:29:30][I][script.watchdog:3200]:   TFT:         4.2.4
[22:29:31][D][binary_sensor:036]: 'nspanel Left Button': Sending state OFF
[22:29:33][D][switch:012]: 'nspanel Nextion display - Power' Turning ON.
[22:29:33][D][switch:055]: 'nspanel Nextion display - Power': Sending state ON
[22:29:33][D][binary_sensor:036]: 'nspanel Nextion display': Sending state ON
[22:29:33][W][nextion:342]: Nextion reported invalid instruction!
[22:29:33][D][nextion:580]: system successful start up 0
[22:29:33][D][nextion:464]: Got new page: 8
[22:29:33][D][display.disp1.on_page:716]: Nextion page changed
[22:29:33][D][display.disp1.on_page:717]: New page: boot (8)
[22:29:33][D][text_sensor:064]: 'nspanel Current page': Sending state 'boot'
[22:29:33][D][text_sensor:064]: 'nspanel Detailed Entity': Sending state ''
[22:29:33][D][script.page_changed:2110]: New page: boot
[22:29:33][D][script.set_brightness:2504]: brightness: 100%
[22:29:33][E][nextion:550]: ERROR: Received numeric return but next in queue "set_component_text" is not a valid sensor type 0
[22:29:33][E][nextion:550]: ERROR: Received numeric return but next in queue "goto_page" is not a valid sensor type 0
[22:29:34][W][component:214]: Component api took a long time for an operation (0.06 s).
[22:29:34][W][component:215]: Components should block for at most 20-30ms.
[22:29:34][D][script.check_versions:1744]: ESPHome version: 4.2.4
[22:29:34][D][script.check_versions:1745]: TFT version: 4.2.4
[22:29:34][D][script.check_versions:1747]: Blueprint version: 4.2.4
[22:29:34][D][script.check_versions:1756]: Framework: esp-idf
[22:29:34][D][script.check_versions:1757]: Baud rate: 115200
[22:29:34][W][component:214]: Component api took a long time for an operation (0.06 s).
[22:29:34][W][component:215]: Components should block for at most 20-30ms.
[22:29:34][D][script:077]: Script 'global_settings' restarting (mode: restart)
[22:29:34][D][script.check_versions:1744]: ESPHome version: 4.2.4
[22:29:34][D][script.check_versions:1745]: TFT version: 4.2.4
[22:29:34][D][script.check_versions:1747]: Blueprint version: 4.2.4
[22:29:34][D][script.check_versions:1756]: Framework: esp-idf
[22:29:34][D][script.check_versions:1757]: Baud rate: 115200
[22:29:35][W][nextion:342]: Nextion reported invalid instruction!
[22:29:35][D][nextion:580]: system successful start up 0
[22:29:35][D][nextion:464]: Got new page: 8
[22:29:35][D][display.disp1.on_page:716]: Nextion page changed
[22:29:35][D][display.disp1.on_page:717]: New page: boot (8)
[22:29:35][E][nextion:550]: ERROR: Received numeric return but next in queue "send_command_printf" is not a valid sensor type 0
[22:29:36][D][rtttl:051]: Playing song two short
[22:29:36][D][script.global_settings:1910]: Jump to wake-up page: home
[22:29:36][D][script:077]: Script 'timer_dim' restarting (mode: restart)
[22:29:36][D][script.timer_dim:2934]: Waking up on page: home
[22:29:36][D][script:077]: Script 'set_brightness' restarting (mode: restart)
[22:29:36][D][script.set_brightness:2504]: brightness: 81%
[22:29:36][D][ledc.output:055]: Calculating resolution bit-depth for frequency 1319.000000
[22:29:36][D][ledc.output:060]: Resolution calculated as 15
[22:29:36][D][ledc.output:055]: Calculating resolution bit-depth for frequency 1319.000000
[22:29:36][D][ledc.output:060]: Resolution calculated as 15
[22:29:37][D][nextion:464]: Got new page: 0
[22:29:37][D][display.disp1.on_page:716]: Nextion page changed
[22:29:37][D][display.disp1.on_page:717]: New page: home (0)
[22:29:37][D][text_sensor:064]: 'nspanel Current page': Sending state 'home'
[22:29:37][D][text_sensor:064]: 'nspanel Detailed Entity': Sending state ''
[22:29:37][D][script.page_changed:2110]: New page: home
[22:29:37][D][script:077]: Script 'timer_dim' restarting (mode: restart)
[22:29:37][D][script.timer_dim:2934]: Waking up on page: home
[22:29:37][D][script:077]: Script 'set_brightness' restarting (mode: restart)
[22:29:37][D][script.set_brightness:2504]: brightness: 81%
[22:29:37][E][nextion:550]: ERROR: Received numeric return but next in queue "backlight_brightness" is not a valid sensor type 0
[22:29:37][D][sensor:094]: 'nspanel Display Current brightness': Sending state 0.00000 % with 0 decimals of accuracy
[22:29:37][D][sensor.current_brightness:1366]: Current brightness: 0%
[22:29:37][E][nextion:550]: ERROR: Received numeric return but next in queue "set_component_text" is not a valid sensor type 0
[22:29:37][D][script.setup_sequence:2661]: Starting Nextion setup sequence
[22:29:37][D][script.setup_sequence:2662]: Fetching page id
[22:29:37][D][script.setup_sequence:2670]: Fetching charset
[22:29:37][D][script.setup_sequence:2678]: Fetching display mode
[22:29:37][D][script.setup_sequence:2690]: Goto page Boot
[22:29:37][D][script.setup_sequence:2692]: Fetching TFT version
[22:29:37][D][script.setup_sequence:2700]: Wait for Wi-Fi
[22:29:37][D][script.setup_sequence:2716]: Wait for API
[22:29:37][D][script.setup_sequence:2727]: Publish IP address on screen
[22:29:37][D][script.setup_sequence:2728]: Report setup to Home Assistant
[22:29:37][D][script.setup_sequence:2752]: Set dimming values
[22:29:37][D][number:012]: 'nspanel Display Brightness': Sending state 81.000000
[22:29:37][D][number:012]: 'nspanel Display Brightness Dimdown': Sending state 21.000000
[22:29:37][D][script:077]: Script 'set_brightness' restarting (mode: restart)
[22:29:37][D][script.set_brightness:2504]: brightness: 81%
[22:29:37][D][script.setup_sequence:2756]: Set page Settings
[22:29:37][D][script.setup_sequence:2762]: Report to Home Assistant
[22:29:37][D][script:077]: Script 'timer_dim' restarting (mode: restart)
[22:29:37][D][script:077]: Script 'timer_sleep' restarting (mode: restart)
[22:29:37][D][text_sensor:064]: 'nspanel Notification Label': Sending state ''
[22:29:37][D][text_sensor:064]: 'nspanel Notification Text': Sending state ''
[22:29:37][D][switch:016]: 'nspanel Notification unread' Turning OFF.
[22:29:37][D][script.setup_sequence:2792]: Wait for leaving boot page
[22:29:37][D][script.setup_sequence:2809]: Nextion setup sequence finished!
[22:29:37][W][component:214]: Component binary_sensor took a long time for an operation (0.10 s).
[22:29:37][W][component:215]: Components should block for at most 20-30ms.
[22:29:37][D][ledc.output:055]: Calculating resolution bit-depth for frequency 1319.000000
[22:29:37][D][ledc.output:060]: Resolution calculated as 15
[22:29:37][D][ledc.output:055]: Calculating resolution bit-depth for frequency 1319.000000
[22:29:37][D][ledc.output:060]: Resolution calculated as 15
[22:29:37][E][nextion:550]: ERROR: Received numeric return but next in queue "set_component_text" is not a valid sensor type 0
[22:29:37][E][nextion:550]: ERROR: Received numeric return but next in queue "show_component" is not a valid sensor type 0
[22:29:37][E][nextion:550]: ERROR: Received numeric return but next in queue "set_component_font_color" is not a valid sensor type 0
[22:29:37][W][component:214]: Component api took a long time for an operation (0.06 s).
[22:29:37][W][component:215]: Components should block for at most 20-30ms.
[22:29:37][D][rtttl:176]: Playback finished
[22:29:37][D][nextion:464]: Got new page: 8
[22:29:37][D][display.disp1.on_page:716]: Nextion page changed
[22:29:37][D][display.disp1.on_page:717]: New page: boot (8)
[22:29:37][D][text_sensor:064]: 'nspanel Current page': Sending state 'boot'
[22:29:37][D][text_sensor:064]: 'nspanel Detailed Entity': Sending state ''
[22:29:37][D][script.page_changed:2110]: New page: boot
[22:29:37][D][script:077]: Script 'timer_dim' restarting (mode: restart)
[22:29:37][D][script:077]: Script 'timer_sleep' restarting (mode: restart)
[22:29:37][D][script:077]: Script 'set_brightness' restarting (mode: restart)
[22:29:37][D][script.set_brightness:2504]: brightness: 100%
[22:29:37][W][nextion:435]: Nextion reported Serial Buffer overflow!
[22:29:37][E][nextion:505]: ERROR: Received string return but next in queue "set_component_font_color" is not a text sensor
[22:29:37][W][nextion:405]: Nextion reported variable name invalid!
[22:29:37][E][nextion:550]: ERROR: Received numeric return but next in queue "send_command_printf" is not a valid sensor type 0
[22:29:37][W][nextion:362]: Nextion reported component ID or name invalid!
[22:29:37][E][nextion:550]: ERROR: Received numeric return but next in queue "send_command_printf" is not a valid sensor type 0
[22:29:37][E][nextion:550]: ERROR: Received numeric return but next in queue "send_command_printf" is not a valid sensor type 0
[22:29:37][D][script.check_versions:1744]: ESPHome version: 4.2.4
[22:29:37][D][script.check_versions:1745]: TFT version: 4.2.4
[22:29:37][D][script.check_versions:1747]: Blueprint version: 4.2.4
[22:29:37][D][script.check_versions:1756]: Framework: esp-idf
[22:29:37][D][script.check_versions:1757]: Baud rate: 115200
[22:29:37][W][nextion:362]: Nextion reported component ID or name invalid!
[22:29:37][W][nextion:362]: Nextion reported component ID or name invalid!
[22:29:37][W][nextion:362]: Nextion reported component ID or name invalid!
[22:29:37][W][nextion:362]: Nextion reported component ID or name invalid!
[22:29:37][W][nextion:362]: Nextion reported component ID or name invalid!
[22:29:37][W][nextion:362]: Nextion reported component ID or name invalid!
[22:29:37][W][nextion:362]: Nextion reported component ID or name invalid!
[22:29:38][W][component:214]: Component api took a long time for an operation (0.07 s).
[22:29:38][W][component:215]: Components should block for at most 20-30ms.
[22:29:38][D][script:077]: Script 'global_settings' restarting (mode: restart)
[22:29:38][D][script.check_versions:1744]: ESPHome version: 4.2.4
[22:29:38][D][script.check_versions:1745]: TFT version: 4.2.4
[22:29:38][D][script.check_versions:1747]: Blueprint version: 4.2.4
[22:29:38][D][script.check_versions:1756]: Framework: esp-idf
[22:29:38][D][script.check_versions:1757]: Baud rate: 115200
[22:29:40][D][rtttl:051]: Playing song two short
[22:29:40][D][script.global_settings:1910]: Jump to wake-up page: home
[22:29:40][D][script:077]: Script 'timer_dim' restarting (mode: restart)
[22:29:40][D][script.timer_dim:2934]: Waking up on page: home
[22:29:40][D][script:077]: Script 'set_brightness' restarting (mode: restart)
[22:29:40][D][script.set_brightness:2504]: brightness: 81%
[22:29:40][D][ledc.output:055]: Calculating resolution bit-depth for frequency 1319.000000
[22:29:40][D][ledc.output:060]: Resolution calculated as 15
[22:29:40][D][ledc.output:055]: Calculating resolution bit-depth for frequency 1319.000000
[22:29:40][D][ledc.output:060]: Resolution calculated as 15
[22:29:40][D][ledc.output:055]: Calculating resolution bit-depth for frequency 1319.000000
[22:29:40][D][ledc.output:060]: Resolution calculated as 15
[22:29:40][D][ledc.output:055]: Calculating resolution bit-depth for frequency 1319.000000
[22:29:40][D][ledc.output:060]: Resolution calculated as 15
[22:29:40][D][nextion:464]: Got new page: 0
[22:29:40][D][display.disp1.on_page:716]: Nextion page changed
[22:29:40][D][display.disp1.on_page:717]: New page: home (0)
[22:29:40][D][text_sensor:064]: 'nspanel Current page': Sending state 'home'
[22:29:40][D][text_sensor:064]: 'nspanel Detailed Entity': Sending state ''
[22:29:40][D][script.page_changed:2110]: New page: home
[22:29:40][D][script:077]: Script 'timer_dim' restarting (mode: restart)
[22:29:40][D][script.timer_dim:2934]: Waking up on page: home
[22:29:40][D][script:077]: Script 'set_brightness' restarting (mode: restart)
[22:29:40][D][script.set_brightness:2504]: brightness: 81%
[22:29:40][E][nextion:550]: ERROR: Received numeric return but next in queue "send_command_printf" is not a valid sensor type 0
[22:29:40][E][nextion:550]: ERROR: Received numeric return but next in queue "send_command_printf" is not a valid sensor type 0
[22:29:40][E][nextion:550]: ERROR: Received numeric return but next in queue "send_command_printf" is not a valid sensor type 0
[22:29:41][D][rtttl:176]: Playback finished
[22:29:45][E][nextion:550]: ERROR: Received numeric return but next in queue "send_command_printf" is not a valid sensor type 0
[22:29:45][D][nextion:770]: Removing old queue type "NO_RESULT" name "send_command_printf"
[22:29:45][D][nextion:770]: Removing old queue type "NO_RESULT" name "send_command_printf"
[22:29:45][D][nextion:770]: Removing old queue type "NO_RESULT" name "send_command_printf"
[22:29:45][D][nextion:770]: Removing old queue type "NO_RESULT" name "send_command_printf"
[22:29:45][D][nextion:770]: Removing old queue type "NO_RESULT" name "send_command_printf"
[22:29:45][D][nextion:770]: Removing old queue type "NO_RESULT" name "send_command_printf"
[22:29:45][D][nextion:770]: Removing old queue type "NO_RESULT" name "set_component_text"
[22:29:45][D][nextion:770]: Removing old queue type "NO_RESULT" name "set_component_font_color"
[22:29:45][D][nextion:770]: Removing old queue type "NO_RESULT" name "send_command_printf"
[22:29:45][D][nextion:770]: Removing old queue type "NO_RESULT" name "set_component_text"
[22:29:45][D][nextion:770]: Removing old queue type "NO_RESULT" name "set_component_font_color"
[22:29:45][D][nextion:770]: Removing old queue type "NO_RESULT" name "send_command_printf"
[22:29:45][D][nextion:770]: Removing old queue type "NO_RESULT" name "set_component_text"
[22:29:45][D][nextion:770]: Removing old queue type "NO_RESULT" name "set_component_font_color"
[22:29:45][D][nextion:770]: Removing old queue type "NO_RESULT" name "set_component_font_color"
[22:29:45][D][nextion:770]: Removing old queue type "NO_RESULT" name "set_component_text"
[22:29:45][D][nextion:770]: Removing old queue type "NO_RESULT" name "set_component_font_color"
[22:29:45][D][nextion:770]: Removing old queue type "NO_RESULT" name "set_component_text"
[22:29:45][D][nextion:770]: Removing old queue type "NO_RESULT" name "set_component_text"
[22:29:45][D][nextion:770]: Removing old queue type "NO_RESULT" name "set_component_text"
[22:29:45][D][nextion:770]: Removing old queue type "NO_RESULT" name "set_component_text"
[22:29:45][D][nextion:770]: Removing old queue type "NO_RESULT" name "set_component_text"
[22:29:45][D][nextion:770]: Removing old queue type "NO_RESULT" name "set_component_text"
[22:29:45][D][nextion:770]: Removing old queue type "NO_RESULT" name "set_component_text"
[22:29:45][D][nextion:770]: Removing old queue type "NO_RESULT" name "set_component_font_color"
[22:29:45][D][nextion:770]: Removing old queue type "NO_RESULT" name "set_component_font_color"
[22:29:45][D][nextion:770]: Removing old queue type "NO_RESULT" name "set_component_text"
[22:29:45][D][nextion:770]: Removing old queue type "NO_RESULT" name "set_component_text"
[22:29:45][D][nextion:770]: Removing old queue type "NO_RESULT" name "set_component_text"
[22:29:45][D][nextion:770]: Removing old queue type "NO_RESULT" name "send_command_printf"
[22:29:45][D][nextion:770]: Removing old queue type "NO_RESULT" name "set_component_text"
[22:29:45][D][nextion:770]: Removing old queue type "NO_RESULT" name "set_component_text"
[22:29:45][D][nextion:770]: Removing old queue type "NO_RESULT" name "set_component_font_color"
[22:29:45][D][nextion:770]: Removing old queue type "NO_RESULT" name "set_component_font_color"
[22:29:45][D][nextion:770]: Removing old queue type "NO_RESULT" name "send_command_printf"
[22:29:45][D][nextion:770]: Removing old queue type "NO_RESULT" name "send_command_printf"
[22:29:45][D][nextion:770]: Removing old queue type "NO_RESULT" name "send_command_printf"
[22:29:45][D][nextion:770]: Removing old queue type "NO_RESULT" name "send_command_printf"
[22:29:45][D][nextion:770]: Removing old queue type "NO_RESULT" name "send_command_printf"
[22:29:45][D][nextion:770]: Removing old queue type "NO_RESULT" name "send_command_printf"
[22:29:45][D][nextion:770]: Removing old queue type "NO_RESULT" name "send_command_printf"
[22:29:45][D][nextion:770]: Removing old queue type "NO_RESULT" name "send_command_printf"
[22:29:45][D][nextion:770]: Removing old queue type "NO_RESULT" name "send_command_printf"
[22:29:45][D][nextion:770]: Removing old queue type "NO_RESULT" name "send_command_printf"
[22:29:45][D][nextion:770]: Removing old queue type "NO_RESULT" name "send_command_printf"
[22:29:45][D][nextion:770]: Removing old queue type "NO_RESULT" name "send_command_printf"
[22:29:45][D][nextion:770]: Removing old queue type "NO_RESULT" name "send_command_printf"
[22:29:45][D][nextion:770]: Removing old queue type "NO_RESULT" name "send_command_printf"
[22:29:45][D][nextion:770]: Removing old queue type "NO_RESULT" name "send_command_printf"
[22:29:45][D][nextion:770]: Removing old queue type "NO_RESULT" name "send_command_printf"
[22:29:45][D][nextion:770]: Removing old queue type "NO_RESULT" name "send_command_printf"
[22:29:45][D][nextion:770]: Removing old queue type "NO_RESULT" name "send_command_printf"
[22:29:45][D][nextion:770]: Removing old queue type "NO_RESULT" name "send_command_printf"
[22:29:45][D][nextion:770]: Removing old queue type "NO_RESULT" name "send_command_printf"
[22:29:45][D][nextion:770]: Removing old queue type "NO_RESULT" name "send_command_printf"
[22:29:45][D][nextion:770]: Removing old queue type "NO_RESULT" name "send_command_printf"
[22:29:46][D][nextion:770]: Removing old queue type "NO_RESULT" name "set_component_text"
[22:29:46][D][nextion:770]: Removing old queue type "NO_RESULT" name "set_component_font_color"
[22:29:46][D][nextion:770]: Removing old queue type "NO_RESULT" name "send_command_printf"
[22:29:46][D][nextion:770]: Removing old queue type "NO_RESULT" name "set_component_text"
[22:29:46][D][nextion:770]: Removing old queue type "NO_RESULT" name "set_component_font_color"
[22:29:46][D][nextion:770]: Removing old queue type "NO_RESULT" name "send_command_printf"
[22:29:46][D][nextion:770]: Removing old queue type "NO_RESULT" name "set_component_text"
[22:29:46][D][nextion:770]: Removing old queue type "NO_RESULT" name "set_component_font_color"
[22:29:46][D][nextion:770]: Removing old queue type "NO_RESULT" name "set_component_font_color"
[22:29:46][D][nextion:770]: Removing old queue type "NO_RESULT" name "set_component_text"
[22:29:46][D][nextion:770]: Removing old queue type "NO_RESULT" name "set_component_font_color"
[22:29:46][D][nextion:770]: Removing old queue type "NO_RESULT" name "set_component_text"
[22:29:46][D][nextion:770]: Removing old queue type "NO_RESULT" name "set_component_text"
[22:29:46][D][nextion:770]: Removing old queue type "NO_RESULT" name "set_component_text"
[22:29:46][D][nextion:770]: Removing old queue type "NO_RESULT" name "set_component_text"
[22:29:46][D][nextion:770]: Removing old queue type "NO_RESULT" name "set_component_text"
[22:29:46][D][nextion:770]: Removing old queue type "NO_RESULT" name "set_component_text"
[22:29:46][D][nextion:770]: Removing old queue type "NO_RESULT" name "set_component_text"
[22:29:46][D][nextion:770]: Removing old queue type "NO_RESULT" name "set_component_font_color"
[22:29:46][D][nextion:770]: Removing old queue type "NO_RESULT" name "set_component_font_color"
[22:29:46][D][nextion:770]: Removing old queue type "NO_RESULT" name "set_component_text"
[22:29:46][D][nextion:770]: Removing old queue type "NO_RESULT" name "set_component_text"
[22:29:46][D][nextion:770]: Removing old queue type "NO_RESULT" name "set_component_text"
[22:29:46][D][nextion:770]: Removing old queue type "NO_RESULT" name "send_command_printf"
[22:29:46][D][nextion:770]: Removing old queue type "NO_RESULT" name "set_component_text"
[22:29:46][D][nextion:770]: Removing old queue type "NO_RESULT" name "set_component_text"
[22:29:46][D][nextion:770]: Removing old queue type "SENSOR" name "dp"
[22:29:46][D][nextion:770]: Removing old queue type "NO_RESULT" name "goto_page"
[22:29:46][D][nextion:770]: Removing old queue type "NO_RESULT" name "send_command_printf"
[22:29:46][D][nextion:770]: Removing old queue type "SENSOR" name "dim"
[22:29:46][D][nextion:770]: Removing old queue type "SENSOR" name "dp"
[22:29:46][D][nextion:770]: Removing old queue type "NO_RESULT" name "send_command_printf"
[22:29:46][D][nextion:770]: Removing old queue type "NO_RESULT" name "send_command_printf"
[22:29:46][D][nextion:770]: Removing old queue type "SENSOR" name "dim"
[22:29:46][D][nextion:770]: Removing old queue type "NO_RESULT" name "set_component_text"
[22:29:46][D][nextion:770]: Removing old queue type "NO_RESULT" name "set_component_text"
[22:29:46][D][nextion:770]: Removing old queue type "NO_RESULT" name "set_component_font_color"
[22:29:46][D][nextion:770]: Removing old queue type "NO_RESULT" name "set_component_text"
[22:29:46][D][nextion:770]: Removing old queue type "SENSOR" name "dp"
[22:29:46][D][nextion:770]: Removing old queue type "SENSOR" name "charset"
[22:29:46][D][nextion:770]: Removing old queue type "SENSOR" name "display_mode"
[22:29:46][D][nextion:770]: Removing old queue type "NO_RESULT" name "goto_page"
[22:29:46][D][nextion:770]: Removing old queue type "TEXT_SENSOR" name "tft_version"
[22:29:46][D][nextion:770]: Removing old queue type "NO_RESULT" name "send_command_printf"
[22:29:46][D][nextion:770]: Removing old queue type "SENSOR" name "dim"
[22:29:46][D][nextion:770]: Removing old queue type "NO_RESULT" name "send_command_printf"
[22:29:46][D][nextion:770]: Removing old queue type "NO_RESULT" name "send_command_printf"
[22:29:46][D][nextion:770]: Removing old queue type "NO_RESULT" name "send_command_printf"
[22:29:46][D][nextion:770]: Removing old queue type "NO_RESULT" name "send_command_printf"
[22:29:46][D][nextion:770]: Removing old queue type "NO_RESULT" name "send_command_printf"
[22:29:46][D][nextion:770]: Removing old queue type "NO_RESULT" name "send_command_printf"
[22:29:46][D][nextion:770]: Removing old queue type "NO_RESULT" name "send_command_printf"
[22:29:46][D][nextion:770]: Removing old queue type "NO_RESULT" name "send_command_printf"
[22:29:46][D][nextion:770]: Removing old queue type "NO_RESULT" name "send_command_printf"
[22:29:46][D][nextion:770]: Removing old queue type "NO_RESULT" name "send_command_printf"
[22:29:46][D][nextion:770]: Removing old queue type "NO_RESULT" name "send_command_printf"
[22:29:46][D][nextion:770]: Removing old queue type "NO_RESULT" name "send_command_printf"
[22:29:46][D][nextion:770]: Removing old queue type "NO_RESULT" name "send_command_printf"
[22:29:46][D][nextion:770]: Removing old queue type "NO_RESULT" name "send_command_printf"
[22:29:46][D][nextion:770]: Removing old queue type "NO_RESULT" name "send_command_printf"
[22:29:46][D][nextion:770]: Removing old queue type "NO_RESULT" name "send_command_printf"
[22:29:46][D][nextion:770]: Removing old queue type "NO_RESULT" name "send_command_printf"
[22:29:46][D][nextion:770]: Removing old queue type "NO_RESULT" name "send_command_printf"
[22:29:46][D][nextion:770]: Removing old queue type "NO_RESULT" name "send_command_printf"
[22:29:46][D][nextion:770]: Removing old queue type "NO_RESULT" name "send_command_printf"
[22:29:46][D][nextion:770]: Removing old queue type "NO_RESULT" name "send_command_printf"
[22:29:46][D][nextion:770]: Removing old queue type "NO_RESULT" name "send_command_printf"
[22:29:46][D][nextion:770]: Removing old queue type "NO_RESULT" name "send_command_printf"
[22:29:46][D][nextion:770]: Removing old queue type "NO_RESULT" name "send_command_printf"
[22:29:46][D][nextion:770]: Removing old queue type "NO_RESULT" name "send_command_printf"
[22:29:46][D][nextion:770]: Removing old queue type "NO_RESULT" name "send_command_printf"
[22:29:46][D][nextion:770]: Removing old queue type "NO_RESULT" name "set_component_text"
[22:29:46][D][nextion:770]: Removing old queue type "NO_RESULT" name "set_component_text"
[22:29:46][D][nextion:770]: Removing old queue type "NO_RESULT" name "send_command_printf"
[22:29:46][D][nextion:770]: Removing old queue type "NO_RESULT" name "set_component_font_color"
[22:29:46][D][nextion:770]: Removing old queue type "NO_RESULT" name "show_component"
[22:29:46][D][nextion:770]: Removing old queue type "NO_RESULT" name "send_command_printf"
[22:29:46][D][nextion:770]: Removing old queue type "NO_RESULT" name "set_component_font_color"
[22:29:46][D][nextion:770]: Removing old queue type "NO_RESULT" name "set_component_font_color"
[22:29:46][D][nextion:770]: Removing old queue type "NO_RESULT" name "send_command_printf"
[22:29:46][D][nextion:770]: Removing old queue type "NO_RESULT" name "send_command_printf"
[22:29:46][D][nextion:770]: Removing old queue type "NO_RESULT" name "send_command_printf"
[22:29:46][D][nextion:770]: Removing old queue type "NO_RESULT" name "send_command_printf"
[22:29:46][D][nextion:770]: Removing old queue type "NO_RESULT" name "send_command_printf"
[22:29:46][D][nextion:770]: Removing old queue type "NO_RESULT" name "send_command_printf"
[22:29:46][D][nextion:770]: Removing old queue type "NO_RESULT" name "send_command_printf"
[22:29:46][D][nextion:770]: Removing old queue type "NO_RESULT" name "send_command_printf"
[22:29:46][D][nextion:770]: Removing old queue type "NO_RESULT" name "send_command_printf"
[22:29:46][D][nextion:770]: Removing old queue type "NO_RESULT" name "send_command_printf"
[22:29:46][D][nextion:770]: Removing old queue type "NO_RESULT" name "send_command_printf"
[22:29:46][D][nextion:770]: Removing old queue type "NO_RESULT" name "send_command_printf"
[22:29:46][D][nextion:770]: Removing old queue type "NO_RESULT" name "send_command_printf"
[22:29:46][D][nextion:770]: Removing old queue type "NO_RESULT" name "send_command_printf"
[22:29:46][D][nextion:770]: Removing old queue type "NO_RESULT" name "send_command_printf"
[22:29:46][D][nextion:770]: Removing old queue type "NO_RESULT" name "send_command_printf"
[22:29:46][D][nextion:770]: Removing old queue type "NO_RESULT" name "send_command_printf"
[22:29:46][D][nextion:770]: Removing old queue type "NO_RESULT" name "send_command_printf"
[22:29:46][D][nextion:770]: Removing old queue type "NO_RESULT" name "send_command_printf"
[22:29:46][D][nextion:770]: Removing old queue type "NO_RESULT" name "send_command_printf"
[22:29:46][D][nextion:770]: Removing old queue type "NO_RESULT" name "send_command_printf"
[22:29:46][D][nextion:770]: Removing old queue type "NO_RESULT" name "send_command_printf"
[22:29:46][D][nextion:770]: Removing old queue type "NO_RESULT" name "set_component_text"
[22:29:46][D][nextion:770]: Removing old queue type "NO_RESULT" name "set_component_font_color"
[22:29:46][D][nextion:770]: Removing old queue type "NO_RESULT" name "send_command_printf"
[22:29:46][D][nextion:770]: Removing old queue type "NO_RESULT" name "set_component_text"
[22:29:46][D][nextion:770]: Removing old queue type "NO_RESULT" name "set_component_font_color"
[22:29:46][D][nextion:770]: Removing old queue type "NO_RESULT" name "send_command_printf"
[22:29:46][D][nextion:770]: Removing old queue type "NO_RESULT" name "set_component_text"
[22:29:46][D][nextion:770]: Removing old queue type "NO_RESULT" name "set_component_font_color"
[22:29:46][D][nextion:770]: Removing old queue type "NO_RESULT" name "set_component_font_color"
[22:29:46][D][nextion:770]: Removing old queue type "NO_RESULT" name "set_component_font_color"
[22:29:46][D][nextion:770]: Removing old queue type "SENSOR" name "dp"
[22:29:46][D][nextion:770]: Removing old queue type "NO_RESULT" name "send_command_printf"
[22:29:46][D][nextion:770]: Removing old queue type "NO_RESULT" name "backlight_brightness"
[22:29:46][D][nextion:770]: Removing old queue type "SENSOR" name "dim"
[22:29:46][D][nextion:770]: Removing old queue type "NO_RESULT" name "set_component_text"
[22:29:46][D][nextion:770]: Removing old queue type "NO_RESULT" name "set_component_text"
[22:29:46][D][nextion:770]: Removing old queue type "NO_RESULT" name "show_component"
[22:29:46][D][nextion:770]: Removing old queue type "NO_RESULT" name "set_component_text"
[22:29:46][D][nextion:770]: Removing old queue type "NO_RESULT" name "set_component_text"
[22:29:46][D][nextion:770]: Removing old queue type "NO_RESULT" name "set_component_font_color"
[22:29:46][D][nextion:770]: Removing old queue type "NO_RESULT" name "send_command_printf"
[22:29:46][D][nextion:770]: Removing old queue type "NO_RESULT" name "set_component_text"
[22:29:46][D][nextion:770]: Removing old queue type "NO_RESULT" name "set_component_text"
[22:29:46][D][nextion:770]: Removing old queue type "NO_RESULT" name "set_component_text"
[22:29:46][D][nextion:770]: Removing old queue type "NO_RESULT" name "set_component_font_color"
[22:29:46][D][nextion:770]: Removing old queue type "NO_RESULT" name "set_component_text"
[22:29:46][D][nextion:770]: Removing old queue type "NO_RESULT" name "set_component_text"
[22:29:46][D][nextion:770]: Removing old queue type "NO_RESULT" name "set_component_text"
[22:29:46][D][nextion:770]: Removing old queue type "NO_RESULT" name "set_component_text"
[22:29:46][D][nextion:770]: Removing old queue type "NO_RESULT" name "set_component_text"
[22:29:46][D][nextion:770]: Removing old queue type "NO_RESULT" name "set_component_font_color"
[22:29:46][D][nextion:770]: Removing old queue type "NO_RESULT" name "set_component_font_color"
[22:29:46][D][nextion:770]: Removing old queue type "NO_RESULT" name "set_component_text"
[22:29:46][D][nextion:770]: Removing old queue type "NO_RESULT" name "set_component_text"
[22:29:46][D][nextion:770]: Removing old queue type "NO_RESULT" name "set_component_font_color"
[22:29:46][D][nextion:770]: Removing old queue type "NO_RESULT" name "set_component_text"
[22:29:46][D][nextion:770]: Removing old queue type "NO_RESULT" name "send_command_printf"
[22:29:46][D][nextion:770]: Removing old queue type "NO_RESULT" name "set_component_text"
[22:29:46][D][nextion:770]: Removing old queue type "NO_RESULT" name "set_component_text"
[22:29:46][D][nextion:770]: Removing old queue type "NO_RESULT" name "send_command_printf"
[22:29:46][D][sensor:094]: 'ntc_source': Sending state 1.67500 V with 2 decimals of accuracy
[22:29:46][D][resistance:039]: 'resistance_sensor' - Resistance 11544.6Ω
[22:29:46][D][sensor:094]: 'resistance_sensor': Sending state 11544.61523 Ω with 1 decimals of accuracy
[22:29:46][D][ntc:026]: 'nspanel Temperature' - Temperature: 21.8°C
[22:29:46][D][sensor:094]: 'nspanel Temperature': Sending state 21.80223 °C with 1 decimals of accuracy

Home Assistant logs

No response

edwardtfn commented 9 months ago

This is not a bug. It is working as expected. After 15s left button restarts the device and right button power cycles the screen. I will change it to an enhancement request.

Beau11999988 commented 9 months ago

Is it possible to turn that off?

Because that is a button underneath the panel to reset?

edwardtfn commented 9 months ago

I believe it can be turned off, but let me investigate it a bit and look for the best approach here.

Beau11999988 commented 8 months ago

Hey, could you find a solution for the problem?

Kind regards, Beau11999988

edwardtfn commented 8 months ago

I haven't added anything to increase/decrease light, but I've removed the code for restarting with those buttons press for 15s, so you will be able to implement the dimming solution from your side. It is still in dev, but will be included in the v4.3 release. I will close for now, to make easier to manage the backlog, but please feel free to comment or to reopen it.