User Tools

Site Tools


open_source:ccgx:commandline

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
open_source:ccgx:commandline [2019-08-15 11:56] – [1.1 No support warning] - VicCom link guy_stewartopen_source:ccgx:commandline [2021-03-03 11:46] – [4.4 vreg: changing settings from the command line] mvader
Line 23: Line 23:
 Changing settings with products featuring a VE.Bus comm. port (Inverters, Multis and Quattros) is normally done with VEConfigure. Changing settings with products featuring a VE.Bus comm. port (Inverters, Multis and Quattros) is normally done with VEConfigure.
  
-Firmware updates are normally done with VEFlash, a computer tool that is installed together with VEConfigure.+Firmware updates are normally done with VEFlash, a computer tool that is installed together with VEConfigure, or VictronConnect.
  
-To change settings remotely, use [[ccgx:ccgx_ve_power_setup|Remote VEConfigure]].+To change settings remotely, use  [[vrm_portal:remote-veconfigure|Remote VEConfigure.]]
  
 Remotely updating firmware of a VE.Bus product is only possible from the command line, see below. Remotely updating firmware of a VE.Bus product is only possible from the command line, see below.
Line 39: Line 39:
 Both firmware updating as well as changing settings is normally done with [[victronconnect:start|VictronConnect]]. Both firmware updating as well as changing settings is normally done with [[victronconnect:start|VictronConnect]].
  
-It is not possible to remotely change settings. Neither from the command line.+[[https://www.victronenergy.com/media/pg/VictronConnect_Manual/en/victonconnect-remote--vc-r----configuration-and-monitoring-via-vrm.html|VictronConnect Remote]] allows remote changing of settings. It is not available from the command line.
  
-Updating firmware remote is only possible from the command line, see below.+Updating firmware remotely is available via the [[vrm_portal:remote-firmware-update|Remote Firmware Update feature of VRM]] (in the device list), and via the command line, see below.
  
 ==== 1.3 Connecting to the command line and file transfer ==== ==== 1.3 Connecting to the command line and file transfer ====
Line 144: Line 144:
  
 ==== 3.2 Updating VE.Bus firmware === ==== 3.2 Updating VE.Bus firmware ===
 +
 +WARNING: At Victron we don't use this tool. Part of the code is shared with the VE.Bus firmware update functionality in VictronConnect, and therefore proven. But not all. So use at you're own risk.
  
 Requires Venus v2.00 or later. Requires Venus v2.00 or later.
Line 341: Line 343:
 Victron Energy B.V. Victron Energy B.V.
 </code> </code>
 +
 +Switching all devices on VE.Can off (careful, when having NMEA2000-out enabled, or having an Inverter RS, also AC will be switched off!):
 +<code>
 +vreg -c socketcan:can0 -s 0x0200 un32:0x000004
 +</code>
 +
 +switching a specific device off:
 +<code>
 +vreg -c socketcan:can0 -s 0x0200 un32:0x000004 -n 0x24
 +</code>
 +Note that in above example the VREG data field (un32) is padded with zeros; current firmware requires that, future fw won't any more.
 +
 +Switch a specific device on:
 +<code>
 +vreg -c socketcan:can0 -s 0x0200 un32:0x000001 -n 0x24
 +</code>
 +
 +Seeing which devices are off and which are on goes like this. Press ctrl-C to stop the command.
 +<code>
 +vreg -c socketcan:can0 -g 0x200 -r
 +</code>
 +
 ===== 5. VE.Direct products ===== ===== 5. VE.Direct products =====
  
open_source/ccgx/commandline.txt · Last modified: 2023-05-07 10:00 by mvader

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki