WyzeCam MQTT Backward compatibility

From The TinkerNet Wiki
Jump to navigation Jump to search

From: How to configure a hacked Xiaomi Dafang to work with OpenHAB

To set values via MQTT, the Dafang Hacks firmware uses a TOPIC/PREFIX/set command

Available "set" Messages:
Message Result
reboot Causes camera to reboot... duh...
shutdown Causes camera to shut down... duh...
blue_led_on
blue_led_off
yellow_led_on
yellow_led_off
ir_led_on
ir_led_off
ir_cut_on
ir_cut_off
motor_left
motor_right
motor_up
motor_down
motor_vcalibrate
motor_hcalibrate
motor_calibrate
motor_PTZ
audio_test
h264_start
h264_noseg_start
mjpeg_start
h264_nosegmentation_start
xiaomi_start
rtsp_stop
set_http_password
auto_night_mode_start
auto_night_mode_stop
toggle-rtsp-nightvision-on
toggle-rtsp-nightvision-off
flip-on
flip-off
motion_detection_on
motion_detection_off
set_video_size
set_region_of_interest
offDebug
onDebug
conf_timelapse
conf_audioin
update
show_updateProgress
motion_detection_mail_on
motion_detection_mail_off
motion_detection_led_on
motion_detection_led_off
motion_detection_snapshot_on
motion_detection_snapshot_off
motion_detection_mqtt_on
motion_detection_mqtt_off