-
Notifications
You must be signed in to change notification settings - Fork 89
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CRC validation failed: Sofar HYD-5000-EP #265
Comments
Not sure this Sofar is supported via the pysolarmanv5 library if I understand this workaround correctly - jmccrohan/pysolarmanv5#18 |
Hi, thanks for answered. |
0x02 seems like 2 in hex. No idea what they meant with the %% |
Their workaround was to use a cabled solution on the RS232 port (RS485 will likely also work) So doubt its the registers that is the problem |
Hi, |
@Excalibur83 did you get RS485 to work? |
Hi, not yet, lack of time. |
Issue related to
Sunsynk / mbusd Home Assistant Add-On using solarman parameter (Sofar-solar inverter HYD-5000-EP with WifiStick)
Describe issue
IP static address, port 8899 (scanned and opened, ping from VM running HA returns ok)
After many attempts, changing "scheduled", "gap", "sensors"... console returns every time a CRC fault :
"
08:11:54 INFO Connecting to tcp://192.168.0.220:8899
08:11:54 INFO Reading startup sensors Rated power, Serial
08:11:54 ERROR Error retry attempt(0): CRC validation failed.
08:11:56 ERROR Error retry attempt(1): CRC validation failed.
08:11:58 ERROR Error retry attempt(2): CRC validation failed.
08:12:00 ERROR Error retry attempt(3): CRC validation failed.
08:12:02 ERROR Error retry attempt(4): CRC validation failed.
(...)
08:12:15 ERROR OSError reading 5 registers from 3: Failed to read register 3; timeout reading 2 registers from 16
"
.... and again and again till it restarts once or more
Environment
You configuration
Logs
08:26:04 WARNING Retrying individual sensors: ['serial', 'rated_power']
08:26:15 ERROR timeout reading 5 registers from 3 Serial
08:26:19 ERROR Error retry attempt(0): CRC validation failed.
08:26:21 ERROR Error retry attempt(1): CRC validation failed.
08:26:23 ERROR Error retry attempt(2): CRC validation failed.
08:26:25 ERROR Error retry attempt(3): CRC validation failed.
08:26:26 ERROR timeout reading 2 registers from 16 Rated power
08:26:26 CRITICAL Could not read sensors: ['Serial', 'Rated power']
08:26:26 INFO ############################################################
08:26:26 INFO No response on the Modbus interface tcp://192.168.0.220:8899, see https://kellerza.github.io/sunsynk/guide/fault-finding
08:26:26 INFO ############################################################
08:26:26 CRITICAL This Add-On will terminate in 30 seconds, use the Supervisor Watchdog to restart automatically.
08:26:56 ERROR Task was destroyed but it is pending!
task: <Task pending name='ConnKeeper' coro=<PySolarmanV5Async._conn_keeper() running at /usr/local/lib/python3.11/site-packages/pysolarmanv5/pysolarmanv5_async.py:139> wait_for=>
[08:26:56] INFO: Service restart after closing
08:26:57 INFO Loading configuration: /data/options.json
08:26:57 INFO sunsynk library version: 0.6.4
08:26:57 INFO Schedules:
+-----------+-----+------+--------+-----------+----------+------------+
| Key | src | Read | Report | Change by | Change % | Change any |
+-----------+-----+------+--------+-----------+----------+------------+
| date_time | | 60 | 60 | | | True |
| rw | | 5 | 300 | | | True |
| w | * | 120 | 120 | 50 | | |
| kwh | | 300 | 300 | | | |
| any_unit | | 15 | 300 | | | |
| no_unit | | 15 | 300 | | | True |
+-----------+-----+------+--------+-----------+----------+------------+
08:26:57 INFO Using Single phase sensor definitions.
08:26:57 INFO Added hidden sensors as other sensors depend on it: Rated power, Serial
08:26:57 INFO Connecting to tcp://192.168.0.220:8899
08:26:57 INFO Reading startup sensors Serial, Rated power
08:26:58 ERROR Error retry attempt(0): CRC validation failed.
08:27:00 ERROR Error retry attempt(1): CRC validation failed.
08:27:02 ERROR Error retry attempt(2): CRC validation failed.
08:27:04 ERROR Error retry attempt(3): CRC validation failed.
08:27:06 ERROR Error retry attempt(4): CRC validation failed.
08:27:08 ERROR Error retry attempt(0): CRC validation failed.
08:27:10 ERROR Error retry attempt(1): CRC validation failed.
08:27:12 ERROR Error retry attempt(2): CRC validation failed.
08:27:14 ERROR Error retry attempt(3): CRC validation failed.
08:27:16 ERROR Error retry attempt(4): CRC validation failed.
08:27:18 ERROR OSError reading 5 registers from 3: Failed to read register 3; OSError reading 2 registers from 16: Failed to read register 16
The text was updated successfully, but these errors were encountered: