Closed LaurensBot closed 3 weeks ago
Had the same issue, solved it with a Factory reset (deactivated entity in the device Setting page)
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.
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)?
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
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.
And could you get logs from ESPHome when you touch the screen to open the climate?
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
I couldn't find any event of the screen being touched in both logs. 😞
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'
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.
I believe this is now fixed. I will try to release later today.
Thanks a lot, it is indeed working
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:
Steps to Reproduce
No response
Your Panel's YAML
ESPHome Logs
Home Assistant Logs
No response