Open m0jek opened 1 year ago
I also could not get this code to work on my Daly. I cloned another project and with some effort managed to get it talking. Maybe this can help in solving the issues
I am working on this.
@tomatensaus What project did you use?
I have published my changes here. https://github.com/tomatensaus/python-daly-bms
I'm having what appears to be a similar problem. This is from a 500A Daly Smart BMS that's about 16 months old.
I've attached logs. Let me know if there's anything else that would be helpful.
Hi,
I have four Sterling Power LiFePO batteries that have built in Daly Smart BMS BT, however they use a different message header to what you are using. There is more information here; https://github.com/roccotsi2/esp32-smart-bms-simulation/blob/main/README.md
I'm in the process of trying to get to test the stand alone code, but use not working too well, and I am not a Python programmer so is step learning curve for me/
extract;
Data format of used Smart BMS from Daly:
This section does not contain the full data format for Daly Smart BMS (there seems to be different Smart BMS that uses another data format, anyway), because I found no official documentation on this and therefore I analyzed the data packets. The results of my analysis are documented in this section. It seems to be the case that Smart BMS is waiting for some data (because Android App does send commands to my simulation while connected to it), but I do not know how to interpret these data yet. This section will be updated if I get new insights on the data format.
Daly Smart BMS expects following commands (data from client to Smart BMS):
Request RunInfo (tab status in Smart BMS app): D2 03 00 00 00 3E D7 B9 Request some unknown values (tab status in Smart BMS app): D2 03 00 A9 00 20 87 91 Request some unknown values (tab parameter in Smart BMS app): D2 03 00 80 00 29 96 5F Daly Smart BMS uses the following format to send data (data from Smart BMS to a client):