-
-
Notifications
You must be signed in to change notification settings - Fork 33
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
Pylontech addition failed - V5FrameError: V5 Modbus EXCEPTION: AcknowledgeError #329
Comments
Please try to add device w/ debug log enabled and attach the file. |
Here attached. I replaced the serial numbers (keep first and last digits and replaced the middle part with n, but had been all numbers). Hope that information is no further relevant. You see there are two devices, one works the other starting with 40 fails... |
So it's a problem w/ replies from your device as it's returning a modbus exception 0x05. I would try to strip out the original file of some registers. Particularly those in the 03 ~ 4096 - 4106 | 0x1000 - 0x100A range and try it w/o them. But I won't be much of a help here as I have zero experience w/ this type of a device... :-/ |
This issue is stale because it has been open for 30 days with no activity. |
You are right. I tried your recommendation to strip out suspisious registers. No change. Close this topic. |
Uh, I'm sorry to hear that! You could try to contact PowerCube manufacturer and see if they are willing to provide modbus rtu documentation. I think it's worth the shot. 😉 |
Description
I tried to configure a Pylontech Batterie which is equipped with a Solarman WLAN stick.
I found in the log following error message:
2024-12-17 21:57:42.003 ERROR (MainThread) [homeassistant.config_entries] Config entry 'Pylontech' from integration solarman has an invalid unique_id '400nnnnnnn' of type int when a string is expected, please create a bug report at https://github.com/davidrapan/ha-solarman/issues
2024-12-17 21:57:42.003 ERROR (MainThread) [homeassistant.config_entries] Config entry 'Pylontech' from integration solarman has an invalid unique_id '400nnnnnnn' of type int when a string is expected, please create a bug report at https://github.com/davidrapan/ha-solarman/issues
It seems there is a logic error, because HA expects a string and do not like the serial number, which consist only of numbers. So nnnnnnn had been replaced with my real serial number (don't want to post my full serial number)
At the GUI I see this:
V5 Modbus EXCEPTION: AcknowledgeError
Seems something went completely wrong with this. I have a Sofar Inverter already running and working. This was just the try to add the batterie information to it...
Reproduction Steps
configure Pylontech H2 Force Batterie with regular steps. Not sure if it hurts, because I have already an inverter connected and working. So this would be the second instance of solarman....
Log
2024-12-17 21:57:42.003 ERROR (MainThread) [homeassistant.config_entries] Config entry 'Pylontech' from integration solarman has an invalid unique_id '400......0' of type int when a string is expected, please create a bug report at https://github.com/davidrapan/ha-solarman/issues
2024-12-17 21:57:42.003 ERROR (MainThread) [homeassistant.config_entries] Config entry 'Pylontech' from integration solarman has an invalid unique_id '400......0' of type int when a string is expected, please create a bug report at https://github.com/davidrapan/ha-solarman/issues
2
Version
24.12.16
Home Assistant Version
2024.12.4
The text was updated successfully, but these errors were encountered: