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

HA intergration no longer working in 2024.5 #585

Open
fredrikchabot opened this issue May 15, 2024 · 13 comments
Open

HA intergration no longer working in 2024.5 #585

fredrikchabot opened this issue May 15, 2024 · 13 comments

Comments

@fredrikchabot
Copy link

This error originated from a custom integration.

Logger: custom_components.solarman.solarman
Source: custom_components/solarman/solarman.py:96
integration: Solarman (documentation, issues)
First occurred: 14:35:09 (77 occurrences)
Last logged: 14:44:40

Querying registers [1 - 125] failed, aborting.

@NJTrance
Copy link

same issue Home Assistant Core Update 2024.5.3 kills integration.

all entities status unknown.

roll back on 2024.4.2 and works fine.

@NJTrance
Copy link

Solarman just stopped working #557

this seams to solve it.

"ha core rebuild"

just wait few minutes after HA restarts.

@Oberlandix
Copy link

Hi,
same issue here! Latest Core Update yesterday (2024.5.3) has killed my integration.

All entities of solarman now: status unknown.

"Querying registers (3- 89) failed, aborting.

This is very sad because I have a lots of automations and loggings active for my PV...

Looking forward to solve the problem - I ll try to roll back now; using proxmox-snapshot.

THX

@fejfarj
Copy link

fejfarj commented May 20, 2024

Hi, it works again after updating to Core 2024.5.4 today.

@Oberlandix
Copy link

Thx a lot fejfarj for this information. :-)

Please forgive my layman's question: Is it coincidence or pure luck that this now works for you or could you / someone read from the changelog for the latest version whether / what has been done to this adjusting screw?

I'm thinking about cloning my Homeassistant instance to Proxmox to be on the safe side and setting up a test system here for pre-testing, like in production, so to speak....

Many thanks!

@fejfarj
Copy link

fejfarj commented May 22, 2024

It was my intention to roll back to previous core version where it was working, but suddenly I saw new core version, so I gave it one try to see if new core will remove this issue.

@norb-HB
Copy link

norb-HB commented May 23, 2024

I have core 2024.5.4 and Solarman is still not working.

I wonder if the developer Stephan could comment if he intends to look after the issue?

@norb-HB
Copy link

norb-HB commented May 23, 2024

I'm not too keen to fiddlin around with my HA installation. However. Could please someone explain what the "ha core rebuild" actual does and if it fixes the issue for the latest core.

@gigibiacco
Copy link

I have core 2024.5.5 but Solarman integration is still non worching.
All entities: status unknown.
"ha core rebuild" has no effect.
some help please

@norb-HB
Copy link

norb-HB commented May 27, 2024

"ha core rebuild" did actually solve it for me

@Ajbadenhorst
Copy link

Can confirm "ha core rebuild" in ha CLI fixed it for me. I also needed to do a HA "Restart Home Assistant" for it to work again.

@gs-danielnikonczuk
Copy link

gs-danielnikonczuk commented May 29, 2024

Unfortunately for me ha core rebuild didn't fix the issue. I tried:

  • ha core rebuild
  • removing Solarman entirely along with the repo in HACS and setting up everything again

Entries from logs:
Querying registers [512 - 581] failed, aborting.
Querying [512 - 581] failed, [1] retry attempts left

Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "/config/custom_components/solarman/__init__.py", line 35, in update_listener
    hass.data[DOMAIN][entry.entry_id].config(entry)
    ~~~~~~~~~^^^^^^^^
KeyError: 'solarman'

024-05-29 15:21:12.734 INFO (SyncWorker_2) [custom_components.solarman.solarman] Connecting to solarman data logger 192.168.1.32:8899
2024-05-29 15:21:12.742 DEBUG (SyncWorker_2) [custom_components.solarman.solarman] Socket setup completed... <socket.socket fd=17, family=2, type=1, proto=6, laddr=('192.168.1.34', 52310), raddr=('192.168.1.32', 8899)>
2024-05-29 15:21:12.743 DEBUG (SyncWorker_2) [custom_components.solarman.solarman] SENT: a5 17 00 10 45 9b 00 7d 76 94 8e 02 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 03 02 00 00 46 c5 80 af 15
2024-05-29 15:21:12.813 DEBUG (SyncWorker_2) [custom_components.solarman.solarman] RECD: a5 13 00 10 15 9b 47 7d 76 94 8e 02 01 32 c0 87 00 ee 1c 00 00 96 6b cf 65 01 90 02 00 03 80 15
2024-05-29 15:21:12.813 WARNING (SyncWorker_2) [custom_components.solarman.solarman] Querying [512 - 581] failed with exception [CRCError: CRC validation failed.]
2024-05-29 15:21:12.814 INFO (SyncWorker_2) [custom_components.solarman.solarman] Disconnecting from solarman data logger 192.168.1.32:8899
2024-05-29 15:21:12.816 WARNING (SyncWorker_2) [custom_components.solarman.solarman] Querying [512 - 581] failed, [0] retry attempts left
2024-05-29 15:21:12.816 WARNING (SyncWorker_2) [custom_components.solarman.solarman] Querying registers [512 - 581] failed, aborting.

@groovinhigh04
Copy link

Same issues for me, ha core rebuild didn't help

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

9 participants