Open derekisastro opened 2 years ago
Hey there @s1lvi0, mind taking a look at this issue as it has been labeled with an integration (daly_bms
) you are listed as a code owner for? Thanks!
(message by CodeOwnersMention)
Exact same problem. Using a M5 Stack Atom Lite, connects perfectly fine to HA but no data from the BMS gets read.
I hate to say it but in lieu of getting offered a solution, I simply went with another alternative. I was already running Solar Assistant to connect my inverter to my HA, and they now offer connectivity to Daly BMS's as well. I have both my inverter and my BMS now connected via 1 program, via 1 Device (my Pi Zero).
I was able to get it working using an ESP8266 and thx to the guidance here: https://community.home-assistant.io/t/esphome-daly-bms-using-uart-guide/394429 No luck still with the M5Stack Lite or an ESP32. Latter one did kind of work but missed a few sensors.
It worked for me on an ESP32, the only difference is I made GPIO21 and GPIO22 the uart connections physically and in the UART: section
uart:
tx_pin: GPIO22
rx_pin: GPIO21
baud_rate: 9600
The problem
ESPHome UART code for Daly BMS not working on ESP32. Using the code from the ESPHome site. It seems to connect correctly and the sensors have been created but produce no data for the sensors. I am sure the Rx-Tx connections are correct.
Which version of ESPHome has the issue?
2022.1.2
What type of installation are you using?
Home Assistant Add-on
Which version of Home Assistant has the issue?
2021.12.10
What platform are you using?
ESP32
Board
ESP32 ESP-32S NodeMCU-32S ESP-WROOM-32
Component causing the issue
ESP32
Example YAML snippet
Anything in the logs that might be useful for us?
Additional information
Sensors Array 1 109.52 Amps Array 2 33.95 Amps Array 3 30.40 Amps Array 4 15.00 Amps BMS Status Unknown Battery Current Unknown Battery Level Unknown Battery Voltage Unknown Cells Number Unknown Charging MOS Off Discharging MOS Off Max Cell Voltage Unknown Max Cell Voltage Number Unknown Max Temperature Unknown Max Temperature Probe Number Unknown Min Cell Voltage Unknown Min Cell Voltage Number Unknown Min Temperature Unknown Min Temperature Probe Number Unknown Remaining Capacity Unknown Temperature 1 Unknown Temperature 2 Unknown Automations No Automations have been added using this device yet. You can add one by clicking the + button above. Scenes No Scenes have been added using this device yet. You can add one by clicking the + button above. Scripts No Scripts have been added using this device yet. You can add one by clicking the + button above.