chicagoandy
Solar Enthusiast
This is an expansion of a previous thread I posted about using ESP32 devices to access RS485 data. The first thread, where I configured RS485 data access to Cell-Level data on my Riuxu server-rack cabinets, is here: https://diysolarforum.com/threads/esp32-rs485-inverter-battery-monitor.90937/
This is part-two of that project, where I configured 100% free and open-source access with inexpensive components to my Sol-Ark 15k.
My motivation was Deye shutting down peoples inverters. No manufacturer should ever have the capability to remotely shut down a product I own, so the Deye provided Dongle had-to-go.
Solar Assistant is an alternative, but it's closed-source, and paid licensed. Just as Deye has done shenanigans, so too can Solar-Assistant if they choose to. Nope, I want 100% free and open-source only.
Bill Of Materials:
1. M5 Stack S3 Lite: $7.50 https://shop.m5stack.com/products/a...JOr7LfpsZhwUGOXL5zHFcPh_sU6cCEqK_HYKoZh81oEe9
2. M5 Stack RS485 Isolated: $9.50 https://shop.m5stack.com/products/isolated-rs485-unit
3. Cat-5 cable
4. USB phone-charger power supply
5. (optional) HomeAssistant for historical data access
Wiring the M5 Stack does require a custom Cat-5 cable connected to the Sol-Ark "BMS" port. This is the same port used for "closed loop" batteries. You can create a custom cable where pins 1,2,3 connect to the M5 Stack, and pins 4,5,6 connect to the battery system. It works great. I actually also have pins 6,7, and 8 connected between the battery and a different M5 Stack for battery data collection. All three run together very well.
Software:
1. ESPHome: Free and Open Source: https://esphome.io/
2. Configuration: Free and Open Source: https://github.com/chicagoandy/Sunsynk-Home-Assistant-Dash/blob/main/ESPHome-1P-Sunsynk-Deye.yaml
Flash the M5 Stack with ESPHome and upload the configuration. Then you'll have a local website available showing all of the current inverter performance metrics, and have controls to change any inverter settings.
ESPHome will also easily integrate into HomeAssistant, you can use HomeAssistant to collect your historical data.
This is part-two of that project, where I configured 100% free and open-source access with inexpensive components to my Sol-Ark 15k.
My motivation was Deye shutting down peoples inverters. No manufacturer should ever have the capability to remotely shut down a product I own, so the Deye provided Dongle had-to-go.
Solar Assistant is an alternative, but it's closed-source, and paid licensed. Just as Deye has done shenanigans, so too can Solar-Assistant if they choose to. Nope, I want 100% free and open-source only.
Bill Of Materials:
1. M5 Stack S3 Lite: $7.50 https://shop.m5stack.com/products/a...JOr7LfpsZhwUGOXL5zHFcPh_sU6cCEqK_HYKoZh81oEe9
2. M5 Stack RS485 Isolated: $9.50 https://shop.m5stack.com/products/isolated-rs485-unit
3. Cat-5 cable
4. USB phone-charger power supply
5. (optional) HomeAssistant for historical data access
Wiring the M5 Stack does require a custom Cat-5 cable connected to the Sol-Ark "BMS" port. This is the same port used for "closed loop" batteries. You can create a custom cable where pins 1,2,3 connect to the M5 Stack, and pins 4,5,6 connect to the battery system. It works great. I actually also have pins 6,7, and 8 connected between the battery and a different M5 Stack for battery data collection. All three run together very well.
Software:
1. ESPHome: Free and Open Source: https://esphome.io/
2. Configuration: Free and Open Source: https://github.com/chicagoandy/Sunsynk-Home-Assistant-Dash/blob/main/ESPHome-1P-Sunsynk-Deye.yaml
Flash the M5 Stack with ESPHome and upload the configuration. Then you'll have a local website available showing all of the current inverter performance metrics, and have controls to change any inverter settings.
ESPHome will also easily integrate into HomeAssistant, you can use HomeAssistant to collect your historical data.
Attachments
Last edited: