Difference between revisions of "Xiaomi Yi"

From Robert-Depot
Jump to: navigation, search
(Set from Telnet)
(Set from Telnet)
 
(One intermediate revision by the same user not shown)
Line 16: Line 16:
 
'''Set system default mode to record'''
 
'''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":6, "type":"system_default_mode", "param":"record"}</syntaxhighlight>
 +
 +
<syntaxhighlight lang="bash">{"msg_id":2,"token":1, "type":"buzzer_volume", "param":"low"}
 +
</syntaxhighlight>
 +
 
=Protocol=
 
=Protocol=
 
http://copter.sovgvd.info/a/Xiaomi-Yi-protocol-remote-control
 
http://copter.sovgvd.info/a/Xiaomi-Yi-protocol-remote-control

Latest revision as of 20:29, 29 November 2015

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