EasyManua.ls Logo

Geist RCX - Page 75

Geist RCX
82 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Chapter 3 - Setup 75
© 2018 Geist
GM1196 R-Series v5 Instruction Manual
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"}
NOTE
Be sure to use quotes in the parameter values.

Table of Contents

Related product manuals