-
Notifications
You must be signed in to change notification settings - Fork 187
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
New Battery: Daly SmartBMS Support #857
Conversation
Nice work! I created this Wiki page which can be used for adding info about the Daly SmartBMS https://github.com/dalathegreat/Battery-Emulator/wiki/Battery:-Daly-SmartBMS |
…cessfull real world tests
I made some successfull tests. The Deye inverter got the daly data from battery emulator and displayed it on the screen. I did not connect power yet to make sure everything works. I actually found some problems with the pylon LV implementation as well and fixed those. Below some images. The cabling is still quite experimental 😆. I will create better pictures for the wiki once everything is set up. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 👍
Merging this, so we can do smaller improvement PRs if needed! |
What
This PR implements the Daly SmartBMS RS485 protocol, allowing to talk to and obtain battery data from these systems.
Why
This is yet another LV component. Many DIY 48V batteries use Daly components, since they are cheap.
There are non-smart Daly versions which do not have communication and "smart" versions which come with CAN and RS485. While implementing the CAN communication is simple(r), I opted for the RS485 to keep the lilygo CAN port unused allowing to use it for the very common pylon-lv CAN protocol for the inverter side.
The payloads for both CAN and RS485 are the same, so reusing some of this code for also implementing the CAN communication should be easy if desired.
How
This is the first RS485 battery implementation, so I had to make some additions to the core.
When
While I was planning to use Twizy batteries as storage, in the end we obtained only cells from Twizy packs (no BMS included) (at only 10€/kWh). I had to change plans and bought a Daly BMS for one of the 4 packs.
I will convert this to a regular PR once everything is tested and running with my Deye LV inverter (pylon-lv protocol).
Wiki
Not sure if I can edit the wiki directly?
usual daly bms voltage range: 4S-24S ~= 14V-100V