Difference between revisions of "Xiaomi Yi"

From Robert-Depot
Jump to: navigation, search
(Enable FTP)
(Set from Telnet)
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>
 +
 +
=Scripts=
 +
<syntaxhighlight lang="bash">/usr/local/share/script</syntaxhighlight>

Revision as of 20:20, 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"}

Scripts

/usr/local/share/script