Samuel Brucksch
Samuel Brucksch
Looking good, first try with python-can lib: ``` INFO:SerialBattery:Starting dbus-serialbattery INFO:SerialBattery:dbus-serialbattery v0.12 INFO:SerialBattery:No Port needed INFO:SerialBattery:Testing DalyCAN 18944001: bytearray(b'\x10\x01\x00\x00\x02\x00\x00\x00') INFO:SerialBattery:DalyBMS 16 cells INFO:SerialBattery:Connection established to DalyCAN INFO:SerialBattery:DeviceInstance = 2 INFO:SerialBattery:com.victronenergy.battery.USB9...
Oh yeah: It's fully working now. Needs some cleanup, but will create a PR soon, so we can check if everything is ok. Adoption of Daly to Daly CAN was...
PR with working code: https://github.com/Louisvdw/dbus-serialbattery/pull/169
Cell voltages from last 6h: Seems to be stable and also the values look very nice now. No weird values anymore.
I use openhab which has Grafana integrated for visualization of the values that openhab gets. Requires influxdb additionally to that: https://community.openhab.org/t/influxdb-grafana-persistence-and-graphing/13761
You need two terminals to test if the CAN connection works. One for candump and one for cansend. Your cansend snippet does not show any Daly messages. Also you need...
Data that came in: ``` 0xa5, 0x1, 0x95, 0x8, 0x1, 0xd, 0x29, 0xd, 0x33, 0xd, 0x32, 0x90, 0x89 0xa5, 0x1, 0x95, 0x8, 0x2, 0xd, 0x2f, 0xd, 0x2e, 0xd, 0x33, 0x90,...
Ok did some further investigation and it seems like the daly reports less cells on random frames a few times... Now with the fix in my PR at least the...
How does wrong cells voltage affect the min/max values? those are requested seperately: https://github.com/Louisvdw/dbus-serialbattery/blob/277511359efa674a181afd3b010f01ac6de6be13/etc/dbus-serialbattery/daly.py#L258-L272 So even if the cells voltages are wrong, if Daly reports the min/max correctly it should...
For now i disabled battery cells voltage again. After a few hours suddenly no cell voltages were read anymore, but all the other values still worked. Very weird. Will try...