Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug Panel not Connecting to Blueprint #2457

Open
erasor2010 opened this issue Jan 14, 2025 · 11 comments
Open

Bug Panel not Connecting to Blueprint #2457

erasor2010 opened this issue Jan 14, 2025 · 11 comments
Labels
Bug Identifies an issue where the system is not functioning as expected.

Comments

@erasor2010
Copy link

erasor2010 commented Jan 14, 2025

TFT Version

4.3.12

Firmware Version

4.3.12

Blueprint Version

4.3.12

Panel Model

EU

What is the bug?

I installed my first Panel according to the Guide, Updatet tft an made Sure als Components are on the Same Version, but i always getting a Blueprint Version mismatch Error.

Already deleted Everything and stated over, but no change
nspanel

Steps to Reproduce

No response

Your Panel's YAML

substitutions:
  # Settings - Editable values
  device_name: "nspanel--kuche"
  friendly_name: "NSPanel - Küche"
  wifi_ssid: !secret wifi_ssid_1
  wifi_password: !secret wifi_password_1
  # nextion_update_url: "http://homeassistant.local:8123/local/nspanel_eu.tft"
  # Add-on configuration (if needed)
  # heater_relay: "1"  # Possible values: "1" or "2"

# Customization area
##### My customization - Start #####
##### My customization - End #####

# Core and optional configurations
packages:
  remote_package:
    url: https://github.com/Blackymas/NSPanel_HA_Blueprint
    ref: main
    refresh: 300s
    files:
      - nspanel_esphome.yaml # Basic package
      # Optional advanced and add-on configurations
      - esphome/nspanel_esphome_advanced.yaml
      # - esphome/nspanel_esphome_addon_ble_tracker.yaml
      # - esphome/nspanel_esphome_addon_bluetooth_proxy.yaml
      # - esphome/nspanel_esphome_addon_climate_cool.yaml
      # - esphome/nspanel_esphome_addon_climate_heat.yaml
      # - esphome/nspanel_esphome_addon_climate_dual.yaml
      # - esphome/nspanel_esphome_addon_cover.yaml

ESPHome Logs

INFO ESPHome 2024.12.2
INFO Reading configuration /config/esphome/nspanel--kuche.yaml...
INFO Updating https://github.com/Blackymas/[email protected]
INFO Detected timezone 'Europe/Berlin'
INFO Starting log output from 192.168.2.136 using esphome API
INFO Successfully connected to nspanel--kuche @ 192.168.2.136 in 0.107s
INFO Successful handshake with nspanel--kuche @ 192.168.2.136 in 0.023s
[20:49:21][I][app:100]: ESPHome version 2024.12.2 compiled on Jan 14 2025, 20:37:35
[20:49:21][I][app:102]: Project esphome.NSPanel_HA_Blueprint version 4.3.12
[20:49:21][C][wifi:600]: WiFi:
[20:49:21][C][wifi:428]:   Local MAC: B8:D6:1A:68:72:98
[20:49:21][C][wifi:433]:   SSID: [redacted]
[20:49:21][C][wifi:436]:   IP Address: 192.168.2.136
[20:49:21][C][wifi:439]:   BSSID: [redacted]
[20:49:21][C][wifi:441]:   Hostname: 'nspanel--kuche'
[20:49:21][C][wifi:443]:   Signal strength: -33 dB ▂▄▆█
[20:49:21][C][wifi:447]:   Channel: 1
[20:49:21][C][wifi:448]:   Subnet: 255.255.255.0
[20:49:21][C][wifi:449]:   Gateway: 192.168.2.1
[20:49:21][C][wifi:450]:   DNS1: 192.168.2.1
[20:49:21][C][wifi:451]:   DNS2: 0.0.0.0
[20:49:21][C][logger:185]: Logger:
[20:49:21][C][logger:186]:   Level: DEBUG
[20:49:21][C][logger:188]:   Log Baud Rate: 0
[20:49:21][C][logger:189]:   Hardware UART: UART0
[20:49:21][C][uart.idf:159]: UART Bus 0:
[20:49:21][C][uart.idf:160]:   TX Pin: GPIO16
[20:49:21][C][uart.idf:161]:   RX Pin: GPIO17
[20:49:21][C][uart.idf:163]:   RX Buffer Size: 256
[20:49:21][C][uart.idf:165]:   Baud Rate: 115200 baud
[20:49:21][C][uart.idf:166]:   Data Bits: 8
[20:49:21][C][uart.idf:167]:   Parity: NONE
[20:49:21][C][uart.idf:168]:   Stop bits: 1
[20:49:21][C][ledc.output:180]: LEDC Output:
[20:49:21][C][ledc.output:181]:   Pin GPIO21
[20:49:21][C][ledc.output:182]:   LEDC Channel: 0
[20:49:21][C][ledc.output:183]:   PWM Frequency: 1000.0 Hz
[20:49:21][C][ledc.output:184]:   Phase angle: 0.0°
[20:49:21][C][ledc.output:185]:   Bit depth: 16
[20:49:21][C][template.binary_sensor:028]: Template Binary Sensor 'Nextion display'
[20:49:21][C][template.binary_sensor:028]:   Device Class: 'connectivity'
[20:49:21][C][template.number:050]: Template Number 'Display Brightness'
[20:49:21][C][template.number:050]:   Unit of Measurement: '%'
[20:49:21][C][template.number:051]:   Optimistic: YES
[20:49:21][C][template.number:052]:   Update Interval: 60.0s
[20:49:21][C][template.number:050]: Template Number 'Display Brightness Dimdown'
[20:49:21][C][template.number:050]:   Unit of Measurement: '%'
[20:49:21][C][template.number:051]:   Optimistic: YES
[20:49:21][C][template.number:052]:   Update Interval: 60.0s
[20:49:21][C][template.number:050]: Template Number 'Display Brightness Sleep'
[20:49:21][C][template.number:050]:   Unit of Measurement: '%'
[20:49:21][C][template.number:051]:   Optimistic: YES
[20:49:21][C][template.number:052]:   Update Interval: 60.0s
[20:49:21][C][template.number:050]: Template Number 'Temperature Correction'
[20:49:21][C][template.number:050]:   Unit of Measurement: '°C'
[20:49:21][C][template.number:051]:   Optimistic: YES
[20:49:21][C][template.number:052]:   Update Interval: 60.0s
[20:49:21][C][template.number:050]: Template Number 'Timeout Page'
[20:49:21][C][template.number:050]:   Icon: 'mdi:timer'
[20:49:21][C][template.number:050]:   Unit of Measurement: 's'
[20:49:21][C][template.number:051]:   Optimistic: YES
[20:49:21][C][template.number:052]:   Update Interval: 60.0s
[20:49:21][C][template.number:050]: Template Number 'Timeout Dimming'
[20:49:21][C][template.number:050]:   Icon: 'mdi:timer'
[20:49:21][C][template.number:050]:   Unit of Measurement: 's'
[20:49:21][C][template.number:051]:   Optimistic: YES
[20:49:21][C][template.number:052]:   Update Interval: 60.0s
[20:49:21][C][template.number:050]: Template Number 'Timeout Sleep'
[20:49:21][C][template.number:050]:   Icon: 'mdi:timer'
[20:49:21][C][template.number:050]:   Unit of Measurement: 's'
[20:49:21][C][template.number:051]:   Optimistic: YES
[20:49:21][C][template.number:052]:   Update Interval: 60.0s
[20:49:21][C][template.select:065]: Template Select 'Baud rate'
[20:49:21][C][template.select:065]:   Icon: 'mdi:swap-horizontal'
[20:49:21][C][template.select:066]:   Update Interval: 60.0s
[20:49:21][C][template.select:069]:   Optimistic: YES
[20:49:21][C][template.select:070]:   Initial Option: 115200
[20:49:21][C][template.select:071]:   Restore Value: YES
[20:49:21][C][template.select:065]: Template Select 'Wake-up page'
[20:49:21][C][template.select:065]:   Icon: 'mdi:page-next-outline'
[20:49:21][C][template.select:066]:   Update Interval: 60.0s
[20:49:21][C][template.select:069]:   Optimistic: YES
[20:49:21][C][template.select:070]:   Initial Option: home
[20:49:21][C][template.select:071]:   Restore Value: YES
[20:49:21][C][template.select:065]: Template Select 'Update TFT display - Model'
[20:49:21][C][template.select:065]:   Icon: 'mdi:file-sync'
[20:49:21][C][template.select:066]:   Update Interval: 60.0s
[20:49:21][C][template.select:069]:   Optimistic: YES
[20:49:21][C][template.select:070]:   Initial Option: NSPanel EU
[20:49:21][C][template.select:071]:   Restore Value: YES
[20:49:21][C][template.select:065]: Template Select 'Update TFT display - Baud rate'
[20:49:21][C][template.select:065]:   Icon: 'mdi:swap-horizontal'
[20:49:21][C][template.select:066]:   Update Interval: 60.0s
[20:49:21][C][template.select:069]:   Optimistic: YES
[20:49:21][C][template.select:070]:   Initial Option: 921600
[20:49:21][C][template.select:071]:   Restore Value: YES
[20:49:21][C][uptime.sensor:033]: Uptime Sensor 'Uptime seconds'
[20:49:21][C][uptime.sensor:033]:   Device Class: 'duration'
[20:49:21][C][uptime.sensor:033]:   State Class: 'total_increasing'
[20:49:21][C][uptime.sensor:033]:   Unit of Measurement: 's'
[20:49:21][C][uptime.sensor:033]:   Accuracy Decimals: 0
[20:49:21][C][uptime.sensor:033]:   Icon: 'mdi:timer-outline'
[20:49:21][C][uptime.sensor:034]:   Type: Seconds
[20:49:21][C][template.sensor:022]: Template Sensor 'API uptime'
[20:49:21][C][template.sensor:022]:   Device Class: 'timestamp'
[20:49:21][C][template.sensor:022]:   State Class: ''
[20:49:21][C][template.sensor:022]:   Unit of Measurement: ''
[20:49:21][C][template.sensor:022]:   Accuracy Decimals: 0
[20:49:21][C][template.sensor:023]:   Update Interval: never
[20:49:21][C][template.sensor:022]: Template Sensor 'Device uptime'
[20:49:21][C][template.sensor:022]:   Device Class: 'timestamp'
[20:49:21][C][template.sensor:022]:   State Class: ''
[20:49:21][C][template.sensor:022]:   Unit of Measurement: ''
[20:49:21][C][template.sensor:022]:   Accuracy Decimals: 0
[20:49:21][C][template.sensor:023]:   Update Interval: never
[20:49:21][C][switch.gpio:068]: GPIO Switch 'Nextion display - Power'
[20:49:21][C][switch.gpio:090]:   Restore Mode: always ON
[20:49:21][C][switch.gpio:031]:   Pin: GPIO4
[20:49:21][C][template.text_sensor:020]: Template Sensor 'Device Name'
[20:49:21][C][template.text_sensor:020]:   Icon: 'mdi:identifier'
[20:49:21][C][template.text_sensor:020]: Template Sensor 'Detailed Entity'
[20:49:21][C][template.text_sensor:020]:   Icon: 'mdi:tablet-dashboard'
[20:49:21][C][template.text_sensor:020]: Template Sensor 'Notification Label'
[20:49:21][C][template.text_sensor:020]: Template Sensor 'Notification Text'
[20:49:21][C][template.text_sensor:020]: Template Sensor 'Version Blueprint'
[20:49:21][C][template.text_sensor:020]:   Icon: 'mdi:tag-text-outline'
[20:49:21][C][template.text_sensor:020]: Template Sensor 'Version ESPHome'
[20:49:21][C][template.text_sensor:020]:   Icon: 'mdi:tag-text-outline'
[20:49:21][C][template.sensor:022]: Template Sensor 'Blueprint'
[20:49:21][C][template.sensor:022]:   State Class: ''
[20:49:21][C][template.sensor:022]:   Unit of Measurement: '%'
[20:49:21][C][template.sensor:022]:   Accuracy Decimals: 1
[20:49:21][C][template.sensor:022]:   Icon: 'mdi:link-variant'
[20:49:21][C][template.sensor:023]:   Update Interval: 60.0s
[20:49:21][C][gpio.binary_sensor:015]: GPIO Binary Sensor 'Left Button'
[20:49:21][C][gpio.binary_sensor:016]:   Pin: GPIO14
[20:49:21][C][gpio.binary_sensor:015]: GPIO Binary Sensor 'Right Button'
[20:49:21][C][gpio.binary_sensor:016]:   Pin: GPIO27
[20:49:21][C][switch.gpio:068]: GPIO Switch 'Relay 1'
[20:49:21][C][switch.gpio:090]:   Restore Mode: restore defaults to OFF
[20:49:21][C][switch.gpio:031]:   Pin: GPIO22
[20:49:21][C][switch.gpio:068]: GPIO Switch 'Relay 2'
[20:49:21][C][switch.gpio:090]:   Restore Mode: restore defaults to OFF
[20:49:21][C][switch.gpio:031]:   Pin: GPIO19
[20:49:21][C][template.switch:068]: Template Switch 'Notification unread'
[20:49:21][C][template.switch:090]:   Restore Mode: always OFF
[20:49:21][C][template.switch:057]:   Optimistic: YES
[20:49:21][C][template.switch:068]: Template Switch 'Notification sound'
[20:49:21][C][template.switch:090]:   Restore Mode: restore defaults to OFF
[20:49:21][C][template.switch:057]:   Optimistic: YES
[20:49:21][C][psram:020]: PSRAM:
[20:49:21][C][psram:021]:   Available: YES
[20:49:21][C][psram:024]:   Size: 2035 KB
[20:49:21][C][rtttl:030]: Rtttl:
[20:49:21][C][rtttl:031]:   Gain: 0.600000
[20:49:22][C][nextion:138]: Nextion:
[20:49:22][C][nextion:142]:   Device Model:     NX4832F035_011C
[20:49:22][C][nextion:143]:   Firmware Version: 110
[20:49:22][C][nextion:144]:   Serial Number:    51B03401C4F1FB7E
[20:49:22][C][nextion:145]:   Flash Size:       16777216
[20:49:22][C][nextion:147]:   Wake On Touch:    YES
[20:49:22][C][nextion:148]:   Exit reparse:     YES
[20:49:22][C][factory_reset.button:011]: Factory Reset Button 'Factory reset'
[20:49:22][C][factory_reset.button:011]:   Icon: 'mdi:restart-alert'
[20:49:22][C][restart.button:017]: Restart Button 'Restart'
[20:49:22][C][restart.button:017]:   Icon: 'mdi:restart'
[20:49:22][C][adc.esp32:058]: ADC Sensor 'ntc_source'
[20:49:22][C][adc.esp32:058]:   Device Class: 'voltage'
[20:49:22][C][adc.esp32:058]:   State Class: 'measurement'
[20:49:22][C][adc.esp32:058]:   Unit of Measurement: 'V'
[20:49:22][C][adc.esp32:058]:   Accuracy Decimals: 2
[20:49:22][C][adc.esp32:059]:   Pin: GPIO38
[20:49:22][C][adc.esp32:074]:   Attenuation: 12db
[20:49:22][C][adc.esp32:080]:   Samples: 4
[20:49:22][C][adc.esp32:081]:   Update Interval: 10.0s
[20:49:22][C][resistance:010]: Resistance Sensor 'resistance_sensor'
[20:49:22][C][resistance:010]:   State Class: 'measurement'
[20:49:22][C][resistance:010]:   Unit of Measurement: 'Ω'
[20:49:22][C][resistance:010]:   Accuracy Decimals: 1
[20:49:22][C][resistance:010]:   Icon: 'mdi:flash'
[20:49:22][C][resistance:011]:   Configuration: DOWNSTREAM
[20:49:22][C][resistance:012]:   Resistor: 11200.00Ω
[20:49:22][C][resistance:013]:   Reference Voltage: 3.3V
[20:49:22][C][ntc:014]: NTC Sensor 'Temperature'
[20:49:22][C][ntc:014]:   Device Class: 'temperature'
[20:49:22][C][ntc:014]:   State Class: 'measurement'
[20:49:22][C][ntc:014]:   Unit of Measurement: '°C'
[20:49:22][C][ntc:014]:   Accuracy Decimals: 1
[20:49:22][C][version.text_sensor:021]: Version Text Sensor 'ESPhome Compiler'
[20:49:22][C][version.text_sensor:021]:   Icon: 'mdi:tag-text-outline'
[20:49:22][C][homeassistant.time:010]: Home Assistant Time:
[20:49:22][C][homeassistant.time:011]:   Timezone: 'CET-1CEST,M3.5.0,M10.5.0/3'
[20:49:22][C][captive_portal:089]: Captive Portal:
[20:49:22][C][web_server:153]: Web Server:
[20:49:22][C][web_server:154]:   Address: nspanel--kuche.local:80
[20:49:22][C][mdns:116]: mDNS:
[20:49:22][C][mdns:117]:   Hostname: nspanel--kuche
[20:49:22][C][esphome.ota:073]: Over-The-Air updates:
[20:49:22][C][esphome.ota:074]:   Address: nspanel--kuche.local:3232
[20:49:22][C][esphome.ota:075]:   Version: 2
[20:49:22][C][esphome.ota:078]:   Password configured
[20:49:22][C][safe_mode:018]: Safe Mode:
[20:49:22][C][safe_mode:019]:   Boot considered successful after 60 seconds
[20:49:22][C][safe_mode:021]:   Invoke after 3 boot attempts
[20:49:22][C][safe_mode:022]:   Remain in safe mode for 180 seconds
[20:49:22][C][api:140]: API Server:
[20:49:22][C][api:141]:   Address: nspanel--kuche.local:6053
[20:49:22][C][api:145]:   Using noise encryption: NO
[20:49:22][C][wifi_signal.sensor:010]: WiFi Signal 'RSSI'
[20:49:22][C][wifi_signal.sensor:010]:   Device Class: 'signal_strength'
[20:49:22][C][wifi_signal.sensor:010]:   State Class: 'measurement'
[20:49:22][C][wifi_signal.sensor:010]:   Unit of Measurement: 'dBm'
[20:49:22][C][wifi_signal.sensor:010]:   Accuracy Decimals: 0
[20:49:22][C][wifi_signal.sensor:010]:   Icon: 'mdi:wifi'
[20:49:22][C][wifi_info:012]: WifiInfo SSID 'SSID'
[20:49:22][C][wifi_info:013]: WifiInfo BSSID 'BSSID'
[20:49:22][C][wifi_info:010]: WifiInfo IPAddress 'IP'
[20:49:29][D][sensor:093]: 'Uptime seconds': Sending state 468.60001 s with 0 decimals of accuracy
[20:49:30][D][sensor:093]: 'ntc_source': Sending state 1.64267 V with 2 decimals of accuracy
[20:49:30][D][resistance:039]: 'resistance_sensor' - Resistance 11100.9Ω
[20:49:30][D][sensor:093]: 'resistance_sensor': Sending state 11100.88574 Ω with 1 decimals of accuracy
[20:49:30][D][ntc:026]: 'Temperature' - Temperature: 22.7°C
[20:49:30][D][sensor:093]: 'Temperature': Sending state 22.66800 °C with 1 decimals of accuracy
[20:49:31][C][nspanel_ha_blueprint:2224]: Wi-Fi:         Excellent (-34 dBm)
[20:49:31][C][nspanel_ha_blueprint:2235]: API:           Connected
[20:49:31][C][nspanel_ha_blueprint:2243]: Blueprint:
[20:49:31][W][nspanel_ha_blueprint:2248]:   Init steps:  0 (0.0%)
[20:49:31][W][nspanel_ha_blueprint:2249]:   State:       Pending
[20:49:31][C][nspanel_ha_blueprint:2250]: Requesting blueprint settings
[20:49:31][D][script:077]: Script 'boot_event' restarting (mode: restart)
[20:49:31][C][nspanel_ha_blueprint:2255]: ESPHome:
[20:49:31][C][nspanel_ha_blueprint:2256]:   Version:     4.3.12
[20:49:31][C][nspanel_ha_blueprint:2257]:   Compiler:    2024.12.2
[20:49:31][C][nspanel_ha_blueprint:2262]:   Framework:   ESP-IDF
[20:49:31][C][nspanel_ha_blueprint:2267]:   Free heap:
[20:49:31][C][nspanel_ha_blueprint:2270]:     Internal:   188180 bytes (54.5%)
[20:49:31][C][nspanel_ha_blueprint:2280]:     PSRAM:     2007120 bytes (96.3%)
[20:49:31][C][nspanel_ha_blueprint:2288]: UART:
[20:49:31][C][nspanel_ha_blueprint:2289]:   Baud rate:   115200 bps
[20:49:31][C][nspanel_ha_blueprint:2290]:   Queue size:  0
[20:49:31][C][nspanel_ha_blueprint:2294]: Nextion:
[20:49:31][C][nspanel_ha_blueprint:2295]:   Queue size:  0
[20:49:31][C][nspanel_ha_blueprint:2297]:   Is setup:    True
[20:49:31][C][nspanel_ha_blueprint:2304]:   Init:        True
[20:49:31][C][nspanel_ha_blueprint:2310]:   TFT:         4.3.12
[20:49:31][C][nspanel_ha_blueprint:2311]: Packages:
[20:49:31][C][nspanel_ha_blueprint:2313]:   - Core
[20:49:31][C][nspanel_ha_blueprint:2316]:   - Advanced
[20:49:31][C][nspanel_ha_blueprint:2322]:   - Upload TFT
[20:49:31][C][nspanel_ha_blueprint:2343]: Components:
[20:49:31][C][nspanel_ha_blueprint:2354]:   - Captive portal
[20:49:31][C][nspanel_ha_blueprint:2360]:   - Web server
[20:49:31][C][nspanel_ha_blueprint:097]: Add-on Upload TFT:
[20:49:31][C][nspanel_ha_blueprint:098]:   File model: NSPanel EU
[20:49:31][C][nspanel_ha_blueprint:099]:   Valid TFT:  YES
[20:49:31][W][component:237]: Component script took a long time for an operation (51 ms).
[20:49:31][W][component:238]: Components should block for at most 30 ms.

