-
-
Notifications
You must be signed in to change notification settings - Fork 30
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
Unpack requires a buffer of 4 bytes problem with Deye & Ethernet logger #302
Comments
Hi @jkolo, thank your for your report. This issue should be fixed in v24.12.06 and latest release is v24.12.08_4. If you are still experiencing the issue after update, please enable debug logging and try to do the action. |
After updating to version 24.12.08_4 and, of course, restarting, the error still occurs. Also, I switched the profile to
There was also a second error: |
It may be useful to know that I use an Ethernet logger LSE3. Intuition tells me that the fix in v24.12.06 version may not have covered this case :) |
The fix was exactly for ethernet loggers. 😉 Edit: It's tracked in #262 Edit2:
As I mentioned in the first response. And attach the debug log here please. |
Damn, intuition to the trash.... Below log.
|
What is that messed up formatting? Anyway it looks like your sticks replies are even worse... they are missing not just quantity block but also register address... The reply is |
The error is just from parsing of the response so the question is, does the value change in the inverter or not? |
If yes then try fix: Workaround for modbus tcp responses w/o address and let me know. 😉 |
I downloaded the log in the file, so
On the inverter, the change occurs. Only in Home Assistatnt an error popup pops up.
I will try it tonight and let you know. |
Well, it's "worse" now. In the previous version an error would pop up, but the switch would remain in the state it was set in. Now the error does not pop up, but.... Turning the switch on works ok: the switch switches, a logbook entry appears and the inverter responds. When trying to switch off, the switch toggles, but no entry in the logbook and after a while it returns to the on state. Interestingly the inverter responds correctly to the option being switched off and does not switch the option back on even though on the interface the switch returns to the on state. Below is an overview video and log. Nagranie.ekranu_20241211_000152.webm
|
There was a bug! fix: Set of configurables to 0 did not update state in HA Thanks for catching that out! |
Description
When trying to change the configuration of the Deye SUN-12K-SG04-LP3 inverter a Home Assistant WebSocket API error
struct.error: unpack requires a buffer of 4 bytes
occurs.Reproduction Steps
Log
Version
24.12.06_3
Home Assistant Version
2024.12.1
The text was updated successfully, but these errors were encountered: