Nucleo GX Manual 'Devices/00002CC005EA/FirmwareVersion': 'v2.60-beta-29', 'Devices/00002CC005EA/Manufacturer': 358, 'Devices/00002CC005EA/ModelName': 'Color Control GX', 'Devices/00002CC005EA/N2kUniqueNumber': 1514, 'Devices/00002CC005EA/Nad': 11, 'Devices/00002CC005EA/Serial': '0001514', 'Devices/00002CC005EB/CustomName': 'SmartBMV', [and so forth] These lines read it, then changes it to 1, then reads it again: To change them, do a SetValue call to the DeviceInstance path like below. Or, perhaps easier, use the dbus-spy tool.
root@ccgx:~# dbus -y com.victronenergy.vecan.can0 /Devices/00002CC005EB/DeviceInstance GetValue value = 0 root@ccgx:~# dbus -y com.victronenergy.vecan.can0 /Devices/00002CC005EB/DeviceInstance SetValue %1 retval = 0 root@ccgx:~# dbus -y com.victronenergy.vecan.can0 /Devices/00002CC005EB/DeviceInstance GetValue value = 1 [note that numbers, like can0, and 00002CC005EB can ofcourse be different on your system]. New method - changing Data instance: This applies only to the NMEA2000-out feature. The Data instances used for the NMEA2000-out feature are stored in local settings.
Here is a snippet of the lines, taken by using the dbus-spy tool that also allows changing entries (the Data instances are the “Battery-”, “DC Detailed-”, and so forth instances):
Settings/Vecan/can0/Forward/battery/256/BatteryInstance0 0 Settings/Vecan/can0/Forward/battery/256/BatteryInstance1 1 Settings/Vecan/can0/Forward/battery/256/Description2 Settings/Vecan/can0/Forward/battery/256/IdentityNumber 15 Settings/Vecan/can0/Forward/battery/256/Instance 1 Settings/Vecan/can0/Forward/battery/256/Nad 233 Settings/Vecan/can0/Forward/battery/256/SwitchInstance1 0 Settings/Vecan/can0/Forward/battery/256/SystemInstance 0 Settings/Vecan/can0/Forward/solarcharger/0/DcDataInstance0 0 Settings/Vecan/can0/Forward/solarcharger/0/DcDataInstance1 1 Settings/Vecan/can0/Forward/solarcharger/0/Description2 Settings/Vecan/can0/Forward/solarcharger/0/IdentityNumber 25 Settings/Vecan/can0/Forward/solarcharger/0/Instance 0 Settings/Vecan/can0/Forward/solarcharger/0/Nad 36 Settings/Vecan/can0/Forward/solarcharger/0/SystemInsta 0 Settings/Vecan/can0/Forward/solarcharger/1/DcDataInstance0 0 Settings/Vecan/can0/Forward/solarcharger/1/DcDataInstance1 1 Settings/Vecan/can0/Forward/solarcharger/1/Description2 Settings/Vecan/can0/Forward/solarcharger/1/IdentityNumber 24 Settings/Vecan/can0/Forward/solarcharger/1/Instance 0 Settings/Vecan/can0/Forward/solarcharger/1/Nad 36 Settings/Vecan/can0/Forward/solarcharger/1/SystemInstance 0 Settings/Vecan/can0/Forward/solarcharger/258/DcDataInstance0 0 Settings/Vecan/can0/Forward/solarcharger/258/DcDataInstance1 1 Settings/Vecan/can0/Forward/solarcharger/258/Description2 Settings/Vecan/can0/Forward/solarcharger/258/IdentityNumber 23 Settings/Vecan/can0/Forward/solarcharger/258/Instance 0 Settings/Vecan/can0/Forward/solarcharger/258/Nad 36 Settings/Vecan/can0/Forward/solarcharger/258/SystemInstance 0 Old method:
1. List the devices: root@ccgx:~# dbus -y com.victronenergy.bms.socketcan_can0_di0_uc10 com.victronenergy.charger.socketcan_can0_di1_uc12983 2. Change it, for example, to 4: root@ccgx:~# dbus -y com.victronenergy.charger.socketcan_can0_di0_uc12983 /DeviceInstance SetValue %4 retval = 0 3. Wait a few seconds, and double check: Page 150 Marine MFD integration by NMEA 2000