Home Assistant Logs

Logger: homeassistant.components.automation.nspanel_kuche
Quelle: helpers/script.py:2032
Integration: Automation ([Dokumentation](https://www.home-assistant.io/integrations/automation), [Probleme](https://github.com/home-assistant/core/issues?q=is%3Aissue+is%3Aopen+label%3A%22integration%3A+automation%22))
Erstmals aufgetreten: 15:03:45 (335 Vorkommnisse)
Zuletzt protokolliert: 20:50:50

NSPanel - Küche: Error executing script. Service not found for choose at pos 3: Action esphome.nspanel_kuche_command not found
NSPanel - Küche: Main choices: NSPanel event: Choose at step 2: Boot init: If at step 2: Error executing script. Service not found for call_service at pos 1: Action esphome.nspanel_kuche_component_text not found
NSPanel - Küche: Main choices: NSPanel event: Choose at step 2: Boot init: Error executing script. Service not found for if at pos 2: Action esphome.nspanel_kuche_component_text not found
NSPanel - Küche: Main choices: NSPanel event: Error executing script. Service not found for choose at pos 2: Action esphome.nspanel_kuche_component_text not found
NSPanel - Küche: Error executing script. Service not found for choose at pos 3: Action esphome.nspanel_kuche_component_text not found
@erasor2010 erasor2010 added the Bug Identifies an issue where the system is not functioning as expected. label Jan 14, 2025
@edwardtfn
Copy link
Collaborator

I believe the issue is due to the double dash (--) in the device name. I will have to run some test on this.
You probably will be able to help if you go to Developer Tools, tab "Actions" and start typing "esphome.nspanel", then select one of the services related to this panel, then click to see as yaml and share the service name here.

@sabakad
Copy link

sabakad commented Jan 20, 2025

Same issue with my NSPanel. Dash from the name removed, the problem persists... Started after upgrade of Esphome and HaaS , both in Docker. TFT,script,esphome all upgraded to latest version 4.3.12.

go to Developer Tools, tab "Actions" and start typing "esphome.nspanel", then select one of the services -> seems all nspanel entries are empty...

action: esphome.nspanelfialova_upload_tft
data: {}

action: esphome.nspanelfialova_command
data: {}

action: esphome.nspanelfialova_set_timezone
data: {}

haas log:

NSPanel novy: Main choices: Home page - Entity States: Repeat at step 1: If at step 1: If at step 4: Error executing script. Service not found for if at pos 2: Action esphome.nspanel_component_text not found
NSPanel novy: Main choices: Home page - Entity States: Repeat at step 1: If at step 1: Error executing script. Service not found for if at pos 4: Action esphome.nspanel_component_text not found
NSPanel novy: Main choices: Home page - Entity States: Repeat at step 1: Error executing script. Service not found for if at pos 1: Action esphome.nspanel_component_text not found
NSPanel novy: Main choices: Home page - Entity States: Error executing script. Service not found for repeat at pos 1: Action esphome.nspanel_component_text not found
NSPanel novy: Error executing script. Service not found for choose at pos 3: Action esphome.nspanel_component_text not found

log:

[21:20:15][C][nspanel_ha_blueprint:2255]: ESPHome:
[21:20:15][C][nspanel_ha_blueprint:2256]:   Version:     4.3.12
[21:20:15][C][nspanel_ha_blueprint:2257]:   Compiler:    2024.12.2
[21:20:15][C][nspanel_ha_blueprint:2262]:   Framework:   ESP-IDF
[21:20:15][C][nspanel_ha_blueprint:2267]:   Free heap:
[21:20:15][C][nspanel_ha_blueprint:2270]:     Internal:   205624 bytes (59.5%)
[21:20:15][C][nspanel_ha_blueprint:2280]:     PSRAM:     2010500 bytes (96.5%)
[21:20:15][C][nspanel_ha_blueprint:2288]: UART:
[21:20:15][C][nspanel_ha_blueprint:2289]:   Baud rate:   115200 bps
[21:20:15][C][nspanel_ha_blueprint:2290]:   Queue size:  0
[21:20:15][C][nspanel_ha_blueprint:2294]: Nextion:
[21:20:15][C][nspanel_ha_blueprint:2295]:   Queue size:  0
[21:20:15][C][nspanel_ha_blueprint:2297]:   Is setup:    True
[21:20:15][C][nspanel_ha_blueprint:2304]:   Init:        True
[21:20:15][C][nspanel_ha_blueprint:2310]:   TFT:         4.3.12
[21:20:15][C][nspanel_ha_blueprint:2311]: Packages:
[21:20:15][C][nspanel_ha_blueprint:2313]:   - Core
[21:20:15][C][nspanel_ha_blueprint:2322]:   - Upload TFT
[21:20:15][C][nspanel_ha_blueprint:097]: Add-on Upload TFT:
[21:20:15][C][nspanel_ha_blueprint:098]:   File model: NSPanel EU
[21:20:15][C][nspanel_ha_blueprint:099]:   Valid TFT:  YES
[21:20:15][W][component:237]: Component script took a long time for an operation (133 ms).
[21:20:15][W][component:238]: Components should block for at most 30 ms.
[21:20:22][D][sensor:093]: 'ntc_source': Sending state 1.73100 V with 2 decimals of accuracy
[21:20:22][D][resistance:039]: 'resistance_sensor' - Resistance 12356.4Ω
[21:20:22][D][sensor:093]: 'resistance_sensor': Sending state 12356.40430 Ω with 1 decimals of accuracy
[21:20:22][D][ntc:026]: 'Temperature' - Temperature: 20.3°C
[21:20:22][D][sensor:093]: 'Temperature': Sending state 20.31310 °C with 1 decimals of accuracy
[21:20:32][D][sensor:093]: 'ntc_source': Sending state 1.73100 V with 2 decimals of accuracy
[21:20:32][D][resistance:039]: 'resistance_sensor' - Resistance 12356.4Ω
[21:20:32][D][sensor:093]: 'resistance_sensor': Sending state 12356.40430 Ω with 1 decimals of accuracy
[21:20:32][D][ntc:026]: 'Temperature' - Temperature: 20.3°C
[21:20:32][D][sensor:093]: 'Temperature': Sending state 20.31310 °C with 1 decimals of accuracy
[21:20:37][D][sensor:093]: 'RSSI': Sending state -74.00000 dBm with 0 decimals of accuracy
[21:20:42][D][sensor:093]: 'ntc_source': Sending state 1.73117 V with 2 decimals of accuracy
[21:20:42][D][resistance:039]: 'resistance_sensor' - Resistance 12358.9Ω
[21:20:42][D][sensor:093]: 'resistance_sensor': Sending state 12358.90918 Ω with 1 decimals of accuracy
[21:20:42][D][ntc:026]: 'Temperature' - Temperature: 20.3°C
[21:20:42][D][sensor:093]: 'Temperature': Sending state 20.30868 °C with 1 decimals of accuracy
[21:20:43][D][text_sensor:064]: 'Device Name': Sending state 'nspanel'
[21:20:52][D][sensor:093]: 'ntc_source': Sending state 1.73250 V with 2 decimals of accuracy
[21:20:52][D][resistance:039]: 'resistance_sensor' - Resistance 12378.9Ω
[21:20:52][D][sensor:093]: 'resistance_sensor': Sending state 12378.94727 Ω with 1 decimals of accuracy
[21:20:52][D][ntc:026]: 'Temperature' - Temperature: 20.3°C
[21:20:52][D][sensor:093]: 'Temperature': Sending state 20.27337 °C with 1 decimals of accuracy
[21:21:02][D][sensor:093]: 'ntc_source': Sending state 1.73417 V with 2 decimals of accuracy
[21:21:02][D][resistance:039]: 'resistance_sensor' - Resistance 12404.0Ω
[21:21:02][D][sensor:093]: 'resistance_sensor': Sending state 12404.04492 Ω with 1 decimals of accuracy
[21:21:02][D][ntc:026]: 'Temperature' - Temperature: 20.2°C
[21:21:02][D][sensor:093]: 'Temperature': Sending state 20.22923 °C with 1 decimals of accuracy
[21:21:12][D][sensor:093]: 'ntc_source': Sending state 1.73417 V with 2 decimals of accuracy
[21:21:12][D][resistance:039]: 'resistance_sensor' - Resistance 12404.0Ω
[21:21:12][D][sensor:093]: 'resistance_sensor': Sending state 12404.04492 Ω with 1 decimals of accuracy
[21:21:12][D][ntc:026]: 'Temperature' - Temperature: 20.2°C
[21:21:12][D][sensor:093]: 'Temperature': Sending state 20.22923 °C with 1 decimals of accuracy
[21:21:15][D][time:050]: Synchronized time: 2025-01-20 21:21:15
[21:21:15][D][time.on_time_sync:211]: System clock synchronized
[21:21:15][D][time.on_time_sync:212]: Timezone: UTC0
[21:21:15][D][time:050]: Synchronized time: 2025-01-20 21:21:15
[21:21:15][D][time.on_time_sync:211]: System clock synchronized
[21:21:15][D][time.on_time_sync:212]: Timezone: UTC0
[21:21:15][D][time:050]: Synchronized time: 2025-01-20 21:21:15
[21:21:15][D][time.on_time_sync:211]: System clock synchronized
[21:21:15][D][time.on_time_sync:212]: Timezone: UTC0
[21:21:15][D][time:050]: Synchronized time: 2025-01-20 21:21:15
[21:21:15][D][time.on_time_sync:211]: System clock synchronized
[21:21:15][D][time.on_time_sync:212]: Timezone: UTC0
[21:21:15][W][component:237]: Component api took a long time for an operation (69 ms).
[21:21:15][W][component:238]: Components should block for at most 30 ms.
[21:21:22][D][sensor:093]: 'ntc_source': Sending state 1.73417 V with 2 decimals of accuracy
[21:21:22][D][resistance:039]: 'resistance_sensor' - Resistance 12404.0Ω
[21:21:22][D][sensor:093]: 'resistance_sensor': Sending state 12404.04492 Ω with 1 decimals of accuracy
[21:21:22][D][ntc:026]: 'Temperature' - Temperature: 20.2°C

@edwardtfn
Copy link
Collaborator

Same issue with my NSPanel. Dash from the name removed, the problem persists... Started after upgrade of Esphome and HaaS , both in Docker. TFT,script,esphome all upgraded to latest version 4.3.12.

Now please remove the integration related to this panel and add it back.

Reconnect the Panel's device to Home Assistant:

  1. Go to Settings --> Devices & services --> ESPHome
  2. Delete the device
  3. Restart Home Assistant host
  4. Go back to Settings --> Devices & services
  5. Click Add integration
  6. Select ESPHome
  7. Enter your panel's hostname or IP address.

https://github.com/Blackymas/NSPanel_HA_Blueprint/blob/main/docs/error_initializing.md#blueprint-is-not-detected

@sabakad
Copy link

sabakad commented Jan 21, 2025

Thanks, I've done exactly this+ removed and installed the automation to HA again but no luck..problem is still there... NSPanel is visible and working in Home Assistant, but the automation is still broken...

Logger: homeassistant.components.automation.nspanel_configuration
Zdroj: helpers/script.py:2032
integrace: Automatizace (dokumentace, problémy)
První výskyt: 09:12:26 (19 výskyty)
Naposledy logováno: 09:12:50

NSPanel Configuration: Error executing script. Service not found for choose at pos 3: Action esphome.nspanel_command not found
NSPanel Configuration: Main choices: NSPanel event: Choose at step 2: Boot init: If at step 2: Error executing script. Service not found for call_service at pos 1: Action esphome.nspanel_component_text not found
NSPanel Configuration: Main choices: NSPanel event: Choose at step 2: Boot init: Error executing script. Service not found for if at pos 2: Action esphome.nspanel_component_text not found
NSPanel Configuration: Main choices: NSPanel event: Error executing script. Service not found for choose at pos 2: Action esphome.nspanel_component_text not found
NSPanel Configuration: Error executing script. Service not found for choose at pos 3: Action esphome.nspanel_component_text not found

@sabakad
Copy link

sabakad commented Jan 21, 2025

Further details:
HaaS 2025.1.2
Template v4.3.12

Diagnostic section of NSpanel in HaaS
Blueprint
0,0 %
Version ESPHome 4.3.12
Version TFT 4.3.12
Version Blueprint Unknown

@edwardtfn
Copy link
Collaborator

In the device's page (Settings > Devices and Services > ESPHome) please check what is shown as “device name” on the “Diagnostics” area.
Also, could you please share your panel’s yank? Please hide any sensitive info before sharing.

@sabakad
Copy link

sabakad commented Jan 21, 2025 via email

@edwardtfn
Copy link
Collaborator

Ok, so please go to Developer Tools, tab "Actions", and type "esphome.nspanel". Please let me know which services are listed (a screenshot should be fine).

@sabakad
Copy link

sabakad commented Jan 21, 2025 via email

@edwardtfn
Copy link
Collaborator

I cannot see the images. 😞

@sabakad
Copy link

sabakad commented Jan 21, 2025 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Identifies an issue where the system is not functioning as expected.
Projects
None yet
Development

No branches or pull requests

3 participants