I've written my own ESS logic as a Python script. Everything works as expected, except one thing: When the batteries are depleted at night, my inverters correctly go into passthru mode, but when the sun comes up in the morning, the MPPTs stay off and don't recharge the batteries. The whole system stays off and never turns on again. I have to set it to "Optimized" in the VRM portal and back to "External" to get it back up and running.
Anyone has an idea what flag needs to be set to get the MPPTs to charge even if the inverters are in passthru? Attached you find my current prototype: dbus-custom-ess.zip
WARNING: This script is tailored to my specific setup and will not work on most systems! It's a starting point for anyone interested in doing their own custom control loop, but far from finished or ready for general use!