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

SunSpec after Restart HA not available #274

Open
290989 opened this issue Aug 9, 2024 · 6 comments
Open

SunSpec after Restart HA not available #274

290989 opened this issue Aug 9, 2024 · 6 comments

Comments

@290989
Copy link

290989 commented Aug 9, 2024

Hi, I have this error after restart Home Assistant:

Einrichtung fehlgeschlagen, wird erneut versucht: Caught blocking call to sleep with args (0.5,) inside the event loop by custom integration 'sunspec' at custom_components/sunspec/api.py, line 159: client.scan(. (offender: /usr/local/lib/python3.12/site-packages/sunspec2/modbus/client.py, line 258: time.sleep(delay)), please create a bug report at https://github.com/cjne/ha-sunspec/issues For developers, please see https://developers.home-assistant.io/docs/asyncio_blocking_operations/#sleep

Does anyone have an idea to fix it?

Thank you.

@rainersax
Copy link

same issue here.

@290989
Copy link
Author

290989 commented Aug 12, 2024

After a restart from the inverter, sunspec worked again for me

@alphabravocharly72
Copy link

Hello, I have the same issue. After a restart from HA (eg update or other reasons) the integration shows no values. After a manually restart (sun spec) it works. It looks like during HA start the integration doesn't start as it should.

@CJNE
Copy link
Owner

CJNE commented Aug 18, 2024

I think this should work better with the latest version, 0.0.26

@timoverwoest
Copy link

Hi CJNE, I still seems to have the issue.

@alphabravocharly72
Copy link

Same. Not better with the new version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants