A USB serial console is available. Open at 115200 baud.
The send commands ending with at least a carriage return and possibly a line feed.
The command line interface starts with a prompt indicating the device name
mini_node_driver_48V>
help
help [<string>]
Print the summary of all registered commands if no arguments are given,
otherwise print summary of given command.
<string> Name of command
free
free
Get the current size of free heap memory
heap
heap
Get minimum size of free heap memory that was available during program
execution
version
version
Get version of application, chip and SDK
restart
restart
Software reset of the chip
log_level
log_level <tag|*> <none|error|warn|debug|verbose>
Set log level for all tags or a specific tag.
<tag|*> Log tag to set the level for, or * to set for all tags
<none|error|warn|debug|verbose> Log level to set. Abbreviated words are accepted.
deep_sleep
deep_sleep [-t <t>] [--io=<n>] [--io_level=<0|1>]
Enter deep sleep mode. Two wakeup modes are supported: timer and GPIO. If no
wakeup option is specified, will sleep indefinitely.
-t, --time=<t> Wake up time, ms
--io=<n> If specified, wakeup using GPIO with given number
--io_level=<0|1> GPIO level to trigger wakeup
light_sleep
light_sleep [-t <t>] [--io=<n>]... [--io_level=<0|1>]...
Enter light sleep mode. Two wakeup modes are supported: timer and GPIO.
Multiple GPIO pins can be specified using pairs of 'io' and 'io_level'
arguments. Will also wake up on UART input.
-t, --time=<t> Wake up time, ms
--io=<n> If specified, wakeup using GPIO with given number
--io_level=<0|1> GPIO level to trigger wakeup
get_dim
get_dim
Get dim value 0-100
set_dim
set_dim <value>
Set dim value 0-100
<value> value to be set
get_cc
get_cc
Get CC value 0-12000 mA (12.000)
set_cc
set_cc <value>
Set CC value 0-12000 mA (12.000A)
<value> value to be set
get_cv
get_cv
Get CV value 0-60000 mV (60.000V)
set_cv
set_cv <value>
Set CV value 0-60000 mV (60.000)
<value> value to be set
get_cp
get_cp
Get CP value 0-720 dW (72.0W)
set_cp
set_cp <value>
Set CP value 0-720 dW (72.0W)
<value> value to be set
get_rgbw
get_rgbw
Get RGBW values 00000000-ffffffff
set_rgbw
set_rgbw <value>
Set RGBW values 00000000-ffffffff
<value> value to be set
get_at
get_at
Get AT value 3000-5000 k CCT
set_at
set_at <value>
Set AT value 3000-5000 k CCT
<value> value to be set
get_current
get_current
Get current
get_voltage
get_voltage
Get voltage
get_power
get_power
Get power
get_input
get_input
Get input
get_current_offset
get_current_offset
Get current offset(mA)
set_current_offset
set_current_offset <value>
Set current offset(mA)
<value> value to be set
get_policy
get_policy <name>
Get policy <on,off,up,down,mot,vac,s1,s2,s3>
<name> name of policy
set_policy
set_policy <name> <policy str>
Set policy <on,off,up,down,mot,vac,s1,s2,s3> <policy str>
<name> name of policy
<policy str> new policy str
get_tag
get_tag <name>
Get tag <all,actuator,sensor,wallswitch>
<name> resource name
set_tag
set_tag <name> <tag>
Set tag <all,actuator,sensor,wallswitch> <tag>
<name> resource name
<tag> new tag
get_cluster
get_cluster <name>
Get cluster <all,actuator,sensor,wallswitch>
<name> resource name
set_cluster
set_cluster <name> <cluster>
Set cluster <all,actuator,sensor,wallswitch> <cluster>
<name> resource name
<cluster> new cluster
get_channel
get_channel
Get channel
set_channel
set_channel <channel>
Set channel <channel>
<channel> new channel
get_sn
get_sn
Get serial number
set_sn
set_sn <value>
Set serial number <value>
<value> value to be set
get_wifi_mac
get_wifi_mac
Get wifi mac
get_fadetime
get_fadetime
Get fadetime
set_fadetime
set_fadetime <value>
Set fadetime <value>
<value> value to be set
get_pwm_mode
get_pwm_mode
Get pwm_mode
set_pwm_mode
set_pwm_mode <value>
Set pwm_mode <DIM,RGBW,RGB,AT>
<value> value to be set
get_sensor_type
get_sensor_type
Get sensor type
set_sensor_type
set_sensor_type <value>
Set sensor type <INPUT_LH,TOGGLE_LH,OCCUPANCY_LH,ADC>
<value> value to be set
get_input_type
get_input_type
Get input type
set_input_type
set_input_type <value>
Set input type <INPUT_LH,TOGGLE_LH,OCCUPANCY_LH,ADC>
<value> value to be set
get_sensor_eventlh
get_sensor_eventlh
Get sensor eventlh
set_sensor_eventlh
set_sensor_eventlh <value>
Set sensor eventlh <value>
<value> value to be set
get_sensor_eventhl
get_sensor_eventhl
Get sensor eventhl
set_sensor_eventhl
set_sensor_eventhl <value>
Set sensor eventhl <value>
<value> value to be set
get_sensor_holdtime
get_sensor_holdtime
Get sensor holdtime
set_sensor_holdtime
set_sensor_holdtime <value>
Set sensor holdtime <value>
<value> value to be set
get_sensor_occupiedtimeout
get_sensor_occupiedtimeout
Get sensor occupiedtimeout
set_sensor_occupiedtimeout
set_sensor_occupiedtimeout <value>
Set sensor occupiedtimeout <value>
<value> value to be set
get_sensor_vacanttimeout
get_sensor_vacanttimeout
Get sensor vacanttimeout
set_sensor_vacanttimeout
set_sensor_vacanttimeout <value>
Set sensor vacanttimeout <value>
<value> value to be set
get_sensor_high_threshold
get_sensor_high_threshold
Get sensor high_threshold
set_sensor_high_threshold
set_sensor_high_threshold <value>
Set sensor high_threshold <value>
<value> value to be set
get_sensor_low_threshold
get_sensor_low_threshold
Get sensor low_threshold
set_sensor_low_threshold
set_sensor_low_threshold <value>
Set sensor low_threshold <value>
<value> value to be set