Difference between revisions of "Xiaomi Yi"
From Robert-Depot
(→Enable FTP) |
(→Set from Telnet) |
||
(7 intermediate revisions by the same user not shown) | |||
Line 2: | Line 2: | ||
<syntaxhighlight lang="bash">nohup tcpsvd -u root -vE 0.0.0.0 21 ftpd -w / >> /dev/null 2>&1 &</syntaxhighlight> | <syntaxhighlight lang="bash">nohup tcpsvd -u root -vE 0.0.0.0 21 ftpd -w / >> /dev/null 2>&1 &</syntaxhighlight> | ||
http://nutseynuts.blogspot.com/2015/06/how-to-enable-ftp-server-for-xiaomi-yi.html | 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= | =Firmware= | ||
http://www.xiaoyi.com/update/sports | http://www.xiaoyi.com/update/sports | ||
+ | =Set from Telnet= | ||
+ | '''Telnet to Device''' | ||
+ | <syntaxhighlight lang="bash">telnet 192.168.1.112 7878</syntaxhighlight> | ||
+ | |||
+ | '''Get Access Token''' | ||
+ | <syntaxhighlight lang="bash">{"msg_id":257,"token":0}</syntaxhighlight> | ||
+ | |||
+ | '''Set system default mode to record''' | ||
+ | <syntaxhighlight lang="bash">{"msg_id":2,"token":6, "type":"system_default_mode", "param":"record"}</syntaxhighlight> | ||
+ | |||
+ | <syntaxhighlight lang="bash">{"msg_id":2,"token":1, "type":"buzzer_volume", "param":"low"} | ||
+ | </syntaxhighlight> | ||
+ | |||
+ | =Protocol= | ||
+ | http://copter.sovgvd.info/a/Xiaomi-Yi-protocol-remote-control | ||
+ | |||
+ | =Scripts= | ||
+ | <syntaxhighlight lang="bash">/usr/local/share/script</syntaxhighlight> |
Latest revision as of 20:29, 29 November 2015
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
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