Blackymas / NSPanel_HA_Blueprint

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

Climate page not opening #2067

Closed LaurensBot closed 3 weeks ago

LaurensBot commented 4 weeks ago

TFT Version

4.3.4

ESPHome Version

2024.4.0

Blueprint Version

4.3.4

Panel Model

EU

What is the bug?

I have enabled the climate (heat) component and I can see it in Home Assistant and it is working as expected but on the device itself it is not showing.

The climate page is not showing. I tried adding it as an entity and button but neither of those bring up the controls for the thermostat when tapping or long pressing. The logs show no errors and I can see the thermostat being loaded correctly in Home Assistant. I have added the climate entity in the blueprint under "Main climate Entity (Optional)".

The state of the climate entity:

climate.office_panel_thermostat
office-panel Thermostat
off hvac_modes: off, heat
min_temp: 15
max_temp: 22
target_temp_step: 0.1
preset_modes: home, away, sleep, Off
current_temperature: 18.4
temperature: 15
hvac_action: off
preset_mode: Off
friendly_name: office-panel Thermostat
supported_features: 401

Steps to Reproduce

No response

Your Panel's YAML

substitutions:
  ###### CHANGE ME START ######
  device_name: office-panel
  wifi_ssid: !secret wifi_ssid
  wifi_password: !secret wifi_password

  ##### addon-configuration #####
  ## addon_climate ##
  heater_relay: "2"  # Possible values: "1" or "2"
  temp_min: "15" 
  temp_max: "22" 
  temp_step: "0.1"
  cold_tolerance: "0.1"
  hot_tolerance: "0.1"

  ##### CHANGE ME END #####

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

climate:
  - id: !extend thermostat_embedded
    default_preset: "Home"
    visual:
      temperature_step: ${temp_step}
    preset:
      - name: "Off"
        default_target_temperature_low: ${temp_min} ${temp_units}
        mode: "off"
      - name: Home
        default_target_temperature_low: 20 ${temp_units}
        mode: "heat"
      - name: Away
        default_target_temperature_low: 17 ${temp_units}
        mode: "heat"
      - name: Sleep
        default_target_temperature_low: 18 ${temp_units}
        mode: "heat"

ESPHome Logs

