Hello, if you could send me the diagnostic log when the connection is lost, it would be easier for me to help you. There were too many entities in the previous diagnostic logs. I can determine whether the connection was lost because of these entities or for some other reason.
Hi, here are the logs, last night there were several disconnections and now it is permanently disconnected. I have heavily reduced the amount of information the ESP32 sends (by trigger now) Let me know if there is any other diagnostic information I can collect (The DHT messages are because I have a damaged temperature sensor)
\[20:36:55\]\[W\]\[dht:175\]: Requesting data from DHT failed!
\[20:36:55\]\[W\]\[dht:060\]: Invalid readings! Please check your wiring (pull-up resistor, pin number).
WARNING riego @ 192.168.2.7: Connection error occurred: \[Errno 54\] Connection reset by peer
INFO Processing unexpected disconnect from ESPHome API for riego @ 192.168.2.7
WARNING Disconnected from API
INFO Successfully connected to riego @ 192.168.2.7 in 0.012s
INFO Successful handshake with riego @ 192.168.2.7 in 0.100s
WARNING riego @ 192.168.2.7: Connection error occurred: \[Errno 54\] Connection reset by peer
INFO Processing unexpected disconnect from ESPHome API for riego @ 192.168.2.7
WARNING Disconnected from API
INFO Successfully connected to riego @ 192.168.2.7 in 0.009s
INFO Successful handshake with riego @ 192.168.2.7 in 0.110s
WARNING riego @ 192.168.2.7: Connection error occurred: \[Errno 54\] Connection reset by peer
INFO Processing unexpected disconnect from ESPHome API for riego @ 192.168.2.7
WARNING Disconnected from API
INFO Successfully connected to riego @ 192.168.2.7 in 0.010s
INFO Successful handshake with riego @ 192.168.2.7 in 0.044s
\[21:25:55\]\[W\]\[dht:175\]: Requesting data from DHT failed!
\[21:25:55\]\[W\]\[dht:060\]: Invalid readings! Please check your wiring (pull-up resistor, pin number).
WARNING riego @ 192.168.2.7: Connection error occurred: \[Errno 54\] Connection reset by peer
INFO Processing unexpected disconnect from ESPHome API for riego @ 192.168.2.7
WARNING Disconnected from API
INFO Successfully connected to riego @ 192.168.2.7 in 0.014s
INFO Successful handshake with riego @ 192.168.2.7 in 0.028s
WARNING riego @ 192.168.2.7: Connection error occurred: \[Errno 54\] Connection reset by peer
INFO Processing unexpected disconnect from ESPHome API for riego @ 192.168.2.7
WARNING Disconnected from API
INFO Successfully connected to riego @ 192.168.2.7 in 0.009s
INFO Successful handshake with riego @ 192.168.2.7 in 0.032s
\[21:57:55\]\[W\]\[dht:175\]: Requesting data from DHT failed!
\[21:57:55\]\[W\]\[dht:060\]: Invalid readings! Please check your wiring (pull-up resistor, pin number).
WARNING riego @ 192.168.2.7: Connection error occurred: \[Errno 54\] Connection reset by peer
INFO Processing unexpected disconnect from ESPHome API for riego @ 192.168.2.7
WARNING Disconnected from API
INFO Successfully connected to riego @ 192.168.2.7 in 0.010s
INFO Successful handshake with riego @ 192.168.2.7 in 0.030s
\[22:13:55\]\[W\]\[dht:175\]: Requesting data from DHT failed!
\[22:13:55\]\[W\]\[dht:060\]: Invalid readings! Please check your wiring (pull-up resistor, pin number).
WARNING riego @ 192.168.2.7: Connection error occurred: \[Errno 54\] Connection reset by peer
INFO Processing unexpected disconnect from ESPHome API for riego @ 192.168.2.7
WARNING Disconnected from API
INFO Successfully connected to riego @ 192.168.2.7 in 0.013s
INFO Successful handshake with riego @ 192.168.2.7 in 0.034s
WARNING riego @ 192.168.2.7: Connection error occurred: \[Errno 54\] Connection reset by peer
INFO Processing unexpected disconnect from ESPHome API for riego @ 192.168.2.7
WARNING Disconnected from API
INFO Successfully connected to riego @ 192.168.2.7 in 0.098s
INFO Successful handshake with riego @ 192.168.2.7 in 0.085s
\[22:38:54\]\[W\]\[dht:175\]: Requesting data from DHT failed!
\[22:38:55\]\[W\]\[dht:060\]: Invalid readings! Please check your wiring (pull-up resistor, pin number).
WARNING riego @ 192.168.2.7: Connection error occurred: \[Errno 54\] Connection reset by peer
INFO Processing unexpected disconnect from ESPHome API for riego @ 192.168.2.7
WARNING Disconnected from API
INFO Successfully connected to riego @ 192.168.2.7 in 0.011s
INFO Successful handshake with riego @ 192.168.2.7 in 0.025s
\[22:54:54\]\[W\]\[dht:175\]: Requesting data from DHT failed!
\[22:54:54\]\[W\]\[dht:060\]: Invalid readings! Please check your wiring (pull-up resistor, pin number).
\[23:00:01\]\[W\]\[dht:175\]: Requesting data from DHT failed!
\[23:00:01\]\[W\]\[dht:060\]: Invalid readings! Please check your wiring (pull-up resistor, pin number).
\[23:00:01\]\[W\]\[dht:175\]: Requesting data from DHT failed!
\[23:00:01\]\[W\]\[dht:060\]: Invalid readings! Please check your wiring (pull-up resistor, pin number).
WARNING riego @ 192.168.2.7: Connection error occurred: riego @ 192.168.2.7: EOF received
INFO Processing unexpected disconnect from ESPHome API for riego @ 192.168.2.7
WARNING Disconnected from API
INFO Successfully connected to riego @ 192.168.2.7 in 0.256s
INFO Successful handshake with riego @ 192.168.2.7 in 0.043s
WARNING riego @ 192.168.2.7: Connection error occurred: \[Errno 54\] Connection reset by peer
INFO Processing unexpected disconnect from ESPHome API for riego @ 192.168.2.7
WARNING Disconnected from API
INFO Successfully connected to riego @ 192.168.2.7 in 0.018s
INFO Successful handshake with riego @ 192.168.2.7 in 0.025s
\[23:16:54\]\[W\]\[dht:175\]: Requesting data from DHT failed!
\[23:16:54\]\[W\]\[dht:060\]: Invalid readings! Please check your wiring (pull-up resistor, pin number).
WARNING riego @ 192.168.2.7: Connection error occurred: \[Errno 54\] Connection reset by peer
INFO Processing unexpected disconnect from ESPHome API for riego @ 192.168.2.7
WARNING Disconnected from API
INFO Successfully connected to riego @ 192.168.2.7 in 0.013s
INFO Successful handshake with riego @ 192.168.2.7 in 0.031s
WARNING riego @ 192.168.2.7: Connection error occurred: \[Errno 54\] Connection reset by peer
INFO Processing unexpected disconnect from ESPHome API for riego @ 192.168.2.7
WARNING Disconnected from API
INFO Successfully connected to riego @ 192.168.2.7 in 0.016s
INFO Successful handshake with riego @ 192.168.2.7 in 0.038s
\[23:39:54\]\[W\]\[dht:175\]: Requesting data from DHT failed!
\[23:39:54\]\[W\]\[dht:060\]: Invalid readings! Please check your wiring (pull-up resistor, pin number).
WARNING riego @ 192.168.2.7: Connection error occurred: \[Errno 54\] Connection reset by peer
INFO Processing unexpected disconnect from ESPHome API for riego @ 192.168.2.7
WARNING Disconnected from API
INFO Successfully connected to riego @ 192.168.2.7 in 0.011s
INFO Successful handshake with riego @ 192.168.2.7 in 0.104s
WARNING riego @ 192.168.2.7: Connection error occurred: \[Errno 54\] Connection reset by peer
INFO Processing unexpected disconnect from ESPHome API for riego @ 192.168.2.7
WARNING Disconnected from API
INFO Successfully connected to riego @ 192.168.2.7 in 0.099s
INFO Successful handshake with riego @ 192.168.2.7 in 0.121s
\[00:00:54\]\[W\]\[dht:175\]: Requesting data from DHT failed!
\[00:00:54\]\[W\]\[dht:060\]: Invalid readings! Please check your wiring (pull-up resistor, pin number).
WARNING riego @ 192.168.2.7: Connection error occurred: \[Errno 54\] Connection reset by peer
INFO Processing unexpected disconnect from ESPHome API for riego @ 192.168.2.7
WARNING Disconnected from API
INFO Successfully connected to riego @ 192.168.2.7 in 0.014s
INFO Successful handshake with riego @ 192.168.2.7 in 0.424s
\[00:24:17\]\[W\]\[dht:175\]: Requesting data from DHT failed!
\[00:24:17\]\[W\]\[dht:060\]: Invalid readings! Please check your wiring (pull-up resistor, pin number).
\[00:24:17\]\[W\]\[dht:175\]: Requesting data from DHT failed!
\[00:24:17\]\[W\]\[dht:060\]: Invalid readings! Please check your wiring (pull-up resistor, pin number).
WARNING riego @ 192.168.2.7: Connection error occurred: \[Errno 54\] Connection reset by peer
INFO Processing unexpected disconnect from ESPHome API for riego @ 192.168.2.7
WARNING Disconnected from API
INFO Successfully connected to riego @ 192.168.2.7 in 0.023s
INFO Successful handshake with riego @ 192.168.2.7 in 0.022s
WARNING riego @ 192.168.2.7: Connection error occurred: \[Errno 54\] Connection reset by peer
INFO Processing unexpected disconnect from ESPHome API for riego @ 192.168.2.7
WARNING Disconnected from API
INFO Successfully connected to riego @ 192.168.2.7 in 0.100s
INFO Successful handshake with riego @ 192.168.2.7 in 0.036s
\[00:40:54\]\[W\]\[dht:175\]: Requesting data from DHT failed!
\[00:40:54\]\[W\]\[dht:060\]: Invalid readings! Please check your wiring (pull-up resistor, pin number).
WARNING riego @ 192.168.2.7: Connection error occurred: \[Errno 54\] Connection reset by peer
INFO Processing unexpected disconnect from ESPHome API for riego @ 192.168.2.7
WARNING Disconnected from API
INFO Successfully connected to riego @ 192.168.2.7 in 0.011s
INFO Successful handshake with riego @ 192.168.2.7 in 0.036s
\[00:56:54\]\[W\]\[dht:175\]: Requesting data from DHT failed!
\[00:56:54\]\[W\]\[dht:060\]: Invalid readings! Please check your wiring (pull-up resistor, pin number).
WARNING riego @ 192.168.2.7: Connection error occurred: \[Errno 54\] Connection reset by peer
INFO Processing unexpected disconnect from ESPHome API for riego @ 192.168.2.7
WARNING Disconnected from API
INFO Successfully connected to riego @ 192.168.2.7 in 0.013s
INFO Successful handshake with riego @ 192.168.2.7 in 0.027s
\[01:12:54\]\[W\]\[dht:175\]: Requesting data from DHT failed!
\[01:12:54\]\[W\]\[dht:060\]: Invalid readings! Please check your wiring (pull-up resistor, pin number).
WARNING riego @ 192.168.2.7: Connection error occurred: \[Errno 54\] Connection reset by peer
INFO Processing unexpected disconnect from ESPHome API for riego @ 192.168.2.7
WARNING Disconnected from API
INFO Successfully connected to riego @ 192.168.2.7 in 0.016s
INFO Successful handshake with riego @ 192.168.2.7 in 0.030s
\[01:29:54\]\[W\]\[dht:175\]: Requesting data from DHT failed!
\[01:29:54\]\[W\]\[dht:060\]: Invalid readings! Please check your wiring (pull-up resistor, pin number).
WARNING riego @ 192.168.2.7: Connection error occurred: \[Errno 54\] Connection reset by peer
INFO Processing unexpected disconnect from ESPHome API for riego @ 192.168.2.7
WARNING Disconnected from API
INFO Successfully connected to riego @ 192.168.2.7 in 0.011s
INFO Successful handshake with riego @ 192.168.2.7 in 0.030s
\[01:45:54\]\[W\]\[dht:175\]: Requesting data from DHT failed!
\[01:45:54\]\[W\]\[dht:060\]: Invalid readings! Please check your wiring (pull-up resistor, pin number).
WARNING riego @ 192.168.2.7: Connection error occurred: \[Errno 54\] Connection reset by peer
INFO Processing unexpected disconnect from ESPHome API for riego @ 192.168.2.7
WARNING Disconnected from API
INFO Successfully connected to riego @ 192.168.2.7 in 0.021s
INFO Successful handshake with riego @ 192.168.2.7 in 0.023s
WARNING riego @ 192.168.2.7: Connection error occurred: \[Errno 54\] Connection reset by peer
INFO Processing unexpected disconnect from ESPHome API for riego @ 192.168.2.7
WARNING Disconnected from API
INFO Successfully connected to riego @ 192.168.2.7 in 0.011s
INFO Successful handshake with riego @ 192.168.2.7 in 0.027s
\[02:18:54\]\[W\]\[dht:175\]: Requesting data from DHT failed!
\[02:18:54\]\[W\]\[dht:060\]: Invalid readings! Please check your wiring (pull-up resistor, pin number).
WARNING riego @ 192.168.2.7: Connection error occurred: \[Errno 54\] Connection reset by peer
INFO Processing unexpected disconnect from ESPHome API for riego @ 192.168.2.7
WARNING Disconnected from API
INFO Successfully connected to riego @ 192.168.2.7 in 0.012s
INFO Successful handshake with riego @ 192.168.2.7 in 0.032s
\[02:34:54\]\[W\]\[dht:175\]: Requesting data from DHT failed!
\[02:34:54\]\[W\]\[dht:060\]: Invalid readings! Please check your wiring (pull-up resistor, pin number).
WARNING riego @ 192.168.2.7: Connection error occurred: \[Errno 54\] Connection reset by peer
INFO Processing unexpected disconnect from ESPHome API for riego @ 192.168.2.7
WARNING Disconnected from API
INFO Successfully connected to riego @ 192.168.2.7 in 0.011s
INFO Successful handshake with riego @ 192.168.2.7 in 0.030s
\[02:50:54\]\[W\]\[dht:175\]: Requesting data from DHT failed!
\[02:50:54\]\[W\]\[dht:060\]: Invalid readings! Please check your wiring (pull-up resistor, pin number).
WARNING riego @ 192.168.2.7: Connection error occurred: \[Errno 54\] Connection reset by peer
INFO Processing unexpected disconnect from ESPHome API for riego @ 192.168.2.7
WARNING Disconnected from API
INFO Successfully connected to riego @ 192.168.2.7 in 0.012s
INFO Successful handshake with riego @ 192.168.2.7 in 0.026s
WARNING riego @ 192.168.2.7: Connection error occurred: \[Errno 54\] Connection reset by peer
INFO Processing unexpected disconnect from ESPHome API for riego @ 192.168.2.7
WARNING Disconnected from API
INFO Successfully connected to riego @ 192.168.2.7 in 0.014s
INFO Successful handshake with riego @ 192.168.2.7 in 0.032s
WARNING riego @ 192.168.2.7: Connection error occurred: \[Errno 54\] Connection reset by peer
INFO Processing unexpected disconnect from ESPHome API for riego @ 192.168.2.7
WARNING Disconnected from API
INFO Successfully connected to riego @ 192.168.2.7 in 0.014s
INFO Successful handshake with riego @ 192.168.2.7 in 0.025s
\[03:39:54\]\[W\]\[dht:175\]: Requesting data from DHT failed!
\[03:39:54\]\[W\]\[dht:060\]: Invalid readings! Please check your wiring (pull-up resistor, pin number).
WARNING riego @ 192.168.2.7: Connection error occurred: \[Errno 54\] Connection reset by peer
INFO Processing unexpected disconnect from ESPHome API for riego @ 192.168.2.7
WARNING Disconnected from API
INFO Successfully connected to riego @ 192.168.2.7 in 0.010s
INFO Successful handshake with riego @ 192.168.2.7 in 0.028s
WARNING riego @ 192.168.2.7: Connection error occurred: \[Errno 54\] Connection reset by peer
INFO Processing unexpected disconnect from ESPHome API for riego @ 192.168.2.7
WARNING Disconnected from API
INFO Successfully connected to riego @ 192.168.2.7 in 0.011s
INFO Successful handshake with riego @ 192.168.2.7 in 0.031s
WARNING riego @ 192.168.2.7: Connection error occurred: \[Errno 54\] Connection reset by peer
INFO Processing unexpected disconnect from ESPHome API for riego @ 192.168.2.7
WARNING Disconnected from API
INFO Successfully connected to riego @ 192.168.2.7 in 0.009s
INFO Successful handshake with riego @ 192.168.2.7 in 0.039s
\[04:19:54\]\[W\]\[dht:175\]: Requesting data from DHT failed!
\[04:19:54\]\[W\]\[dht:060\]: Invalid readings! Please check your wiring (pull-up resistor, pin number).
WARNING riego @ 192.168.2.7: Connection error occurred: \[Errno 54\] Connection reset by peer
INFO Processing unexpected disconnect from ESPHome API for riego @ 192.168.2.7
WARNING Disconnected from API
INFO Successfully connected to riego @ 192.168.2.7 in 0.013s
INFO Successful handshake with riego @ 192.168.2.7 in 0.028s
WARNING riego @ 192.168.2.7: Connection error occurred: \[Errno 54\] Connection reset by peer
INFO Processing unexpected disconnect from ESPHome API for riego @ 192.168.2.7
WARNING Disconnected from API
INFO Successfully connected to riego @ 192.168.2.7 in 0.011s
INFO Successful handshake with riego @ 192.168.2.7 in 0.028s
WARNING riego @ 192.168.2.7: Connection error occurred: \[Errno 54\] Connection reset by peer
INFO Processing unexpected disconnect from ESPHome API for riego @ 192.168.2.7
WARNING Disconnected from API
INFO Successfully connected to riego @ 192.168.2.7 in 0.011s
INFO Successful handshake with riego @ 192.168.2.7 in 0.024s
\[05:08:54\]\[W\]\[dht:175\]: Requesting data from DHT failed!
\[05:08:54\]\[W\]\[dht:060\]: Invalid readings! Please check your wiring (pull-up resistor, pin number).
WARNING riego @ 192.168.2.7: Connection error occurred: \[Errno 54\] Connection reset by peer
INFO Processing unexpected disconnect from ESPHome API for riego @ 192.168.2.7
WARNING Disconnected from API
INFO Successfully connected to riego @ 192.168.2.7 in 0.010s
INFO Successful handshake with riego @ 192.168.2.7 in 0.199s
\[05:24:54\]\[W\]\[dht:175\]: Requesting data from DHT failed!
\[05:24:54\]\[W\]\[dht:060\]: Invalid readings! Please check your wiring (pull-up resistor, pin number).
WARNING riego @ 192.168.2.7: Connection error occurred: \[Errno 54\] Connection reset by peer
INFO Processing unexpected disconnect from ESPHome API for riego @ 192.168.2.7
WARNING Disconnected from API
INFO Successfully connected to riego @ 192.168.2.7 in 0.011s
INFO Successful handshake with riego @ 192.168.2.7 in 0.028s
\[05:40:54\]\[W\]\[dht:175\]: Requesting data from DHT failed!
\[05:40:54\]\[W\]\[dht:060\]: Invalid readings! Please check your wiring (pull-up resistor, pin number).
WARNING riego @ 192.168.2.7: Connection error occurred: \[Errno 54\] Connection reset by peer
INFO Processing unexpected disconnect from ESPHome API for riego @ 192.168.2.7
WARNING Disconnected from API
INFO Successfully connected to riego @ 192.168.2.7 in 0.084s
INFO Successful handshake with riego @ 192.168.2.7 in 0.097s
\[05:56:54\]\[W\]\[dht:175\]: Requesting data from DHT failed!
\[05:56:54\]\[W\]\[dht:060\]: Invalid readings! Please check your wiring (pull-up resistor, pin number).
WARNING riego @ 192.168.2.7: Connection error occurred: \[Errno 54\] Connection reset by peer
INFO Processing unexpected disconnect from ESPHome API for riego @ 192.168.2.7
WARNING Disconnected from API
INFO Successfully connected to riego @ 192.168.2.7 in 0.010s
INFO Successful handshake with riego @ 192.168.2.7 in 0.025s
WARNING riego @ 192.168.2.7: Connection error occurred: \[Errno 54\] Connection reset by peer
INFO Processing unexpected disconnect from ESPHome API for riego @ 192.168.2.7
WARNING Disconnected from API
INFO Successfully connected to riego @ 192.168.2.7 in 0.012s
INFO Successful handshake with riego @ 192.168.2.7 in 0.110s
\[06:20:54\]\[W\]\[dht:175\]: Requesting data from DHT failed!
\[06:20:54\]\[W\]\[dht:060\]: Invalid readings! Please check your wiring (pull-up resistor, pin number).
WARNING riego @ 192.168.2.7: Connection error occurred: \[Errno 54\] Connection reset by peer
INFO Processing unexpected disconnect from ESPHome API for riego @ 192.168.2.7
WARNING Disconnected from API
INFO Successfully connected to riego @ 192.168.2.7 in 0.124s
INFO Successful handshake with riego @ 192.168.2.7 in 0.056s
\[06:36:54\]\[W\]\[dht:175\]: Requesting data from DHT failed!
\[06:36:54\]\[W\]\[dht:060\]: Invalid readings! Please check your wiring (pull-up resistor, pin number).
\[06:37:54\]\[W\]\[dht:175\]: Requesting data from DHT failed!
\[06:37:54\]\[W\]\[dht:060\]: Invalid readings! Please check your wiring (pull-up resistor, pin number).
\[06:45:16\]\[W\]\[dht:175\]: Requesting data from DHT failed!
\[06:45:16\]\[W\]\[dht:060\]: Invalid readings! Please check your wiring (pull-up resistor, pin number).
\[06:45:16\]\[W\]\[dht:175\]: Requesting data from DHT failed!
\[06:45:16\]\[W\]\[dht:060\]: Invalid readings! Please check your wiring (pull-up resistor, pin number).
WARNING riego @ 192.168.2.7: Connection error occurred: \[Errno 54\] Connection reset by peer
INFO Processing unexpected disconnect from ESPHome API for riego @ 192.168.2.7
WARNING Disconnected from API
INFO Successfully connected to riego @ 192.168.2.7 in 0.012s
INFO Successful handshake with riego @ 192.168.2.7 in 0.036s
WARNING riego @ 192.168.2.7: Connection error occurred: \[Errno 54\] Connection reset by peer
INFO Processing unexpected disconnect from ESPHome API for riego @ 192.168.2.7
WARNING Disconnected from API
INFO Successfully connected to riego @ 192.168.2.7 in 0.011s
INFO Successful handshake with riego @ 192.168.2.7 in 0.028s
\[07:01:54\]\[W\]\[dht:175\]: Requesting data from DHT failed!
\[07:01:54\]\[W\]\[dht:060\]: Invalid readings! Please check your wiring (pull-up resistor, pin number).
WARNING riego @ 192.168.2.7: Connection error occurred: \[Errno 54\] Connection reset by peer
INFO Processing unexpected disconnect from ESPHome API for riego @ 192.168.2.7
WARNING Disconnected from API
INFO Successfully connected to riego @ 192.168.2.7 in 0.010s
INFO Successful handshake with riego @ 192.168.2.7 in 0.029s
\[07:17:54\]\[W\]\[dht:175\]: Requesting data from DHT failed!
\[07:17:54\]\[W\]\[dht:060\]: Invalid readings! Please check your wiring (pull-up resistor, pin number).
WARNING riego @ 192.168.2.7: Connection error occurred: \[Errno 54\] Connection reset by peer
INFO Processing unexpected disconnect from ESPHome API for riego @ 192.168.2.7
WARNING Disconnected from API
INFO Successfully connected to riego @ 192.168.2.7 in 0.011s
INFO Successful handshake with riego @ 192.168.2.7 in 0.028s
\[07:21:54\]\[W\]\[dht:175\]: Requesting data from DHT failed!
\[07:21:54\]\[W\]\[dht:060\]: Invalid readings! Please check your wiring (pull-up resistor, pin number).
WARNING riego @ 192.168.2.7: Connection error occurred: \[Errno 54\] Connection reset by peer
INFO Processing unexpected disconnect from ESPHome API for riego @ 192.168.2.7
WARNING Disconnected from API
INFO Successfully connected to riego @ 192.168.2.7 in 0.012s
INFO Successful handshake with riego @ 192.168.2.7 in 0.028s
\[07:38:54\]\[W\]\[dht:175\]: Requesting data from DHT failed!
\[07:38:54\]\[W\]\[dht:060\]: Invalid readings! Please check your wiring (pull-up resistor, pin number).
WARNING riego @ 192.168.2.7: Connection error occurred: \[Errno 54\] Connection reset by peer
INFO Processing unexpected disconnect from ESPHome API for riego @ 192.168.2.7
WARNING Disconnected from API
INFO Successfully connected to riego @ 192.168.2.7 in 0.012s
INFO Successful handshake with riego @ 192.168.2.7 in 0.031s
\[07:54:53\]\[W\]\[dht:175\]: Requesting data from DHT failed!
\[07:54:53\]\[W\]\[dht:060\]: Invalid readings! Please check your wiring (pull-up resistor, pin number).
\[07:57:57\]\[W\]\[dht:175\]: Requesting data from DHT failed!
\[07:57:58\]\[W\]\[dht:060\]: Invalid readings! Please check your wiring (pull-up resistor, pin number).
\[07:57:58\]\[W\]\[dht:175\]: Requesting data from DHT failed!
\[07:57:58\]\[W\]\[dht:060\]: Invalid readings! Please check your wiring (pull-up resistor, pin number).
\[07:57:58\]\[W\]\[dht:175\]: Requesting data from DHT failed!
\[07:57:58\]\[W\]\[dht:060\]: Invalid readings! Please check your wiring (pull-up resistor, pin number).
WARNING riego @ 192.168.2.7: Connection error occurred: riego @ 192.168.2.7: EOF received
INFO Processing unexpected disconnect from ESPHome API for riego @ 192.168.2.7
WARNING Disconnected from API
INFO Successfully connected to riego @ 192.168.2.7 in 0.066s
INFO Successful handshake with riego @ 192.168.2.7 in 0.028s
\[07:58:53\]\[W\]\[dht:175\]: Requesting data from DHT failed!
\[07:58:53\]\[W\]\[dht:060\]: Invalid readings! Please check your wiring (pull-up resistor, pin number).
\[07:59:54\]\[W\]\[dht:175\]: Requesting data from DHT failed!
\[07:59:54\]\[W\]\[dht:060\]: Invalid readings! Please check your wiring (pull-up resistor, pin number).
\[08:00:53\]\[W\]\[dht:175\]: Requesting data from DHT failed!
\[08:00:53\]\[W\]\[dht:060\]: Invalid readings! Please check your wiring (pull-up resistor, pin number).
\[08:01:53\]\[W\]\[dht:175\]: Requesting data from DHT failed!
\[08:01:53\]\[W\]\[dht:060\]: Invalid readings! Please check your wiring (pull-up resistor, pin number).
\[08:02:53\]\[W\]\[dht:175\]: Requesting data from DHT failed!
\[08:02:53\]\[W\]\[dht:060\]: Invalid readings! Please check your wiring (pull-up resistor, pin number).
\[08:03:53\]\[W\]\[dht:175\]: Requesting data from DHT failed!
\[08:03:53\]\[W\]\[dht:060\]: Invalid readings! Please check your wiring (pull-up resistor, pin number).
Those logs are from the ESPHome dashboard’s own log connection (aioesphomeapi), and it is being reset too. That means the ESP32 itself is dropping all TCP connections periodically — this is not specific to the Homey app. There are no boot messages, so the device isn’t rebooting; it’s most likely running low on heap memory or TCP sockets and killing connections to recover.
- A few things to try / collect:
- Remove the damaged DHT from your YAML** until you replace it. Failed DHT reads block the main loop (it’s a blocking bit-banged protocol), which is a known trigger for API connection resets. This is my top suspect together with memory pressure.
- Add the debug component and let it run overnight, then share the Heap Free trend (falling heap before each reset = memory leak/exhaustion):
debug:
sensor:
- platform: debug
free:
name: "Heap Free"
loop_time:
name: "Loop Time"
- platform: uptime
name: "Uptime"
- platform: wifi_signal
name: "WiFi RSSI"
text_sensor:
- platform: debug
reset_reason:
name: "Reset Reason"
wifi:
power_save_mode: none
- How many clients connect to this device? (Homey + the ESPHome dashboard log viewer + Home Assistant?) Each open log viewer is an extra API connection.
- For the “permanently disconnected” state: does restarting the Homey app fix it temporarily, or only power-cycling the ESP? This tells us which side gets stuck.
5.. Please also send a Homey diagnostic report right after it disconnects: Homey app → Settings → Apps → ESPHome → wheel icon → Create Diagnostics Report, and share the ID.
v.1.3.17
- Deep-sleep support: Battery-powered ESPHome devices no longer become “unavailable” during sleep.
- Automatic IP recovery: When the device’s IP address changes, the application automatically updates the address by rediscovering the device using mDNS.
- Alarm Panel support added (arming/disarming at home/away, trigger status, optional PIN code in device settings).
- ESPHome Event entity support added — with the new “ESPHome event triggered” flow trigger.
- Valve support added (on/off and position control).
- Update entity support added — shows when there is a firmware update.
- Air conditioning presets added (Eco, Boost, Sleep, Away and custom presets).
- Fan oscillation and direction control added.
- Light effects selector added (for lights with defined ESPHome effects). - New flow cards: “Text sensor changed” trigger, “Device connected” condition; “Adjust fan speed”, “Control curtain”, “Unlock (latch)” and “Call ESPHome service” actions.
- Reliability: Fixed a rare instance where the device could remain disconnected until the application was restarted if the reconnection attempt was interrupted mid-handshake (e.g., on devices that reset connections under memory pressure) — the application now continues trying under all conditions.
https://homey.app/en-tr/app/com.ugrbnk.esphome/ESPHome-Controller/test/
Hi,
Answering your questions and proposals:
- damaged DHT removed form YAML
- debug activated. Log attached
- 2 clients connected, ESPHome dashboard an your app from Homey
- Restarting the homey app fixes it, no need to reboot esp32
- Here is the diagnostic, not exactly when the disconnection happened but after a few 1e605831-b808-472c-b564-66cb98f9c4bf
Logs:
INFO Upload took 13.72 seconds, waiting for result...
INFO OTA successful
INFO Successfully uploaded program.
INFO Starting log output from 192.168.2.7 using esphome API
INFO Successfully connected to riego @ 192.168.2.7 in 7.113s
INFO Successful handshake with riego @ 192.168.2.7 in 0.059s
\[19:36:34\]\[I\]\[app:100\]: ESPHome version 2024.12.0 compiled on Jul 12 2026, 19:36:01
\[19:36:34\]\[C\]\[wifi:600\]: WiFi:
\[19:36:34\]\[C\]\[wifi:428\]: Local MAC: 88:57:21:8F:98:58
\[19:36:34\]\[C\]\[wifi:433\]: SSID: 'DDR_M1'\[redacted\]
\[19:36:34\]\[C\]\[wifi:436\]: IP Address: 192.168.2.7
\[19:36:34\]\[C\]\[wifi:440\]: BSSID: D8:EC:5E:8F:1B:44\[redacted\]
\[19:36:34\]\[C\]\[wifi:441\]: Hostname: 'riego'
\[19:36:34\]\[C\]\[wifi:443\]: Signal strength: -51 dB ▂▄▆█
\[19:36:34\]\[C\]\[wifi:447\]: Channel: 5
\[19:36:34\]\[C\]\[wifi:448\]: Subnet: 255.255.255.0
\[19:36:34\]\[C\]\[wifi:449\]: Gateway: 192.168.2.2
\[19:36:34\]\[C\]\[wifi:450\]: DNS1: 192.168.2.2
\[19:36:34\]\[C\]\[wifi:451\]: DNS2: 1.1.1.1
\[19:36:34\]\[C\]\[logger:185\]: Logger:
\[19:36:35\]\[C\]\[logger:186\]: Level: DEBUG
\[19:36:35\]\[C\]\[logger:188\]: Log Baud Rate: 115200
\[19:36:35\]\[C\]\[logger:189\]: Hardware UART: UART0
\[19:36:35\]\[C\]\[logger:193\]: Level for 'pulse_counter': INFO
\[19:36:35\]\[C\]\[logger:193\]: Level for 'sensor': INFO
\[19:36:35\]\[C\]\[logger:193\]: Level for 'text_sensor': INFO
\[19:36:35\]\[C\]\[template.sensor:022\]: Template Sensor 'L1 Litros ciclo actual'
\[19:36:35\]\[C\]\[template.sensor:022\]: State Class: ''
\[19:36:35\]\[C\]\[template.sensor:022\]: Unit of Measurement: 'L'
\[19:36:35\]\[C\]\[template.sensor:022\]: Accuracy Decimals: 2
\[19:36:35\]\[C\]\[template.sensor:023\]: Update Interval: never
\[19:36:35\]\[C\]\[template.sensor:022\]: Template Sensor 'L1 Litros último ciclo'
\[19:36:35\]\[C\]\[template.sensor:022\]: State Class: ''
\[19:36:35\]\[C\]\[template.sensor:022\]: Unit of Measurement: 'L'
\[19:36:35\]\[C\]\[template.sensor:022\]: Accuracy Decimals: 2
\[19:36:35\]\[C\]\[template.sensor:023\]: Update Interval: never
\[19:36:35\]\[C\]\[switch.gpio:031\]: Pin: GPIO21
\[19:36:35\]\[C\]\[switch.gpio:068\]: GPIO Switch 'Relé Línea 6'
\[19:36:35\]\[C\]\[switch.gpio:076\]: Inverted: YES
\[19:36:35\]\[C\]\[switch.gpio:091\]: Restore Mode: always OFF
\[19:36:36\]\[C\]\[switch.gpio:031\]: Pin: GPIO22
\[19:36:36\]\[C\]\[internal_temperature:125\]: Internal Temperature Sensor 'ESP Internal Temp'
\[19:36:36\]\[C\]\[internal_temperature:125\]: Device Class: 'temperature'
\[19:36:36\]\[C\]\[internal_temperature:125\]: State Class: 'measurement'
\[19:36:36\]\[C\]\[internal_temperature:125\]: Unit of Measurement: '°C'
\[19:36:36\]\[C\]\[internal_temperature:125\]: Accuracy Decimals: 1
\[19:36:36\]\[C\]\[captive_portal:089\]: Captive Portal:
\[19:36:36\]\[C\]\[web_server:153\]: Web Server:
\[19:36:36\]\[C\]\[web_server:154\]: Address: 192.168.2.7:80
\[19:36:36\]\[C\]\[mdns:116\]: mDNS:
\[19:36:36\]\[C\]\[mdns:117\]: Hostname: riego
\[19:36:36\]\[C\]\[esphome.ota:073\]: Over-The-Air updates:
\[19:36:36\]\[C\]\[esphome.ota:074\]: Address: 192.168.2.7:3232
\[19:36:36\]\[C\]\[esphome.ota:075\]: Version: 2
\[19:36:36\]\[C\]\[esphome.ota:078\]: Password configured
\[19:36:36\]\[C\]\[safe_mode:018\]: Safe Mode:
\[19:37:25\]\[I\]\[safe_mode:041\]: Boot seems successful; resetting boot loop counter
\[19:37:25\]\[D\]\[esp32.preferences:114\]: Saving 1 preferences to flash...
\[19:37:25\]\[D\]\[esp32.preferences:143\]: Saving 1 preferences to flash: 0 cached, 1 written, 0 failed
\[19:39:35\]\[D\]\[binary_sensor:036\]: 'Sobrecalentamiento ESP': Sending state ON
\[19:39:35\]\[W\]\[main:424\]: PROTECCION TERMICA ACTIVADA: caja=nan C (chip est.=81.1 C) - cerrando valvulas
\[19:39:35\]\[D\]\[switch:016\]: 'Relé Línea 1' Turning OFF.
\[19:39:35\]\[D\]\[switch:016\]: 'Relé Línea 2' Turning OFF.
\[19:39:35\]\[D\]\[switch:016\]: 'Relé Línea 3' Turning OFF.
\[19:39:35\]\[D\]\[switch:016\]: 'Relé Línea 4' Turning OFF.
\[19:39:35\]\[D\]\[switch:016\]: 'Relé Línea 5' Turning OFF.
\[19:39:35\]\[D\]\[switch:016\]: 'Relé Línea 6' Turning OFF.
\[19:39:35\]\[W\]\[component:237\]: Component binary_sensor took a long time for an operation (54 ms).
\[19:39:35\]\[W\]\[component:238\]: Components should block for at most 30 ms.
\[19:40:16\]\[D\]\[irrigation.diagnostics:494\]: DIAG: heap=198012 B | loop=7246 ms | rssi=-51.0 dBm | uptime=188 s | reset=Software Reset CPU
WARNING riego @ 192.168.2.7: Connection error occurred: \[Errno 54\] Connection reset by peer
INFO Processing unexpected disconnect from ESPHome API for riego @ 192.168.2.7
WARNING Disconnected from API
INFO Successfully connected to riego @ 192.168.2.7 in 0.011s
INFO Successful handshake with riego @ 192.168.2.7 in 0.038s
WARNING riego @ 192.168.2.7: Connection error occurred: \[Errno 54\] Connection reset by peer
INFO Processing unexpected disconnect from ESPHome API for riego @ 192.168.2.7
WARNING Disconnected from API
INFO Successfully connected to riego @ 192.168.2.7 in 0.096s
INFO Successful handshake with riego @ 192.168.2.7 in 0.032s
\[20:00:16\]\[D\]\[irrigation.diagnostics:494\]: DIAG: heap=196984 B | loop=29 ms | rssi=-51.0 dBm | uptime=1388 s | reset=Software Reset CPU
WARNING riego @ 192.168.2.7: Connection error occurred: \[Errno 54\] Connection reset by peer
INFO Processing unexpected disconnect from ESPHome API for riego @ 192.168.2.7
WARNING Disconnected from API
INFO Successfully connected to riego @ 192.168.2.7 in 0.097s
INFO Successful handshake with riego @ 192.168.2.7 in 0.040s
WARNING riego @ 192.168.2.7: Connection error occurred: \[Errno 54\] Connection reset by peer
INFO Processing unexpected disconnect from ESPHome API for riego @ 192.168.2.7
WARNING Disconnected from API
INFO Successfully connected to riego @ 192.168.2.7 in 0.020s
INFO Successful handshake with riego @ 192.168.2.7 in 0.044s
\[20:20:16\]\[D\]\[irrigation.diagnostics:494\]: DIAG: heap=196988 B | loop=28 ms | rssi=-51.0 dBm | uptime=2588 s | reset=Software Reset CPU
WARNING riego @ 192.168.2.7: Connection error occurred: \[Errno 54\] Connection reset by peer
INFO Processing unexpected disconnect from ESPHome API for riego @ 192.168.2.7
WARNING Disconnected from API
INFO Successfully connected to riego @ 192.168.2.7 in 0.021s
INFO Successful handshake with riego @ 192.168.2.7 in 0.049s
WARNING riego @ 192.168.2.7: Connection error occurred: \[Errno 54\] Connection reset by peer
INFO Processing unexpected disconnect from ESPHome API for riego @ 192.168.2.7
WARNING Disconnected from API
INFO Successfully connected to riego @ 192.168.2.7 in 0.011s
INFO Successful handshake with riego @ 192.168.2.7 in 0.042s
WARNING riego @ 192.168.2.7: Connection error occurred: \[Errno 54\] Connection reset by peer
INFO Processing unexpected disconnect from ESPHome API for riego @ 192.168.2.7
WARNING Disconnected from API
INFO Successfully connected to riego @ 192.168.2.7 in 0.015s
INFO Successful handshake with riego @ 192.168.2.7 in 0.037s
WARNING riego @ 192.168.2.7: Connection error occurred: \[Errno 54\] Connection reset by peer
INFO Processing unexpected disconnect from ESPHome API for riego @ 192.168.2.7
WARNING Disconnected from API
INFO Successfully connected to riego @ 192.168.2.7 in 0.013s
INFO Successful handshake with riego @ 192.168.2.7 in 0.047s
WARNING riego @ 192.168.2.7: Connection error occurred: \[Errno 54\] Connection reset by peer
INFO Processing unexpected disconnect from ESPHome API for riego @ 192.168.2.7
WARNING Disconnected from API
INFO Successfully connected to riego @ 192.168.2.7 in 0.022s
INFO Successful handshake with riego @ 192.168.2.7 in 0.128s
WARNING riego @ 192.168.2.7: Connection error occurred: \[Errno 54\] Connection reset by peer
INFO Processing unexpected disconnect from ESPHome API for riego @ 192.168.2.7
WARNING Disconnected from API
INFO Successfully connected to riego @ 192.168.2.7 in 0.018s
INFO Successful handshake with riego @ 192.168.2.7 in 0.055s
WARNING riego @ 192.168.2.7: Connection error occurred: \[Errno 54\] Connection reset by peer
INFO Processing unexpected disconnect from ESPHome API for riego @ 192.168.2.7
WARNING Disconnected from API
INFO Successfully connected to riego @ 192.168.2.7 in 0.011s
INFO Successful handshake with riego @ 192.168.2.7 in 0.042s
\[22:20:54\]\[D\]\[irrigation.diagnostics:494\]: DIAG: heap=197228 B | loop=23 ms | rssi=-53.0 dBm | uptime=9488 s | reset=Software Reset CPU
WARNING riego @ 192.168.2.7: Connection error occurred: riego @ 192.168.2.7: EOF received
INFO Processing unexpected disconnect from ESPHome API for riego @ 192.168.2.7
WARNING Disconnected from API
INFO Successfully connected to riego @ 192.168.2.7 in 0.029s
INFO Successful handshake with riego @ 192.168.2.7 in 0.040s
WARNING riego @ 192.168.2.7: Connection error occurred: \[Errno 54\] Connection reset by peer
INFO Processing unexpected disconnect from ESPHome API for riego @ 192.168.2.7
WARNING Disconnected from API
INFO Successfully connected to riego @ 192.168.2.7 in 0.025s
INFO Successful handshake with riego @ 192.168.2.7 in 0.038s
\[22:48:14\]\[D\]\[switch:016\]: 'Relé Línea 3' Turning OFF.
\[22:48:14\]\[D\]\[switch:055\]: 'Relé Línea 3': Sending state OFF
\[22:48:14\]\[I\]\[main:096\]: L3: on_turn_off disparado
\[22:48:14\]\[D\]\[switch:012\]: 'Relé Línea 4' Turning ON.
\[22:48:14\]\[D\]\[switch:055\]: 'Relé Línea 4': Sending state ON
\[22:48:14\]\[I\]\[main:740\]: L4: on_turn_on disparado
\[22:48:14\]\[D\]\[binary_sensor:036\]: 'Fallo actuación Línea 3': Sending state OFF
\[22:48:14\]\[D\]\[binary_sensor:036\]: 'Fallo actuación Línea 4': Sending state ON
\[22:48:14\]\[W\]\[irrigation.hardware:209\]: Line 4 is active but no flow is detected
WARNING riego @ 192.168.2.7: Connection error occurred: riego @ 192.168.2.7: EOF received
INFO Processing unexpected disconnect from ESPHome API for riego @ 192.168.2.7
WARNING Disconnected from API
INFO Successfully connected to riego @ 192.168.2.7 in 0.088s
INFO Successful handshake with riego @ 192.168.2.7 in 0.544s
\[22:50:16\]\[D\]\[irrigation.diagnostics:494\]: DIAG: heap=197216 B | loop=20 ms | rssi=-52.0 dBm | uptime=11588 s | reset=Software Reset CPU
Please use Preformatted Text for logs. For more information, see this post:
Thanks!
Test v1.3.20
Hi, installed v.1.3.20. This is what I see in the logs:
INFO Upload took 12.20 seconds, waiting for result...
INFO OTA successful
INFO Successfully uploaded program.
INFO Starting log output from 192.168.2.7 using esphome API
INFO Successfully connected to riego @ 192.168.2.7 in 7.021s
INFO Successful handshake with riego @ 192.168.2.7 in 0.050s
[23:35:45][I][app:100]: ESPHome version 2024.12.0 compiled on Jul 13 2026, 23:35:15
[23:35:45][C][wifi:600]: WiFi:
[23:35:45][C][wifi:428]: Local MAC: 88:57:21:8F:98:58
[23:35:45][C][wifi:433]: SSID: 'DDR_M1'[redacted]
[23:35:45][C][wifi:436]: IP Address: 192.168.2.7
[23:35:45][C][wifi:440]: BSSID: D8:EC:5E:8F:1B:44[redacted]
[23:35:45][C][wifi:441]: Hostname: 'riego'
[23:35:45][C][wifi:443]: Signal strength: -52 dB ▂▄▆█
[23:35:45][C][wifi:447]: Channel: 5
[23:35:45][C][wifi:448]: Subnet: 255.255.255.0
[23:35:45][C][wifi:449]: Gateway: 192.168.2.2
[23:35:45][C][wifi:450]: DNS1: 192.168.2.2
[23:35:45][C][wifi:451]: DNS2: 1.1.1.1
[23:35:45][C][logger:185]: Logger:
[23:35:45][C][logger:186]: Level: DEBUG
[23:35:45][C][logger:188]: Log Baud Rate: 115200
[23:35:45][C][logger:189]: Hardware UART: UART0
[23:35:45][C][logger:193]: Level for 'pulse_counter': INFO
[23:35:45][C][logger:193]: Level for 'sensor': INFO
[23:35:45][C][logger:193]: Level for 'text_sensor': INFO
[23:35:45][C][template.sensor:022]: Template Sensor 'L1 Litros ciclo actual'
[23:35:45][C][template.sensor:022]: State Class: ''
[23:35:45][C][template.sensor:022]: Unit of Measurement: 'L'
[23:35:45][C][template.sensor:022]: Accuracy Decimals: 2
[23:35:45][C][template.sensor:023]: Update Interval: never
[23:35:45][C][template.sensor:022]: Template Sensor 'L1 Litros último ciclo'
[23:35:45][C][template.sensor:022]: State Class: ''
[23:35:45][C][template.sensor:022]: Unit of Measurement: 'L'
[23:35:45][C][template.sensor:022]: Accuracy Decimals: 2
[23:35:45][C][template.sensor:023]: Update Interval: never
[23:35:45][C][template.sensor:022]: Template Sensor 'L2 Litros ciclo actual'
[23:35:45][C][template.sensor:022]: State Class: ''
[23:35:45][C][template.sensor:022]: Unit of Measurement: 'L'
[23:35:45][C][template.sensor:022]: Accuracy Decimals: 2
[23:35:45][C][template.sensor:023]: Update Interval: never
[23:35:45][C][template.sensor:022]: Template Sensor 'L2 Litros último ciclo'
[23:35:45][C][template.sensor:022]: State Class: ''
[23:35:45][C][template.sensor:022]: Unit of Measurement: 'L'
[23:35:45][C][template.sensor:022]: Accuracy Decimals: 2
[23:35:45][C][template.sensor:023]: Update Interval: never
[23:35:45][C][template.sensor:022]: Template Sensor 'L3 Litros último ciclo'
[23:35:45][C][template.sensor:022]: State Class: ''
[23:35:45][C][template.sensor:022]: Unit of Measurement: 'L'
[23:35:45][C][template.sensor:022]: Accuracy Decimals: 2
[23:35:45][C][template.sensor:023]: Update Interval: never
[23:35:45][C][template.sensor:022]: Template Sensor 'L4 Litros ciclo actual'
[23:35:45][C][template.sensor:022]: State Class: ''
[23:35:45][C][template.sensor:022]: Unit of Measurement: 'L'
[23:35:45][C][template.sensor:022]: Accuracy Decimals: 2
[23:35:45][C][template.sensor:023]: Update Interval: never
[23:35:45][C][template.sensor:022]: Template Sensor 'L4 Litros último ciclo'
[23:35:45][C][template.sensor:022]: State Class: ''
[23:35:45][C][template.sensor:022]: Unit of Measurement: 'L'
[23:35:45][C][template.sensor:022]: Accuracy Decimals: 2
[23:35:45][C][template.sensor:023]: Update Interval: never
[23:35:45][C][template.sensor:022]: Template Sensor 'L5 Litros ciclo actual'
[23:35:45][C][template.sensor:022]: State Class: ''
[23:35:45][C][template.sensor:022]: Unit of Measurement: 'L'
[23:35:45][C][template.sensor:022]: Accuracy Decimals: 2
[23:35:45][C][template.sensor:023]: Update Interval: never
[23:35:45][C][template.sensor:022]: Template Sensor 'L5 Litros último ciclo'
[23:35:45][C][template.sensor:022]: State Class: ''
[23:35:45][C][template.sensor:022]: Unit of Measurement: 'L'
[23:35:45][C][template.sensor:022]: Accuracy Decimals: 2
[23:35:45][C][template.sensor:023]: Update Interval: never
[23:35:45][C][template.sensor:022]: Template Sensor 'L6 Litros ciclo actual'
[23:35:45][C][template.sensor:022]: State Class: ''
[23:35:45][C][template.sensor:022]: Unit of Measurement: 'L'
[23:35:45][C][template.sensor:022]: Accuracy Decimals: 2
[23:35:45][C][template.sensor:023]: Update Interval: never
[23:35:45][C][template.sensor:022]: Template Sensor 'L6 Litros último ciclo'
[23:35:45][C][template.sensor:022]: State Class: ''
[23:35:45][C][template.sensor:022]: Unit of Measurement: 'L'
[23:35:45][C][template.sensor:022]: Accuracy Decimals: 2
[23:35:45][C][template.sensor:023]: Update Interval: never
[23:35:45][C][template.sensor:022]: Template Sensor 'ESP Secuencia error'
[23:35:45][C][template.sensor:022]: State Class: ''
[23:35:45][C][template.sensor:022]: Unit of Measurement: ''
[23:35:45][C][template.sensor:022]: Accuracy Decimals: 0
[23:35:45][C][template.sensor:023]: Update Interval: never
[23:35:45][C][template.sensor:022]: Template Sensor 'box_temp'
[23:35:45][C][template.sensor:022]: State Class: ''
[23:35:45][C][uptime.sensor:033]: Accuracy Decimals: 0
[23:35:45][C][uptime.sensor:033]: Icon: 'mdi:timer-outline'
[23:35:45][C][uptime.sensor:034]: Type: Seconds
[23:35:45][C][template.sensor:022]: Template Sensor 'Temp estimada chip ESP'
[23:35:45][C][template.sensor:022]: State Class: ''
[23:35:45][C][template.sensor:022]: Unit of Measurement: '°C'
[23:35:45][C][template.sensor:022]: Accuracy Decimals: 1
[23:35:45][C][template.sensor:023]: Update Interval: 30.0s
[23:35:45][C][template.binary_sensor:028]: Template Binary Sensor 'Fallo actuación Línea 1'
[23:35:45][C][template.binary_sensor:028]: Template Binary Sensor 'Fuga Línea 1'
[23:35:45][C][template.binary_sensor:028]: Template Binary Sensor 'Fallo actuación Línea 2'
[23:35:45][C][template.binary_sensor:028]: Template Binary Sensor 'Fuga Línea 2'
[23:35:45][C][template.binary_sensor:028]: Template Binary Sensor 'Fallo actuación Línea 3'
[23:35:45][C][template.binary_sensor:028]: Template Binary Sensor 'Fuga Línea 3'
[23:35:46][C][template.binary_sensor:028]: Template Binary Sensor 'Fallo actuación Línea 4'
[23:35:46][C][template.binary_sensor:028]: Template Binary Sensor 'Fuga Línea 4'
[23:35:46][C][template.binary_sensor:028]: Template Binary Sensor 'Fallo actuación Línea 5'
[23:35:46][C][template.binary_sensor:028]: Template Binary Sensor 'Fuga Línea 5'
[23:35:46][C][template.binary_sensor:028]: Template Binary Sensor 'Fallo actuación Línea 6'
[23:35:46][C][template.binary_sensor:028]: Template Binary Sensor 'Fuga Línea 6'
[23:35:46][C][template.binary_sensor:028]: Template Binary Sensor 'Conflicto relés'
[23:35:46][C][template.binary_sensor:028]: Template Binary Sensor 'Sobrecalentamiento ESP'
[23:35:46][C][template.binary_sensor:028]: Device Class: 'heat'
[23:35:46][C][template.text_sensor:020]: Template Sensor 'ESP Nivel error'
[23:35:46][C][template.text_sensor:020]: Template Sensor 'ESP Componente error'
[23:35:46][C][template.text_sensor:020]: Template Sensor 'ESP Último error'
[23:35:46][C][switch.gpio:068]: GPIO Switch 'Relé Línea 1'
[23:35:46][C][switch.gpio:076]: Inverted: YES
[23:35:46][C][switch.gpio:091]: Restore Mode: always OFF
[23:35:46][C][switch.gpio:031]: Pin: GPIO16
[23:35:46][C][switch.gpio:068]: GPIO Switch 'Relé Línea 2'
[23:35:46][C][switch.gpio:076]: Inverted: YES
[23:35:46][C][switch.gpio:091]: Restore Mode: always OFF
[23:35:46][C][switch.gpio:031]: Pin: GPIO17
[23:35:46][C][switch.gpio:068]: GPIO Switch 'Relé Línea 3'
[23:35:46][C][switch.gpio:076]: Inverted: YES
[23:35:46][C][switch.gpio:091]: Restore Mode: always OFF
[23:35:46][C][switch.gpio:031]: Pin: GPIO18
[23:35:46][C][switch.gpio:068]: GPIO Switch 'Relé Línea 4'
[23:35:46][C][switch.gpio:076]: Inverted: YES
[23:35:46][C][switch.gpio:091]: Restore Mode: always OFF
[23:35:46][C][switch.gpio:031]: Pin: GPIO19
[23:35:46][C][switch.gpio:068]: GPIO Switch 'Relé Línea 5'
[23:35:46][C][switch.gpio:076]: Inverted: YES
[23:35:46][C][switch.gpio:091]: Restore Mode: always OFF
[23:35:46][C][switch.gpio:031]: Pin: GPIO21
[23:35:46][C][switch.gpio:068]: GPIO Switch 'Relé Línea 6'
[23:35:46][C][switch.gpio:076]: Inverted: YES
[23:35:46][C][switch.gpio:091]: Restore Mode: always OFF
[23:35:46][C][switch.gpio:031]: Pin: GPIO22
[23:35:46][C][internal_temperature:125]: Internal Temperature Sensor 'ESP Internal Temp'
[23:35:46][C][internal_temperature:125]: Device Class: 'temperature'
[23:35:46][C][internal_temperature:125]: State Class: 'measurement'
[23:35:46][C][internal_temperature:125]: Unit of Measurement: '°C'
[23:35:46][C][internal_temperature:125]: Accuracy Decimals: 1
[23:35:46][C][captive_portal:089]: Captive Portal:
[23:35:46][C][web_server:153]: Web Server:
[23:35:46][C][web_server:154]: Address: 192.168.2.7:80
[23:35:46][C][mdns:116]: mDNS:
[23:35:46][C][mdns:117]: Hostname: riego
[23:35:46][C][esphome.ota:073]: Over-The-Air updates:
[23:35:46][C][esphome.ota:074]: Address: 192.168.2.7:3232
[23:35:46][C][esphome.ota:075]: Version: 2
[23:35:46][C][esphome.ota:078]: Password configured
[23:35:46][C][safe_mode:018]: Safe Mode:
[23:35:46][C][safe_mode:020]: Boot considered successful after 60 seconds
[23:35:46][C][safe_mode:021]: Invoke after 5 boot attempts
[23:35:46][C][safe_mode:023]: Remain in safe mode for 180 seconds
[23:35:46][C][api:140]: API Server:
[23:35:46][C][api:141]: Address: 192.168.2.7:6053
[23:35:46][C][api:145]: Using noise encryption: NO
[23:35:46][C][debug:021]: Debug component:
[23:35:46][C][debug:026]: Free space on heap 'Heap libre'
[23:35:46][C][debug:026]: State Class: ''
[23:35:46][C][debug:026]: Unit of Measurement: 'B'
[23:35:46][C][debug:026]: Accuracy Decimals: 0
[23:35:46][C][debug:026]: Icon: 'mdi:counter'
[23:35:46][D][debug:035]: ESPHome version 2024.12.0
[23:35:46][D][debug:039]: Free Heap Size: 192768 bytes
[23:35:46][D][debug:170]: Flash Chip: Size=4096kB Speed=40MHz Mode=DIO
[23:35:46][D][debug:218]: Chip: Model=ESP32, Features=WIFI_BGN,BLE,BT, Cores=2, Revision=3
[23:35:46][D][debug:226]: ESP-IDF Version: v4.4.2
[23:35:46][D][debug:231]: EFuse MAC: 88:57:21:8F:98:58
[23:35:46][D][debug:137]: Reset Reason: Software Reset CPU
[23:35:46][D][debug:279]: Wakeup Reason: Unknown
[23:35:46][D][debug:137]: Reset Reason: Software Reset CPU
[23:35:46][D][binary_sensor:036]: 'Fuga Línea 1': Sending state OFF
[23:35:46][D][binary_sensor:036]: 'Fuga Línea 2': Sending state OFF
[23:35:46][D][binary_sensor:036]: 'Fuga Línea 6': Sending state OFF
[23:35:46][D][binary_sensor:036]: 'Fuga Línea 5': Sending state OFF
[23:35:46][D][binary_sensor:036]: 'Fuga Línea 4': Sending state OFF
[23:35:46][D][binary_sensor:036]: 'Fuga Línea 3': Sending state OFF
[23:36:36][I][safe_mode:041]: Boot seems successful; resetting boot loop counter
[23:36:36][D][esp32.preferences:114]: Saving 1 preferences to flash...
[23:36:36][D][esp32.preferences:143]: Saving 1 preferences to flash: 0 cached, 1 written, 0 failed
[23:38:41][D][irrigation.diagnostics:505]: DIAG: heap=197552 B | loop=7345 ms | rssi=-52.0 dBm | uptime=0 s | reset=Software Reset CPU
[23:43:41][D][irrigation.diagnostics:505]: DIAG: heap=197516 B | loop=27 ms | rssi=-51.0 dBm | uptime=196 s | reset=Software Reset CPU
[23:48:41][D][irrigation.diagnostics:505]: DIAG: heap=197516 B | loop=26 ms | rssi=-51.0 dBm | uptime=496 s | reset=Software Reset CPU
WARNING riego @ 192.168.2.7: Connection error occurred: [Errno 54] Connection reset by peer
INFO Processing unexpected disconnect from ESPHome API for riego @ 192.168.2.7
WARNING Disconnected from API
INFO Successfully connected to riego @ 192.168.2.7 in 0.016s
INFO Successful handshake with riego @ 192.168.2.7 in 0.066s
WARNING riego @ 192.168.2.7: Connection error occurred: [Errno 54] Connection reset by peer
INFO Processing unexpected disconnect from ESPHome API for riego @ 192.168.2.7
WARNING Disconnected from API
INFO Successfully connected to riego @ 192.168.2.7 in 0.146s
INFO Successful handshake with riego @ 192.168.2.7 in 0.171s
WARNING riego @ 192.168.2.7: Connection error occurred: [Errno 54] Connection reset by peer
INFO Processing unexpected disconnect from ESPHome API for riego @ 192.168.2.7
WARNING Disconnected from API
INFO Successfully connected to riego @ 192.168.2.7 in 0.014s
INFO Successful handshake with riego @ 192.168.2.7 in 0.038s
WARNING riego @ 192.168.2.7: Connection error occurred: [Errno 54] Connection reset by peer
INFO Processing unexpected disconnect from ESPHome API for riego @ 192.168.2.7
WARNING Disconnected from API
INFO Successfully connected to riego @ 192.168.2.7 in 0.016s
INFO Successful handshake with riego @ 192.168.2.7 in 0.036s
WARNING riego @ 192.168.2.7: Connection error occurred: [Errno 54] Connection reset by peer
INFO Processing unexpected disconnect from ESPHome API for riego @ 192.168.2.7
WARNING Disconnected from API
INFO Successfully connected to riego @ 192.168.2.7 in 0.148s
INFO Successful handshake with riego @ 192.168.2.7 in 0.171s
WARNING riego @ 192.168.2.7: Connection error occurred: [Errno 54] Connection reset by peer
INFO Processing unexpected disconnect from ESPHome API for riego @ 192.168.2.7
WARNING Disconnected from API
INFO Successfully connected to riego @ 192.168.2.7 in 0.026s
INFO Successful handshake with riego @ 192.168.2.7 in 0.243s
WARNING riego @ 192.168.2.7: Connection error occurred: [Errno 54] Connection reset by peer
INFO Processing unexpected disconnect from ESPHome API for riego @ 192.168.2.7
WARNING Disconnected from API
INFO Successfully connected to riego @ 192.168.2.7 in 0.017s
INFO Successful handshake with riego @ 192.168.2.7 in 0.042s
WARNING riego @ 192.168.2.7: Connection error occurred: [Errno 54] Connection reset by peer
INFO Processing unexpected disconnect from ESPHome API for riego @ 192.168.2.7
WARNING Disconnected from API
INFO Successfully connected to riego @ 192.168.2.7 in 0.015s
INFO Successful handshake with riego @ 192.168.2.7 in 0.083s
WARNING riego @ 192.168.2.7: Connection error occurred: [Errno 54] Connection reset by peer
INFO Processing unexpected disconnect from ESPHome API for riego @ 192.168.2.7
WARNING Disconnected from API
INFO Successfully connected to riego @ 192.168.2.7 in 0.012s
INFO Successful handshake with riego @ 192.168.2.7 in 0.044s
WARNING riego @ 192.168.2.7: Connection error occurred: [Errno 54] Connection reset by peer
INFO Processing unexpected disconnect from ESPHome API for riego @ 192.168.2.7
WARNING Disconnected from API
INFO Successfully connected to riego @ 192.168.2.7 in 0.009s
INFO Successful handshake with riego @ 192.168.2.7 in 0.142s
WARNING riego @ 192.168.2.7: Connection error occurred: [Errno 54] Connection reset by peer
INFO Processing unexpected disconnect from ESPHome API for riego @ 192.168.2.7
WARNING Disconnected from API
INFO Successfully connected to riego @ 192.168.2.7 in 0.022s
INFO Successful handshake with riego @ 192.168.2.7 in 0.041s
WARNING riego @ 192.168.2.7: Connection error occurred: [Errno 54] Connection reset by peer
INFO Processing unexpected disconnect from ESPHome API for riego @ 192.168.2.7
WARNING Disconnected from API
INFO Successfully connected to riego @ 192.168.2.7 in 0.013s
INFO Successful handshake with riego @ 192.168.2.7 in 0.044s
WARNING riego @ 192.168.2.7: Connection error occurred: [Errno 54] Connection reset by peer
INFO Processing unexpected disconnect from ESPHome API for riego @ 192.168.2.7
WARNING Disconnected from API
INFO Successfully connected to riego @ 192.168.2.7 in 0.048s
INFO Successful handshake with riego @ 192.168.2.7 in 0.252s
WARNING riego @ 192.168.2.7: Connection error occurred: [Errno 54] Connection reset by peer
INFO Processing unexpected disconnect from ESPHome API for riego @ 192.168.2.7
WARNING Disconnected from API
INFO Successfully connected to riego @ 192.168.2.7 in 0.016s
INFO Successful handshake with riego @ 192.168.2.7 in 0.038s
WARNING riego @ 192.168.2.7: Connection error occurred: [Errno 54] Connection reset by peer
INFO Processing unexpected disconnect from ESPHome API for riego @ 192.168.2.7
WARNING Disconnected from API
INFO Successfully connected to riego @ 192.168.2.7 in 0.012s
INFO Successful handshake with riego @ 192.168.2.7 in 0.038s
WARNING riego @ 192.168.2.7: Connection error occurred: [Errno 54] Connection reset by peer
INFO Processing unexpected disconnect from ESPHome API for riego @ 192.168.2.7
WARNING Disconnected from API
INFO Successfully connected to riego @ 192.168.2.7 in 0.382s
INFO Successful handshake with riego @ 192.168.2.7 in 2.273s
WARNING riego @ 192.168.2.7: Connection error occurred: [Errno 54] Connection reset by peer
INFO Processing unexpected disconnect from ESPHome API for riego @ 192.168.2.7
WARNING Disconnected from API
INFO Successfully connected to riego @ 192.168.2.7 in 0.227s
INFO Successful handshake with riego @ 192.168.2.7 in 0.265s
[04:23:41][D][irrigation.diagnostics:505]: DIAG: heap=194924 B | loop=23 ms | rssi=-51.0 dBm | uptime=16996 s | reset=Software Reset CPU
WARNING riego @ 192.168.2.7: Connection error occurred: [Errno 54] Connection reset by peer
INFO Processing unexpected disconnect from ESPHome API for riego @ 192.168.2.7
WARNING Disconnected from API
INFO Successfully connected to riego @ 192.168.2.7 in 0.013s
INFO Successful handshake with riego @ 192.168.2.7 in 0.150s
WARNING riego @ 192.168.2.7: Connection error occurred: [Errno 54] Connection reset by peer
INFO Processing unexpected disconnect from ESPHome API for riego @ 192.168.2.7
WARNING Disconnected from API
INFO Successfully connected to riego @ 192.168.2.7 in 0.145s
INFO Successful handshake with riego @ 192.168.2.7 in 0.237s
WARNING riego @ 192.168.2.7: Connection error occurred: [Errno 54] Connection reset by peer
INFO Processing unexpected disconnect from ESPHome API for riego @ 192.168.2.7
WARNING Disconnected from API
INFO Successfully connected to riego @ 192.168.2.7 in 0.011s
INFO Successful handshake with riego @ 192.168.2.7 in 0.048s
WARNING riego @ 192.168.2.7: Connection error occurred: [Errno 54] Connection reset by peer
INFO Processing unexpected disconnect from ESPHome API for riego @ 192.168.2.7
WARNING Disconnected from API
INFO Successfully connected to riego @ 192.168.2.7 in 0.012s
INFO Successful handshake with riego @ 192.168.2.7 in 0.143s
[05:28:41][D][irrigation.diagnostics:505]: DIAG: heap=194944 B | loop=23 ms | rssi=-52.0 dBm | uptime=20896 s | reset=Software Reset CPU
WARNING riego @ 192.168.2.7: Connection error occurred: [Errno 54] Connection reset by peer
INFO Processing unexpected disconnect from ESPHome API for riego @ 192.168.2.7
WARNING Disconnected from API
INFO Successfully connected to riego @ 192.168.2.7 in 0.013s
INFO Successful handshake with riego @ 192.168.2.7 in 0.118s
WARNING riego @ 192.168.2.7: Connection error occurred: [Errno 54] Connection reset by peer
INFO Processing unexpected disconnect from ESPHome API for riego @ 192.168.2.7
WARNING Disconnected from API
INFO Successfully connected to riego @ 192.168.2.7 in 0.027s
INFO Successful handshake with riego @ 192.168.2.7 in 0.067s
WARNING riego @ 192.168.2.7: Connection error occurred: [Errno 54] Connection reset by peer
INFO Processing unexpected disconnect from ESPHome API for riego @ 192.168.2.7
WARNING Disconnected from API
INFO Successfully connected to riego @ 192.168.2.7 in 0.014s
INFO Successful handshake with riego @ 192.168.2.7 in 0.038s
[06:03:41][D][irrigation.diagnostics:505]: DIAG: heap=194944 B | loop=23 ms | rssi=-51.0 dBm | uptime=22996 s | reset=Software Reset CPU
WARNING riego @ 192.168.2.7: Connection error occurred: [Errno 54] Connection reset by peer
INFO Processing unexpected disconnect from ESPHome API for riego @ 192.168.2.7
WARNING Disconnected from API
INFO Successfully connected to riego @ 192.168.2.7 in 0.140s
INFO Successful handshake with riego @ 192.168.2.7 in 0.179s
WARNING riego @ 192.168.2.7: Connection error occurred: [Errno 54] Connection reset by peer
INFO Processing unexpected disconnect from ESPHome API for riego @ 192.168.2.7
WARNING Disconnected from API
INFO Successfully connected to riego @ 192.168.2.7 in 0.146s
INFO Successful handshake with riego @ 192.168.2.7 in 0.184s
[06:40:41][D][irrigation.diagnostics:505]: DIAG: heap=195848 B | loop=23 ms | rssi=-51.0 dBm | uptime=25096 s | reset=Software Reset CPU
WARNING riego @ 192.168.2.7: Connection error occurred: riego @ 192.168.2.7: EOF received
INFO Processing unexpected disconnect from ESPHome API for riego @ 192.168.2.7
WARNING Disconnected from API
INFO Successfully connected to riego @ 192.168.2.7 in 0.021s
INFO Successful handshake with riego @ 192.168.2.7 in 0.058s
WARNING riego @ 192.168.2.7: Connection error occurred: riego @ 192.168.2.7: EOF received
INFO Processing unexpected disconnect from ESPHome API for riego @ 192.168.2.7
WARNING Disconnected from API
INFO Successfully connected to riego @ 192.168.2.7 in 0.020s
INFO Successful handshake with riego @ 192.168.2.7 in 0.040s
WARNING riego @ 192.168.2.7: Connection error occurred: [Errno 54] Connection reset by peer
INFO Processing unexpected disconnect from ESPHome API for riego @ 192.168.2.7
WARNING Disconnected from API
INFO Successfully connected to riego @ 192.168.2.7 in 0.019s
INFO Successful handshake with riego @ 192.168.2.7 in 0.126s
WARNING riego @ 192.168.2.7: Connection error occurred: [Errno 54] Connection reset by peer
INFO Processing unexpected disconnect from ESPHome API for riego @ 192.168.2.7
WARNING Disconnected from API
INFO Successfully connected to riego @ 192.168.2.7 in 1.018s
INFO Successful handshake with riego @ 192.168.2.7 in 0.046s
WARNING riego @ 192.168.2.7: Connection error occurred: [Errno 54] Connection reset by peer
INFO Processing unexpected disconnect from ESPHome API for riego @ 192.168.2.7
WARNING Disconnected from API
INFO Successfully connected to riego @ 192.168.2.7 in 0.013s
INFO Successful handshake with riego @ 192.168.2.7 in 0.231s
WARNING riego @ 192.168.2.7: Connection error occurred: [Errno 54] Connection reset by peer
INFO Processing unexpected disconnect from ESPHome API for riego @ 192.168.2.7
WARNING Disconnected from API
INFO Successfully connected to riego @ 192.168.2.7 in 0.146s
INFO Successful handshake with riego @ 192.168.2.7 in 0.179s
WARNING riego @ 192.168.2.7: Connection error occurred: [Errno 54] Connection reset by peer
INFO Processing unexpected disconnect from ESPHome API for riego @ 192.168.2.7
WARNING Disconnected from API
INFO Successfully connected to riego @ 192.168.2.7 in 0.012s
INFO Successful handshake with riego @ 192.168.2.7 in 0.036s
WARNING riego @ 192.168.2.7: Connection error occurred: [Errno 54] Connection reset by peer
INFO Processing unexpected disconnect from ESPHome API for riego @ 192.168.2.7
WARNING Disconnected from API
INFO Successfully connected to riego @ 192.168.2.7 in 0.017s
INFO Successful handshake with riego @ 192.168.2.7 in 0.036s
WARNING riego @ 192.168.2.7: Connection error occurred: [Errno 60] Operation timed out
INFO Processing unexpected disconnect from ESPHome API for riego @ 192.168.2.7
WARNING Disconnected from API
[quote="Daniel_de_los_Reyes, post:288, topic:150421"]
`INFO Upload took 12.20 seconds, waiting for result...`
`INFO OTA successful`
`INFO Successfully uploaded program.`
`INFO Starting log output from 192.168.2.7 using esphome API`
`INFO Successfully connected to riego @ 192.168.2.7 in 7.021s`
`INFO Successful handshake with riego @ 192.168.2.7 in 0.050s`
`[23:35:45][I][app:100]: ESPHome version 2024.12.0 compiled on Jul 13 2026, 23:35:15`
`[23:35:45][C][wifi:600]: WiFi:`
`[23:35:45][C][wifi:428]: Local MAC: 88:57:21:8F:98:58`
`[23:35:45][C][wifi:433]: SSID: 'DDR_M1'[redacted]`
`[23:35:45][C][wifi:436]: IP Address: 192.168.2.7`
`[23:35:45][C][wifi:440]: BSSID: D8:EC:5E:8F:1B:44[redacted]`
`[23:35:45][C][wifi:441]: Hostname: 'riego'`
`[23:35:45][C][wifi:443]: Signal strength: -52 dB ▂▄▆█`
`[23:35:45][C][wifi:447]: Channel: 5`
`[23:35:45][C][wifi:448]: Subnet: 255.255.255.0`
`[23:35:45][C][wifi:449]: Gateway: 192.168.2.2`
`[23:35:45][C][wifi:450]: DNS1: 192.168.2.2`
`[23:35:45][C][wifi:451]: DNS2: 1.1.1.1`
`[23:35:45][C][logger:185]: Logger:`
`[23:35:45][C][logger:186]: Level: DEBUG`
`[23:35:45][C][logger:188]: Log Baud Rate: 115200`
`[23:35:45][C][logger:189]: Hardware UART: UART0`
`[23:35:45][C][logger:193]: Level for 'pulse_counter': INFO`
`[23:35:45][C][logger:193]: Level for 'sensor': INFO`
`[23:35:45][C][logger:193]: Level for 'text_sensor': INFO`
`[23:35:45][C][template.sensor:022]: Template Sensor 'L1 Litros ciclo actual'`
`[23:35:45][C][template.sensor:022]: State Class: ''`
`[23:35:45][C][template.sensor:022]: Unit of Measurement: 'L'`
`[23:35:45][C][template.sensor:022]: Accuracy Decimals: 2`
`[23:35:45][C][template.sensor:023]: Update Interval: never`
`[23:35:45][C][template.sensor:022]: Template Sensor 'L1 Litros último ciclo'`
`[23:35:45][C][template.sensor:022]: State Class: ''`
`[23:35:45][C][template.sensor:022]: Unit of Measurement: 'L'`
`[23:35:45][C][template.sensor:022]: Accuracy Decimals: 2`
`[23:35:45][C][template.sensor:023]: Update Interval: never`
`[23:35:45][C][template.sensor:022]: Template Sensor 'L2 Litros ciclo actual'`
`[23:35:45][C][template.sensor:022]: State Class: ''`
`[23:35:45][C][template.sensor:022]: Unit of Measurement: 'L'`
`[23:35:45][C][template.sensor:022]: Accuracy Decimals: 2`
`[23:35:45][C][template.sensor:023]: Update Interval: never`
`[23:35:45][C][template.sensor:022]: Template Sensor 'L2 Litros último ciclo'`
`[23:35:45][C][template.sensor:022]: State Class: ''`
`[23:35:45][C][template.sensor:022]: Unit of Measurement: 'L'`
`[23:35:45][C][template.sensor:022]: Accuracy Decimals: 2`
`[23:35:45][C][template.sensor:023]: Update Interval: never`
`[23:35:45][C][template.sensor:022]: Template Sensor 'L3 Litros último ciclo'`
`[23:35:45][C][template.sensor:022]: State Class: ''`
`[23:35:45][C][template.sensor:022]: Unit of Measurement: 'L'`
`[23:35:45][C][template.sensor:022]: Accuracy Decimals: 2`
`[23:35:45][C][template.sensor:023]: Update Interval: never`
`[23:35:45][C][template.sensor:022]: Template Sensor 'L4 Litros ciclo actual'`
`[23:35:45][C][template.sensor:022]: State Class: ''`
`[23:35:45][C][template.sensor:022]: Unit of Measurement: 'L'`
`[23:35:45][C][template.sensor:022]: Accuracy Decimals: 2`
`[23:35:45][C][template.sensor:023]: Update Interval: never`
`[23:35:45][C][template.sensor:022]: Template Sensor 'L4 Litros último ciclo'`
`[23:35:45][C][template.sensor:022]: State Class: ''`
`[23:35:45][C][template.sensor:022]: Unit of Measurement: 'L'`
`[23:35:45][C][template.sensor:022]: Accuracy Decimals: 2`
`[23:35:45][C][template.sensor:023]: Update Interval: never`
`[23:35:45][C][template.sensor:022]: Template Sensor 'L5 Litros ciclo actual'`
`[23:35:45][C][template.sensor:022]: State Class: ''`
`[23:35:45][C][template.sensor:022]: Unit of Measurement: 'L'`
`[23:35:45][C][template.sensor:022]: Accuracy Decimals: 2`
`[23:35:45][C][template.sensor:023]: Update Interval: never`
`[23:35:45][C][template.sensor:022]: Template Sensor 'L5 Litros último ciclo'`
`[23:35:45][C][template.sensor:022]: State Class: ''`
`[23:35:45][C][template.sensor:022]: Unit of Measurement: 'L'`
`[23:35:45][C][template.sensor:022]: Accuracy Decimals: 2`
`[23:35:45][C][template.sensor:023]: Update Interval: never`
`[23:35:45][C][template.sensor:022]: Template Sensor 'L6 Litros ciclo actual'`
`[23:35:45][C][template.sensor:022]: State Class: ''`
`[23:35:45][C][template.sensor:022]: Unit of Measurement: 'L'`
`[23:35:45][C][template.sensor:022]: Accuracy Decimals: 2`
`[23:35:45][C][template.sensor:023]: Update Interval: never`
`[23:35:45][C][template.sensor:022]: Template Sensor 'L6 Litros último ciclo'`
`[23:35:45][C][template.sensor:022]: State Class: ''`
`[23:35:45][C][template.sensor:022]: Unit of Measurement: 'L'`
`[23:35:45][C][template.sensor:022]: Accuracy Decimals: 2`
`[23:35:45][C][template.sensor:023]: Update Interval: never`
`[23:35:45][C][template.sensor:022]: Template Sensor 'ESP Secuencia error'`
`[23:35:45][C][template.sensor:022]: State Class: ''`
`[23:35:45][C][template.sensor:022]: Unit of Measurement: ''`
`[23:35:45][C][template.sensor:022]: Accuracy Decimals: 0`
`[23:35:45][C][template.sensor:023]: Update Interval: never`
`[23:35:45][C][template.sensor:022]: Template Sensor 'box_temp'`
`[23:35:45][C][template.sensor:022]: State Class: ''`
`[23:35:45][C][uptime.sensor:033]: Accuracy Decimals: 0`
`[23:35:45][C][uptime.sensor:033]: Icon: 'mdi:timer-outline'`
`[23:35:45][C][uptime.sensor:034]: Type: Seconds`
`[23:35:45][C][template.sensor:022]: Template Sensor 'Temp estimada chip ESP'`
`[23:35:45][C][template.sensor:022]: State Class: ''`
`[23:35:45][C][template.sensor:022]: Unit of Measurement: '°C'`
`[23:35:45][C][template.sensor:022]: Accuracy Decimals: 1`
`[23:35:45][C][template.sensor:023]: Update Interval: 30.0s`
`[23:35:45][C][template.binary_sensor:028]: Template Binary Sensor 'Fallo actuación Línea 1'`
`[23:35:45][C][template.binary_sensor:028]: Template Binary Sensor 'Fuga Línea 1'`
`[23:35:45][C][template.binary_sensor:028]: Template Binary Sensor 'Fallo actuación Línea 2'`
`[23:35:45][C][template.binary_sensor:028]: Template Binary Sensor 'Fuga Línea 2'`
`[23:35:45][C][template.binary_sensor:028]: Template Binary Sensor 'Fallo actuación Línea 3'`
`[23:35:45][C][template.binary_sensor:028]: Template Binary Sensor 'Fuga Línea 3'`
`[23:35:46][C][template.binary_sensor:028]: Template Binary Sensor 'Fallo actuación Línea 4'`
`[23:35:46][C][template.binary_sensor:028]: Template Binary Sensor 'Fuga Línea 4'`
`[23:35:46][C][template.binary_sensor:028]: Template Binary Sensor 'Fallo actuación Línea 5'`
`[23:35:46][C][template.binary_sensor:028]: Template Binary Sensor 'Fuga Línea 5'`
`[23:35:46][C][template.binary_sensor:028]: Template Binary Sensor 'Fallo actuación Línea 6'`
`[23:35:46][C][template.binary_sensor:028]: Template Binary Sensor 'Fuga Línea 6'`
`[23:35:46][C][template.binary_sensor:028]: Template Binary Sensor 'Conflicto relés'`
`[23:35:46][C][template.binary_sensor:028]: Template Binary Sensor 'Sobrecalentamiento ESP'`
`[23:35:46][C][template.binary_sensor:028]: Device Class: 'heat'`
`[23:35:46][C][template.text_sensor:020]: Template Sensor 'ESP Nivel error'`
`[23:35:46][C][template.text_sensor:020]: Template Sensor 'ESP Componente error'`
`[23:35:46][C][template.text_sensor:020]: Template Sensor 'ESP Último error'`
`[23:35:46][C][switch.gpio:068]: GPIO Switch 'Relé Línea 1'`
`[23:35:46][C][switch.gpio:076]: Inverted: YES`
`[23:35:46][C][switch.gpio:091]: Restore Mode: always OFF`
`[23:35:46][C][switch.gpio:031]: Pin: GPIO16`
`[23:35:46][C][switch.gpio:068]: GPIO Switch 'Relé Línea 2'`
`[23:35:46][C][switch.gpio:076]: Inverted: YES`
`[23:35:46][C][switch.gpio:091]: Restore Mode: always OFF`
`[23:35:46][C][switch.gpio:031]: Pin: GPIO17`
`[23:35:46][C][switch.gpio:068]: GPIO Switch 'Relé Línea 3'`
`[23:35:46][C][switch.gpio:076]: Inverted: YES`
`[23:35:46][C][switch.gpio:091]: Restore Mode: always OFF`
`[23:35:46][C][switch.gpio:031]: Pin: GPIO18`
`[23:35:46][C][switch.gpio:068]: GPIO Switch 'Relé Línea 4'`
`[23:35:46][C][switch.gpio:076]: Inverted: YES`
`[23:35:46][C][switch.gpio:091]: Restore Mode: always OFF`
`[23:35:46][C][switch.gpio:031]: Pin: GPIO19`
`[23:35:46][C][switch.gpio:068]: GPIO Switch 'Relé Línea 5'`
`[23:35:46][C][switch.gpio:076]: Inverted: YES`
`[23:35:46][C][switch.gpio:091]: Restore Mode: always OFF`
`[23:35:46][C][switch.gpio:031]: Pin: GPIO21`
`[23:35:46][C][switch.gpio:068]: GPIO Switch 'Relé Línea 6'`
`[23:35:46][C][switch.gpio:076]: Inverted: YES`
`[23:35:46][C][switch.gpio:091]: Restore Mode: always OFF`
`[23:35:46][C][switch.gpio:031]: Pin: GPIO22`
`[23:35:46][C][internal_temperature:125]: Internal Temperature Sensor 'ESP Internal Temp'`
`[23:35:46][C][internal_temperature:125]: Device Class: 'temperature'`
`[23:35:46][C][internal_temperature:125]: State Class: 'measurement'`
`[23:35:46][C][internal_temperature:125]: Unit of Measurement: '°C'`
`[23:35:46][C][internal_temperature:125]: Accuracy Decimals: 1`
`[23:35:46][C][captive_portal:089]: Captive Portal:`
`[23:35:46][C][web_server:153]: Web Server:`
`[23:35:46][C][web_server:154]: Address: 192.168.2.7:80`
`[23:35:46][C][mdns:116]: mDNS:`
`[23:35:46][C][mdns:117]: Hostname: riego`
`[23:35:46][C][esphome.ota:073]: Over-The-Air updates:`
`[23:35:46][C][esphome.ota:074]: Address: 192.168.2.7:3232`
`[23:35:46][C][esphome.ota:075]: Version: 2`
`[23:35:46][C][esphome.ota:078]: Password configured`
`[23:35:46][C][safe_mode:018]: Safe Mode:`
`[23:35:46][C][safe_mode:020]: Boot considered successful after 60 seconds`
`[23:35:46][C][safe_mode:021]: Invoke after 5 boot attempts`
`[23:35:46][C][safe_mode:023]: Remain in safe mode for 180 seconds`
`[23:35:46][C][api:140]: API Server:`
`[23:35:46][C][api:141]: Address: 192.168.2.7:6053`
`[23:35:46][C][api:145]: Using noise encryption: NO`
`[23:35:46][C][debug:021]: Debug component:`
`[23:35:46][C][debug:026]: Free space on heap 'Heap libre'`
`[23:35:46][C][debug:026]: State Class: ''`
`[23:35:46][C][debug:026]: Unit of Measurement: 'B'`
`[23:35:46][C][debug:026]: Accuracy Decimals: 0`
`[23:35:46][C][debug:026]: Icon: 'mdi:counter'`
`[23:35:46][D][debug:035]: ESPHome version 2024.12.0`
`[23:35:46][D][debug:039]: Free Heap Size: 192768 bytes`
`[23:35:46][D][debug:170]: Flash Chip: Size=4096kB Speed=40MHz Mode=DIO`
`[23:35:46][D][debug:218]: Chip: Model=ESP32, Features=WIFI_BGN,BLE,BT, Cores=2, Revision=3`
`[23:35:46][D][debug:226]: ESP-IDF Version: v4.4.2`
`[23:35:46][D][debug:231]: EFuse MAC: 88:57:21:8F:98:58`
`[23:35:46][D][debug:137]: Reset Reason: Software Reset CPU`
`[23:35:46][D][debug:279]: Wakeup Reason: Unknown`
`[23:35:46][D][debug:137]: Reset Reason: Software Reset CPU`
`[23:35:46][D][binary_sensor:036]: 'Fuga Línea 1': Sending state OFF`
`[23:35:46][D][binary_sensor:036]: 'Fuga Línea 2': Sending state OFF`
`[23:35:46][D][binary_sensor:036]: 'Fuga Línea 6': Sending state OFF`
`[23:35:46][D][binary_sensor:036]: 'Fuga Línea 5': Sending state OFF`
`[23:35:46][D][binary_sensor:036]: 'Fuga Línea 4': Sending state OFF`
`[23:35:46][D][binary_sensor:036]: 'Fuga Línea 3': Sending state OFF`
`[23:36:36][I][safe_mode:041]: Boot seems successful; resetting boot loop counter`
`[23:36:36][D][esp32.preferences:114]: Saving 1 preferences to flash...`
`[23:36:36][D][esp32.preferences:143]: Saving 1 preferences to flash: 0 cached, 1 written, 0 failed`
`[23:38:41][D][irrigation.diagnostics:505]: DIAG: heap=197552 B | loop=7345 ms | rssi=-52.0 dBm | uptime=0 s | reset=Software Reset CPU`
`[23:43:41][D][irrigation.diagnostics:505]: DIAG: heap=197516 B | loop=27 ms | rssi=-51.0 dBm | uptime=196 s | reset=Software Reset CPU`
`[23:48:41][D][irrigation.diagnostics:505]: DIAG: heap=197516 B | loop=26 ms | rssi=-51.0 dBm | uptime=496 s | reset=Software Reset CPU`
`WARNING riego @ 192.168.2.7: Connection error occurred: [Errno 54] Connection reset by peer`
`INFO Processing unexpected disconnect from ESPHome API for riego @ 192.168.2.7`
`WARNING Disconnected from API`
`INFO Successfully connected to riego @ 192.168.2.7 in 0.016s`
`INFO Successful handshake with riego @ 192.168.2.7 in 0.066s`
`WARNING riego @ 192.168.2.7: Connection error occurred: [Errno 54] Connection reset by peer`
`INFO Processing unexpected disconnect from ESPHome API for riego @ 192.168.2.7`
`WARNING Disconnected from API`
`INFO Successfully connected to riego @ 192.168.2.7 in 0.146s`
`INFO Successful handshake with riego @ 192.168.2.7 in 0.171s`
`WARNING riego @ 192.168.2.7: Connection error occurred: [Errno 54] Connection reset by peer`
`INFO Processing unexpected disconnect from ESPHome API for riego @ 192.168.2.7`
`WARNING Disconnected from API`
`INFO Successfully connected to riego @ 192.168.2.7 in 0.014s`
`INFO Successful handshake with riego @ 192.168.2.7 in 0.038s`
`WARNING riego @ 192.168.2.7: Connection error occurred: [Errno 54] Connection reset by peer`
`INFO Processing unexpected disconnect from ESPHome API for riego @ 192.168.2.7`
`WARNING Disconnected from API`
`INFO Successfully connected to riego @ 192.168.2.7 in 0.016s`
`INFO Successful handshake with riego @ 192.168.2.7 in 0.036s`
`WARNING riego @ 192.168.2.7: Connection error occurred: [Errno 54] Connection reset by peer`
`INFO Processing unexpected disconnect from ESPHome API for riego @ 192.168.2.7`
`WARNING Disconnected from API`
`INFO Successfully connected to riego @ 192.168.2.7 in 0.148s`
`INFO Successful handshake with riego @ 192.168.2.7 in 0.171s`
`WARNING riego @ 192.168.2.7: Connection error occurred: [Errno 54] Connection reset by peer`
`INFO Processing unexpected disconnect from ESPHome API for riego @ 192.168.2.7`
`WARNING Disconnected from API`
`INFO Successfully connected to riego @ 192.168.2.7 in 0.026s`
`INFO Successful handshake with riego @ 192.168.2.7 in 0.243s`
`WARNING riego @ 192.168.2.7: Connection error occurred: [Errno 54] Connection reset by peer`
`INFO Processing unexpected disconnect from ESPHome API for riego @ 192.168.2.7`
`WARNING Disconnected from API`
`INFO Successfully connected to riego @ 192.168.2.7 in 0.017s`
`INFO Successful handshake with riego @ 192.168.2.7 in 0.042s`
`WARNING riego @ 192.168.2.7: Connection error occurred: [Errno 54] Connection reset by peer`
`INFO Processing unexpected disconnect from ESPHome API for riego @ 192.168.2.7`
`WARNING Disconnected from API`
`INFO Successfully connected to riego @ 192.168.2.7 in 0.015s`
`INFO Successful handshake with riego @ 192.168.2.7 in 0.083s`
`WARNING riego @ 192.168.2.7: Connection error occurred: [Errno 54] Connection reset by peer`
`INFO Processing unexpected disconnect from ESPHome API for riego @ 192.168.2.7`
`WARNING Disconnected from API`
`INFO Successfully connected to riego @ 192.168.2.7 in 0.012s`
`INFO Successful handshake with riego @ 192.168.2.7 in 0.044s`
`WARNING riego @ 192.168.2.7: Connection error occurred: [Errno 54] Connection reset by peer`
`INFO Processing unexpected disconnect from ESPHome API for riego @ 192.168.2.7`
`WARNING Disconnected from API`
`INFO Successfully connected to riego @ 192.168.2.7 in 0.009s`
`INFO Successful handshake with riego @ 192.168.2.7 in 0.142s`
`WARNING riego @ 192.168.2.7: Connection error occurred: [Errno 54] Connection reset by peer`
`INFO Processing unexpected disconnect from ESPHome API for riego @ 192.168.2.7`
`WARNING Disconnected from API`
`INFO Successfully connected to riego @ 192.168.2.7 in 0.022s`
`INFO Successful handshake with riego @ 192.168.2.7 in 0.041s`
`WARNING riego @ 192.168.2.7: Connection error occurred: [Errno 54] Connection reset by peer`
`INFO Processing unexpected disconnect from ESPHome API for riego @ 192.168.2.7`
`WARNING Disconnected from API`
`INFO Successfully connected to riego @ 192.168.2.7 in 0.013s`
`INFO Successful handshake with riego @ 192.168.2.7 in 0.044s`
`WARNING riego @ 192.168.2.7: Connection error occurred: [Errno 54] Connection reset by peer`
`INFO Processing unexpected disconnect from ESPHome API for riego @ 192.168.2.7`
`WARNING Disconnected from API`
`INFO Successfully connected to riego @ 192.168.2.7 in 0.048s`
`INFO Successful handshake with riego @ 192.168.2.7 in 0.252s`
`WARNING riego @ 192.168.2.7: Connection error occurred: [Errno 54] Connection reset by peer`
`INFO Processing unexpected disconnect from ESPHome API for riego @ 192.168.2.7`
`WARNING Disconnected from API`
`INFO Successfully connected to riego @ 192.168.2.7 in 0.016s`
`INFO Successful handshake with riego @ 192.168.2.7 in 0.038s`
`WARNING riego @ 192.168.2.7: Connection error occurred: [Errno 54] Connection reset by peer`
`INFO Processing unexpected disconnect from ESPHome API for riego @ 192.168.2.7`
`WARNING Disconnected from API`
`INFO Successfully connected to riego @ 192.168.2.7 in 0.012s`
`INFO Successful handshake with riego @ 192.168.2.7 in 0.038s`
`WARNING riego @ 192.168.2.7: Connection error occurred: [Errno 54] Connection reset by peer`
`INFO Processing unexpected disconnect from ESPHome API for riego @ 192.168.2.7`
`WARNING Disconnected from API`
`INFO Successfully connected to riego @ 192.168.2.7 in 0.382s`
`INFO Successful handshake with riego @ 192.168.2.7 in 2.273s`
`WARNING riego @ 192.168.2.7: Connection error occurred: [Errno 54] Connection reset by peer`
`INFO Processing unexpected disconnect from ESPHome API for riego @ 192.168.2.7`
`WARNING Disconnected from API`
`INFO Successfully connected to riego @ 192.168.2.7 in 0.227s`
`INFO Successful handshake with riego @ 192.168.2.7 in 0.265s`
`[04:23:41][D][irrigation.diagnostics:505]: DIAG: heap=194924 B | loop=23 ms | rssi=-51.0 dBm | uptime=16996 s | reset=Software Reset CPU`
`WARNING riego @ 192.168.2.7: Connection error occurred: [Errno 54] Connection reset by peer`
`INFO Processing unexpected disconnect from ESPHome API for riego @ 192.168.2.7`
`WARNING Disconnected from API`
`INFO Successfully connected to riego @ 192.168.2.7 in 0.013s`
`INFO Successful handshake with riego @ 192.168.2.7 in 0.150s`
`WARNING riego @ 192.168.2.7: Connection error occurred: [Errno 54] Connection reset by peer`
`INFO Processing unexpected disconnect from ESPHome API for riego @ 192.168.2.7`
`WARNING Disconnected from API`
`INFO Successfully connected to riego @ 192.168.2.7 in 0.145s`
`INFO Successful handshake with riego @ 192.168.2.7 in 0.237s`
`WARNING riego @ 192.168.2.7: Connection error occurred: [Errno 54] Connection reset by peer`
`INFO Processing unexpected disconnect from ESPHome API for riego @ 192.168.2.7`
`WARNING Disconnected from API`
`INFO Successfully connected to riego @ 192.168.2.7 in 0.011s`
`INFO Successful handshake with riego @ 192.168.2.7 in 0.048s`
`WARNING riego @ 192.168.2.7: Connection error occurred: [Errno 54] Connection reset by peer`
`INFO Processing unexpected disconnect from ESPHome API for riego @ 192.168.2.7`
`WARNING Disconnected from API`
`INFO Successfully connected to riego @ 192.168.2.7 in 0.012s`
`INFO Successful handshake with riego @ 192.168.2.7 in 0.143s`
`[05:28:41][D][irrigation.diagnostics:505]: DIAG: heap=194944 B | loop=23 ms | rssi=-52.0 dBm | uptime=20896 s | reset=Software Reset CPU`
`WARNING riego @ 192.168.2.7: Connection error occurred: [Errno 54] Connection reset by peer`
`INFO Processing unexpected disconnect from ESPHome API for riego @ 192.168.2.7`
`WARNING Disconnected from API`
`INFO Successfully connected to riego @ 192.168.2.7 in 0.013s`
`INFO Successful handshake with riego @ 192.168.2.7 in 0.118s`
`WARNING riego @ 192.168.2.7: Connection error occurred: [Errno 54] Connection reset by peer`
`INFO Processing unexpected disconnect from ESPHome API for riego @ 192.168.2.7`
`WARNING Disconnected from API`
`INFO Successfully connected to riego @ 192.168.2.7 in 0.027s`
`INFO Successful handshake with riego @ 192.168.2.7 in 0.067s`
`WARNING riego @ 192.168.2.7: Connection error occurred: [Errno 54] Connection reset by peer`
`INFO Processing unexpected disconnect from ESPHome API for riego @ 192.168.2.7`
`WARNING Disconnected from API`
`INFO Successfully connected to riego @ 192.168.2.7 in 0.014s`
`INFO Successful handshake with riego @ 192.168.2.7 in 0.038s`
`[06:03:41][D][irrigation.diagnostics:505]: DIAG: heap=194944 B | loop=23 ms | rssi=-51.0 dBm | uptime=22996 s | reset=Software Reset CPU`
`WARNING riego @ 192.168.2.7: Connection error occurred: [Errno 54] Connection reset by peer`
`INFO Processing unexpected disconnect from ESPHome API for riego @ 192.168.2.7`
`WARNING Disconnected from API`
`INFO Successfully connected to riego @ 192.168.2.7 in 0.140s`
`INFO Successful handshake with riego @ 192.168.2.7 in 0.179s`
`WARNING riego @ 192.168.2.7: Connection error occurred: [Errno 54] Connection reset by peer`
`INFO Processing unexpected disconnect from ESPHome API for riego @ 192.168.2.7`
`WARNING Disconnected from API`
`INFO Successfully connected to riego @ 192.168.2.7 in 0.146s`
`INFO Successful handshake with riego @ 192.168.2.7 in 0.184s`
`[06:40:41][D][irrigation.diagnostics:505]: DIAG: heap=195848 B | loop=23 ms | rssi=-51.0 dBm | uptime=25096 s | reset=Software Reset CPU`
`WARNING riego @ 192.168.2.7: Connection error occurred: riego @ 192.168.2.7: EOF received`
`INFO Processing unexpected disconnect from ESPHome API for riego @ 192.168.2.7`
`WARNING Disconnected from API`
`INFO Successfully connected to riego @ 192.168.2.7 in 0.021s`
`INFO Successful handshake with riego @ 192.168.2.7 in 0.058s`
`WARNING riego @ 192.168.2.7: Connection error occurred: riego @ 192.168.2.7: EOF received`
`INFO Processing unexpected disconnect from ESPHome API for riego @ 192.168.2.7`
`WARNING Disconnected from API`
`INFO Successfully connected to riego @ 192.168.2.7 in 0.020s`
`INFO Successful handshake with riego @ 192.168.2.7 in 0.040s`
`WARNING riego @ 192.168.2.7: Connection error occurred: [Errno 54] Connection reset by peer`
`INFO Processing unexpected disconnect from ESPHome API for riego @ 192.168.2.7`
`WARNING Disconnected from API`
`INFO Successfully connected to riego @ 192.168.2.7 in 0.019s`
`INFO Successful handshake with riego @ 192.168.2.7 in 0.126s`
`WARNING riego @ 192.168.2.7: Connection error occurred: [Errno 54] Connection reset by peer`
`INFO Processing unexpected disconnect from ESPHome API for riego @ 192.168.2.7`
`WARNING Disconnected from API`
`INFO Successfully connected to riego @ 192.168.2.7 in 1.018s`
`INFO Successful handshake with riego @ 192.168.2.7 in 0.046s`
`WARNING riego @ 192.168.2.7: Connection error occurred: [Errno 54] Connection reset by peer`
`INFO Processing unexpected disconnect from ESPHome API for riego @ 192.168.2.7`
`WARNING Disconnected from API`
`INFO Successfully connected to riego @ 192.168.2.7 in 0.013s`
`INFO Successful handshake with riego @ 192.168.2.7 in 0.231s`
`WARNING riego @ 192.168.2.7: Connection error occurred: [Errno 54] Connection reset by peer`
`INFO Processing unexpected disconnect from ESPHome API for riego @ 192.168.2.7`
`WARNING Disconnected from API`
`INFO Successfully connected to riego @ 192.168.2.7 in 0.146s`
`INFO Successful handshake with riego @ 192.168.2.7 in 0.179s`
`WARNING riego @ 192.168.2.7: Connection error occurred: [Errno 54] Connection reset by peer`
`INFO Processing unexpected disconnect from ESPHome API for riego @ 192.168.2.7`
`WARNING Disconnected from API`
`INFO Successfully connected to riego @ 192.168.2.7 in 0.012s`
`INFO Successful handshake with riego @ 192.168.2.7 in 0.036s`
`WARNING riego @ 192.168.2.7: Connection error occurred: [Errno 54] Connection reset by peer`
`INFO Processing unexpected disconnect from ESPHome API for riego @ 192.168.2.7`
`WARNING Disconnected from API`
`INFO Successfully connected to riego @ 192.168.2.7 in 0.017s`
`INFO Successful handshake with riego @ 192.168.2.7 in 0.036s`
`WARNING riego @ 192.168.2.7: Connection error occurred: [Errno 60] Operation timed out`
`INFO Processing unexpected disconnect from ESPHome API for riego @ 192.168.2.7`
`WARNING Disconnected from API`
[/quote]
I see your ESPHome software version is very old. This is likely the cause of the problem you’re experiencing. There’s nothing else I can do on the code side — if you can update your firmware version, please send me the diagnostic log containing the error you encountered after the update.
Ok, so I upgraded, cleared the disconnections form the logging dashboard and I haven’t seen any more disconnections for a couple of days. I am currently using one of the dev versions you sent me (1.3.20). Should I stick to that or fall back to the available production release?
You can stick with this version; I’ll release it as the final version. Test it for a few more days, and if no issues arise, I’ll release this version.
It’s been a while since the major effort to complete the Konnected integration into Homey using the Konnected Home Security & Garage community app by ugrbnk. Here’s a short update of my experience.
For the 12-Zone Konnected alarm panel, I used the Homey Home Security & Garage app as the ESPhome interface and Heimdall security app. There are YouTube videos that walks through setting up the advanced flows. I implemented this several months ago and it’s very stable. I removed the original alarm system control panels and moved to geofencing to alarm/disarm for normal day-to-day operation. Of course the system can be alarmed/disarmed via the Homey interface too. The alarm system is actually being used now since implementing geofencing. Before we would only arm the system when going on vacation. Now it’s alarmed as soon as we get a couple blocks from the house.
The Konnected Garage Door Opener (GDO) White took a little more effort since the older Homey ESPhome apps didn’t really cut it. After several revisions from the developer, ugrbnk, I’m happy with the results using the Homey Konnected Home Security & Garage app. I used the GDO ESPhome webpage to calibrate the optical open/closed sensor. The door can be controlled via the Homey or Alexa apps but I primarily use Alexa as my voice front end and give open/close commands or toggle the door with a Apple Watch.
I was able to remove other Homey ESPhome apps since moving to the single app that supports both the alarm panel and GDO. The Homey Konnected Home Security & Garage app is a community app by Uğur so don’t forget to donate a few euros for his efforts.
Test Version 1.3.29
A memory leak issue that could cause the entire application to crash due to a memory shortage error, taking all ESPHome devices offline at the same time, has been fixed.
https://homey.app/en-tr/app/com.ugrbnk.esphome/ESPHome-Controller/test/
Hi i’m testing a board and getting to following an error.
| 20:36:28 | [W] | [api.connection:1751] |
|---|
'homey' using outdated API 0.0, update to 1.14+
| 20:36:28 | [D] | [api.connection:2526] |
|---|
homey (): connected
| 20:36:33 | [W] | [api.connection:2532] |
|---|
homey : Reading failed CONNECTION_CLOSED errno=128
Two things in there tell me this connection probably isn’t coming from my app: my app identifies itself to ESPHome as @2colors/esphome-native-api 1.3.5 and negotiates API version 1.15, but your log shows a client called homey using API 0.0. Neither matches.
Could you check which Homey app is connecting? If you have another ESPHome app installed alongside mine, that would explain it.
In any case, both messages are harmless: the “outdated API” line is only an informational warning (it doesn’t drop the connection), and CONNECTION_CLOSED errno=128 just means the client disconnected — normal after a short scan or pairing step.
is the device actually failing in Homey? If so, please send a diagnostic report (device → Repair → Diagnostics) — the new version includes connection health history, which will show exactly what’s happening.
Hi, Thanks for the help. it look like i was using the wrong app. yours works fine thanks for the support.
Hi, with this app I have been able to integrate two esphome controllers into Homey; one is measuring the water usage via a pulse meter and another one is reading an RS485 port of my solar energy inverter. It works nicely and I am able to show ‘insights’ graphs in the Homey app.
What I failed to get working is the integration with the Homey energy tab. I am able to get the energy tab showing the solar panels widget, but it never shows any data. Until now I have not been able to map the esphome measurements correctly to the expected measurement (names / ids / capabilities) of the energy tab. When I read HA related posts, they mention the ‘meter_power’, ‘meter_water’ etc capabilities. That is what I could not find in the esphome controller app. I tried to set the device_class and state_class correctly, but integration fails as of now.
Hi, could you please send me the YAML files for your devices? I’ll take a look at them and see what I can do.
This problem has happened twice for me now: after a wifi outage, one of my three ESPHome Controller devices in Homey switched the IP address it connects to, to the same IP-address that the device added before it uses.
I have three devices - Beehive 1 to 3, with IP adresses 10.0.0.105 to 10.0.0.107. They were added to homey in this order
After the wifi outage (Homey was not down) the devices reconnected to ESP:s, but #2 had some problem - first it could not reach 10.0.0.106, then suddenly connected to 1.0.0.0.105 instead of 106, thus receiving the same weight. This has happened once before under similar circumstances.
Fixed an issue where devices could connect to another ESPHome device with a similar name after a Wi-Fi outage. Device identity verification and automatic IP rediscovery are now safer and use the device’s MAC address.
Hi,
for starters (and most important), here is the YAML file for the solar energy meter:
esphome:
name: 'delta-solivia-reader'
friendly_name: 'Delta Solivia Reader'
platformio_options:
build_unflags: '-std=c++11 -std=gnu++11'
build_flags: '-std=c++17 -std=gnu++17'
esp32:
board: esp32dev
framework:
type: esp-idf
# Load as external component
external_components:
- source: github://robertklep/esphome-delta-solivia@v3.6.0
components: [ delta_solivia ]
# Logger
logger:
# Enable API
api:
encryption:
key: "<redacted>"
ota:
- platform: esphome
wifi:
ssid: "Wifinez"
password: "WifInMijnHuis"
# UART setup (change tx_pin/rx_pin if required, leave the rest as-is)
uart:
tx_pin: GPIO22
rx_pin: GPIO21
id: solivia_uart
rx_buffer_size: 512
baud_rate: 19200
parity: NONE
stop_bits: 1
# Set pins required for LILYGO T-CAN485 board
# Source:
# Alternative:
output:
- platform: gpio
id: ENABLE_PIN # Enable the chip
pin:
number: GPIO19
inverted: true
- platform: gpio
id: SE_PIN # Enable autodirection
pin:
number: GPIO17
inverted: true
- platform: gpio
id: ENABLE_5V_PIN # Enable 5V pin for RS485 chip
pin:
number: GPIO16
inverted: true
# component setup
delta_solivia:
# The UART configured above
uart_id: solivia_uart
update_interval: 10s
has_gateway: false
# Optional flow control pin, only configure this if your board doesn't have automatic flow control.
# (before writing to the bus, the pin will be pulled up to assume control over the bus)
# flow_control_pin: GPIOX
# Here you can configure multiple inverters.
#
# Each inverter has a unique address, usually starting with "1" for the first inverter, "2" for the second, etc.
#
# You need to specify the "variant" used for each inverter. See the compatibility table.
#
# As explained in the README, the different sensors that can be configured depend on the variant. Look below for the Sensor Fields documentation to see which fields are available for each variant.
# If you're not interested in a specific sensor, just leave it out, they're all optional.
#
# You can run the component with debug logging in ESPHome enabled, which will log information on the packets it receives, including the address from which the packet originated.
inverters:
- address: 1
variant: 103
throttle: 10s # see below
solar_power_input_1:
name: 'Inverter Solar Power (1)'
id: inverter_solar_power_1
# device_class: power
# state_class: measurement
# unit_of_measurement: W
solar_power_input_2:
name: 'Inverter Solar Power (2)'
id: inverter_solar_power_2
solar_power_input_3:
name: 'Inverter Solar Power (3)'
id: inverter_solar_power_3
solar_voltage_input_1:
name: 'Inverter Solar Voltage (1)'
solar_voltage_input_2:
name: 'Inverter Solar Voltage (2)'
solar_voltage_input_3:
name: 'Inverter Solar Voltage (3)'
solar_current_input_1:
name: 'Inverter Solar Current (1)'
solar_current_input_2:
name: 'Inverter Solar Current (2)'
solar_current_input_3:
name: 'Inverter Solar Current (3)'
ac_current_phase_1:
name: 'Inverter Current Phase 1'
#ac_current_phase_2:
# name: 'Inverter Current Phase 2'
#ac_current_phase_3:
# name: 'Inverter Current Phase 3'
ac_voltage_phase_1:
name: 'Inverter Voltage Phase 1'
#ac_voltage_phase_2:
# name: 'Inverter Voltage Phase 2'
#ac_voltage_phase_3:
# name: 'Inverter Voltage Phase 3'
ac_frequency_phase_1:
name: 'Inverter Frequency Phase 1'
#ac_frequency_phase_2:
# name: 'Inverter Frequency Phase 2'
#ac_frequency_phase_3:
# name: 'Inverter Frequency Phase 3'
ac_power_phase_1:
name: 'Inverter Current Power Phase 1'
#ac_power_phase_2:
# name: 'Inverter Current Power Phase 2'
#ac_power_phase_3:
# name: 'Inverter Current Power Phase 3'
supplied_ac_energy_total:
name: 'Inverter Supplied AC Energy Total'
id: inverter_supplied_ac_energy_total
# device_class: energy
# state_class: total_increasing
# unit_of_measurement: kWh
supplied_ac_energy_today:
name: 'Inverter Supplied AC Energy Today'
# id: inverter_energy_today
# device_class: energy
# state_class: total_increasing
# unit_of_measurement: kWh
runtime_total:
name: 'Inverter Runtime Total'
# state_class: total_increasing
runtime_today:
name: 'Inverter Runtime Today'
inverter_status:
name: 'Inverter Status'
sensor:
- platform: template
name: "Solar Power"
unit_of_measurement: "W"
state_class: measurement
device_class: power
accuracy_decimals: 1
lambda: |-
if (isnan(id(inverter_solar_power_1).state) || isnan(id(inverter_solar_power_2).state) || isnan(id(inverter_solar_power_3).state)) {
return {};
}
return id(inverter_solar_power_1).state + id(inverter_solar_power_2).state + id(inverter_solar_power_3).state;
- platform: template
name: "Solar Energy"
unit_of_measurement: "kWh"
state_class: total_increasing
device_class: energy
accuracy_decimals: 3
lambda: |-
if (isnan(id(inverter_supplied_ac_energy_total).state)) {
return {};
}
return id(inverter_supplied_ac_energy_total).state;
