Base on the guide, we need to plug the RX, TX, 3.3V and GND, but in my case i just need RX, TX and GND. I have issues when connecting the 3.3V it wont boot. My NodeMCU ESP32 will be powered from the standard Micro USB.
For extra precautions, i did a continuity test using my multi-meter end to end of the wiring. This should be compulsory for those who have a multi-meter.
ESPHome Configuration
Below is the yaml config file for my setup. Do note that this is for NodeMCU ESP32. You may refer to ESPHome Daly BMS for ESP8266
Hey there, i made everything as u showed. the problem is when i try to add it on the HA i dont get anything there, also when i go to integration and visit the device i got no data there.
What do you think i made wrong
hey i manage to make it but there are a few problems, i got 0 voltage reading on
BMS Battery Current
BMS Number Cells
BMS Max Voltage Cell
BMS Min Voltage Cell
BMS Battery Voltage
This is the settings i have and i get wrong readings
Also the button BMS Charghing MOS not working, if i click on it it says :Failed to call service binary_sensor/turn_off. Service not found
And if i try to connect the bluetooth to check the bms the app (SMART BMS) crash
I found the problem, seems i broke my bms. I tested with another BMS and it works.
it reads only the Battery Current, Max, Temperature 1 and BMS Status.
I think i might need to buy a new BMS since i cant even reconect the bluetooth dongle to connect.
Do you know why Discharge and Charge buttons not working? someone says i need to add some lines on config yaml
In my understanding, the MOS button was only for displaying the status, is not meant to be interactive.
May i know what happen to your BMS?
Regarding the Bluetooth, i never had crash issues. But i did notice whenever i reboot/update my ESP, it will encounter some weird value in HA, but it will become normal after awhile. I reckon that we need to safely unplug the ESP from BMS before doing any reboot/update.
Can you share me the link on the statement for the button to works by adding some lines in config?
Just an update, my configuration is still going strong without any issues since the implementation (about 2 months).
i think i have unpluged the bms from the battery first then i unplug the balance wire so it bricked, what do you mean safely unplug esphome form bms?
So the CMOS button will never work ?
My version of safely unplug is just power off my ESP (unplug the microUSB cable) then safely remove the balance lead from the BMS. Usually i use this to update the ESP.
Maybe in the future the button would work hopefully, so we can do some automation on it. I’ll update if there’s any changes, especially on the button.
I did add a female micro-usb module so that I didn’t have to cut the provided cable. I feel like I would like the ability to go back to the original bluetooth adapter even though I probably never will.
Hi all,
after struggling for quite some time to get this running (while doing everything precisely as mentioned here) I stumbled upon another discussion that solved the communication not working for me, so I wanted to share my experiences. For me the values in HA would appear but not show any data (something like “not available”).
FIX: In some cases it may be necessary to decouple the BMS and the ESP electrically via an ADUM1201 (or similar). The reason being that some DALYs do not have enough power to correctly pull down the RX pin and thus communication simply fails. Since the different DALYs use widely different chips and configurations, some might work without, but mine (8s 100A) would not.
Simply connect the ADUM1201 between BMS and ESP, 3.3V and ground are shared connections between all three components. Here is the site that shows it in detail: https://github.com/softwarecrash/DALY-BMS-to-MQTT
Thank you for finding the fix. As i mention in my post under ‘Wiring’ that i had trouble connecting the 3.3v.
My solution at that time was powered from the standard Micro USB to my ESP board.
I need to buy several ADUM1201 to test out, Thanks again!
Hi, thanks for the guide. I like the approach to communicate with the BMS using the ESP microcontroller, this way it gets Wifi capability and no need for long wires.
I created my own add-on to communicate with the BMS over bluetooth directly (so it doesnt need extra hardware) . https://github.com/fl4p/batmon-ha . Please let me know what you think
Firstly, cuddos to who wrote this little integration, love how simple it is and how well it works. No issues for me to get it running on an ESP32 and talking to my Daly BMS & HA.
However, I do have a question / observation.
While I normally get all metrics send to HA, at times I notice the ESP32 doesn’t report on battery voltage and battery current.
To clarify, when I look at the terminal output of the ESP32, on ESPHome interface, I see all the values (like temp and individual cell voltages) but it doesn’t report on total pack voltage or current.
(Hence I know it’s the code on ESP32 doing this, the issue is not within HA)
Is this normal behaviour? Does the logic in the code only report back once the value changes? Or should all metrics be send all the time ?
Hello
Very good job with this BMS.
However, I have a small problem with reading the data.
The reading of cells 1-3 is very rare, from 4 to 7 more often and from 10 to 16 no problem. maybe someone knows why there is a problem with reading the first cells from BMS?
Hello friends, great project, thank you very much.
But I have a problem.
Why isn’t the value continuously updated? You can see it in history.
As an example here is a screenshot of the voltage of cell 1. The value above was updated 5 hours ago, but in history there is a different value from 10min ago.
Actually I thought it was a live display like in the original app.