This PCB and Software is used to create a board which communicates with your Deye/Sunsynk inverter and also Seplos BMS.
- PCB (designed with easyeda and produced by jlcpcb)
- AZDelivery ESP32 Dev v4
- 2x RS485 Serial Converter
- DC/DC Step Down Module
- 3x RJ45 connectors
Make sure that your RS485 converter is terminated by about 120R. Measure the resistance between B- and A+. Should be something between 110-130 Ohms. If you cannot measure any resistance, you need to shorten the the two small pins next to the B- connector. On my boards it was labled with R13.
- Goto Advanced Function and set to Slave and Modbus SN 01
- Adapt your wifi settings in the secrets.yaml
- Connect your PC to the micro USB and run:
esphome run deye-esp32-bridge.yaml
- Connect any 7-24V DC source to the screw headers (CN2 PINS 7+8 from deye inverter will work). Make sure that JP2 is closed.
- As an alternative you can connect directly to the USB of the ESP32. Make sure that JP2 is not closed.
- Connect your inverters BMS RJ45 to the CAN IN RJ45 of the PCB.
- If you want to connect your inverter and BMS via CAN. connect your BMS to the BMS IN RJ45 of the PCB.
- Connect your Seplos BMS to RJ3
- The esphome configuration file for deye is based on the work of klatremis (https://github.com/klatremis/esphome-for-deye)
- The esphome configuration file for seplos is based on the work of syssi (https://github.com/syssi/esphome-seplos-bms)
Seplos BMS connection does drop after a few hours. I still have no clue why this is happening...
This repository contains files for demonstration purposes only. Use the files on your own risk. I am not responsible for any damage!
This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.