Diy cheap wifi remote for xiaomi yi

eljuligallego

New Member
Joined
May 19, 2015
Messages
4
Reaction score
1
Country
Spain
hi everybody,

i have discover that is possible to make a very cheap wifi remote control for the gopro camera with the serial-wifi esp8266 and few soldering parts.

http://euerdesign.de/2015/12/28/ultralowcost-diy-gopro-remote/

in this page says how to configure the chip to send the comands to the gopro camera and my question is if could be possible to de the same with our xiaomi yi.

best resgards,
Julian.
 
OP
E

eljuligallego

New Member
Joined
May 19, 2015
Messages
4
Reaction score
1
Country
Spain
hi again,

i had make some progress with this device and my xiaomi yi.

i take the info of the telnet commands from here:

http://copter.sovgvd.info/a/Xiaomi-Yi-protocol-remote-control#RAW-requests-and-answers

and with the esp 8266 and a raspberry pi as serial control was able to take some pictures with screen serial monitor.

the commands send to configure the esp8266 are these:
AT+ CWJAP =<ssid>,< pwd >
AT+CIPMUX=1
AT+CIPSTART=4,"TCP","X1.X2.X3.X4",7878
AT+CIPSEND= <id>,<length> eg. send data: AT+CIPSEND=4,15 and then enter the data
and here i send the commands to the xiaomi yi taken from the link post before.

AT commands info from here :
http://wiki.iteadstudio.com/ESP8266_Serial_WIFI_Module

i use and esp8266-01 from ai-thinker.

the next step is to configure the esp8266. some help would be appreciated (i have not much experience with this chip).

i hope you enjoy it.
 

luckylz

Active Member
Joined
Apr 8, 2015
Messages
414
Reaction score
107
Country
China
woo, this is better than the bluetooth remote controller !
 

reaper7

New Member
Joined
Nov 26, 2015
Messages
18
Reaction score
6
Country
Poland
Dash Cam
XiaomiYi(23L)
OP
E

eljuligallego

New Member
Joined
May 19, 2015
Messages
4
Reaction score
1
Country
Spain
of course the xiaomi app is better but doing a remote with this device allow you to make it more pro. you can do electronics triggers or scrits for differents configurations modes and integrated remotes for AUV. There are a lot of options.

i was able to take pictures and videos but i would like to know if it is possible to make it more advanced.were i can find more info?,here?:
https://dl.dropboxusercontent.com/u/1638929/xia/raw.log

to connet to the xiaomi yi to the esp8266 i send:
{"msg_id":257,"token":0} to connect it.
'{"msg_id":3,"token":1}' to take pictures.
'{"msg_id":513,"token":1}' to start video record.
'{"msg_id":514,"token":1}' to stop video record.

regards.
 

JPush

New Member
Joined
Feb 7, 2016
Messages
1
Reaction score
0
Country
India
Can someone please let me know where are these commands documented. Any pointers will be useful.

Where can I find more info on say, '{"msg_id":513,"token":1}' type commands.

I can see the raw.log above but need what each of them means.

Thanks.
 
Top