Little Program for ESP82XX to get the Daly BMS data to web and MQTT
- introducing support for ESP-01s (1MB flash, with limited features)
- captive portal for wifi and MQTT config
- config in webinterface
- switching MOS gates over webinterface, MQTT and via web at /set?loadstate, set SOC over MQTT
- get essential data over webinterface, get all data like cell voltage and more over MQTT
- classic MQTT datapoints or Json string over MQTT
- get Json over web at /livejson?
- firmware update over webinterface
- debug log on Wemos USB (use only if you don't supply Wemos from BMS!!!)
- wake the BMS over MQTT or keep it awake (not supported on ESP-01s)
- universal switching output (only with external power supply, not supported on ESP-01s)
- blink codes for the current state of the ESP (not supported on ESP-01s)
Based on daly-bms-uart, more info here: https://github.com/softwarecrash/daly-bms-uart
Grab UART directly from the BMS and hook it up to the hardware serial
Main screen:
Settings:
Config:
MQTT Data
Normally you don't need extra hardware, but various models of the BMS don't have enough power to pull down the rx pin from the ESP. In this case you need an amplifier like a BC327-25 (or -40) to pull down the voltage, so that the communication works.
With the new v2, no additional hardware (BC327 or ADUM) is required for communication.
Due to the number of different possible connections in the meantime, all connection diagrams have been moved to the Wiki. There you can see all connection diagrams that are currently available.
- flash the bin file to an ESP8266 (recommended Wemos D1 Mini) with Tasmotizer or use the Online Flash tool
- connect the ESP like the wiring diagram
- search for the wifi ap "DALY-BMS-AP" and connect to it
- surf to 192.168.4.1 and set up your wifi and optional MQTT
- that's it :)
For external wiring please take a look at the Wiki!
Here you can find the communication methods for your BMS: https://www.dalyelec.cn/newsshow.php?cid=24&id=65&lang=1
Collection of docs, software and firmware around Daly BMS. Firmware-Updates are at your own risk! NO SUPPORT!
Questions? Join https://discord.gg/HsYjT7eXQW (German / English)