heinekmadsen / esphome_components

ESPHome custom_components
30 stars 39 forks source link

modbus send too many values #3

Closed MTrab closed 2 years ago

MTrab commented 2 years ago

After upgrade to latest ESPHome (v2021.10.2), I see my logs flooding with send too many values on basically all channels, and the climate devices are not showing as supposed.

[10:07:22][I][app:099]: ESPHome version 2021.10.2 compiled on Oct 25 2021, 10:06:54
[10:07:22][C][wifi:490]: WiFi:
[10:07:22][C][wifi:352]:   Local MAC: xx:xx:xx:xx:xx:xx
[10:07:22][C][wifi:353]:   SSID: [redacted]
[10:07:22][C][wifi:354]:   IP Address: x.x.x.x
[10:07:22][C][wifi:356]:   BSSID: [redacted]
[10:07:22][C][wifi:357]:   Hostname: 'wavin'
[10:07:22][C][wifi:359]:   Signal strength: -50 dB ▂▄▆█
[10:07:22][C][wifi:363]:   Channel: 11
[10:07:22][C][wifi:364]:   Subnet: 255.255.255.0
[10:07:22][C][wifi:365]:   Gateway: x.x.x.x
[10:07:22][C][wifi:366]:   DNS1: x.x.x.x
[10:07:22][C][wifi:367]:   DNS2: 0.0.0.0
[10:07:22][C][uart.arduino_esp8266:095]: UART Bus:
[10:07:22][C][uart.arduino_esp8266:096]:   TX Pin: GPIO15
[10:07:22][C][uart.arduino_esp8266:097]:   RX Pin: GPIO13
[10:07:22][C][uart.arduino_esp8266:099]:   RX Buffer Size: 256
[10:07:22][C][uart.arduino_esp8266:101]:   Baud Rate: 38400 baud
[10:07:22][C][uart.arduino_esp8266:102]:   Data Bits: 8
[10:07:22][C][uart.arduino_esp8266:103]:   Parity: NONE
[10:07:22][C][uart.arduino_esp8266:104]:   Stop bits: 1
[10:07:22][C][uart.arduino_esp8266:106]:   Using hardware serial interface.
[10:07:22][C][modbus:129]: Modbus:
[10:07:22][C][modbus:131]:   Send Wait Time: 250 ms
[10:07:22][C][template.text_sensor:021]: Template Sensor 'Uptime Human Readable'
[10:07:22][C][template.text_sensor:021]:   Icon: 'mdi:clock-start'
[10:07:22][C][uptime.sensor:031]: Uptime Sensor 'Uptime'
[10:07:22][C][uptime.sensor:031]:   State Class: 'total_increasing'
[10:07:22][C][uptime.sensor:031]:   Unit of Measurement: 's'
[10:07:22][C][uptime.sensor:031]:   Accuracy Decimals: 0
[10:07:22][C][uptime.sensor:031]:   Icon: 'mdi:timer-outline'
[10:07:22][C][logger:233]: Logger:
[10:07:22][C][logger:234]:   Level: DEBUG
[10:07:22][C][logger:235]:   Log Baud Rate: 0
[10:07:22][C][logger:236]:   Hardware UART: UART0
[10:07:22][C][status:034]: Status Binary Sensor 'Connection'
[10:07:22][C][status:034]:   Device Class: 'connectivity'
[10:07:22][C][restart:022]: Restart Switch 'Restart'
[10:07:22][C][restart:022]:   Icon: 'mdi:restart'
[10:07:22][C][wavinAhc9000.climate:061]: WavinAhc9000 Climate 'Toilet'
[10:07:22][C][wavinAhc9000.climate:061]: WavinAhc9000 Climate 'Bedroom'
[10:07:22][C][wavinAhc9000.climate:061]: WavinAhc9000 Climate 'Hall'
[10:07:22][C][captive_portal:150]: Captive Portal:
[10:07:22][C][web_server:160]: Web Server:
[10:07:22][C][web_server:161]:   Address: wavin.local:80
[10:07:22][C][ota:082]: Over-The-Air Updates:
[10:07:22][C][ota:083]:   Address: wavin.local:8266
[10:07:22][C][api:134]: API Server:
[10:07:22][C][api:135]:   Address: wavin.local:6053
[10:07:22][C][api:139]:   Using noise encryption: NO
[10:07:22][C][wifi_signal.sensor:009]: WiFi Signal 'WiFi Signal Sensor'
[10:07:22][C][wifi_signal.sensor:009]:   Device Class: 'signal_strength'
[10:07:22][C][wifi_signal.sensor:009]:   State Class: 'measurement'
[10:07:22][C][wifi_signal.sensor:009]:   Unit of Measurement: 'dBm'
[10:07:22][C][wifi_signal.sensor:009]:   Accuracy Decimals: 0
[10:07:22][D][wavin:143]: Timeout on channel 6, state 1
[10:07:22][E][modbus:143]: send too many values 1539 max=128
[10:07:23][D][wavin:143]: Timeout on channel 7, state 1
[10:07:23][E][modbus:143]: send too many values 1795 max=128
[10:07:24][D][wavin:143]: Timeout on channel 8, state 1
[10:07:24][E][modbus:143]: send too many values 2051 max=128
[10:07:25][D][wavin:143]: Timeout on channel 9, state 1
[10:07:25][E][modbus:143]: send too many values 2307 max=128
[10:07:26][D][api:098]: Accepted 10.254.254.9
[10:07:26][D][api.connection:736]: Home Assistant 2021.10.6 (x.x.x.x): Connected successfully
[10:07:26][D][wavin:143]: Timeout on channel 10, state 1
[10:07:26][E][modbus:143]: send too many values 2563 max=128
[10:07:27][D][wavin:143]: Timeout on channel 11, state 1
[10:07:27][E][modbus:143]: send too many values 2819 max=128
[10:07:28][D][wavin:143]: Timeout on channel 12, state 1
[10:07:28][E][modbus:143]: send too many values 3075 max=128
[10:07:29][D][wavin:143]: Timeout on channel 13, state 1
[10:07:29][E][modbus:143]: send too many values 3331 max=128
[10:07:30][D][wavin:143]: Timeout on channel 14, state 1
[10:07:30][E][modbus:143]: send too many values 3587 max=128
[10:07:31][D][wavin:143]: Timeout on channel 15, state 1
[10:07:31][E][modbus:143]: send too many values 3843 max=128
[10:07:32][D][wavin:143]: Timeout on channel 16, state 1

This was not an issue on ESPHome versions prior to 2021.10

heinekmadsen commented 2 years ago

@MTrab Thanks for creating the issue on ESPhome github. Updated the readme in my repo. Hopefully they will release a fix soon, but until then we're stuck with this workaround https://github.com/heinekmadsen/esphome_components/commit/25c1b027dfd84208a61bca6547ecd885a3ef91a0