StephanJoubert / home_assistant_solarman

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

All sensors unavailable for Sofar 6.6 KTL-X #192

Open mhoogenbosch opened 1 year ago

mhoogenbosch commented 1 year ago

Idk what happened but all my sensors are unavailable. I have removed the integration and reinstalled, but they stay unavailable, even after waiting for at least 10 minutes.

The system itself works just fine, the IP address is correct.

Maybe it is exactly the same as https://github.com/StephanJoubert/home_assistant_solarman/issues/189, but since the description is a bit different I created a new issue.

Only the following sensor has a value: sensor.solarman_status_connection

The status is 'disconnected'

math322 commented 1 year ago

search in your inverter yaml definition for "validation" entry and remove/comment this entry

the unhandled exception is "ValueError"

mhoogenbosch commented 1 year ago

inverter yaml definition for "validation" entry and remove/comment this entry

I have set up the integration through the GUI.

When I go to config/custom_components/solarman/inverter_definitions I can edit the sofar_lsw3.yaml, but when searching for validation it doesn't find anything.

Am I looking into the wrong file?

dsgepers commented 1 year ago

You can also try downgrade to 1.4.1 by redownloading it through HACS and see if that works.

I have the 4.4KTL-X, and after upgrading to 1.4.2 I had the same problem, and downgrading solved it for now. There seems to be an issue with 1.4.2 and the Sofar KTL-X inverters.

math322 commented 1 year ago

I use the deye_4mppt.yaml and the problem was gone after disabling the validation lines. Version 1.4.1 doesn't support my inverter.

mhoogenbosch commented 1 year ago

For some reason it doens't seem to download 1.4.1. It keeps downloading 1.4.2. I'll try and see if I can get this going.

mhoogenbosch commented 1 year ago

You can also try downgrade to 1.4.1 by redownloading it through HACS and see if that works.

I have the 4.4KTL-X, and after upgrading to 1.4.2 I had the same problem, and downgrading solved it for now. There seems to be an issue with 1.4.2 and the Sofar KTL-X inverters.

How did you downgrade?

dsgepers commented 1 year ago

You can choose the redownload option in HACS:

image

I had the issue with it redownloading 1.4.2. The solution for me was to be more patient after switching versions in the dropdown and wait for the dropdown to become available again after switching before clicking Download.

image

Uriziel01 commented 1 year ago

@mhoogenbosch Did you manage to solve your issue? I'm having the exact same one with sofar_lsw3

mhoogenbosch commented 1 year ago

@mhoogenbosch Did you manage to solve your issue? I'm having the exact same one with sofar_lsw3

No unfortunately not. I tried with the instructions above but still the unknown value. I know for sure I have 1.4.1 installed because it suggest to update to 1.4.2.

I found a different integration , which isn’t so nice as this one but at least that one works. This can be found here: https://github.com/MaGumagus/local_sofar_inverter

Hopefully the integration gets some love, more than willing to help , if I need to provide any logs please give some pointers to which.

HubertPodgorski commented 1 year ago

Same issue here, i just don't know if it was working before as it is my initial setup.

Every entity is unavailable. Dd You try to do any workarounds with current integration. Don't want to install any other

mhoogenbosch commented 1 year ago

Same issue here, i just don't know if it was working before as it is my initial setup.

Every entity is unavailable. Dd You try to do any workarounds with current integration. Don't want to install any other

Yes, I tried installing 1.4.1 but doesn't work for me. Haven't tried earlier versions before 1.4.1, so maybe you could try those?

Uriziel01 commented 1 year ago

I've installed 1.4.1 and after a HA restart it's working again. Would love to help creators here by doing a research on the exact commit that broke the integration, unfortunately I do not have much spare time for the next few days.

HubertPodgorski commented 1 year ago

How do i see if they are available or not? Status unknown on all of them, but never been known so cant confirm if its working. Got installed 1.4.1, not sure how long it takes entity to get the data

Uriziel01 commented 1 year ago

Few minutes usually (I think default is 5minutes), just remember the inverter has to be ON, so no testing at night or during solar eclipse 😄

HubertPodgorski commented 1 year ago

Yeah, so mine does not work with 1.4.1 unless i should pick different config file. Which one are You guys using?

Uriziel01 commented 1 year ago

The config of course depends on the device, I'm using sofar_lsw3.

mhoogenbosch commented 1 year ago

Mine doesn't work with 1.4.1 either (anymore). I don't know what happened, but it used to work fine.

HubertPodgorski commented 1 year ago

With my Sofar HYD6KTL, with sofar config file i see "something" but production is 0. Also i see no entity for grid output/consumption and input, i see only solar entities

mhoogenbosch commented 1 year ago

Updated to 1.4.3 no change.

Same issue: https://github.com/StephanJoubert/home_assistant_solarman/issues/215