Thank you, it works! DVCC is enabled, Controlling BMS is set to Pylontech, and Multi RS inverter feeds from AC input, constantly charging battery with 0.3A-0.4A. To keep this setting even after reboot or any kinds of re-initializations, I’ve created a script:
#!/bin/sh
# Define DBus destination and path
DBUS_DEST="com.victronenergy.system"
DBUS_PATH="/Debug/BatteryOperationalLimits/CurrentOffset"
# Get current value from DBus
value=$(dbus-send --system --print-reply \
--dest=$DBUS_DEST \
$DBUS_PATH \
com.victronenergy.BusItem.GetValue | awk /int32/ {print $3} /double/ {print $3}')
echo "Current value: $value"
# Set the value if it doesn't equal 0
if [ "$value" = "0" ] || [ "$value" = "0.0" ]; then
dbus-send --system --print-reply \
--dest=$DBUS_DEST \
$DBUS_PATH \
com.victronenergy.BusItem.SetValue double:0.1
echo "The value has been updated"
fi
and added it to cron to be run every 5 minutes:
*/5 * * * * /data/scripts/update_battery_limits_current_offset.sh
Hope this will help.
You were right saying script rounds 0.1 values up to integer and after a while dec rising it down to 0.3-0.4 by fact which is more than enough. Just curious, is it possible to explicitly specify somehow some limit like 0.1A? (Don’t think it is possible though, but just in case.)