-
-
Notifications
You must be signed in to change notification settings - Fork 2
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
Bug #60
Comments
Looks like you're using one of the test releases which should work fine with V2 but looks like its failing somewhere after sending the 44H CID2 command. Could you update to the v1.1.4-TESTING-ONLY version and provide the debug log again as I've added some more debugging logs and error handling around that part of the code. Thanks |
2024-02-27 16:49:48.001 WARNING (MainThread) [homeassistant.components.number] custom_components.bms_connector.number::YourNumberClass is overriding deprecated methods on an instance of NumberEntity, this is not valid and will be unsupported from Home Assistant 2022.10. Please report it to the custom integration author 2024-02-27 17:25:17.647 ERROR (MainThread) [custom_components.bms_connector.modules.bms.seplos.v2] Error decoding response: 'utf-8' codec can't decode byte 0xcb in position 109: invalid continuation byte
|
The data returned isn't that same format as what my V2 returns - Is this a V2 BMS? could you load it up in Battery Monitor and download the communications log Data returned by your BMS
Data returned by my BMS
|
2024-02-27 16:48:56.635 WARNING (SyncWorker_4) [homeassistant.loader] We found a custom integration bms_connector which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
|
Seplos V2.0 10E 3x |
Ok, looks like its getting confused reading the serial stream rather than cutting off at \r it continues to read other commands/responses. I have made some changes to how we read the serial (v1.1.6-TESTING), hopefully it should help but I think I need to do some work on how I read all the serial as i can see issues if the main battery/other software is polling the others. |
HACS (Home Assistant Community Store) Version: 1.34.0
|
Ok I still have quite a bit of work to do on the code but I think V1.1.7-TESTING-ONLY will get us closer, I've changed the way it handles and checks the modbus data |
BMS Version 🔄
V 2.0
Connection Method 🌐
USB-RS485
Pre-submission Checklist ✅
What's happening? 🤔
Entities are not loaded
Steps to Reproduce 🔍
...
Debug logs 📜
Diagnostics dump 📦
No response
The text was updated successfully, but these errors were encountered: