Multiplus2 ve.bus ESP32 shelly3EM

Pepe

New member
Joined
Jun 20, 2021
Messages
29
I do control my multiplus2 48/3000 over ve.bus with an esp32. Needs an rs485 converter and a 12v to 5v buck.
The esp32 gets net power from a shelly 3EM over wifi and calculates how many watts the multiplus should produce to zero out net consumption. Or it calcualtes how many watts it can store in the battery if there is solar excess. Cost is below $10.

I do not take any responsability at all. It is likely you blow up your home
Respect the potential separation, NEVER have multiplus connected to mains and esp32 usb plugged into your PC!

Project:
https://github.com/PepeTheFroggie/Victron-VE.Bus---esp32
 

Attachments

  • IMG_20240121_022232.jpg
    IMG_20240121_022232.jpg
    401.1 KB · Views: 65
  • ESP32_VEBUS.png
    ESP32_VEBUS.png
    938.6 KB · Views: 68
Last edited:
1706639445551.jpeg

Do you know this interface? - Maybe it could be a solution to separate the Multiplus voltage from the ESP. (notice that there is no direction pin.)
 
If you need galvanic separation u can buy an opto device for $2. Like this one: https://de.aliexpress.com/item/1005005769860774.html
Your picture is an rs485 converter.
Since the esp does firmware updates OTA, over the air, it doesent need to be connected to your PC.
User interface is done per http in a webbrowser over WiFi.

You just have to be aware of the potential problem.
 

Attachments

  • Clipboard01.jpg
    Clipboard01.jpg
    41.9 KB · Views: 30
  • Clipboard02.jpg
    Clipboard02.jpg
    47.6 KB · Views: 29
Last edited:
Hello, I saw your realization, it's a great job.

I'm in three-phase with a Shelly em at the top of the painting and I want to erase my nocturnal noise, I would like to do like you but I have a few questions:

- I want to combine the Multiplus 2 with a pylontech battery, the Bms of the pylontech remains operational and always connected to the victron to manage critical battery levels?

- If I buy the victron alone there is a parmetrage to do via PC?

- In operation the system is autonomous if you are on car?

- my installation is in micro inverter I don't want a backup, I just have to connect the victron to AC IN, we don't use AC OUT, right?

- Have you planned developments in the future?

Thank you if you have 5 minutes

Sent from my iPad
 
Can I connect an additional cable to the can bus to control the bms of my pylontech batteries?
 
IDK Kiki.
I have started doing my own SoC calculation using actual volts and amps from the multiplus. This way i donot have to connect the BMS.
I did also make limits to minimal and maximal SoC.
 
Hi Pepe,

Firstable, thank you for your work, it helps me a lot. I've added MQTT transmission to my Home Assistant and everything is working. Now I want replace your web button and interaction with my HA and it's hard, i'm not a developper so I don't understand every line on your code.
I would like to add an function that I don't see or I missed, I want to put Off the AC Power at night but let the battery power on my equipments, because the sleeping mode cut all alimentation AC Power and Battery.
 
Sleep mode will switch AC off but leave internal 12V on. If you feed the esp32 over the ve.bus cable it stays on. Its less than 1W consumption.
If you enable "auto wakeup" the thing will wake up and charge when shelly reports 2 minutes of excess solar power.
 

Attachments

  • IMG_20240426_172516.jpg
    IMG_20240426_172516.jpg
    352.6 KB · Views: 10
Last edited:
I work on Mutliplus so maybe it's different because i have a switch with 3 positons (ON(inverter+charger), OFF or charger only)
 
Back
Top