Skip to content
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

After upgrade to new version - unable to add invterter - unknown error #977

Open
perjmolsen opened this issue Aug 4, 2024 · 33 comments
Open
Labels
bug Something isn't working non solax

Comments

@perjmolsen
Copy link

perjmolsen commented Aug 4, 2024

Describe the bug

Hi
I have upgraded to the newest version of SolarX modbus, now I am unable to add my invterter.

When I try to add it, I get "unknown error," I am adding the inverter withh the same information as earlier.

mic3000tl-xe
/dev/ttyUSB0
9600

I have removed the old invterter - rebooted HA og redownloaded the newest add on - still the same issue

Please help

Integration Version

2024.8.6

Homeassistant core version

2024.7.4

Inverter brand

Growatt

Plugin used

plugin_growatt.py

Serial prefix

QUH7CEQ0CW

Connection Method

Serial

Detailed Error Log

No logs available
error

Additional context

No response

@perjmolsen perjmolsen added bug Something isn't working non solax labels Aug 4, 2024
@FloCodeRian
Copy link

FloCodeRian commented Aug 4, 2024

some here - other inverter brand (tigo/qcells with solar plugin) but some method used ... usb to serial

@perjmolsen
Copy link
Author

How did you solve it?

@wuschi1983
Copy link

Same problem here

@Zvolli
Copy link

Zvolli commented Aug 5, 2024

Same issue here, all unknown entity state. Followed instructions with warnings but problem still occurs.
Downgrade to main does not take any effect. Removing SolaX from HACS and re install it does not work either.

@granthgh
Copy link

granthgh commented Aug 6, 2024

Describe the bug

Hi I have upgraded to the newest version of SolarX modbus, now I am unable to add my invterter.

When I try to add it, I get "unknown error," I am adding the inverter withh the same information as earlier.

mic3000tl-xe /dev/ttyUSB0 9600

I have removed the old invterter - rebooted HA og redownloaded the newest add on - still the same issue

Please help

Integration Version

2024.8.6

Homeassistant core version

2024.7.4

Inverter brand

Growatt

Plugin used

plugin_growatt.py

Serial prefix

QUH7CEQ0CW

Connection Method

Serial

Detailed Error Log

No logs available error

Additional context

No response

Same problem here with Growatt SPH6000 .

@FloCodeRian
Copy link

Workaround would be - downgrading via zip download of version 2024.05.07

https://github.com/wills106/homeassistant-solax-modbus/tree/2024.05.7

@mfcltd
Copy link

mfcltd commented Aug 6, 2024

Same problem too.

@rhlavienka
Copy link

the same here
Solax G4

@granthgh
Copy link

granthgh commented Aug 6, 2024

Workaround would be - downgrading via zip download of version 2024.05.07

https://github.com/wills106/homeassistant-solax-modbus/tree/2024.05.7
‐------------------------

I've tested downgrading to this version and it does get round the issue.

@wills106
Copy link
Owner

wills106 commented Aug 6, 2024

@perjmolsen

You can get more detailed error logs following:
https://homeassistant-solax-modbus.readthedocs.io/en/latest/faq/#detailed-error-log

@Zvolli

Do you get "unknown error occurred" when adding your Inverter, or just your entities have gone to unknown since updating to 2024.08.x?

For everyone else who's saying "same here" can you clarify what the actual issue is.

Either
"unknown error occurred" like @perjmolsen
Or all entities are showing "unknown"

@granthgh
Copy link

granthgh commented Aug 6, 2024

My original issue was that after upgrading to 2024.8.6 some of the entities became unknown.
I then deleted the inverter and tried re-adding it, but when I got to the box with the COM port / data rate I got the unknown error when actioning it.
Since then I've downgraded to 2024.05.07 I was able to add the inverter and the entities are now working.
There are no errors in the logs.

@Zvolli
Copy link

Zvolli commented Aug 7, 2024 via email

@rhlavienka
Copy link

@wills106
I'm sorry, I thought all of us have the same issue.
I removed inverter from integration and after upgrade to 2024.8.7
is not possible add it back.
I get "unknown error occurred" when adding Inverter.

@Zvolli
Copy link

Zvolli commented Aug 7, 2024 via email

@mfcltd
Copy link

mfcltd commented Aug 7, 2024

Same problem too.

@wills106 - When re-adding the inverter after upgrading, the unknown error occurs.

@HaareistNase
Copy link

HaareistNase commented Aug 7, 2024

Edit: other Problem
I can add Growatt SPH4000 and MIC3000
But all of the Sensors on MIC reads "unknown".

Downgrade to 05.07 solves the Problem.

@Mike5229
Copy link

Mike5229 commented Aug 8, 2024

Workaround would be - downgrading via zip download of version 2024.05.07
https://github.com/wills106/homeassistant-solax-modbus/tree/2024.05.7
‐------------------------

I've tested downgrading to this version and it does get round the issue.

Hi,

can you please briefly explain how to perform the downgrade?

@toszym
Copy link

toszym commented Aug 8, 2024

I can confirm, downgrading to version 2024.05.07 works.
Steps to follow: remove current version from HACS and then follow manual installation steps ( download tar.gz or zip archive, upload to homeassistant, unzip and move solax_modbus folder to /homeassistant/custom_components/)

@Zvolli
Copy link

Zvolli commented Aug 8, 2024 via email

@rhlavienka
Copy link

I waited 2 days if by chance updating the entire HA doesn't solve the problem. No it didn't.
So I also downgraded.

Using the File Editor, I deleted the content of the folder /custom_components/solax_modbus and replaced it with the content from version 2024.5.7. I can't delete folder or multiple files at once in the File Editor. It is necessary individually, but there is not much of it.

See Manual installation
https://homeassistant-solax-modbus.readthedocs.io/en/latest/installation/

@shaarkys
Copy link

shaarkys commented Aug 8, 2024

Same here, trying to add Solax X3 G4 after removal due to the unknown entities after 2024.08.8 upgrade and duplicated inverters (even I do have only one) and can't get over this :
solaxX3setup

Time to manual downgrade and re-adding back inverter.

I'm on HA Core 2024.8.0, Frontend 20240806.1

update actually might be user error, I used wrong port number - confirmed, it was user error. Still I would expect some time out or something like that but had to restart HA to recover....

@ruimmsimoes
Copy link

I have a SolaX inverter and I’m having the same issue.
I upgraded to version 2024.08.08.
When adding the inverter after the upgrade I’m also getting the same error message.
In the logs I am seeing an error message that is the same as the one reported in this 2 issues:
#988 - Solax X3 Hybrid Raspberry RS485 USB -> Unknown error occurred
#976 - 'SolaX' - 'Gen3' crash on add integration "KeyError: 'support-battery'"

@ralfna
Copy link

ralfna commented Aug 12, 2024

Same issue with Qcells/Solax, in addition to downgrade I have to reset the WiFi dongle to get the integration back to work.

@wills106
Copy link
Owner

Temporary workaround is explained #996 (comment)

@martinpichlo
Copy link

Workaround ist not working for me. Trying to add the integration with TCP/IP didn't come back but and stays in "initialization". Changing settings in that state results in an integration without service and devices, after reboot :-(

@martinpichlo
Copy link

martinpichlo commented Aug 14, 2024

I can confirm, downgrading to version 2024.05.07 works. Steps to follow: remove current version from HACS and then follow manual installation steps ( download tar.gz or zip archive, upload to homeassistant, unzip and move solax_modbus folder to /homeassistant/custom_components/)

Is the downgrading of the integration also working on HA 2024.8.1? I don't get it working. I'm able to select the integration. But instead of "unknown error" I got a spinning waiting icon all the time.

image

@wills106 : How could we all support, find the problem?

@wills106
Copy link
Owner

I have released 2024.08.11 it may fix this error, but no error logs in this issue thread so can't check.

@granthgh
Copy link

granthgh commented Aug 24, 2024

I have released 2024.08.11 it may fix this error, but no error logs in this issue thread so can't check.

Still got the same unknown error has occurred, with 2924.08.11. Attached the only entries in the logs, but unsure whether these are related.
354911936-714c3f54-35f3-47c5-9436-4ce594776cf8
Screenshot_20240824-213139_Chrome
Screenshot_20240824-212623_Chrome

@wills106
Copy link
Owner

@perjmolsen I don't know if 2024.08.12 will help with your issue, but it should resolve @granthgh issue. Where it can't read "Inverter Module"

@wills106
Copy link
Owner

wills106 commented Sep 7, 2024

Has this been resolved so I can close this issue down?

@granthgh
Copy link

granthgh commented Sep 7, 2024

Issue still exists, but workaround, setting up as tcp and then changing to serial, gets round the issue.

@wills106
Copy link
Owner

wills106 commented Sep 7, 2024

I didn't introduce the serial support, are you able to try and fix the issue?
I don't use or own any RS485 equipment, so going to be difficult to fix from my end.

@granthgh
Copy link

granthgh commented Sep 8, 2024

The issue is that there's no errors recorded, so it needs someone with an offline system, as I need mine up and running to manage my inverter. I presume there have been significant changes since the working 2024.7, so difficult to identify the changes to the code that broke it. As there's a workaround then I think it can be put on the back burner and If you want I'm happy to look at the code to see if I can spot an issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working non solax
Projects
None yet
Development

No branches or pull requests