Skip to content

Introduction

Torsten Oltmanns edited this page Oct 15, 2024 · 10 revisions

BMS to Solar Inverter communication

(Use, monitor and control any battery brand with any inverter)

This application is reading data from one or multiple BMS(es) and sending it to an inverter using a microcontroller in between as a bridge. Many inverter manufacturers only allow batteries from certain battery manufacturers and certain models. With this application you have no restriction on what battery brands you can use with your inverter!!!

This project enables you to read your BMS's data via different protocols - RS485, RS232, UART, ModBus or CAN - and write the battery data to the inverter in a specification that the inverter supports - Pylontech, SMA, Growatt, Deye, SolArk, etc. The appplication supports multiple BMS (even mixes from different manufacturers), aggregating them and sending the data to the configurable inverter.

You can monitor each of your battery packs cells and view alarm states on the included webserver or hook up via the MQTT broker on your smart home.

It even let's you manipulate or simulate BMS data that get's sent to the inverter! Please see read plugin information in the Wiki.

This way you control what get's send to the inverter!

This application will run on any microcontroller the can run a Java JDK (32 or 64bit) like PI's such as RPi 1 or RPi 5. The (reference) project uses a Raspberry Pi 4B with a Waveshare RS485/CAN hat or Waveshare 2-Channel CAN FD HAT module but you can use any CAN or RS485 module for your PI that provides ports like can0 or /dev/ttyS0 or similar.

A wide range of BMS and inverters are supported and new one's are added continuously on request, see Supported-BMSes-and-Inverters in the Wiki.

NOTE: If your BMS or inverter is not in the list it is likely to work with one of these bindings (like Pylon). Just open an issue and we'll see what I can do! NOTE: I would appreciate support to test the BMS and inverter bindings in all variations. Please let me know if you would like to support this project - Testers are very welcome! :)_ NOTE USB CAN adapters that do not create a proper CAN device but only a ttyUSB device have found to be problematic. So please choose the right hardware.