Settings/DynamicEss/Schedule/*/Strategy should be 1 in green mode which is not always the case and forces the system to buy energy even when solar power is available.
Strategy
From 3.30~7 there are currently 2 different strategies in use:
0 - Follow the target SOC
1 - Minimize grid usage / maximize battery usage
The system determines which of the strategies is best to follow during a specific hour, mainly, but not limited to, looking at price. Usage of these restrictions has been added to the importable flows.
FYI: v3.51~3 + Node-Red, but I do not use node-Red DESS + @dognose HACK
Something like “Yes, restrict it from 8 - 16, when solar is expected” and only allow it during night, when grid prices are cheap for sure. (In Case you are using dynamic tarifs)
Settings/DynamicEss/Schedule/*/Strategy should be 1 in green mode in the actual hour of the schedule. If this is not the case it forces the system to buy energy for consumtion even when solar power is available and battery is almost full.
workaround and proof: (from 06:02 to approx 20:00 do not buy anything)
root@cergbogx:~# crontab -l
# minute stunde day_of_the_month month day_of_the_week
02 6-19 * * * /home/root/bin/fake_DynamicEss_Strategy.sh
root@cerbogx:~# cat /home/root/bin/fake_DynamicEss_Strategy.sh
#!/bin/bash
for i in {0..11}
do
/usr/bin/dbus -y com.victronenergy.settings /Settings/DynamicEss/Schedule/${i}/Strategy SetValue 1 >/dev/null
done
If you look at Settings/DynamicEss/Schedule/*/Start using dbus-spy you could figure out which is the actual hour by using the command:
root@cerbogx:~# date -d @1732784400
Thu Nov 28 09:00:00 UTC 2024
If you have changed Strategy to 1 the system takes a few moments to realize and stops consuming energy from the grid as supposed in green mode.
There is a difference between Strategy and Operating Mode. Operating Mode is set in VRM, strategy is the chosen strategy for the hour by the algorithm.
It can be that the algorithm choose the wrong strategy and we can look into why it did that.