gekkekoe / esphome-ecodan-hp

ESPHome Ecodan heatpump
GNU General Public License v3.0
67 stars 26 forks source link

Problem after update to lastest version (climate: fix current/target temp getters when in compensation mode) #24

Closed glowaa closed 5 months ago

glowaa commented 5 months ago

Again with statuses "Became unavailable"

Pompa ciepla DHW Mode changed to Eco 10:00:41 AM - 5 seconds ago Pompa ciepla DHW Mode became unavailable 10:00:39 AM - 7 seconds ago Pompa ciepla DHW Mode changed to Eco 10:00:18 AM - 28 seconds ago Pompa ciepla DHW Mode became unavailable 10:00:16 AM - 30 seconds ago Pompa ciepla DHW Mode changed to Eco 9:59:11 AM - 2 minutes ago Pompa ciepla DHW Mode became unavailable 9:59:09 AM - 2 minutes ago Pompa ciepla DHW Mode changed to Eco 9:58:36 AM - 2 minutes ago Pompa ciepla DHW Mode became unavailable 9:58:34 AM - 2 minutes ago Pompa ciepla DHW Mode changed to Eco 9:56:56 AM - 4 minutes ago Pompa ciepla DHW Mode became unavailable 9:56:54 AM - 4 minutes ago Pompa ciepla DHW Mode changed to Eco 9:56:19 AM - 4 minutes ago Pompa ciepla DHW Mode became unavailable 9:56:17 AM - 4 minutes ago Pompa ciepla DHW Mode changed to Eco 9:55:18 AM - 5 minutes ago Pompa ciepla DHW Mode became unavailable 9:55:16 AM - 5 minutes ago Pompa ciepla DHW Mode changed to Eco 9:54:21 AM - 6 minutes ago Pompa ciepla DHW Mode became unavailable 9:54:19 AM - 6 minutes ago

Pompa ciepla Zone 1 Climate changed to Heat 10:00:41 AM - 40 seconds ago Pompa ciepla Zone 1 Climate became unavailable 10:00:39 AM - 41 seconds ago Pompa ciepla Zone 1 Climate changed to Heat 10:00:18 AM - 1 minute ago Pompa ciepla Zone 1 Climate became unavailable 10:00:16 AM - 1 minute ago Pompa ciepla Zone 1 Climate changed to Heat 9:59:11 AM - 2 minutes ago Pompa ciepla Zone 1 Climate became unavailable 9:59:09 AM - 2 minutes ago Pompa ciepla Zone 1 Climate changed to Heat 9:58:36 AM - 3 minutes ago Pompa ciepla Zone 1 Climate became unavailable 9:58:34 AM - 3 minutes ago Pompa ciepla Zone 1 Climate changed to Heat 9:56:56 AM - 4 minutes ago Pompa ciepla Zone 1 Climate became unavailable 9:56:54 AM - 4 minutes ago Pompa ciepla Zone 1 Climate changed to Heat 9:56:19 AM - 5 minutes ago Pompa ciepla Zone 1 Climate became unavailable 9:56:17 AM - 5 minutes ago Pompa ciepla Zone 1 Climate changed to Heat 9:55:18 AM - 6 minutes ago Pompa ciepla Zone 1 Climate became unavailable 9:55:16 AM - 6 minutes ago Pompa ciepla Zone 1 Climate changed to Heat 9:54:21 AM - 7 minutes ago Pompa ciepla Zone 1 Climate became unavailable 9:54:19 AM - 7 minutes ago

INFO ESPHome 2024.6.1 INFO Reading configuration /config/esphome/pompa-ciepla.yaml... INFO Updating https://github.com/gekkekoe/esphome-ecodan-hp/@main INFO Updating https://github.com/gekkekoe/esphome-ecodan-hp.git@main INFO Starting log output from 192.168.203.123 using esphome API INFO Successfully connected to pompa-ciepla @ 192.168.203.123 in 0.094s INFO Successful handshake with pompa-ciepla @ 192.168.203.123 in 0.125s [10:06:35][I][app:100]: ESPHome version 2024.6.1 compiled on Jun 20 2024, 09:52:28

[10:06:35][C][wifi:427]: Local MAC: CC:7B:5C:26:BB:D0 [10:06:35][C][wifi:432]: SSID: [redacted] [10:06:35][C][wifi:435]: IP Address: 192.168.203.123 [10:06:35][C][wifi:439]: BSSID: [redacted]

[10:06:35][C][wifi:442]: Signal strength: -64 dB ▂▄▆█ [10:06:35][C][wifi:446]: Channel: 1 [10:06:35][C][wifi:447]: Subnet: 255.255.255.0 [10:06:35][C][wifi:448]: Gateway: 192.168.203.1 [10:06:35][C][wifi:449]: DNS1: 192.168.203.1 [10:06:35][C][wifi:450]: DNS2: 0.0.0.0

