Geist RCX Instruction Manual page 75

R-series v5
Hide thumbs Also See for RCX:
Table of Contents

Advertisement

To see what the tree looks like, simply type in the following command:
get
The entire data tree is returned in YAML format. You will see some top-level keys like dev,
alarm, sys, conf, etc.
To see the system configuration, you could type:
get conf
And, paying attention to the keys returned, go any number of levels deeper:
get conf network ethernet dhcpOn
To turn DHCP off you'll use an argument:
set conf network ethernet dhcpOn = false
"set" commands are special like "get" commands in that they can be applied at any level:
set conf network ethernet = {dhcpOn: true, ip4GW:
192.168.123.1}
Many commands require a device ID, a 16 character string, which can be obtained by
calling:
get dev
Turn on outlet 1 with no delay (note outlets are 0-indexed)
control dev 0EC359E3851900C3 outlet 0 = {action: "on",
delay: "false"}
Turn off outlet 1 with no delay
control dev 0EC359E3851900C3 outlet 0 = {action: "off",
delay: "false"}
GM1196 R-Series v5 Instruction Manual
NOTE
Be sure to use quotes in the parameter values.
Chapter 3 - Setup
© 2018 Geist
75

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

RcoRcu-oRcm-o

Table of Contents