syssi / esphome-daly-bms

ESPHome component to monitor a DALY Battery Management System (DALY-BMS) via BLE
Apache License 2.0
0 stars 0 forks source link

DALY BMS (k-type) support for ESPHOME ? #1

Open kirillch2000 opened 2 days ago

kirillch2000 commented 2 days ago

Unfortunately I couldn't find where else to write, so I'm writing to a similar project.

Please make DALY BMS (k-type) support for ESPHOME. Home assistant has a working project (https://github.com/patman15/BMS_BLE-HA) - but it's only for HA, and I'd like to use it together with OpenHab.

syssi commented 2 days ago

Do you have a working setup? So your BMS is accessible via BLE and you could provide some testing?

syssi commented 12 hours ago

@kirillch2000 I've prepared a first draft. Do you like to give it a try?

kirillch2000 commented 2 hours ago

Thank you very much for responding to my request so quickly!

I tried your component - the result is as follows. All 3 of my DALY BMS (2 new - k-type and 1 old - last year's model) - work perfectly and give all the parameters! So this draft should be considered working!

output example: Name State Actions daly-bms-ble average cell voltage 3.2399 V
daly-bms-ble capacity remaining 35.1 Ah
daly-bms-ble cell count 16
daly-bms-ble cell voltage 1 3.242 V
daly-bms-ble cell voltage 10 3.239 V
daly-bms-ble cell voltage 11 3.234 V
daly-bms-ble cell voltage 12 3.241 V
daly-bms-ble cell voltage 13 3.235 V
daly-bms-ble cell voltage 14 3.241 V
daly-bms-ble cell voltage 15 3.238 V
daly-bms-ble cell voltage 16 3.240 V
daly-bms-ble cell voltage 2 3.244 V
daly-bms-ble cell voltage 3 3.237 V
daly-bms-ble cell voltage 4 3.245 V
daly-bms-ble cell voltage 5 3.239 V
daly-bms-ble cell voltage 6 3.242 V
daly-bms-ble cell voltage 7 3.241 V
daly-bms-ble cell voltage 8 3.247 V
daly-bms-ble cell voltage 9 3.234 V
daly-bms-ble charging OFF
daly-bms-ble charging OFF
daly-bms-ble charging cycles 52
daly-bms-ble charging power 310 W
daly-bms-ble current -6.70 A
daly-bms-ble delta cell voltage 0.0013 V
daly-bms-ble discharging OFF
daly-bms-ble discharging OFF
daly-bms-ble discharging power 0 W
daly-bms-ble enable bluetooth connection ON
daly-bms-ble error bitmask NA
daly-bms-ble errors
daly-bms-ble factory reset ☐ daly-bms-ble max cell voltage 3.247 V
daly-bms-ble max voltage cell 8
daly-bms-ble min cell voltage 3.234 V
daly-bms-ble min voltage cell 9
daly-bms-ble power 310 W
daly-bms-ble reset charging cycles ☐ daly-bms-ble retrieve settings ☐ daly-bms-ble state of charge 34 %
daly-bms-ble temperature 1 10.0 °C
daly-bms-ble temperature 2 10.0 °C
daly-bms-ble temperature 3 11.0 °C
daly-bms-ble temperature 4 11.0 °C
daly-bms-ble temperature 5 NA
daly-bms-ble temperature 6 NA
daly-bms-ble temperature 7 NA
daly-bms-ble temperature 8 NA
daly-bms-ble temperature sensors 4
daly-bms-ble total voltage 51.80 V

syssi commented 2 hours ago

Could you provide some more details about your DALY BMS models/versions? I would like to mention the devices as supported at the README. Could you tell me the BLE name of each device?