-
-
Notifications
You must be signed in to change notification settings - Fork 147
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
Daly BMS integration #3
Comments
Up Vote |
Great work on this project mate! I'd love to see this added please |
Up Vote |
This would be awesome! |
Would be very nice! How is the current status? |
I already have code that can read the SOC for the Daly. Now I need to move the code a bit so that it can easily be shared between the current battery driver and the Daly code (issue #11) and then I can give you Daly users something to test. |
Do you have a rough estimate to when the Daly code will be available @Louisvdw? |
I hope to have a first version for the the Daly's SOC at the end of May. |
Awesome, do you have a paypal or something to donate to? |
I've implemented the Daly BMS protocol for one of my own Python projects last weekend. I'll use this weekend to clean up the code and publish it afterwards. That might save you some work. |
@Louisvdw you can have a look at it if you like: https://github.com/dreadnought/python-daly-bms |
Yes you can use Kofi. https://ko-fi.com/louisvdw |
Up vote! |
+1 |
There is a new beta build for the initial Daly BMS integration for those that want to test it and give feedback. Download the venus-data.tar.gz from beta2 and FTP it to your GX/pi. Edit: v0.5beta3 |
Awesome, I'll give it a go tonight. Excited! 😀 |
@Louisvdw I've installed Beta 2 on my Cerbo GX. It's reading the values but only for a split second. I made a screen recording: https://photos.app.goo.gl/n8SuuhjrU6c5bxQAA This was with Venus OS 2.70 ~11 |
@pau1phi11ips do you have SSH access to the GX to copy the log file and attach it here? /data/log/dbus-serialbattery.ttyUSB0/current |
@Louisvdw Struggling to attach the log directly but could get a screenshot. I think the error it due to my BMS only having 1 temperature sensor. |
I think you are corect. That temp sensor seems to be the issue. |
I'll try and get it working here and post the results. I don't really know Python (just PHP and JavaScript) but think I can handle removing the temp2 references to see if that sorts it. At least that will nail there culprit down. |
@pau1phi11ips can you check if this fix your temp sensor issue |
@Louisvdw Yep, working now thanks! 😎 |
One word of caution. I have a 24V LiFePO4 battery and usually charge to 3.35V/cell = 26.8V. The charge limit on the Multiplus II is set to 26.8V. The battery voltage was at 26.7V. As soon as I enabled DVCC the Multiplus started putting 50A into the battery. It was at 27.1V in no time with no sign of stopping. It looks like because the driver isn't getting Vmax from the BMS it might be using the default 55V? Enabling the Limited charge voltage in the DVCC settings sorted it out but this isn't the default setting so beware! |
Thanks for highlighting @pau1phi11ips |
OK, thanks, I was worried it was using the default voltage the Maximum Charge voltage is set to as soon as you enable Limit managed battery charge voltage. |
The battery publish the discharge current, charge current and charge voltage (for the driver that is 60A,50A, 3.45V x cell_count) This is there for you to override (lower) the defaults. It is normally used more when you set up your battery and want to give it time to balance and settle, but it works well for our needs in this case as well. |
Thanks for the info. Much appreciated. BTW, I've edited my daly.py to change the polarity of the current value so it's the same direction as the value from the Victron BMV 712. It's definitely wired the right way around around ;) Changed Is what I've done correct? |
Inverting should show a negative draw on the battery. I'll recheck the Daly protocol, but just from looking at you screenshot with the Miltiplus II your change does look correct. |
Got my small daly 4S BMS today, didn't get it working. Anyone who want to help? |
@yannickudb can you upload the log file for us. See the trouble shoot section in the readme on how to do that. |
I Will do tonight. But i've been messing around with the bms, and found the 4s needs another pc program. I suspect i uses other communication. Any way i can help with that? |
I think you are correct. |
Implemented in release V0.5 |
I did, have attached a PDF! |
0612b045a09d492f5593ebf9b24742b3.pdf |
Add the Daly BMS basic communication to the driver.
Part 4_ Daly RS485+UART Protocol.pdf
The text was updated successfully, but these errors were encountered: