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 [2021-01-19 13:15] – [1.2 Use a normal tool instead of the command line] guystewartopen_source:ccgx:commandline [2021-03-06 14:38] – [8. Enabling VRM two-way communication (Remote VEConfigure aka vrmpubnub)] mvader
Line 343: 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 =====
  
Line 409: Line 431:
   - If you want to set a password, go to Settings -> Remote Console -> Enable password check   - If you want to set a password, go to Settings -> Remote Console -> Enable password check
  
-===== 8. Enabling VRM two-way communication (Remote VEConfigure aka vrmpubnub) ===== 
-If you have a CCGX already installed, but VRM two-way communication is not enabled, follow these steps to enable it remotely: 
- 
-  - SSH into CCGX (make a root password by following instructions [[ccgx:root_access|here]]) 
-    - <code>dbus -y com.victronenergy.settings /Settings/Services/Vrmpubnub SetValue 1</code> 
-  - VE.Configure should now be able to connect to the CCGX 
  
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