Open dr3amr opened 3 months ago
I had a similar problem, also with a power meter.
Setting stop_bits: 2
cured it - 100% perfect comms from that point on. Never got to the bottom of it as manufacturer swore it should only be 1 stop bit… might be minuscule timing differences… who knows???
Either way, give it a go and see! 😁
@TheOriginalMrWolf do you also have an Eastron meter ? If so what model ? platform: sdm_meter is for Eastron power meters. UART is generic not specific clearly but stop_bits: 2 might not work for Eastron power meters, but for your specific meter.
Try the suggestion @dr3amr & report back - does it work or not?
If not then there may be other options (parity for instance).
@TheOriginalMrWolf tried it. Not working. Using same workaround which seems to work fine to using 2.0.6 only version of Arduino framework.
esp32: board: az-delivery-devkit-v4 framework: type: arduino version: 2.0.6
The problem
Hi team,
Bellow errors can be still seen even on latest ESP 2024.6.1, the data still randomly comes through, but 80% is as bellow:
[13:04:28][W][modbus:114]: Modbus CRC Check failed! C071!=00 [13:04:28][W][modbus:114]: Modbus CRC Check failed! C071!=00 [13:04:28][W][modbus:114]: Modbus CRC Check failed! C071!=00 [13:04:28][W][modbus:114]: Modbus CRC Check failed! C071!=00 [13:04:28][W][modbus:114]: Modbus CRC Check failed! C071!=4842
Only real workaround, found from other threads, is using arduino version 2.0.6, which when used works perfect, but that is old version:
esp32: board: az-delivery-devkit-v4 framework: type: arduino version: 2.0.6 ===> workaround
Is there any other way to make it work and stay updated ?
Which version of ESPHome has the issue?
2024.6.1
What type of installation are you using?
Home Assistant Add-on
Which version of Home Assistant has the issue?
2024.6.3
What platform are you using?
ESP32
Board
az-delivery-devkit-v4
Component causing the issue
modbus
Example YAML snippet
Anything in the logs that might be useful for us?
No response
Additional information
No response