home_assistant_solarman icon indicating copy to clipboard operation
home_assistant_solarman copied to clipboard

CRCError: CRC validation failed

Open onetoomany opened this issue 1 year ago • 4 comments

My logs are full of the following error message:

2023-12-17 17:35:13.681 WARNING (SyncWorker_1) [custom_components.solarman.solarman] Querying [512 - 597] failed with exception [CRCError: CRC validation failed.]
2023-12-17 17:35:14.182 WARNING (SyncWorker_1) [custom_components.solarman.solarman] Querying [512 - 597] failed, [1] retry attempts left
2023-12-17 17:46:14.017 WARNING (SyncWorker_0) [custom_components.solarman.solarman] Querying [4272 - 4284] failed with exception [CRCError: CRC validation failed.]
2023-12-17 17:46:14.517 WARNING (SyncWorker_0) [custom_components.solarman.solarman] Querying [4272 - 4284] failed, [1] retry attempts left

My inverter type is Sofar HYD 5000 ES (SM1ES150). Firmware G360.

The data seems to be read ok, with the exception of 0x022B - "Inverter alert message"; this appears to be classed incorrectly as an alert for my system.

onetoomany avatar Dec 18 '23 21:12 onetoomany

same here with the same setup

jayzees avatar Feb 07 '24 23:02 jayzees

Same with HYD 6000 (ZM1ES060) with Firmware G363. HA on raspberry Pi 3+.

Usually 30% of readings fail with that error, the read is ok after 1-2 attempts.

CRC errors come from uModbus library.

Already tried two different stick loggers 17**** and 27**** . Same results.

darkman82 avatar Mar 31 '24 18:03 darkman82

I'm getting this as well. I've worked round it by upping the retry limit to 4

sjmtlewy avatar May 16 '24 20:05 sjmtlewy

@sjmtlewy I'd suggest you put a sleep between retries. It helped. 1 second is enough in my case.

Have a look at #523 too. I left a piece of code you could try.

darkman82 avatar May 16 '24 21:05 darkman82