Xiaomi Yi

From Robert-Depot
Jump to: navigation, search

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

https://github.com/deltaflyer4747/Xiaomi_Yi

Firmware

http://www.xiaoyi.com/update/sports

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

http://copter.sovgvd.info/a/Xiaomi-Yi-protocol-remote-control

Scripts

/usr/local/share/script