Skip to content
View in the app

A better way to browse. Learn more.

Power Forum - Renewable Energy Discussion

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Marius Schonken

Members
  • Joined

  • Last visited

  1. Thank you, just another question, does it work with SunSync dongle or just solarman dongle?
  2. Hi All Hope you can help me, I have the following 5KVa Sunsync inverter, 10X 540W Panels and Hubble 5Kw Battery Please see atached pictures of comms, and error log in Home assistant Addon that i am getting. Currently the Brown is on B and Brown White is on A, we also tried Orange and Orange White. [s6-init] making user provided files available at /var/run/s6/etc...exited 0. [s6-init] ensuring user provided files have correct perms...exited 0. [fix-attrs.d] applying ownership & permissions fixes... [fix-attrs.d] done. [cont-init.d] executing container initialization scripts... [cont-init.d] done. [services.d] starting services [services.d] done. 2022-07-07 12:09:56,614 INFO Loading HASS OS configuration 2022-07-07 12:09:56,631 DEBUG could not patch umodbus: numpy not found 2022-07-07 12:09:56,636 INFO Filter *last used for battery_soc, total_battery_charge, total_battery_discharge, total_grid_export, total_grid_import, total_pv_power 2022-07-07 12:09:56,637 INFO Connecting to serial:///dev/ttyUSB0 2022-07-07 12:09:56,717 INFO ############################################################ 2022-07-07 12:09:56,718 INFO Inverter serial number 'XXMYSERIALNUMBERXX' 2022-07-07 12:09:56,718 INFO ############################################################ 2022-07-07 12:09:56,719 INFO MQTT: Connecting to mqtt_user@core-mosquitto:1883 2022-07-07 12:09:56,735 INFO MQTT: Connection successful 2022-07-07 12:09:57,848 ERROR Read Error: (1,78,1) CRC validation failed. 2022-07-07 12:09:57,849 INFO Retrying individual sensors: ['Total PV Power:last', 'Total Battery Charge:last', 'Total Battery Discharge:last', 'Total Grid Export:last', 'Total Grid Import:last', 'Battery SOC:last'] 2022-07-07 12:09:57,920 ERROR Read ErrorTotal PV Power: (1,96,2) CRC validation failed. 2022-07-07 12:09:57,989 ERROR Read ErrorTotal Battery Charge: (1,72,2) CRC validation failed. 2022-07-07 12:09:58,060 ERROR Read ErrorTotal Battery Discharge: (1,74,2) CRC validation failed. Traceback (most recent call last): File "/usr/local/lib/python3.9/site-packages/sunsynk/sunsynk.py", line 52, in read_sensors r_r = await self.read_holding_registers(grp[0], glen) File "/usr/local/lib/python3.9/site-packages/sunsynk/usunsynk.py", line 43, in read_holding_registers return await self.client.read_holding_registers(self.server_id, start, length) File "/usr/local/lib/python3.9/site-packages/async_modbus/core.py", line 181, in read_holding_registers return await self._send_message(request) File "/usr/local/lib/python3.9/site-packages/async_modbus/core.py", line 142, in _send_message return await self.protocol._async_send_message( File "/usr/local/lib/python3.9/site-packages/async_modbus/core.py", line 78, in send_message_rtu return rtu.parse_response_adu(response_error_adu + response_remainder, adu) File "/usr/local/lib/python3.9/site-packages/umodbus/client/serial/rtu.py", line 183, in parse_response_adu validate_crc(resp_adu) File "/usr/local/lib/python3.9/site-packages/umodbus/client/serial/redundancy_check.py", line 76, in validate_crc raise CRCError('CRC validation failed.') umodbus.client.serial.redundancy_check.CRCError: CRC validation failed. During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/src/app/./run.py", line 180, in read_sensors await asyncio.wait_for(SUNSYNK.read_sensors(sensors), OPT.timeout) File "/usr/local/lib/python3.9/asyncio/tasks.py", line 478, in wait_for return fut.result() File "/usr/local/lib/python3.9/site-packages/sunsynk/sunsynk.py", line 54, in read_sensors raise Exception( # pylint: disable=raise-missing-from Exception: (1,74,2) CRC validation failed. The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/usr/src/app/./run.py", line 274, in <module> LOOP.run_until_complete(main(LOOP)) File "/usr/local/lib/python3.9/asyncio/base_events.py", line 642, in run_until_complete return future.result() File "/usr/src/app/./run.py", line 239, in main await read_sensors([f.sensor for f in SENSORS], retry_single=True) File "/usr/src/app/./run.py", line 197, in read_sensors await read_sensors([sen], msg=sen.name, retry_single=False) File "/usr/src/app/./run.py", line 191, in read_sensors raise Exception(f"Multiple Modbus read errors: {err}") from err Exception: Multiple Modbus read errors: (1,74,2) CRC validation failed. [cmd] ./run.py exited 1 [cont-finish.d] executing container finish scripts... [cont-finish.d] done. [s6-finish] waiting for services. [s6-finish] sending all processes the TERM signal.
  3. yes, still get this errors orange white / D- orange / D+ [s6-init] making user provided files available at /var/run/s6/etc...exited 0. [s6-init] ensuring user provided files have correct perms...exited 0. [fix-attrs.d] applying ownership & permissions fixes... [fix-attrs.d] done. [cont-init.d] executing container initialization scripts... [cont-init.d] done. [services.d] starting services [services.d] done. 2022-06-06 15:15:52,652 INFO Loading HASS OS configuration 2022-06-06 15:15:52,675 DEBUG could not patch umodbus: numpy not found 2022-06-06 15:15:52,680 INFO Filter *last used for battery_soc, total_battery_charge, total_battery_discharge, total_grid_export, total_grid_import, total_pv_power 2022-06-06 15:15:52,685 INFO Connecting to serial:///dev/ttyUSB0 2022-06-06 15:15:52,781 INFO ############################################################ 2022-06-06 15:15:52,781 INFO Inverter serial number '2112086345' 2022-06-06 15:15:52,782 INFO ############################################################ 2022-06-06 15:15:52,783 INFO MQTT: Connecting to mqtt_user@core-mosquitto:1883 2022-06-06 15:15:52,805 INFO MQTT: Connection successful 2022-06-06 15:15:53,911 ERROR Read Error: (1,78,1) CRC validation failed. 2022-06-06 15:15:53,911 INFO Retrying individual sensors: ['Total PV Power:last', 'Total Battery Charge:last', 'Total Battery Discharge:last', 'Total Grid Export:last', 'Total Grid Import:last', 'Battery SOC:last'] 2022-06-06 15:15:54,053 ERROR Read ErrorTotal Battery Charge: (1,72,2) CRC validation failed. 2022-06-06 15:15:54,447 ERROR Read Error: (1,72,4) CRC validation failed.
  4. Thank you for the advise above i am now connected, but get incorrect readings form my battery, please see log file 2022-06-05 19:32:21,376 INFO Loading HASS OS configuration 2022-06-05 19:32:21,393 DEBUG could not patch umodbus: numpy not found 2022-06-05 19:32:21,398 INFO Filter *last used for battery_soc, total_battery_charge, total_battery_discharge, total_grid_export, total_grid_import, total_pv_power 2022-06-05 19:32:21,399 INFO Connecting to serial:///dev/ttyUSB0 2022-06-05 19:32:21,482 INFO ########################################################### 2022-06-05 19:32:21,482 INFO Inverter serial number 'xx' 2022-06-05 19:32:21,483 INFO ############################################################ 2022-06-05 19:32:21,484 INFO MQTT: Connecting to mqtt_user@core-mosquitto:1883 2022-06-05 19:32:21,500 INFO MQTT: Connection successful 2022-06-05 19:32:22,613 ERROR Read Error: (1,78,1) CRC validation failed. 2022-06-05 19:32:22,615 INFO Retrying individual sensors: ['Total PV Power:last', 'Total Battery Charge:last', 'Total Battery Discharge:last', 'Total Grid Export:last', 'Total Grid Import:last', 'Battery SOC:last'] 2022-06-05 19:32:22,755 ERROR Read ErrorTotal Battery Charge: (1,72,2) CRC validation failed. 2022-06-05 19:32:22,825 ERROR Read ErrorTotal Battery Discharge: (1,74,2) CRC validation failed. 2022-06-05 19:32:22,963 ERROR Read ErrorTotal Grid Import: (1,78,1) CRC validation failed. 2022-06-05 19:32:23,099 ERROR Read Error: (1,72,4) CRC validation failed. 2022-06-05 19:33:23,208 ERROR Read Error: (1,72,4) CRC validation failed. 2022-06-05 19:34:23,315 ERROR Read Error: (1,72,4) CRC validation failed. 2022-06-05 19:35:23,411 ERROR Read Error: (1,72,4) CRC validation failed. Traceback (most recent call last): File "/usr/local/lib/python3.9/site-packages/sunsynk/sunsynk.py", line 52, in read_sensors r_r = await self.read_holding_registers(grp[0], glen) File "/usr/local/lib/python3.9/site-packages/sunsynk/usunsynk.py", line 43, in read_holding_registers return await self.client.read_holding_registers(self.server_id, start, length) File "/usr/local/lib/python3.9/site-packages/async_modbus/core.py", line 181, in read_holding_registers return await self._send_message(request) File "/usr/local/lib/python3.9/site-packages/async_modbus/core.py", line 142, in _send_message return await self.protocol._async_send_message( File "/usr/local/lib/python3.9/site-packages/async_modbus/core.py", line 78, in send_message_rtu return rtu.parse_response_adu(response_error_adu + response_remainder, adu) File "/usr/local/lib/python3.9/site-packages/umodbus/client/serial/rtu.py", line 183, in parse_response_adu validate_crc(resp_adu) File "/usr/local/lib/python3.9/site-packages/umodbus/client/serial/redundancy_check.py", line 76, in validate_crc raise CRCError('CRC validation failed.') umodbus.client.serial.redundancy_check.CRCError: CRC validation failed. During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/src/app/./run.py", line 180, in read_sensors await asyncio.wait_for(SUNSYNK.read_sensors(sensors), OPT.timeout) File "/usr/local/lib/python3.9/asyncio/tasks.py", line 478, in wait_for return fut.result() File "/usr/local/lib/python3.9/site-packages/sunsynk/sunsynk.py", line 54, in read_sensors raise Exception( # pylint: disable=raise-missing-from Exception: (1,72,4) CRC validation failed. The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/usr/src/app/./run.py", line 274, in <module> LOOP.run_until_complete(main(LOOP)) File "/usr/local/lib/python3.9/asyncio/base_events.py", line 642, in run_until_complete return future.result() File "/usr/src/app/./run.py", line 260, in main await polltask File "/usr/src/app/./run.py", line 252, in poll_sensors if await read_sensors([f.sensor for f in fsensors]): File "/usr/src/app/./run.py", line 191, in read_sensors raise Exception(f"Multiple Modbus read errors: {err}") from err Exception: Multiple Modbus read errors: (1,72,4) CRC validation failed. [cmd] ./run.py exited 1 [cont-finish.d] executing container finish scripts... [cont-finish.d] done. [s6-finish] waiting for services. [s6-finish] sending all processes the TERM signal.
  5. Morning @Sc00bs I do get reply, attached,i also atached screenshot of addon log
  6. Marius Schonken joined the community
  7. @Bloubul7 Hope you can help me, i bought the USB-to-RS485 adaptor dongle as per this page: https://github.com/kellerza/sunsynk Cable crimped and installed as per instructions, Please see my configuration port addon port: serial:///dev/ttyUSB0 driver: umodbus swynsynkid: 2****** **** I get the following error in the log: s6-init] making user provided files available at /var/run/s6/etc...exited 0. [s6-init] ensuring user provided files have correct perms...exited 0. [fix-attrs.d] applying ownership & permissions fixes... [fix-attrs.d] done. [cont-init.d] executing container initialization scripts... [cont-init.d] done. [services.d] starting services [services.d] done. 2022-05-28 17:11:07,636 INFO Loading HASS OS configuration 2022-05-28 17:11:07,653 DEBUG could not patch umodbus: numpy not found 2022-05-28 17:11:07,658 INFO Filter *last used for battery_soc, total_battery_charge, total_battery_discharge, total_grid_export, total_grid_import, total_pv_power 2022-05-28 17:11:07,659 INFO Connecting to serial:///dev/ttyUSB0 2022-05-28 17:11:17,689 ERROR Timeout reading: 2022-05-28 17:11:17,689 INFO ############################################################ 2022-05-28 17:11:17,690 INFO No response on the Modbus interface, try checking the wiring to the Inverter, the USB-to-RS485 converter, etc 2022-05-28 17:11:17,690 INFO ############################################################ 2022-05-28 17:11:17,690 CRITICAL This Add-On will terminate in 30 seconds, use the Supervisor Watchdog to restart automatically. [cmd] ./run.py exited 0 [cont-finish.d] executing container finish scripts... [cont-finish.d] done. [s6-finish] waiting for services. [s6-finish] sending all processes the TERM signal. In the Terminal i can see /dev/ttyUSB0 Hope you can assit

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.