[10:06:35][C][logger:186]: Level: DEBUG [10:06:35][C][logger:188]: Log Baud Rate: 0 [10:06:35][C][logger:189]: Hardware UART: UART0 [10:06:35][C][logger:193]: Level for 'esp32.preferences': DEBUG [10:06:35][C][logger:193]: Level for 'sensor': DEBUG [10:06:35][C][logger:193]: Level for 'text_sensor': DEBUG [10:06:35][C][logger:193]: Level for 'switch': DEBUG [10:06:35][C][logger:193]: Level for 'button': DEBUG [10:06:35][C][template.number:050]: Template Number 'DHW Setpoint' [10:06:35][C][template.number:050]: Unit of Measurement: '°C' [10:06:35][C][template.number:051]: Optimistic: YES [10:06:35][C][template.number:052]: Update Interval: 60.0s [10:06:35][C][template.number:050]: Template Number 'Zone 1 Room Setpoint' [10:06:35][C][template.number:050]: Unit of Measurement: '°C' [10:06:35][C][template.number:051]: Optimistic: YES [10:06:35][C][template.number:052]: Update Interval: 60.0s [10:06:35][C][template.number:050]: Template Number 'Zone 1 H/C Setpoint' [10:06:35][C][template.number:050]: Unit of Measurement: '°C' [10:06:35][C][template.number:051]: Optimistic: YES [10:06:35][C][template.number:052]: Update Interval: 60.0s [10:06:35][C][template.select:065]: Template Select 'Selected operating mode' [10:06:35][C][template.select:066]: Update Interval: 60.0s [10:06:35][C][template.select:069]: Optimistic: YES [10:06:35][C][template.select:070]: Initial Option: Heat Target Temperature [10:06:35][C][template.select:071]: Restore Value: YES [10:06:35][C][template.select:065]: Template Select 'DHW Mode' [10:06:35][C][template.select:066]: Update Interval: 60.0s [10:06:35][C][template.select:069]: Optimistic: YES [10:06:35][C][template.select:070]: Initial Option: Off [10:06:35][C][template.select:071]: Restore Value: YES [10:06:35][C][template.text_sensor:020]: Template Sensor 'Controller Version'

[10:06:35][C][template.text_sensor:020]: Template Sensor 'Heat Source' [10:06:35][C][uptime.sensor:031]: Uptime Sensor 'ESP Uptime' [10:06:35][C][uptime.sensor:031]: Device Class: 'duration' [10:06:35][C][uptime.sensor:031]: State Class: 'total_increasing' [10:06:35][C][uptime.sensor:031]: Unit of Measurement: 's' [10:06:35][C][uptime.sensor:031]: Accuracy Decimals: 0

[10:06:35][C][template.switch:068]: Template Switch 'Force DHW' [10:06:35][C][template.switch:091]: Restore Mode: restore defaults to OFF [10:06:35][C][template.switch:057]: Optimistic: YES [10:06:35][C][template.switch:068]: Template Switch 'Holiday Mode' [10:06:35][C][template.switch:091]: Restore Mode: restore defaults to OFF [10:06:35][C][template.switch:057]: Optimistic: YES [10:06:35][C][template.switch:068]: Template Switch 'Heatpump' [10:06:35][C][template.switch:091]: Restore Mode: restore defaults to ON [10:06:35][C][template.switch:057]: Optimistic: YES [10:06:35][C][version.text_sensor:021]: Version Text Sensor 'ESP Version'

[10:06:35][C][copy.sensor:015]: Copy Sensor 'WiFi Signal %' [10:06:35][C][copy.sensor:015]: State Class: 'measurement' [10:06:35][C][copy.sensor:015]: Unit of Measurement: ' %' [10:06:35][C][copy.sensor:015]: Accuracy Decimals: 0

[10:06:35][C][internal_temperature:076]: Internal Temperature Sensor 'ESP Internal Temperature' [10:06:35][C][internal_temperature:076]: Device Class: 'temperature' [10:06:35][C][internal_temperature:076]: State Class: 'measurement' [10:06:35][C][internal_temperature:076]: Unit of Measurement: '°C' [10:06:35][C][internal_temperature:076]: Accuracy Decimals: 1

[10:06:35][C][web_server:173]: Web Server: [10:06:35][C][web_server:174]: Address: 192.168.203.123:80

[10:06:35][C][mdns:116]: Hostname: pompa-ciepla [10:06:35][C][esphome.ota:073]: Over-The-Air updates: [10:06:35][C][esphome.ota:074]: Address: 192.168.203.123:3232 [10:06:35][C][esphome.ota:075]: Version: 2 [10:06:35][C][esphome.ota:078]: Password configured [10:06:35][C][safe_mode:018]: Safe Mode: [10:06:35][C][safe_mode:020]: Boot considered successful after 60 seconds [10:06:35][C][safe_mode:021]: Invoke after 10 boot attempts [10:06:35][C][safe_mode:023]: Remain in safe mode for 300 seconds [10:06:35][C][api:139]: API Server: [10:06:35][C][api:140]: Address: 192.168.203.123:6053 [10:06:35][C][api:142]: Using noise encryption: YES [10:06:35][C][wifi_info:011]: WifiInfo SSID 'ESP SSID'

[10:06:35][C][wifi_info:009]: WifiInfo IPAddress 'ESP IP'

[10:06:35][D][sensor:094][serial_rx_task]: 'heat_source': Sending state 0.00000 with 0 decimals of accuracy [10:06:36][D][sensor:094]: 'WiFi Signal dB': Sending state -65.00000 dBm with 0 decimals of accuracy [10:06:36][D][sensor:094]: 'WiFi Signal %': Sending state 70.00000 % with 0 decimals of accuracy [10:06:36][D][sensor:094][serial_rx_task]: 'Output Power': Sending state 0.00000 kW with 3 decimals of accuracy [10:06:36][D][sensor:094][serial_rx_task]: 'Estimated Output Power': Sending state 0.00000 kW with 3 decimals of accuracy [10:06:37][D][sensor:094][serial_rx_task]: 'Zone 1 Room Setpoint Value': Sending state 20.00000 °C with 1 decimals of accuracy [10:06:37][I][ecodan.component:034][serial_rx_task]: Could not publish state of sensor 'z2_room_temp_target' with value: '20.000000' [10:06:37][D][sensor:094][serial_rx_task]: 'Zone 1 H/C Setpoint Value': Sending state 33.00000 °C with 1 decimals of accuracy [10:06:37][I][ecodan.component:034][serial_rx_task]: Could not publish state of sensor 'z2_flow_temp_target' with value: '35.000000' [10:06:37][D][sensor:094][serial_rx_task]: 'Legionella Prevention Temp': Sending state 65.00000 °C with 1 decimals of accuracy [10:06:37][D][sensor:094][serial_rx_task]: 'DHW Max Temp Drop': Sending state 8.00000 °C with 1 decimals of accuracy [10:06:38][D][sensor:094][serial_rx_task]: 'Zone 1 Room Temp': Sending state 23.50000 °C with 1 decimals of accuracy [10:06:38][I][ecodan.component:034][serial_rx_task]: Could not publish state of sensor 'z2_room_temp' with value: '0.000000' [10:06:38][D][sensor:094][serial_rx_task]: 'Outside Temp': Sending state 23.00000 °C with 0 decimals of accuracy [10:06:38][D][sensor:094][serial_rx_task]: 'Refrigerant Liquid Temp': Sending state 30.00000 °C with 1 decimals of accuracy [10:06:38][D][sensor:094][serial_rx_task]: 'Refrigerant Condensing Temp': Sending state 29.00000 °C with 1 decimals of accuracy [10:06:39][D][sensor:094]: 'ESP Uptime': Sending state 784.02502 s with 0 decimals of accuracy [10:06:39][D][sensor:094][serial_rx_task]: 'Return Temp': Sending state 29.50000 °C with 1 decimals of accuracy [10:06:39][D][sensor:094][serial_rx_task]: 'DHW Current Temp': Sending state 43.50000 °C with 1 decimals of accuracy [10:06:39][D][sensor:094][serial_rx_task]: 'DHW Secondary Temp': Sending state 25.00000 °C with 1 decimals of accuracy [10:06:40][D][sensor:094][serial_rx_task]: 'Boiler Flow Temp': Sending state 25.00000 °C with 1 decimals of accuracy [10:06:40][D][sensor:094][serial_rx_task]: 'Boiler Return Temp': Sending state 25.00000 °C with 1 decimals of accuracy [10:06:41][D][sensor:094]: 'WiFi Signal dB': Sending state -59.00000 dBm with 0 decimals of accuracy [10:06:41][D][sensor:094]: 'WiFi Signal %': Sending state 82.00000 % with 0 decimals of accuracy [10:06:42][D][sensor:094][serial_rx_task]: 'Operating Runtime': Sending state 3385.00000 h with 0 decimals of accuracy [10:06:43][I][ecodan.component:056][serial_rx_task]: Could not publish state of sensor 'status_water_pump_2' with value: '0' [10:06:43][I][ecodan.component:056][serial_rx_task]: Could not publish state of sensor 'status_three_way_valve_2' with value: '0' [10:06:44][D][sensor:094][serial_rx_task]: 'Flow Rate': Sending state 0.00000 L/min with 0 decimals of accuracy [10:06:44][D][sensor:094]: 'ESP Uptime': Sending state 789.02502 s with 0 decimals of accuracy [10:06:45][D][text_sensor:064][serial_rx_task]: 'status_power': Sending state 'On' [10:06:45][D][text_sensor:064][serial_rx_task]: 'Operation Mode': Sending state 'Off' [10:06:45][D][text_sensor:064][serial_rx_task]: 'DHW': Sending state 'Off' [10:06:45][D][text_sensor:064][serial_rx_task]: 'H/C status': Sending state 'Heat Target Temperature' [10:06:45][D][sensor:094][serial_rx_task]: 'DHW Setpoint Value': Sending state 47.00000 °C with 1 decimals of accuracy [10:06:46][D][sensor:094]: 'WiFi Signal dB': Sending state -65.00000 dBm with 0 decimals of accuracy [10:06:46][D][sensor:094]: 'WiFi Signal %': Sending state 70.00000 % with 0 decimals of accuracy [10:06:46][I][ecodan.component:056][serial_rx_task]: Could not publish state of sensor 'status_prohibit_heating_z2' with value: '0' [10:06:46][I][ecodan.component:056][serial_rx_task]: Could not publish state of sensor 'status_prohibit_cool_z2' with value: '1' [10:06:47][D][sensor:094][serial_rx_task]: 'Heating Consumed': Sending state 0.04000 kWh with 2 decimals of accuracy [10:06:47][D][sensor:094][serial_rx_task]: 'Cool Consumed': Sending state 0.00000 kWh with 2 decimals of accuracy [10:06:47][D][sensor:094][serial_rx_task]: 'DHW Consumed': Sending state 0.88000 kWh with 2 decimals of accuracy [10:06:48][D][sensor:094][serial_rx_task]: 'Heating Delivered': Sending state 0.00000 kWh with 2 decimals of accuracy [10:06:48][D][sensor:094][serial_rx_task]: 'Cool Delivered': Sending state 0.00000 kWh with 2 decimals of accuracy [10:06:48][D][sensor:094][serial_rx_task]: 'DHW Delivered': Sending state 2.82000 kWh with 2 decimals of accuracy [10:06:48][D][sensor:094][serial_rx_task]: 'Heating COP': Sending state 0.00000 with 2 decimals of accuracy [10:06:48][D][sensor:094][serial_rx_task]: 'Cool COP': Sending state 0.00000 with 2 decimals of accuracy [10:06:48][D][sensor:094][serial_rx_task]: 'DHW COP': Sending state 3.20455 with 2 decimals of accuracy [10:06:49][D][sensor:094][serial_rx_task]: 'controller_version': Sending state 3.00000 with 0 decimals of accuracy [10:06:51][D][sensor:094]: 'WiFi Signal dB': Sending state -64.00000 dBm with 0 decimals of accuracy [10:06:51][D][sensor:094]: 'WiFi Signal %': Sending state 72.00000 % with 0 decimals of accuracy [10:06:52][D][sensor:094][serial_rx_task]: 'Compressor Frequency': Sending state 0.00000 Hz with 2 decimals of accuracy [10:06:53][D][sensor:094][serial_rx_task]: 'heat_source': Sending state 0.00000 with 0 decimals of accuracy [10:06:54][D][sensor:094][serial_rx_task]: 'Output Power': Sending state 0.00000 kW with 3 decimals of accuracy [10:06:54][D][sensor:094]: 'ESP Uptime': Sending state 799.02399 s with 0 decimals of accuracy [10:06:55][D][sensor:094][serial_rx_task]: 'Zone 1 Room Setpoint Value': Sending state 20.00000 °C with 1 decimals of accuracy [10:06:55][I][ecodan.component:034][serial_rx_task]: Could not publish state of sensor 'z2_room_temp_target' with value: '20.000000' [10:06:55][D][sensor:094][serial_rx_task]: 'Zone 1 H/C Setpoint Value': Sending state 33.00000 °C with 1 decimals of accuracy [10:06:55][I][ecodan.component:034][serial_rx_task]: Could not publish state of sensor 'z2_flow_temp_target' with value: '35.000000' [10:06:55][D][sensor:094][serial_rx_task]: 'Legionella Prevention Temp': Sending state 65.00000 °C with 1 decimals of accuracy [10:06:55][D][sensor:094][serial_rx_task]: 'DHW Max Temp Drop': Sending state 8.00000 °C with 1 decimals of accuracy [10:06:56][D][sensor:094]: 'WiFi Signal dB': Sending state -67.00000 dBm with 0 decimals of accuracy [10:06:56][D][sensor:094]: 'WiFi Signal %': Sending state 66.00000 % with 0 decimals of accuracy [10:06:56][D][sensor:094][serial_rx_task]: 'Zone 1 Room Temp': Sending state 23.50000 °C with 1 decimals of accuracy [10:06:56][I][ecodan.component:034][serial_rx_task]: Could not publish state of sensor 'z2_room_temp' with value: '0.000000' [10:06:56][D][sensor:094][serial_rx_task]: 'Outside Temp': Sending state 23.00000 °C with 0 decimals of accuracy [10:06:56][D][sensor:094][serial_rx_task]: 'Refrigerant Liquid Temp': Sending state 30.00000 °C with 1 decimals of accuracy [10:06:56][D][sensor:094][serial_rx_task]: 'Refrigerant Condensing Temp': Sending state 29.00000 °C with 1 decimals of accuracy [10:06:57][D][sensor:094][serial_rx_task]: 'Feed Temp': Sending state 33.00000 °C with 1 decimals of accuracy [10:06:57][D][sensor:094][serial_rx_task]: 'Return Temp': Sending state 29.50000 °C with 1 decimals of accuracy [10:06:57][D][sensor:094][serial_rx_task]: 'DHW Current Temp': Sending state 43.50000 °C with 1 decimals of accuracy [10:06:57][D][sensor:094][serial_rx_task]: 'DHW Secondary Temp': Sending state 25.00000 °C with 1 decimals of accuracy

Version 050785cb841b0f7b7c852d27532ab3b0f526fa9e is working OK

gekkekoe commented 5 months ago

can you see in the logging if home assistant disconnects at those times? For me it was home assistant that was giving issues. After update, no more disconnects. Try updating to latest home assistant and home assistant OS if you are using those.

glowaa commented 5 months ago

HA is in the lastest version, ESPHome too.

Core 2024.6.3 Supervisor 2024.06.0 Operating System 12.4 Frontend 20240610.1

I only change latest to https://github.com/gekkekoe/esphome-ecodan-hp/commit/050785cb841b0f7b7c852d27532ab3b0f526fa9e and it working again.

Pompa ciepla Zone 1 Climate changed to Heat 11:20:46 AM - 2 hours ago Pompa ciepla Zone 1 Climate became unavailable -> back to https://github.com/gekkekoe/esphome-ecodan-hp/commit/050785cb841b0f7b7c852d27532ab3b0f526fa9e and working for now without problem 11:20:34 AM - 2 hours ago Pompa ciepla Zone 1 Climate changed to Heat 11:17:26 AM - 2 hours ago Pompa ciepla Zone 1 Climate became unavailable 11:17:24 AM - 2 hours ago Pompa ciepla Zone 1 Climate changed to Heat 11:13:36 AM - 2 hours ago Pompa ciepla Zone 1 Climate became unavailable 11:13:34 AM - 2 hours ago Pompa ciepla Zone 1 Climate changed to Heat 11:13:16 AM - 2 hours ago Pompa ciepla Zone 1 Climate became unavailable 11:13:14 AM - 2 hours ago Pompa ciepla Zone 1 Climate changed to Heat 11:12:11 AM - 2 hours ago Pompa ciepla Zone 1 Climate became unavailable 11:12:09 AM - 2 hours ago Pompa ciepla Zone 1 Climate changed to Heat 11:12:06 AM - 2 hours ago Pompa ciepla Zone 1 Climate became unavailable 11:12:04 AM - 2 hours ago Pompa ciepla Zone 1 Climate changed to Heat 11:11:06 AM - 2 hours ago Pompa ciepla Zone 1 Climate became unavailable 11:11:04 AM - 2 hours ago Pompa ciepla Zone 1 Climate changed to Heat 11:10:16 AM - 2 hours ago Pompa ciepla Zone 1 Climate became unavailable 11:10:14 AM - 2 hours ago Pompa ciepla Zone 1 Climate changed to Heat

