chicagoandy
Solar Enthusiast
There's some interesting movement on RS485 monitoring of inverters/batteries.
First, I've found this github which will encode an ESP32 with an ESPHome configuration for controlling a SolArk. This would give full read/write control of a Sol-Ark 15k with an Open Source, Open Home foundation approved solution. It would negate the need for the closed-source Solar-Assistant.
github.com
I've also discovered there is a similar setup for the Standard chinese BMS's, here's a SEPLOS one that can read cell-level data from pack of multiple batteries:
github.com
And the one I'm following still has some work to do, but he's reading Ruixu single battery BMS for cell-level data.
github.com
Really neat stuff. You could take this code, pair it with inexpensive M5Stack ESP32 chips,
ESP32 Chip: https://shop.m5stack.com/products/atom-lite-esp32-development-kit $7.99
RS485 Hat: https://shop.m5stack.com/products/atomic-rs485-base $9.99
So with $16 of hardware, some open-source software, you'd get your full integration into HomeAssistant, or other SmartHome platform of choice.
Which is awesome.
I guess I've got some questions, my RS485 knowledge is limited.
Currently I have my SolArk15K in closed loop with the Ruixu battery using RS485. The SOlArk only has high-lvel data displayed. Multiple batteries show as one big battery.
I also have the Solar-Assistant on the same wire, in parallel, but only getting Inverter data. SA does not want to mount the same usb/port for battery & Inverter
But... that data should be there, right? The cable is carrying Battery Data and Inverter Data. I should be able to read the detailed battery data off the same cable?
Can anyone explain how RS485 works? I understand it is designed for multiple hosts. The signals do not "end" unless there is a terminating resistor. That means I should be able to add an ESP32 based monitor to the same wire used for Battery->SolArk without disrupting the inverter closed-loop. Is this correct?
Is it a reasonable expectation to be able to add an listening ESP32 chip to the Battery comms wire and pull off battery data, without disrupting the inverter closed-loop?
First, I've found this github which will encode an ESP32 with an ESPHome configuration for controlling a SolArk. This would give full read/write control of a Sol-Ark 15k with an Open Source, Open Home foundation approved solution. It would negate the need for the closed-source Solar-Assistant.
Sunsynk-Home-Assistant-Dash/ESPHome-1P-Sunsynk-Deye.yaml at main · slipx06/Sunsynk-Home-Assistant-Dash
Home Assistant Dashboard to display Inverter information. ESPHome configuration to collect inverter sensor data via modbus - slipx06/Sunsynk-Home-Assistant-Dash
I've also discovered there is a similar setup for the Standard chinese BMS's, here's a SEPLOS one that can read cell-level data from pack of multiple batteries:
esphome-seplos-bms/esp32-seplos-v3-example-multiple-battery-banks.yaml at main · syssi/esphome-seplos-bms
ESPHome component to monitor a Seplos Battery Management System (Seplos-BMS) via UART or RS485 - syssi/esphome-seplos-bms
And the one I'm following still has some work to do, but he's reading Ruixu single battery BMS for cell-level data.
esphome-ruixu-bms/esp32-s3-ruixu-example.yaml at main · easybotics/esphome-ruixu-bms
ESPHome component to monitor a Ruixu Battery Management System (Ruixu-BMS) via RS485 - easybotics/esphome-ruixu-bms
Really neat stuff. You could take this code, pair it with inexpensive M5Stack ESP32 chips,
ESP32 Chip: https://shop.m5stack.com/products/atom-lite-esp32-development-kit $7.99
RS485 Hat: https://shop.m5stack.com/products/atomic-rs485-base $9.99
So with $16 of hardware, some open-source software, you'd get your full integration into HomeAssistant, or other SmartHome platform of choice.
Which is awesome.
I guess I've got some questions, my RS485 knowledge is limited.
Currently I have my SolArk15K in closed loop with the Ruixu battery using RS485. The SOlArk only has high-lvel data displayed. Multiple batteries show as one big battery.
I also have the Solar-Assistant on the same wire, in parallel, but only getting Inverter data. SA does not want to mount the same usb/port for battery & Inverter
But... that data should be there, right? The cable is carrying Battery Data and Inverter Data. I should be able to read the detailed battery data off the same cable?
Can anyone explain how RS485 works? I understand it is designed for multiple hosts. The signals do not "end" unless there is a terminating resistor. That means I should be able to add an ESP32 based monitor to the same wire used for Battery->SolArk without disrupting the inverter closed-loop. Is this correct?
Is it a reasonable expectation to be able to add an listening ESP32 chip to the Battery comms wire and pull off battery data, without disrupting the inverter closed-loop?