Replies: 18 comments 47 replies
-
Hi, it would be easy if we get the needed documentation. In any Daly protocol docs that I've seen, there's nothing like a serial number. brgds |
Beta Was this translation helpful? Give feedback.
-
Please address this also, if you are looking into it: #31 Only 2. is left. |
Beta Was this translation helpful? Give feedback.
-
I requested the documentation from the official Aliexpress dealer. Unfortunately the daly doesn't seem to send much data. |
Beta Was this translation helpful? Give feedback.
-
Hi all here is an excel file with most of the hex commands here is a post with even more hex commands They even are able to set SOC, which would be very helpful. This way you could correct the SOC automatically via node red when it (as in my case) always only charges to 99.5%... |
Beta Was this translation helpful? Give feedback.
-
very nice, with that info it should be quite easy (if the info is accurate at least) |
Beta Was this translation helpful? Give feedback.
-
@mr-manuel |
Beta Was this translation helpful? Give feedback.
-
Hi all, tried to test the hex strings with node red just to make sure they generate the answer which is expected. Somehow I run into problems: I try to test this as my plan is to switch MOS from Noderred in the future, which, btw, does not work either. I'm not sure if I use the right syntax in the nodes. Would be much appreciated, if someone could check my Nodered flow... What I see as well, just fyi: as soon as I activate the flow, the BMS is no longer connected to the bus-serialbattery driver and so not updated in venusOS. I need to deactivate the flow in Nodered to see the battery updated in VenusOS again. If we want to control the BMS via Nodered in the future, we need to find a way around that as well... thank you |
Beta Was this translation helpful? Give feedback.
-
I see, that's what I guessed... Regarding your question about the trigger for resetting SOC in #31 What still would work is the approach mr-manuel has chosen with the dbus-mqtt-battery driver: if we could make the dbus-serialdriver script polling from the MQTT broker, the possibilities would be great: you could set SOC via MQTT but as well switch off charging or discharging MOS. |
Beta Was this translation helpful? Give feedback.
-
@teefixx I created a pull request with production date added to the hardware version string. This should solve your identification problem |
Beta Was this translation helpful? Give feedback.
-
serial with date works great, just tested it. THANK YOU |
Beta Was this translation helpful? Give feedback.
-
there seems to be a problem now with the ChargeCycles, did you change something there? It used to work before the update, see screenshot |
Beta Was this translation helpful? Give feedback.
-
Hi, we can also use battery code. Sounds even better than production date (which is really a date field), just hope that it has no special meaning? But in my devices, theres is just also date code in: The charge cycles are read with the same transmission that also includes the cell count and hasn't changed. |
Beta Was this translation helpful? Give feedback.
-
hm, just checked my device again, no errors. Please check the load with uptime |
Beta Was this translation helpful? Give feedback.
-
root@PiVenusOS:/data/log/dbus-serialbattery.ttyUSB2# uptime
19:29:10 up 2 days, 50 min, load average: 0.67, 1.28, 1.41
root@PiVenusOS:/data/log/dbus-serialbattery.ttyUSB2# ps | grep dbus-serial
1844 root 1612 S supervise dbus-serialbattery.ttyUSB4
1847 root 1756 S multilog t s25000 n4 /var/log/dbus-serialbattery.ttyUSB4
2427 root 1612 S supervise dbus-serialbattery.ttyUSB2
2429 root 1756 S multilog t s25000 n4 /var/log/dbus-serialbattery.ttyUSB2
11363 root 3048 S {start-serialbat} /bin/bash /opt/victronenergy/dbus-serialbattery/start-serialbattery.sh tty
11365 root 23472 S python /opt/victronenergy/dbus-serialbattery/dbus-serialbattery.py /dev/ttyUSB2
11408 root 3048 S {start-serialbat} /bin/bash /opt/victronenergy/dbus-serialbattery/start-serialbattery.sh tty
11410 root 20256 S python /opt/victronenergy/dbus-serialbattery/dbus-serialbattery.py /dev/ttyUSB4
11728 root 2692 S grep dbus-serial
root@PiVenusOS:/data/log/dbus-serialbattery.ttyUSB2# |
Beta Was this translation helpful? Give feedback.
-
We have always had issues with Daly BMS. Their comms protocol is badly designed. The amount of requests that has to be done and the baud speed used is terrible. This limits what can be transfered and how fast you can get a new set of data from the BMS. battery.poll_interval was added to help with Daly's. So we can set a polling interval that is slower (e.g. 2sec) to give time to get all the data back before we request again. |
Beta Was this translation helpful? Give feedback.
-
@teefixx could you try this mv /data/etc/dbus-serialbattery/bms/daly.py /data/etc/dbus-serialbattery/bms/daly.py.backup
wget -O /data/etc/dbus-serialbattery/bms/daly.py https://raw.githubusercontent.com/mr-manuel/venus-os_dbus-serialbattery/jkbms_ble/etc/dbus-serialbattery/bms/daly.py |
Beta Was this translation helpful? Give feedback.
-
Will do, but I‘m more or less not at hume until monday...
|
Beta Was this translation helpful? Give feedback.
-
I've the SOC setting done, see merge request... |
Beta Was this translation helpful? Give feedback.
-
Hi all
I have a setup with two daly BMS in my system and cannot distinct them automatically as the driver assigns the same name to the batteries. If the VRM instance or the USB port changes, I don't know which battery is No1 or No2.
So far (at least via MQTT) there is no value read out which distincts a battery clearly.
@transistorgit
you corrected already the daly.py file. Would it be possibel to read out as well eg the battery production date or the battery code from the daly bms and publish it on MQTT? This way, one could set the date or the code accordingly to distinct the batteries as well in MQTT and further in nodered...
I'm open for other suggestions to solve this as well...
thank you
Beta Was this translation helpful? Give feedback.
All reactions