esphome-docs icon indicating copy to clipboard operation
esphome-docs copied to clipboard

Daly H/K/M/S-Series BMS integration

Open patagonaa opened this issue 1 year ago • 2 comments

Description:

Adds documentation for the integration of the communication protocol that the new Daly BMS are using.

Related issue (if applicable):

Pull request in esphome with YAML changes (if applicable): esphome/esphome#7524

Checklist:

  • [x] I am merging into next because this is new documentation that has a matching pull-request in esphome as linked above.
    or

  • [ ] I am merging into current because this is a fix, change and/or adjustment in the current documentation and is not for a new component or feature.

  • [x] Link added in /index.rst when creating new documents for new components or cookbook.

patagonaa avatar Oct 01 '24 22:10 patagonaa

Deploy Preview for esphome ready!

Name Link
Latest commit 4f43f001cec9ca2f55eecb10e4e83d2eba376bc3
Latest deploy log https://app.netlify.com/sites/esphome/deploys/67325743780aa90008bb07c2
Deploy Preview https://deploy-preview-4296--esphome.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

netlify[bot] avatar Oct 01 '24 22:10 netlify[bot]

TODO (for me):

  • [x] fix lint issues
  • [x] fill/remove section about controlling the BMS
  • [x] replace BMS picture with one that actually has UART (the current one is not a "smart" BMS)

patagonaa avatar Oct 02 '24 00:10 patagonaa

@patagonaa, as an ESPHome user and owner of a K-Series Daly BMS, I am very grateful for your PR.

I have just ordered a micro USB to pins adapter. As soon as it arrives, I will test it. :)

felipecrs avatar Oct 28 '24 21:10 felipecrs

Related to this PR: https://github.com/syssi/esphome-daly-bms (modbus-example.yaml).

felipecrs avatar Oct 28 '24 21:10 felipecrs

@felipecrs Thanks for the kind words, I appreciate it.

You want to use the Micro-USB to pins adapter to use the cable of the Bluetooth dongle, right? On my BMS, the Bluetooth dongle seems to be molded directly around the Micro-USB plug (if there even is one) so it can't be unplugged (unlike the "old" DALY Bluetooth dongles), better check that if you haven't already 😅.

I instead bought a set of JST-GH housings and pre-crimped wires with GH-contacts to avoid the hassle of crimping them myself (I first tried that, but it didn't work with the crimping tool I have, you'll definitely need the (expensive) crimping tool for this exact contact type or it won't work).

Initially, for testing I used an RS485 converter and the pre-crimped cable for the RS485/CAN connector included with the BMS.

patagonaa avatar Oct 28 '24 22:10 patagonaa

Yes, I already have my K series Daly BMS, and mine has the detachable cable on both ends.

BMS BT/WIFI module
20241029_102037 image

felipecrs avatar Oct 29 '24 13:10 felipecrs

I'm trying your PR finally. These are the first little issues I found.

felipecrs avatar Nov 10 '24 19:11 felipecrs

There hasn't been any activity on this pull request recently. This pull request has been automatically marked as stale because of that and will be closed if no further activity occurs within 7 days. Thank you for your contributions.

github-actions[bot] avatar Jan 11 '25 02:01 github-actions[bot]

For christ's sake, and I thought stale bot was already terrible for issues. Maybe a stale bot for PRs is a bad idea for a repo with (apparently) not enough reviewers to review them before they go stale.

patagonaa avatar Jan 11 '25 11:01 patagonaa

@felipecrs any update on this? Sorry for pinging, but I'd like to use the new Daly BMS's with ESPHome and stumbled across this PR and was wondering what's keeping it from being merged atm. ^^"

LeoDJ avatar Feb 11 '25 00:02 LeoDJ

Sorry mate, but this PR is owned by @patagonaa. Apparently it's missing a review from a maintainer, and I'm not one.

It should be usable as is though.

https://github.com/syssi/esphome-daly-bms may also interest you, if you don't want to tinker with GPIO.

felipecrs avatar Feb 11 '25 01:02 felipecrs

Ah, sorry, my bad, I thought you were a maintainer, because you are listed as a "reviewer" on this issue. I got that mixed up, nvm ^^"

LeoDJ avatar Feb 13 '25 00:02 LeoDJ

Closing due to making this a custom component: https://github.com/patagonaa/esphome-daly-hkms-bms

patagonaa avatar Mar 24 '25 13:03 patagonaa