I am trying to programmatically set the state of Relay 1 on & off on a VenusOS on an RPi via sending the following command but the change is not applied. Relay 1 function is configured as an Alarm Relay.
dbus -y com.victronenergy.settings /Settings/Relay/0/InitialState SetValue %1
While dbus command returns a successful result the "Alarm relay on" toggle switch in the UI under settings->relay does not reflect the issued command.
I can programmatically change the Function & Relay Polarity and the change is reflected in the UI immediately.
I looked at the var/log/localsettings/current file and confirmed that the UI and CLI command is affecting the same setting.
@400000006106581304f7c444 INFO:root:Setting /Settings/Relay/0/InitialState changed. Old: 1, New: 0 //UI "Alarm relay on" Setting Change @4000000061065c1c04621bc4 INFO:root:Setting /Settings/Relay/0/InitialState changed. Old: 0, New: 1 //CLU dbus Setting Change
Has anyone else had the same issue before?