gekkekoe commented 5 months ago

is the climate only becoming unavailable or other sensors as well? no issues locally here on both versions

glowaa commented 5 months ago

on other sensors too on the this esp, other devices are OK

gekkekoe commented 5 months ago

the latest change only affect climateas, but I had these issues too. Please update to latest esphome/home assistant. And do a full HA reboot (not the quick reload)

when you monitor esphome logs --device ip ecodan-esphome.yaml, you will see that home assistant disconnects at those times. there seems to be an issues with one of the latest HA/ESPHome. Try and report back.

glowaa commented 5 months ago

As i said before

HA is in the lastest version, ESPHome too.

Core 2024.6.3 Supervisor 2024.06.0 Operating System 12.4 Frontend 20240610.1

and i always do full reboot

and i have only one device in ESP home

Log ESPHome

2024-06-20 10:07:19,514 INFO 304 GET /devices (0.0.0.0) 1.75ms 2024-06-20 10:07:24,526 INFO 304 GET /devices (0.0.0.0) 3.78ms 2024-06-20 10:07:30,513 INFO 304 GET /devices (0.0.0.0) 2.56ms 2024-06-20 10:07:36,517 INFO 304 GET /devices (0.0.0.0) 1.83ms 2024-06-20 10:07:41,518 INFO 304 GET /devices (0.0.0.0) 0.69ms 2024-06-20 10:07:47,513 INFO 304 GET /devices (0.0.0.0) 1.48ms 2024-06-20 10:07:53,504 INFO 304 GET /devices (0.0.0.0) 1.36ms 2024-06-20 10:07:59,512 INFO 304 GET /devices (0.0.0.0) 1.00ms 2024-06-20 10:08:02,118 INFO 200 GET /devices (0.0.0.0) 0.82ms 2024-06-20 10:08:05,511 INFO 304 GET /devices (0.0.0.0) 1.56ms 2024-06-20 10:08:11,513 INFO 304 GET /devices (0.0.0.0) 1.69ms 2024-06-20 10:08:17,508 INFO 304 GET /devices (0.0.0.0) 1.94ms 2024-06-20 10:08:23,502 INFO 304 GET /devices (0.0.0.0) 0.68ms 2024-06-20 10:13:02,120 INFO 200 GET /devices (0.0.0.0) 3.71ms 2024-06-20 10:18:02,118 INFO 200 GET /devices (0.0.0.0) 0.74ms 2024-06-20 10:23:02,117 INFO 200 GET /devices (0.0.0.0) 0.78ms 2024-06-20 10:28:02,118 INFO 200 GET /devices (0.0.0.0) 0.80ms 2024-06-20 10:33:02,117 INFO 200 GET /devices (0.0.0.0) 0.78ms 2024-06-20 10:38:02,119 INFO 200 GET /devices (0.0.0.0) 2.29ms 2024-06-20 10:43:02,117 INFO 200 GET /devices (0.0.0.0) 0.83ms 2024-06-20 10:48:02,118 INFO 200 GET /devices (0.0.0.0) 0.78ms 2024-06-20 10:53:02,118 INFO 200 GET /devices (0.0.0.0) 0.75ms 2024-06-20 10:58:02,119 INFO 200 GET /devices (0.0.0.0) 0.78ms 2024-06-20 11:03:02,118 INFO 200 GET /devices (0.0.0.0) 0.78ms 2024-06-20 11:08:02,117 INFO 200 GET /devices (0.0.0.0) 0.80ms 2024-06-20 11:13:02,119 INFO 200 GET /devices (0.0.0.0) 0.90ms 2024-06-20 11:18:02,117 INFO 200 GET /devices (0.0.0.0) 0.78ms 2024-06-20 11:19:19,105 INFO 304 GET / (0.0.0.0) 0.71ms 2024-06-20 11:19:19,134 INFO 304 GET /devices (0.0.0.0) 0.99ms 2024-06-20 11:19:19,139 INFO 304 GET /static/images/logo-text.svg (0.0.0.0) 0.48ms 2024-06-20 11:19:19,144 INFO 304 GET /static/fonts/material-icons/MaterialIcons-Regular.woff2 (0.0.0.0) 0.47ms 2024-06-20 11:19:20,278 INFO 200 GET /edit?configuration=pompa-ciepla.yaml (0.0.0.0) 0.85ms 2024-06-20 11:19:20,300 INFO 101 GET /ace (0.0.0.0) 0.40ms 2024-06-20 11:19:20,309 INFO Running command 'esphome --dashboard -q vscode --ace /config/esphome' 2024-06-20 11:19:20,999 INFO 304 GET /static/fonts/codicon.ttf (0.0.0.0) 0.49ms 2024-06-20 11:19:22,711 INFO 304 GET /static/schema/esphome.json (0.0.0.0) 0.49ms 2024-06-20 11:19:22,732 INFO 304 GET /static/schema/external_components.json (0.0.0.0) 0.63ms 2024-06-20 11:19:23,221 INFO 304 GET /static/schema/packages.json (0.0.0.0) 0.83ms 2024-06-20 11:19:26,639 INFO 200 POST /edit?configuration=pompa-ciepla.yaml (0.0.0.0) 1.70ms 2024-06-20 11:19:27,860 INFO 200 POST /edit?configuration=pompa-ciepla.yaml (0.0.0.0) 5.06ms 2024-06-20 11:19:27,881 INFO 200 GET /info?configuration=pompa-ciepla.yaml (0.0.0.0) 0.62ms 2024-06-20 11:19:28,742 INFO 101 GET /run (0.0.0.0) 0.49ms 2024-06-20 11:19:28,743 INFO Running command 'esphome --dashboard run /config/esphome/pompa-ciepla.yaml --device 192.168.203.123' 2024-06-20 11:23:02,117 INFO 200 GET /devices (0.0.0.0) 0.78ms 2024-06-20 11:28:02,117 INFO 200 GET /devices (0.0.0.0) 0.72ms 2024-06-20 11:33:02,117 INFO 200 GET /devices (0.0.0.0) 0.77ms 2024-06-20 11:36:24,795 INFO 304 GET / (0.0.0.0) 0.61ms 2024-06-20 11:36:24,825 INFO 304 GET /devices (0.0.0.0) 0.77ms 2024-06-20 11:36:26,066 INFO 200 GET /edit?configuration=pompa-ciepla.yaml (0.0.0.0) 1.21ms 2024-06-20 11:36:26,086 INFO 101 GET /ace (0.0.0.0) 0.42ms 2024-06-20 11:36:26,093 INFO Running command 'esphome --dashboard -q vscode --ace /config/esphome' 2024-06-20 11:38:02,117 INFO 200 GET /devices (0.0.0.0) 0.84ms 2024-06-20 11:43:02,122 INFO 200 GET /devices (0.0.0.0) 0.77ms 2024-06-20 11:48:02,117 INFO 200 GET /devices (0.0.0.0) 0.79ms 2024-06-20 11:53:02,118 INFO 200 GET /devices (0.0.0.0) 0.77ms 2024-06-20 11:58:02,117 INFO 200 GET /devices (0.0.0.0) 0.73ms 2024-06-20 12:03:02,117 INFO 200 GET /devices (0.0.0.0) 0.76ms 2024-06-20 12:08:02,121 INFO 200 GET /devices (0.0.0.0) 4.18ms 2024-06-20 12:13:02,119 INFO 200 GET /devices (0.0.0.0) 0.93ms 2024-06-20 12:18:02,117 INFO 200 GET /devices (0.0.0.0) 0.82ms 2024-06-20 12:23:02,118 INFO 200 GET /devices (0.0.0.0) 0.73ms 2024-06-20 12:28:02,118 INFO 200 GET /devices (0.0.0.0) 0.73ms 2024-06-20 12:33:02,118 INFO 200 GET /devices (0.0.0.0) 0.76ms 2024-06-20 12:38:02,117 INFO 200 GET /devices (0.0.0.0) 0.71ms 2024-06-20 12:43:02,118 INFO 200 GET /devices (0.0.0.0) 0.73ms 2024-06-20 12:48:02,118 INFO 200 GET /devices (0.0.0.0) 0.75ms 2024-06-20 12:53:02,117 INFO 200 GET /devices (0.0.0.0) 0.75ms 2024-06-20 12:55:02,731 INFO 304 GET / (0.0.0.0) 0.55ms 2024-06-20 12:55:02,767 INFO 304 GET /devices (0.0.0.0) 0.98ms 2024-06-20 12:55:02,770 INFO 304 GET /static/images/logo-text.svg (0.0.0.0) 0.71ms 2024-06-20 12:55:02,777 INFO 304 GET /static/fonts/material-icons/MaterialIcons-Regular.woff2 (0.0.0.0) 0.45ms 2024-06-20 12:55:03,774 INFO 200 GET /static/js/esphome/c.D8B79DPA.js (0.0.0.0) 0.60ms 2024-06-20 12:55:03,801 INFO 200 GET /static/js/esphome/c.8_oc5tL3.js (0.0.0.0) 0.60ms 2024-06-20 12:55:03,815 INFO 101 GET /logs (0.0.0.0) 0.38ms 2024-06-20 12:55:03,816 INFO Running command 'esphome --dashboard logs /config/esphome/pompa-ciepla.yaml --device 192.168.203.123' 2024-06-20 12:55:07,773 INFO 304 GET /devices (0.0.0.0) 0.77ms 2024-06-20 12:55:12,783 INFO 304 GET /devices (0.0.0.0) 0.73ms 2024-06-20 12:55:17,793 INFO 304 GET /devices (0.0.0.0) 0.78ms 2024-06-20 12:55:22,799 INFO 304 GET /devices (0.0.0.0) 0.77ms 2024-06-20 12:55:27,805 INFO 304 GET /devices (0.0.0.0) 0.76ms 2024-06-20 12:55:32,811 INFO 304 GET /devices (0.0.0.0) 0.76ms 2024-06-20 12:55:38,454 INFO 304 GET /devices (0.0.0.0) 0.76ms 2024-06-20 12:55:44,449 INFO 304 GET /devices (0.0.0.0) 0.73ms 2024-06-20 12:55:49,462 INFO 304 GET /devices (0.0.0.0) 0.73ms 2024-06-20 12:55:55,450 INFO 304 GET /devices (0.0.0.0) 0.77ms 2024-06-20 12:56:00,450 INFO 304 GET /devices (0.0.0.0) 0.82ms 2024-06-20 12:58:02,120 INFO 200 GET /devices (0.0.0.0) 0.74ms 2024-06-20 13:03:02,117 INFO 200 GET /devices (0.0.0.0) 0.76ms 2024-06-20 13:08:02,117 INFO 200 GET /devices (0.0.0.0) 0.81ms 2024-06-20 13:13:02,118 INFO 200 GET /devices (0.0.0.0) 0.77ms 2024-06-20 13:18:02,117 INFO 200 GET /devices (0.0.0.0) 0.78ms 2024-06-20 13:23:02,117 INFO 200 GET /devices (0.0.0.0) 0.75ms 2024-06-20 13:28:02,118 INFO 200 GET /devices (0.0.0.0) 0.72ms 2024-06-20 13:33:02,117 INFO 200 GET /devices (0.0.0.0) 0.72ms 2024-06-20 13:38:02,118 INFO 200 GET /devices (0.0.0.0) 0.81ms 2024-06-20 13:43:02,117 INFO 200 GET /devices (0.0.0.0) 0.76ms 2024-06-20 13:48:02,118 INFO 200 GET /devices (0.0.0.0) 0.73ms 2024-06-20 13:53:02,117 INFO 200 GET /devices (0.0.0.0) 0.79ms 2024-06-20 13:58:02,119 INFO 200 GET /devices (0.0.0.0) 2.08ms 2024-06-20 14:03:02,117 INFO 200 GET /devices (0.0.0.0) 0.75ms 2024-06-20 14:08:02,117 INFO 200 GET /devices (0.0.0.0) 0.81ms

