Xiaomi Yi
Contents
Enable FTP
nohup tcpsvd -u root -vE 0.0.0.0 21 ftpd -w / >> /dev/null 2>&1 &
http://nutseynuts.blogspot.com/2015/06/how-to-enable-ftp-server-for-xiaomi-yi.html
Control and Configure with Python
Firmware
Set from Telnet
Telnet to Device
telnet 192.168.1.112 7878
Get Access Token
{"msg_id":257,"token":0}
Set system default mode to record
{"msg_id":2,"token":6, "type":"system_default_mode", "param":"record"}
{"msg_id":2,"token":1, "type":"buzzer_volume", "param":"low"}
Protocol
Scripts
/usr/local/share/script