• Have you tried out dark mode?! Scroll to the bottom of any page to find a sun or moon icon to turn dark mode on or off!

diy solar

diy solar

Open Source battery monitor, dashboard

chicagoandy

Solar Enthusiast
Joined
Nov 20, 2023
Messages
181
Location
Atlanta
Here's my Battery monitoring dashboard, for a 10-pack cabinet of Ruixu server-rack batteries.

Hardware:
  1. M5Stack RS485 Isolated: https://shop.m5stack.com/products/isolated-rs485-unit
  2. M5Stack ESP32S3 Lite: https://shop.m5stack.com/products/atom-lite-esp32-development-kit
  3. Raspberry Pi (pre-existing)
Software:
  1. ESPHome : https://esphome.io/
  2. ESP Library for BMS Monitoring: https://github.com/chicagoandy/esphome-ruixu-bms
  3. HomeAssistant
100% free and open-source software and hardware. Total Hardware cost: $23.61

The ESP32 components reads Battery Telemetry for all 10 batteries every 5 seconds, then feeds it to HomeAssistant.

I am able to view Pack & Cell Level data, including battery Temp, for all 10 server-rack batteries. I can also aggregate the pack data into array data.

All three data-feeds are able to occur simultaneously over a single CAT-6 cable:
1. RS485- Battery Pack to ESP32
2. CAN - Battery Pack to Sol-ark 15K for "closed loop" comms
3. RS485 - Sol-Ark 15K to SolarAssistant

1731358078515.png


Detailed data for each pack:
1731358200174.png
 
Last edited:
Hey, @chicagoandy . Those are some nice visualizations. A couple questions:
- Did you use the M5Stack modules just for ease of prototyping and would any ESPHome RS485/ESP setup be functionally the same?
- A little confused over the "single cat 6" part. Do you have the battery stack connected to your 15k and the M5, just chaining the RS485 messages, or are you somehow using one "physical" cable for all the serial comms?
- Any interesting HA automations being triggered from the data you're collecting?

<edit> Nevermind on the cabling question. I just found topic esp32-rs485-inverter-battery-monitor.90937 </edit>
 
Last edited:
Here's my Battery monitoring dashboard, for a 10-pack cabinet of Ruixu server-rack batteries.

Hardware:
  1. M5Stack RS485 Isolated: https://shop.m5stack.com/products/isolated-rs485-unit
  2. M5Stack ESP32S3 Lite: https://shop.m5stack.com/products/atom-lite-esp32-development-kit
  3. Raspberry Pi (pre-existing)
Software:
  1. ESPHome : https://esphome.io/
  2. ESP Library for BMS Monitoring: https://github.com/chicagoandy/esphome-ruixu-bms
  3. HomeAssistant
100% free and open-source software and hardware. Total Hardware cost: $23.61

The ESP32 components reads Battery Telemetry for all 10 batteries every 5 seconds, then feeds it to HomeAssistant.

I am able to view Pack & Cell Level data, including battery Temp, for all 10 server-rack batteries. I can also aggregate the pack data into array data.

All three data-feeds are able to occur simultaneously over a single CAT-6 cable:
1. RS485- Battery Pack to ESP32
2. CAN - Battery Pack to Sol-ark 15K for "closed loop" comms
3. RS485 - Sol-Ark 15K to SolarAssistant

View attachment 255280


Detailed data for each pack:
View attachment 255282
I just bought a rack of 6 Ruixu heated batteries. I want to build this.
 

diy solar

diy solar
Back
Top