gekkekoe commented 5 months ago

Esphome is not rebooting, you can see it in time uptime sensor. It's HA that disconnect from esphome for some reason. I upgraded to esphome 2024.6.1 and see issue again. This is really strange.

I've reverted NAN return part. Try and see if it works

glowaa commented 5 months ago

1 hour and so far is ok

gekkekoe commented 5 months ago

I don't think it will solve it, does not make sense.

https://esphome.io/guides/faq.html#my-node-keeps-reconnecting-randomly

when all sensors become unavailable, then it had disconnect. seems to be a known issue.

glowaa commented 5 months ago

3 hour and still working ok

gekkekoe commented 5 months ago

I already saw 3 reconnects here

glowaa commented 5 months ago

14 hours and rock solid :)

gekkekoe commented 5 months ago

image good that it works for you, but I'm still convinced that it's network related. The change should not affect a disconnect (only diff is returning NAN vs current temp in thermostat for unknown modes). If it was related to the change, then only the climates should be affected (code does not crash component).

It's not causing any issues (since it's reconnected after a couple of seconds), it's just a bit annoying.

glowaa commented 5 months ago

I have HA locally (8 core cpu, 12gb ram and nvme disk) and do not change network settings at all. Only change firmware on ESP and some versions work normally and others disconnect frequently.

June 21, 2024 Pompa ciepla 3-way Valve turned off 5:07:35 AM - 5 hours ago Pompa ciepla 3-way Valve turned on 4:45:05 AM - 6 hours ago

June 20, 2024 Pompa ciepla 3-way Valve turned off 9:55:34 PM - 13 hours ago Pompa ciepla 3-way Valve turned on 9:27:22 PM - 13 hours ago Pompa ciepla 3-way Valve turned off 6:45:22 PM - 16 hours ago Pompa ciepla 3-way Valve became unknown 6:45:17 PM - 16 hours ago Pompa ciepla 3-way Valve became unavailable -> update 6:45:08 PM - 16 hours ago

gekkekoe commented 5 months ago

for me, this worked: https://github.com/gekkekoe/esphome-ecodan-hp/commit/5fa0cfcea10212f38bda56487711815b31beebd2 one of the tips on the esp32 faq. 5 hours and no disconnects.

glowaa commented 5 months ago

Lastest version also is stable. Can you remove unavailable entities?

image

gekkekoe commented 5 months ago

For me it's automatically removed by home assistant. But you can remove the integration and add it again. Then it will be cleaned as well.