INFO ESPHome 2024.4.0
INFO Reading configuration /config/esphome/office-panel.yaml...
INFO Detected timezone 'Europe/London'
INFO Starting log output from 192.168.0.41 using esphome API
INFO Successfully connected to office-panel @ 192.168.0.41 in 0.077s
INFO Successful handshake with office-panel @ 192.168.0.41 in 0.028s
[22:21:47][I][app:100]: ESPHome version 2024.4.0 compiled on Apr 17 2024, 11:14:07
[22:21:47][C][wifi:580]: WiFi:
[22:21:47][C][wifi:408]:   Local MAC: A0:B7:65:54:C1:5C
[22:21:47][C][wifi:413]:   SSID: [redacted]
[22:21:47][C][wifi:416]:   IP Address: 192.168.0.41
[22:21:47][C][wifi:420]:   BSSID: [redacted]
[22:21:47][C][wifi:421]:   Hostname: 'office-panel'
[22:21:47][C][wifi:423]:   Signal strength: -79 dB ▂▄▆█
[22:21:47][C][wifi:427]:   Channel: 6
[22:21:47][C][wifi:428]:   Subnet: 255.255.255.0
[22:21:47][C][wifi:429]:   Gateway: 192.168.0.1
[22:21:47][C][wifi:430]:   DNS1: 194.168.4.100
[22:21:47][C][wifi:431]:   DNS2: 194.168.8.100
[22:21:47][C][logger:166]: Logger:
[22:21:47][C][logger:167]:   Level: DEBUG
[22:21:47][C][logger:169]:   Log Baud Rate: 0
[22:21:47][C][logger:170]:   Hardware UART: UART0
[22:21:47][C][uart.idf:139]: UART Bus 0:
[22:21:47][C][uart.idf:140]:   TX Pin: GPIO16
[22:21:47][C][uart.idf:141]:   RX Pin: GPIO17
[22:21:47][C][uart.idf:143]:   RX Buffer Size: 256
[22:21:47][C][uart.idf:145]:   Baud Rate: 115200 baud
[22:21:47][C][uart.idf:146]:   Data Bits: 8
[22:21:47][C][uart.idf:147]:   Parity: NONE
[22:21:47][C][uart.idf:148]:   Stop bits: 1
[22:21:47][C][ledc.output:173]: LEDC Output:
[22:21:47][C][ledc.output:174]:   Pin GPIO21
[22:21:47][C][ledc.output:175]:   LEDC Channel: 0
[22:21:47][C][ledc.output:176]:   PWM Frequency: 1000.0 Hz
[22:21:47][C][ledc.output:177]:   Phase angle: 0.0°
[22:21:47][C][ledc.output:178]:   Bit depth: 16
[22:21:47][C][template.binary_sensor:028]: Template Binary Sensor 'Nextion display'
[22:21:47][C][template.binary_sensor:028]:   Device Class: 'connectivity'
[22:21:47][C][template.number:050]: Template Number 'Display Brightness'
[22:21:47][C][template.number:050]:   Unit of Measurement: '%'
[22:21:47][C][template.number:051]:   Optimistic: YES
[22:21:47][C][template.number:052]:   Update Interval: 60.0s
[22:21:47][C][template.number:050]: Template Number 'Display Brightness Dimdown'
[22:21:47][C][template.number:050]:   Unit of Measurement: '%'
[22:21:47][C][template.number:051]:   Optimistic: YES
[22:21:47][C][template.number:052]:   Update Interval: 60.0s
[22:21:47][C][template.number:050]: Template Number 'Display Brightness Sleep'
[22:21:47][C][template.number:050]:   Unit of Measurement: '%'
[22:21:47][C][template.number:051]:   Optimistic: YES
[22:21:47][C][template.number:052]:   Update Interval: 60.0s
[22:21:47][C][template.number:050]: Template Number 'Temperature Correction'
[22:21:47][C][template.number:050]:   Unit of Measurement: '°C'
[22:21:47][C][template.number:051]:   Optimistic: YES
[22:21:47][C][template.number:052]:   Update Interval: 60.0s
[22:21:47][C][template.number:050]: Template Number 'Timeout Page'
[22:21:47][C][template.number:050]:   Icon: 'mdi:timer'
[22:21:47][C][template.number:050]:   Unit of Measurement: 's'
[22:21:47][C][template.number:051]:   Optimistic: YES
[22:21:47][C][template.number:052]:   Update Interval: 60.0s
[22:21:47][C][template.number:050]: Template Number 'Timeout Dimming'
[22:21:47][C][template.number:050]:   Icon: 'mdi:timer'
[22:21:47][C][template.number:050]:   Unit of Measurement: 's'
[22:21:47][C][template.number:051]:   Optimistic: YES
[22:21:47][C][template.number:052]:   Update Interval: 60.0s
[22:21:47][C][template.number:050]: Template Number 'Timeout Sleep'
[22:21:47][C][template.number:050]:   Icon: 'mdi:timer'
[22:21:47][C][template.number:050]:   Unit of Measurement: 's'
[22:21:47][C][template.number:051]:   Optimistic: YES
[22:21:47][C][template.number:052]:   Update Interval: 60.0s
[22:21:47][C][template.select:065]: Template Select 'Baud rate'
[22:21:47][C][template.select:065]:   Icon: 'mdi:swap-horizontal'
[22:21:47][C][template.select:066]:   Update Interval: 60.0s
[22:21:47][C][template.select:069]:   Optimistic: YES
[22:21:47][C][template.select:070]:   Initial Option: 115200
[22:21:47][C][template.select:071]:   Restore Value: YES
[22:21:47][C][template.select:065]: Template Select 'Wake-up page'
[22:21:47][C][template.select:065]:   Icon: 'mdi:page-next-outline'
[22:21:47][C][template.select:066]:   Update Interval: 60.0s
[22:21:47][C][template.select:069]:   Optimistic: YES
[22:21:47][C][template.select:070]:   Initial Option: home
[22:21:47][C][template.select:071]:   Restore Value: YES
[22:21:47][C][template.select:065]: Template Select 'Update TFT display - Model'
[22:21:47][C][template.select:065]:   Icon: 'mdi:file-sync'
[22:21:47][C][template.select:066]:   Update Interval: 60.0s
[22:21:47][C][template.select:069]:   Optimistic: YES
[22:21:47][C][template.select:070]:   Initial Option: NSPanel EU
[22:21:47][C][template.select:071]:   Restore Value: YES
[22:21:47][C][template.select:065]: Template Select 'Update TFT display - Baud rate'
[22:21:47][C][template.select:065]:   Icon: 'mdi:swap-horizontal'
[22:21:47][C][template.select:066]:   Update Interval: 60.0s
[22:21:47][C][template.select:069]:   Optimistic: YES
[22:21:47][C][template.select:070]:   Initial Option: 921600
[22:21:47][C][template.select:071]:   Restore Value: YES
[22:21:47][C][template.sensor:022]: Template Sensor 'Average Underfloor Temperature'
[22:21:47][C][template.sensor:022]:   State Class: ''
[22:21:47][C][template.sensor:022]:   Unit of Measurement: '°C'
[22:21:47][C][template.sensor:022]:   Accuracy Decimals: 1
[22:21:47][C][template.sensor:023]:   Update Interval: 60.0s
[22:21:47][C][switch.gpio:068]: GPIO Switch 'Nextion display - Power'
[22:21:47][C][switch.gpio:091]:   Restore Mode: always ON
[22:21:47][C][switch.gpio:031]:   Pin: GPIO4
[22:21:47][C][template.text_sensor:020]: Template Sensor 'Device Name'
[22:21:47][C][template.text_sensor:020]:   Icon: 'mdi:identifier'
[22:21:47][C][template.text_sensor:020]: Template Sensor 'Detailed Entity'
[22:21:47][C][template.text_sensor:020]:   Icon: 'mdi:tablet-dashboard'
[22:21:47][C][template.text_sensor:020]: Template Sensor 'Notification Label'
[22:21:47][C][template.text_sensor:020]: Template Sensor 'Notification Text'
[22:21:47][C][template.text_sensor:020]: Template Sensor 'Version Blueprint'
[22:21:47][C][template.text_sensor:020]:   Icon: 'mdi:tag-text-outline'
[22:21:47][C][template.sensor:022]: Template Sensor 'Blueprint'
[22:21:47][C][template.sensor:022]:   State Class: ''
[22:21:47][C][template.sensor:022]:   Unit of Measurement: '%'
[22:21:47][C][template.sensor:022]:   Accuracy Decimals: 1
[22:21:47][C][template.sensor:022]:   Icon: 'mdi:link-variant'
[22:21:47][C][template.sensor:023]:   Update Interval: 60.0s
[22:21:48][D][sensor:094]: 'ntc_source': Sending state 1.80600 V with 2 decimals of accuracy
[22:21:48][D][resistance:039]: 'resistance_sensor' - Resistance 13539.0Ω
[22:21:48][D][sensor:094]: 'resistance_sensor': Sending state 13538.95605 Ω with 1 decimals of accuracy
[22:21:48][D][ntc:026]: 'Temperature' - Temperature: 18.3°C
[22:21:48][D][sensor:094]: 'Temperature': Sending state 18.33385 °C with 1 decimals of accuracy
[22:21:48][D][climate:396]: 'Thermostat' - Sending state:
[22:21:48][D][climate:399]:   Mode: OFF
[22:21:48][D][climate:401]:   Action: OFF
[22:21:48][D][climate:419]:   Current Temperature: 18.33°C
[22:21:48][D][climate:425]:   Target Temperature: 15.00°C
[22:21:48][C][gpio.binary_sensor:015]: GPIO Binary Sensor 'Left Button'
[22:21:48][C][gpio.binary_sensor:016]:   Pin: GPIO14
[22:21:48][C][gpio.binary_sensor:015]: GPIO Binary Sensor 'Right Button'
[22:21:48][C][gpio.binary_sensor:016]:   Pin: GPIO27
[22:21:48][C][switch.gpio:068]: GPIO Switch 'Relay 1'
[22:21:48][C][switch.gpio:091]:   Restore Mode: restore defaults to OFF
[22:21:48][C][switch.gpio:031]:   Pin: GPIO22
[22:21:48][C][switch.gpio:068]: GPIO Switch 'Relay 2'
[22:21:48][C][switch.gpio:091]:   Restore Mode: restore defaults to OFF
[22:21:48][C][switch.gpio:031]:   Pin: GPIO19
[22:21:48][C][template.switch:068]: Template Switch 'Notification unread'
[22:21:48][C][template.switch:091]:   Restore Mode: always OFF
[22:21:48][C][template.switch:057]:   Optimistic: YES
[22:21:48][C][template.switch:068]: Template Switch 'Notification sound'
[22:21:48][C][template.switch:091]:   Restore Mode: restore defaults to OFF
[22:21:48][C][template.switch:057]:   Optimistic: YES
[22:21:48][C][template.switch:068]: Template Switch 'Relay 0 (dummy)'
[22:21:48][C][template.switch:091]:   Restore Mode: always OFF
[22:21:48][C][template.switch:057]:   Optimistic: YES
[22:21:48][C][psram:020]: PSRAM:
[22:21:48][C][psram:021]:   Available: YES
[22:21:48][C][psram:024]:   Size: 2036 KB
[22:21:48][C][rtttl:029]: Rtttl
[22:21:48][C][nextion:128]: Nextion:
[22:21:48][C][nextion:129]:   Device Model:     NX4832F035_011C
[22:21:48][C][nextion:130]:   Firmware Version: 72
[22:21:48][C][nextion:131]:   Serial Number:    70B13401FF8E3262
[22:21:48][C][nextion:132]:   Flash Size:       16777216
[22:21:48][C][nextion:133]:   Wake On Touch:    YES
[22:21:48][C][nextion:134]:   Exit reparse:     YES
[22:21:48][C][factory_reset.button:011]: Factory Reset Button 'Factory reset'
[22:21:48][C][factory_reset.button:011]:   Icon: 'mdi:restart-alert'
[22:21:48][C][restart.button:017]: Restart Button 'Restart'
[22:21:48][C][adc:097]: ADC Sensor 'ntc_source'
[22:21:48][C][adc:097]:   Device Class: 'voltage'
[22:21:48][C][adc:097]:   State Class: 'measurement'
[22:21:48][C][adc:097]:   Unit of Measurement: 'V'
[22:21:48][C][adc:097]:   Accuracy Decimals: 2
[22:21:48][C][adc:107]:   Pin: GPIO38
[22:21:48][C][adc:122]:   Attenuation: 11db
[22:21:48][C][adc:141]:   Samples: 4
[22:21:48][C][adc:142]:   Update Interval: 10.0s
[22:21:48][C][resistance:010]: Resistance Sensor 'resistance_sensor'
[22:21:48][C][resistance:010]:   State Class: 'measurement'
[22:21:48][C][resistance:010]:   Unit of Measurement: 'Ω'
[22:21:48][C][resistance:010]:   Accuracy Decimals: 1
[22:21:48][C][resistance:010]:   Icon: 'mdi:flash'
[22:21:48][C][resistance:011]:   Configuration: DOWNSTREAM
[22:21:48][C][resistance:012]:   Resistor: 11200.00Ω
[22:21:48][C][resistance:013]:   Reference Voltage: 3.3V
[22:21:48][C][ntc:014]: NTC Sensor 'Temperature'
[22:21:48][C][ntc:014]:   Device Class: 'temperature'
[22:21:48][C][ntc:014]:   State Class: 'measurement'
[22:21:48][C][ntc:014]:   Unit of Measurement: '°C'
[22:21:48][C][ntc:014]:   Accuracy Decimals: 1
[22:21:48][C][thermostat.climate:1290]: Thermostat 'Thermostat'
[22:21:48][C][thermostat.climate:1295]:   Start-up Delay Enabled: NO
[22:21:48][C][thermostat.climate:1311]:   Heating Parameters:
[22:21:48][C][thermostat.climate:1312]:     Deadband: 0.5°C
[22:21:48][C][thermostat.climate:1313]:     Overrun: 0.5°C
[22:21:48][C][thermostat.climate:1320]:     Minimum Off Time: 300s
[22:21:48][C][thermostat.climate:1322]:     Minimum Run Time: 300s
[22:21:48][C][thermostat.climate:1337]:   Minimum Idle Time: 30s
[22:21:48][C][thermostat.climate:1338]:   Supports AUTO: NO
[22:21:48][C][thermostat.climate:1339]:   Supports HEAT/COOL: NO
[22:21:48][C][thermostat.climate:1340]:   Supports COOL: NO
[22:21:48][C][thermostat.climate:1341]:   Supports DRY: NO
[22:21:48][C][thermostat.climate:1342]:   Supports FAN_ONLY: NO
[22:21:48][C][thermostat.climate:1344]:   Supports FAN_ONLY_ACTION_USES_FAN_MODE_TIMER: NO
[22:21:48][C][thermostat.climate:1345]:   Supports FAN_ONLY_COOLING: NO
[22:21:48][C][thermostat.climate:1350]:   Supports FAN_WITH_HEATING: NO
[22:21:48][C][thermostat.climate:1363]:   Supports SWING MODE BOTH: NO
[22:21:48][C][thermostat.climate:1364]:   Supports SWING MODE OFF: NO
[22:21:48][C][thermostat.climate:1365]:   Supports SWING MODE HORIZONTAL: NO
[22:21:48][C][thermostat.climate:1366]:   Supports SWING MODE VERTICAL: NO
[22:21:48][C][thermostat.climate:1367]:   Supports TWO SET POINTS: NO
[22:21:48][C][thermostat.climate:1369]:   Supported PRESETS: 
[22:21:48][C][thermostat.climate:1373]:     Supports HOME: YES
[22:21:48][C][thermostat.climate:959]:       HOME Is Default: YES
[22:21:48][C][thermostat.climate:966]:       HOME Default Target Temperature Low: 20.0°C
[22:21:48][C][thermostat.climate:980]:       HOME Default Mode: HEAT
[22:21:48][C][thermostat.climate:1373]:     Supports AWAY: YES
[22:21:48][C][thermostat.climate:959]:       AWAY Is Default: NO
[22:21:48][C][thermostat.climate:966]:       AWAY Default Target Temperature Low: 17.0°C
[22:21:48][C][thermostat.climate:980]:       AWAY Default Mode: HEAT
[22:21:48][C][thermostat.climate:1373]:     Supports SLEEP: YES
[22:21:48][C][thermostat.climate:959]:       SLEEP Is Default: NO
[22:21:48][C][thermostat.climate:966]:       SLEEP Default Target Temperature Low: 18.0°C
[22:21:48][C][thermostat.climate:980]:       SLEEP Default Mode: HEAT
[22:21:48][C][thermostat.climate:1377]:   Supported CUSTOM PRESETS: 
[22:21:48][C][thermostat.climate:1381]:     Supports Off: YES
[22:21:48][C][thermostat.climate:959]:       Off Is Default: NO
[22:21:48][C][thermostat.climate:966]:       Off Default Target Temperature Low: 15.0°C
[22:21:48][C][thermostat.climate:980]:       Off Default Mode: OFF
[22:21:48][C][thermostat.climate:1385]:   On boot, restore from: MEMORY
[22:21:48][C][dallas.sensor:075]: DallasComponent:
[22:21:48][C][dallas.sensor:076]:   Pin: GPIO23
[22:21:48][C][dallas.sensor:077]:   Update Interval: 60.0s
[22:21:48][D][dallas.sensor:082]:   Found sensors:
[22:21:48][D][dallas.sensor:084]:     0x7400000004098c28
[22:21:48][D][dallas.sensor:084]:     0x45000000038e4a28
[22:21:48][C][dallas.sensor:089]:   Device 'Underfloor Probe 1'
[22:21:48][C][dallas.sensor:089]:     Device Class: 'temperature'
[22:21:48][C][dallas.sensor:089]:     State Class: 'measurement'
[22:21:48][C][dallas.sensor:089]:     Unit of Measurement: '°C'
[22:21:48][C][dallas.sensor:089]:     Accuracy Decimals: 1
[22:21:48][C][dallas.sensor:097]:     Address: 0x7400000004098c28
[22:21:48][C][dallas.sensor:098]:     Resolution: 12
[22:21:48][C][dallas.sensor:089]:   Device 'Underfloor Probe 2'
[22:21:48][C][dallas.sensor:089]:     Device Class: 'temperature'
[22:21:48][C][dallas.sensor:089]:     State Class: 'measurement'
[22:21:48][C][dallas.sensor:089]:     Unit of Measurement: '°C'
[22:21:48][C][dallas.sensor:089]:     Accuracy Decimals: 1
[22:21:48][C][dallas.sensor:097]:     Address: 0x45000000038e4a28
[22:21:48][C][dallas.sensor:098]:     Resolution: 12
[22:21:48][C][homeassistant.time:010]: Home Assistant Time:
[22:21:48][C][homeassistant.time:011]:   Timezone: 'GMT0BST,M3.5.0/1,M10.5.0'
[22:21:49][C][mdns:115]: mDNS:
[22:21:49][C][mdns:116]:   Hostname: office-panel
[22:21:49][C][ota:096]: Over-The-Air Updates:
[22:21:49][C][ota:097]:   Address: office-panel.local:3232
[22:21:49][C][ota:100]:   Using Password.
[22:21:49][C][ota:103]:   OTA version: 2.
[22:21:49][C][api:139]: API Server:
[22:21:49][C][api:140]:   Address: office-panel.local:6053
[22:21:49][C][api:144]:   Using noise encryption: NO
[22:21:49][C][wifi_signal.sensor:009]: WiFi Signal 'RSSI'
[22:21:49][C][wifi_signal.sensor:009]:   Device Class: 'signal_strength'
[22:21:49][C][wifi_signal.sensor:009]:   State Class: 'measurement'
[22:21:49][C][wifi_signal.sensor:009]:   Unit of Measurement: 'dBm'
[22:21:49][C][wifi_signal.sensor:009]:   Accuracy Decimals: 0
[22:21:49][C][wifi_signal.sensor:009]:   Icon: 'mdi:wifi'
[22:21:50][D][sensor:094]: 'Display Current brightness': Sending state 100.00000 % with 0 decimals of accuracy
[22:21:50][D][script:077]: Script 'timer_dim' restarting (mode: restart)
[22:21:50][D][script.boot_progress:2008]: Progress: 25%
[22:21:50][D][script:077]: Script 'timer_dim' restarting (mode: restart)
[22:21:50][D][script.boot_progress:2008]: Progress: 30%
[22:21:50][D][script:077]: Script 'timer_dim' restarting (mode: restart)
[22:21:50][D][script.boot_progress:2008]: Progress: 35%
[22:21:50][D][script:077]: Script 'timer_dim' restarting (mode: restart)
[22:21:50][D][script.boot_progress:2008]: Progress: 40%
[22:21:50][W][component:237]: Component script took a long time for an operation (69 ms).
[22:21:50][W][component:238]: Components should block for at most 30 ms.
[22:21:50][D][script.set_timezone:2894]: Setting timezone: GMT0BST,M3.5.0/1,M10.5.0
[22:21:50][C][homeassistant.time:010]: Home Assistant Time:
[22:21:50][C][homeassistant.time:011]:   Timezone: 'GMT0BST,M3.5.0/1,M10.5.0'
[22:21:50][D][sensor:094]: 'Blueprint': Sending state 3.22581 % with 1 decimals of accuracy
[22:21:50][D][time:049]: Synchronized time: 2024-04-19 22:21:50
[22:21:50][D][time.on_time_sync:178]: System clock synchronized
[22:21:50][D][time.on_time_sync:179]: Timezone: GMT0BST,M3.5.0/1,M10.5.0
[22:21:50][W][component:237]: Component api took a long time for an operation (75 ms).
[22:21:50][W][component:238]: Components should block for at most 30 ms.
[22:21:50][D][time:049]: Synchronized time: 2024-04-19 22:21:50
[22:21:50][D][time.on_time_sync:178]: System clock synchronized
[22:21:50][D][time.on_time_sync:179]: Timezone: GMT0BST,M3.5.0/1,M10.5.0
[22:21:51][D][sensor:094]: 'Blueprint': Sending state 9.67742 % with 1 decimals of accuracy
[22:21:51][D][sensor:094]: 'Blueprint': Sending state 22.58064 % with 1 decimals of accuracy
[22:21:51][D][sensor:094]: 'Blueprint': Sending state 48.38710 % with 1 decimals of accuracy
[22:21:51][D][text_sensor:064]: 'Version Blueprint': Sending state '4.3.4'
[22:21:51][D][script:077]: Script 'check_versions' restarting (mode: restart)
[22:21:51][D][script.check_versions:2041]: Versions:
[22:21:51][D][script.check_versions:2042]:   ESPHome:   4.3.4
[22:21:51][D][script.check_versions:2043]:   TFT:       4.3.4
[22:21:51][D][script.check_versions:2046]:   Blueprint: 4.3.4
[22:21:51][D][script.check_versions:2041]: Versions:
[22:21:51][D][script.check_versions:2042]:   ESPHome:   4.3.4
[22:21:51][D][script.check_versions:2043]:   TFT:       4.3.4
[22:21:51][D][script.check_versions:2046]:   Blueprint: 4.3.4
[22:21:51][D][sensor:094]: 'Blueprint': Sending state 100.00000 % with 1 decimals of accuracy
[22:21:51][D][script:077]: Script 'timer_dim' restarting (mode: restart)
[22:21:51][D][script.boot_progress:2008]: Progress: 95%
[22:21:56][D][script:077]: Script 'timer_dim' restarting (mode: restart)
[22:21:56][D][script.boot_progress:2004]: Progress: Completed
[22:21:57][D][script.page_boot:2339]: Jump to wake-up page: home
[22:21:57][D][sensor:094]: 'Display Current brightness': Sending state 100.00000 % with 0 decimals of accuracy
[22:21:57][D][text_sensor:064]: 'Current Page': Sending state 'home'
[22:21:57][D][script.page_changed:2377]: New page: home
[22:21:57][D][text_sensor:064]: 'Detailed Entity': Sending state ''
[22:21:57][D][script:077]: Script 'timer_dim' restarting (mode: restart)
[22:21:57][D][nextion_textsensor:014]: Processed text_sensor "current_page" state "home"
[22:21:58][D][sensor:094]: 'ntc_source': Sending state 1.80700 V with 2 decimals of accuracy
[22:21:58][D][resistance:039]: 'resistance_sensor' - Resistance 13555.5Ω
[22:21:58][D][sensor:094]: 'resistance_sensor': Sending state 13555.52637 Ω with 1 decimals of accuracy
[22:21:58][D][ntc:026]: 'Temperature' - Temperature: 18.3°C
[22:21:58][D][sensor:094]: 'Temperature': Sending state 18.30754 °C with 1 decimals of accuracy
[22:21:58][D][climate:396]: 'Thermostat' - Sending state:
[22:21:58][D][climate:399]:   Mode: OFF
[22:21:58][D][climate:401]:   Action: OFF
[22:21:58][D][climate:419]:   Current Temperature: 18.31°C
[22:21:58][D][climate:425]:   Target Temperature: 15.00°C
[22:22:02][D][sensor:094]: 'Display Current brightness': Sending state 100.00000 % with 0 decimals of accuracy
[22:22:08][D][sensor:094]: 'ntc_source': Sending state 1.80525 V with 2 decimals of accuracy
[22:22:08][D][resistance:039]: 'resistance_sensor' - Resistance 13526.5Ω
[22:22:08][D][sensor:094]: 'resistance_sensor': Sending state 13526.54199 Ω with 1 decimals of accuracy
[22:22:08][D][ntc:026]: 'Temperature' - Temperature: 18.4°C
[22:22:08][D][sensor:094]: 'Temperature': Sending state 18.35358 °C with 1 decimals of accuracy
[22:22:08][D][climate:396]: 'Thermostat' - Sending state:
[22:22:08][D][climate:399]:   Mode: OFF
[22:22:08][D][climate:401]:   Action: OFF
[22:22:08][D][climate:419]:   Current Temperature: 18.35°C
[22:22:08][D][climate:425]:   Target Temperature: 15.00°C
[22:22:15][D][esp32.preferences:114]: Saving 3 preferences to flash...
[22:22:15][D][esp32.preferences:143]: Saving 3 preferences to flash: 3 cached, 0 written, 0 failed
[22:22:18][D][sensor:094]: 'ntc_source': Sending state 1.80560 V with 2 decimals of accuracy
[22:22:18][D][resistance:039]: 'resistance_sensor' - Resistance 13532.3Ω
[22:22:18][D][sensor:094]: 'resistance_sensor': Sending state 13532.33398 Ω with 1 decimals of accuracy
[22:22:18][D][ntc:026]: 'Temperature' - Temperature: 18.3°C
[22:22:18][D][sensor:094]: 'Temperature': Sending state 18.34437 °C with 1 decimals of accuracy
[22:22:18][D][climate:396]: 'Thermostat' - Sending state:
[22:22:18][D][climate:399]:   Mode: OFF
[22:22:18][D][climate:401]:   Action: OFF
[22:22:18][D][climate:419]:   Current Temperature: 18.34°C
[22:22:18][D][climate:425]:   Target Temperature: 15.00°C
[22:22:26][D][sensor:094]: 'Average Underfloor Temperature': Sending state 17.12500 °C with 1 decimals of accuracy
[22:22:27][D][sensor:094]: 'Display Current brightness': Sending state 25.00000 % with 0 decimals of accuracy
[22:22:28][D][sensor:094]: 'ntc_source': Sending state 1.80617 V with 2 decimals of accuracy
[22:22:28][D][resistance:039]: 'resistance_sensor' - Resistance 13541.7Ω
[22:22:28][D][sensor:094]: 'resistance_sensor': Sending state 13541.71582 Ω with 1 decimals of accuracy
[22:22:28][D][ntc:026]: 'Temperature' - Temperature: 18.3°C
[22:22:28][D][sensor:094]: 'Temperature': Sending state 18.32946 °C with 1 decimals of accuracy
[22:22:28][D][climate:396]: 'Thermostat' - Sending state:
[22:22:28][D][climate:399]:   Mode: OFF
[22:22:28][D][climate:401]:   Action: OFF
[22:22:28][D][climate:419]:   Current Temperature: 18.33°C
[22:22:28][D][climate:425]:   Target Temperature: 15.00°C
[22:22:29][D][sensor:094]: 'RSSI': Sending state -79.00000 dBm with 0 decimals of accuracy
[22:22:30][D][text_sensor:064]: 'Device Name': Sending state 'office_panel'
[22:22:30][W][script.watchdog:3198]: Wi-Fi:         Weak (-79 dBm)
[22:22:30][I][script.watchdog:3210]: API:           Connected
[22:22:30][I][script.watchdog:3228]: Blueprint:
[22:22:30][I][script.watchdog:3230]:   Version:     4.3.4
[22:22:30][I][script.watchdog:3231]:   Init steps:  62 (100.0%)
[22:22:30][I][script.watchdog:3240]: ESPHome:
[22:22:30][I][script.watchdog:3241]:   Version:     4.3.4
[22:22:30][I][script.watchdog:3242]:   Compiler:    2024.4.0
[22:22:30][I][script.watchdog:3247]:   Framework:   ESP-IDF
[22:22:30][I][script.watchdog:3254]:   Free heap:
[22:22:30][I][script.watchdog:3258]:     Internal:   201128 bytes (57.4%)
[22:22:30][I][script.watchdog:3265]:     PSRAM:     2014651 bytes (96.6%)
[22:22:30][I][script.watchdog:3270]: UART:
[22:22:30][I][script.watchdog:3271]:   Baud rate:   115200 bps
[22:22:30][I][script.watchdog:3272]:   Queue size:  0
[22:22:30][I][script.watchdog:3276]: Nextion:
[22:22:30][I][script.watchdog:3277]:   Queue size:  0
[22:22:30][I][script.watchdog:3279]:   Is setup:    True
[22:22:30][I][script.watchdog:3286]:   Init:        True
[22:22:30][I][script.watchdog:3292]:   TFT:         4.3.4
[22:22:30][I][script.watchdog:3293]: Packages:
[22:22:30][I][script.watchdog:3295]:   - Core
[22:22:30][I][script.watchdog:3301]:   - Upload TFT
[22:22:30][I][script.watchdog:3304]:   - Climate - Base
[22:22:30][I][script.watchdog:3313]:   - Climate - Heat
[22:22:30][I][addon_upload_tft.script.watchdog:370]: Add-on Upload TFT:
[22:22:30][I][addon_upload_tft.script.watchdog:371]:   File model: NSPanel EU
[22:22:30][I][addon_upload_tft.script.watchdog:372]:   Valid TFT:  YES
[22:22:30][I][addon_climate_base.script.watchdog:218]: Add-on climate:
[22:22:30][I][addon_climate_base.script.watchdog:227]:   Heat:  Enabled
[22:22:30][I][addon_climate_base.script.watchdog:229]:   Relay: 2

Home Assistant Logs

No response

ga3ns3blu3mchen commented 3 weeks ago

Had the same issue, solved it with a Factory reset (deactivated entity in the device Setting page)

LaurensBot commented 3 weeks ago

Had the same issue, solved it with a Factory reset (deactivated entity in the device Setting page)

Bought a new panel and the issue is the same on that.

edwardtfn commented 3 weeks ago

I couldn't duplicate the issue using your YAML (with minor changes to work on my environment), however I see in the logs you are using a Dallas sensor which is not visible in you YAML... Are you sure you shared the right file?

By the way, I couldn't find in your logs the moment you pressed the button to open the climate page. Could you please try to capture a log including that (and preferably pointing to the time you clicked the button)?

LaurensBot commented 3 weeks ago

Apologies I omitted that part, here is the full YAML config on a brand new NSPanel:

substitutions:
  device_name: utility-room-panel
  wifi_ssid: !secret wifi_ssid
  wifi_password: !secret wifi_password
  heater_relay: "2"
  temp_min: "15" 
  temp_max: "22" 
  temp_step: "0.1"
  cold_tolerance: "0.1"
  hot_tolerance: "0.1"

packages:
  remote_package:
    url: https://github.com/Blackymas/NSPanel_HA_Blueprint
    ref: main
    files:
      - nspanel_esphome.yaml
      - nspanel_esphome_addon_climate_heat.yaml
    refresh: 300s

