StephanJoubert / home_assistant_solarman

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

Not reading anymore from SOLARMAN LW3 #438

Open Mak69 opened 8 months ago

Mak69 commented 8 months ago

Inverter ZCS 1PH HYD 6000 ZSS HP + SOLARMAN USB LW3 stick. Yesterday my LW£ performed a self update to firmware version LSW3_15_270A_1.68 Since yesterday Home Assistant can't read anymore the inverter parameters. I was using hyd-zss-hp-3k-6k.yaml file. If I go into the solarman integration configuration menu I can't find anymore this file even if it's present in /custom_components/solarman/inverter_definitions. What I'm doing wrong? Thx in advance

Mak69 commented 8 months ago

Debug enabled First message

Questo errore ha avuto origine da un'integrazione personalizzata.

Logger: custom_components.solarman.solarman
Source: custom_components/solarman/solarman.py:88
Integration: Solarman (documentation, issues)
First occurred: 11:27:07 (10 occurrences)
Last logged: 11:29:07

Querying [1024 - 1067] failed with exception [OSError: [Errno 24] No file descriptors available]

Second message

Questo errore ha avuto origine da un'integrazione personalizzata.

Logger: custom_components.solarman.solarman
Source: custom_components/solarman/solarman.py:91
Integration: Solarman (documentation, issues)
First occurred: 11:27:07 (10 occurrences)
Last logged: 11:29:07

Querying [1024 - 1067] failed, [1] retry attempts left
Querying [1024 - 1067] failed, [0] retry attempts left

Third message

Questo errore ha avuto origine da un'integrazione personalizzata.

Logger: custom_components.solarman.solarman
Source: custom_components/solarman/solarman.py:96
Integration: Solarman (documentation, issues)
First occurred: 11:27:07 (5 occurrences)
Last logged: 11:29:07

Querying registers [1024 - 1067] failed, aborting.
wjt333 commented 8 months ago

check this inverter definition:

https://gist.github.com/MatteCarra/3524c1c29f4ef58028ae3d182694490f

Nusserdt commented 7 months ago

I think I have the same issue:

image

I have no plan how to fix.

waaslandwolf commented 6 months ago

Same issue here. Firmware is now LSW3_15_270A_1.68 and the Solarman integration in Home Assistant is now broken. It shows all PV values as "unavailable".

I did some troubleshooting and managed to fix it. The issue was that the customer inverter definition "custom_parameters.yaml" seems to have been deleted during the upgrade. Because of this, the Solarman HA integration cannot find the register definitions and doesn't know how to map the values it receives from the PV installation's dongle to Home Assistant variables. Once I restored a backup copy of the "custom_parameters.yaml" file to the custom_components\solarman\inverter_definitions folder and restarted Home Assistant, the integration was back up & running as normal.

To fix this, (in Home Assistant) go to Settings - Devices & Services and select the Solarman integration. Click the Configure button. Note the filename of the inverter integration file as configured. For me this is "custom_parameters.yaml".

Now open a file explorer and navigate to your Home Assistant config folder (this will require the Samba add-onto be set up in your HA). Copy a backup of your inverter integration file into the folder \config\custom_components\solarman\inverter_definitions.

Restart Home Assistant, and the Solarman integration should be working again.

I hope this helps, and that you have good backups and manage to fix this. Happy holidays and best of luck!

waaslandwolf commented 6 months ago

I was using hyd-zss-hp-3k-6k.yaml file. If I go into the solarman integration configuration menu I can't find anymore this file even if it's present in /custom_components/solarman/inverter_definitions. What I'm doing wrong? Thx in advance

You could try to rename (or even better, make a copy of) your "hyd-zss-hp-3k-6k.yaml" file to "custom_parameters.yaml", and then configure that in the SolarMan integration. Restart Home Assistant, and with a bit if luck this could work.

Picard2002 commented 6 months ago

Does anyone have the custom_parameters.yaml file for a sofar 5ktlm g3?

wjt333 commented 6 months ago

Does anyone have the custom_parameters.yaml file for a sofar 5ktlm g3?

this works for 11ktlx-g3 https://gist.github.com/MatteCarra/3524c1c29f4ef58028ae3d182694490f

waaslandwolf commented 6 months ago

custom_parameters.yaml-working.txt This one works with Sofar 8.8KTL-X. You can try to see if it works with your inverter.

DynamiteAndric commented 3 months ago

Did someone have a working configuration YAML for LSW3_15_270A_1.68 firmware?

Vityok01030103 commented 3 months ago

Привет. Имеется Sofar 8.8KTLX-G3. Подскажите, пожалуйста, возможно ли сделать работу инвертора от 190 воль? А то при 195 вольтах он уходит в защиту. Может кто знает решение? Спасибо.

Vityok01030103 commented 3 months ago

Прошивка на нем такая. LSW3_15_270A_1.68