StephanJoubert / home_assistant_solarman

Home Assistant component for Solarman collectors used with a variety of inverters.
Apache License 2.0
508 stars 190 forks source link

ZCS 1PH2200TL-V3 support #527

Open 81ondo opened 4 months ago

81ondo commented 4 months ago

I have inverter zcs model Azzurro 1PH2200TL-V3, trying to use the various yaml I cannot get any data but get the error below, both with version 1.4.3 and 1.5.1, the HA version is 2024.2.x.

2024-02-28 16:45:10.646 WARNING (MainThread) [py.warnings] /config/custom_components/solarman/sensor.py:191: SyntaxWarning: invalid escape sequence '\S'
  if uom and (re.match("\S+", uom)):
2024-02-28 16:46:19.295 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.solarman_pv_generation_today is taking over 10 seconds
2024-02-28 16:46:24.310 WARNING (SyncWorker_16) [custom_components.solarman.solarman] Querying [1024 - 1067] failed with exception [Empty: ]
2024-02-28 16:46:24.326 WARNING (SyncWorker_16) [custom_components.solarman.solarman] Querying [1024 - 1067] failed, [1] retry attempts left
2024-02-28 16:46:39.295 WARNING (MainThread) [homeassistant.components.sensor] Updating solarman sensor took longer than the scheduled update interval 0:00:30
2024-02-28 16:46:39.336 WARNING (SyncWorker_16) [custom_components.solarman.solarman] Querying [1024 - 1067] failed with exception [Empty: ]
2024-02-28 16:46:39.351 WARNING (SyncWorker_16) [custom_components.solarman.solarman] Querying [1024 - 1067] failed, [0] retry attempts left
2024-02-28 16:46:39.351 WARNING (SyncWorker_16) [custom_components.solarman.solarman] Querying registers [1024 - 1067] failed, aborting.
2024-02-28 16:47:11.310 WARNING (SyncWorker_32) [custom_components.solarman.solarman] Querying [1024 - 1067] failed with exception [V5FrameError: V5 frame does not contain a valid Modbus RTU frame]
2024-02-28 16:47:11.811 WARNING (SyncWorker_32) [custom_components.solarman.solarman] Querying [1024 - 1067] failed, [1] retry attempts left

At this point I believe that no yaml is compatible with this inverter model (it is not even indicated within the yaml :)). Is there a guide to create a new yaml specifically for this single-phase inverter?

81ondo commented 4 months ago

With sofar_lsw3.yaml i get different error:

2024-02-28 17:23:12.824 WARNING (SyncWorker_13) [custom_components.solarman.solarman] Querying [0 - 39] failed with exception [Empty: ]
2024-02-28 17:23:13.166 WARNING (SyncWorker_13) [custom_components.solarman.solarman] Querying [0 - 39] failed, [1] retry attempts left
2024-02-28 17:23:14.436 WARNING (SyncWorker_13) [custom_components.solarman.solarman] Querying [0 - 39] failed with exception [CRCError: CRC validation failed.]
2024-02-28 17:23:14.937 WARNING (SyncWorker_13) [custom_components.solarman.solarman] Querying [0 - 39] failed, [0] retry attempts left
2024-02-28 17:23:14.937 WARNING (SyncWorker_13) [custom_components.solarman.solarman] Querying registers [0 - 39] failed, aborting.