climate:
  - id: !extend thermostat_embedded
    default_preset: "Home"
    visual:
      temperature_step: ${temp_step}
    preset:
      - name: "Off"
        default_target_temperature_low: ${temp_min} ${temp_units}
        mode: "off"
      - name: Home
        default_target_temperature_low: 20 ${temp_units}
        mode: "heat"
      - name: Away
        default_target_temperature_low: 17 ${temp_units}
        mode: "heat"
      - name: Sleep
        default_target_temperature_low: 18 ${temp_units}
        mode: "heat"

sensor:
  - platform: dallas
    address: 0x6e000000799d9828
    name: "Underfloor Probe 1"
    id: underfloor_probe_1
    filters:
      - filter_out: 85.0
  - platform: dallas
    address: 0x5d0000000395f428
    name: "Underfloor Probe 2"
    id: underfloor_probe_2
    filters:
      - filter_out: 85.0
  - platform: dallas
    address: 0x6400000004136728
    name: "Underfloor Probe 3"
    id: underfloor_probe_3
    filters:
      - filter_out: 85.0
  - platform: template
    name: "Average Underfloor Temperature"
    id: average_underfloor_temperature
    unit_of_measurement: "°C"
    lambda: |-
      return (id(underfloor_probe_1).state + id(underfloor_probe_2).state) / 2.0;

dallas:
  - pin: 23
LaurensBot commented 3 weeks ago

I created a generic_thermostat in Home Assistant and when using this as entity on the NSPanel it works. When changing it back to the addon/embedded thermostat it stops working.

edwardtfn commented 3 weeks ago

And could you get logs from ESPHome when you touch the screen to open the climate?

LaurensBot commented 3 weeks ago

logs_utility-room-panel_logs_with_internal_climate.txt logs_utility-room-panel_logs_with_external_climate.txt

Please find the logs attached.

Internal = climate entity from the panel External = climate entity from Home Assistant generic thermostat

edwardtfn commented 3 weeks ago

I couldn't find any event of the screen being touched in both logs. 😞

LaurensBot commented 3 weeks ago

Not sure why this isn't showing when I download the logs but on the console I can see the following each time I press the climate icon:

[12:20:48][D][text_sensor:064]: 'Detailed Entity': Sending state 'embedded_climate'
[12:20:48][W][nextion:366]: Nextion reported page ID invalid!
[12:20:48][W][nextion:405]: Nextion reported variable name invalid!
[12:20:48][W][nextion:405]: Nextion reported variable name invalid!

Whilst the media player shows:

[12:21:18][D][text_sensor:064]: 'Detailed Entity': Sending state 'media_player.office_satellite'
[12:21:18][D][text_sensor:064]: 'Current Page': Sending state 'media_player'
edwardtfn commented 3 weeks ago

I wasn't expecting a "page ID invalid" issue. I cannot find from were that is coming. I will probably have to add some logs to this. 😞 Anyway, I'm rebuilding the call to the climate page thanks to another issue and hopefully this will be fixed.

edwardtfn commented 3 weeks ago

I believe this is now fixed. I will try to release later today.

LaurensBot commented 3 weeks ago

Thanks a lot, it is indeed working