Skip to content

Device Commands

gtxaspec edited this page Jul 14, 2023 · 6 revisions

wz_mini_edit.sh

Edit the wz_mini.conf file using nano directly.

wz_mini_edit.sh

cmd

welcome to: cmd <arg>

arg can be:
jpeg <channel> <-n>
 Note: -n denotes no header
video <channel> <on/off>
audio <channel> <on/off>
move <x> <y>
waitMotion <timeout> (you must enable motion tagging in the app first)
irled <on/off>
aplay <file path> <volume 1-100>
curlDebug on, off, disable_video
mp4write <on/off> (t31 only)
timelapse <file> <interval> <count>

imp_control

Only available when RTSP server is enabled, values are reset to default upon reboot. Tune various audio and video parameters supported by IMP.

cmd imp_control <command> <value>

function name Value Description
AUDIO
agc_on Enable Automatic Gain Control
agc_off Disable Automatic Gain Control
hpf_on Enable High Pass Filter
hpf_off Disable High Pass Filter
ns_on Enable Noise Supression
ns_off Disable Noise Supression
aec_on Enable Automatic Echo Cancellation
aec_off Disable Automatic Echo Cancellation
ai_vol -30 to 120 Audio Input Volume
ai_gain 0 to 31 Audio Input Gain
alc_gain 0 to 7 Automatic Level Control Gain
ao_gain 0 to 31 Audio Output Gain
ao_vol -30 to 120 Audio Output Volume
------------- ------------- -----------
VIDEO
flip_mirror Mirror Image
flip_vertical Flip Vertical
flip_horizontal Flip Horizontal
flip_normal Normal Image
tune_contrast -128 to 128 Contrast Control
tune_brightness -128 to 128 Brightness Control
tune_sharpness -128 to 128 Sharpness Control
tune_saturation -128 to 128 Saturation Control
tune_aecomp 0 to 255 Auto Exposure Target
tune_aeitmax 0 to 10000 Auto Exposure Maxiumum (no v2)
tune_dpc_strength -128 to 128 DPC Strength (no v2)
tune_drc_strength -128 to 128 DRC Strength (no v2)
tune_hilightdepress 0 to 10 Glare Supression
tune_temper -128 to 128 3D Noise reduction strength
tune_sinter -128 to 128 2D Noise reduction strength
tune_again 0 to 99999 Set sensor A-Gain maximum
tune_dgain see notes Maximum D-Gain set by the ISP
tune_backlightcomp -1 to 3500 Backlight Compensation? (undocumented, no v2)
tune_dps 50 to 150 Set DPC intensity (v2 only)

tune_dgain: 0 means 1x, 32 means 2x, and so on

car_control.sh

Control the wyze car using the command line

car_control.sh
=== CAR CONTROL over COMMAND LINE! ===
CAR: car_control.sh
CAR: car_control.sh constant
CAR: car_control.sh constant low_speed
CAR: car_control.sh low_speed
CAR: w: forward 
CAR: d: reverse
CAR: a: turn wheel left
CAR: d: turn wheel right
CAR: q: forward left
CAR: e: forward right
CAR: z: reverse left
CAR: c: reverse right
CAR: x: all stop
CAR: h: headlight on/off
CAR: j: irled on/off
CAR: b: honk

CAR: 1: quit ASAP!

spotlight_ctl.sh

Control the camera spotlight add-on using the command line

spotlight_ctl.sh 
usage: spotlight_ctl on_high
usage: spotlight_ctl on_low
usage: spotlight_ctl off
Clone this wiki locally