Thread about the Bluetooth channel in Xiaomi Yi

If YiCam just power-on, you click the RC button(maybe click more than once, until the RC led is blue), will wait for a long time to take first action (5~10 seconds)
I guess RC need to wake-up & paring to Yi Cam.
 
Hi everyone,

I am thinking about exactly the same idea - to emulate remote control with bluetooth-enabled phone app (believe, it will work faster than original app).
I've also started to explorer what camera does - installed Debian, tried to find the device with hcitool lescan etc.
So, have you progressed with this task any further?

Thanks in advance,
Andrey
 
You will need a remote to scan. The Yi camera can not be scanned since it is the master. The remote is the slave and should be able to be scanned.
Not very many smartphones support ble in peripheral mode which makes it impossible to simulate a remote.
 
Just came to mention exactly the same - looks like just a few phones support needed BLE mode. Strange, but looks like even my Sony Z3 compact doesn't support it.
 
Share more screen dumps on BLE.
 

Attachments

  • Screenshot_2015-08-19-09-26-51.jpeg
    Screenshot_2015-08-19-09-26-51.jpeg
    74.5 KB · Views: 34
  • Screenshot_2015-08-19-09-27-09.jpeg
    Screenshot_2015-08-19-09-27-09.jpeg
    64.7 KB · Views: 25
  • Screenshot_2015-08-19-09-27-46.jpeg
    Screenshot_2015-08-19-09-27-46.jpeg
    45.9 KB · Views: 21
  • Screenshot_2015-08-19-09-27-58.jpeg
    Screenshot_2015-08-19-09-27-58.jpeg
    78.7 KB · Views: 17
  • Screenshot_2015-08-19-09-28-14.jpeg
    Screenshot_2015-08-19-09-28-14.jpeg
    95 KB · Views: 17
  • Screenshot_2015-08-19-09-28-26.jpeg
    Screenshot_2015-08-19-09-28-26.jpeg
    83.2 KB · Views: 16
  • Screenshot_2015-08-19-09-30-02.jpeg
    Screenshot_2015-08-19-09-30-02.jpeg
    63.7 KB · Views: 17
  • Screenshot_2015-08-19-09-30-23.jpeg
    Screenshot_2015-08-19-09-30-23.jpeg
    63.2 KB · Views: 18
  • Screenshot_2015-08-19-09-30-44.jpeg
    Screenshot_2015-08-19-09-30-44.jpeg
    65.7 KB · Views: 14
  • Screenshot_2015-08-19-09-31-13.jpeg
    Screenshot_2015-08-19-09-31-13.jpeg
    62.6 KB · Views: 16
more screens
 

Attachments

  • Screenshot_2015-08-19-09-31-38.jpeg
    Screenshot_2015-08-19-09-31-38.jpeg
    60.9 KB · Views: 10
  • Screenshot_2015-08-19-09-31-55.jpeg
    Screenshot_2015-08-19-09-31-55.jpeg
    68.2 KB · Views: 11
  • Screenshot_2015-08-19-09-32-53.jpeg
    Screenshot_2015-08-19-09-32-53.jpeg
    65.2 KB · Views: 7
  • Screenshot_2015-08-19-09-33-22.jpeg
    Screenshot_2015-08-19-09-33-22.jpeg
    68.6 KB · Views: 6
  • Screenshot_2015-08-19-09-33-38.jpeg
    Screenshot_2015-08-19-09-33-38.jpeg
    57.8 KB · Views: 5
  • Screenshot_2015-08-19-09-33-56.jpeg
    Screenshot_2015-08-19-09-33-56.jpeg
    56.8 KB · Views: 6
  • Screenshot_2015-08-19-09-34-19.jpeg
    Screenshot_2015-08-19-09-34-19.jpeg
    62.9 KB · Views: 5
  • Screenshot_2015-08-19-09-34-34.jpeg
    Screenshot_2015-08-19-09-34-34.jpeg
    61.9 KB · Views: 7
  • Screenshot_2015-08-19-09-34-49.jpeg
    Screenshot_2015-08-19-09-34-49.jpeg
    58.6 KB · Views: 6
  • Screenshot_2015-08-19-09-33-10.jpeg
    Screenshot_2015-08-19-09-33-10.jpeg
    68.1 KB · Views: 6
no.30
 

Attachments

  • Screenshot_2015-08-19-09-35-01.jpeg
    Screenshot_2015-08-19-09-35-01.jpeg
    64.2 KB · Views: 6
  • Screenshot_2015-08-19-09-35-28.jpeg
    Screenshot_2015-08-19-09-35-28.jpeg
    66.7 KB · Views: 6
  • Screenshot_2015-08-19-09-35-44.jpeg
    Screenshot_2015-08-19-09-35-44.jpeg
    68 KB · Views: 5
  • Screenshot_2015-08-19-09-35-57.jpeg
    Screenshot_2015-08-19-09-35-57.jpeg
    61 KB · Views: 5
  • Screenshot_2015-08-19-09-36-09.jpeg
    Screenshot_2015-08-19-09-36-09.jpeg
    61.6 KB · Views: 5
  • Screenshot_2015-08-19-09-36-21.jpeg
    Screenshot_2015-08-19-09-36-21.jpeg
    62.3 KB · Views: 4
  • Screenshot_2015-08-19-09-36-36.jpeg
    Screenshot_2015-08-19-09-36-36.jpeg
    65 KB · Views: 4
  • Screenshot_2015-08-19-09-36-47.jpeg
    Screenshot_2015-08-19-09-36-47.jpeg
    64.9 KB · Views: 4
  • Screenshot_2015-08-19-09-37-34.jpeg
    Screenshot_2015-08-19-09-37-34.jpeg
    63.7 KB · Views: 4
  • Screenshot_2015-08-19-09-37-44.jpeg
    Screenshot_2015-08-19-09-37-44.jpeg
    64.9 KB · Views: 4
final 2, @LA_ hope you can use these screen to find out the way to use mobile phone's BLE control YiCam
 

Attachments

  • Screenshot_2015-08-19-09-37-56.jpeg
    Screenshot_2015-08-19-09-37-56.jpeg
    66 KB · Views: 14
  • Screenshot_2015-08-19-09-38-08.jpeg
    Screenshot_2015-08-19-09-38-08.jpeg
    64.7 KB · Views: 16
Here is the small OSX app I've built to play with the camera.
It tries to simulate Xiaomi Yi Remote, simulation is partial (name is simulated and some services, currently you can NOT use it as remote since it doesn't send any command to the camera).

If any one has the time and wish to experiment, do the following - launch the app on your OSX (bluetooth should be enabled!), connect to simulated XiaoYi_RC from your Android-phone (use BLE Scanner app) and try to connect it with the camera by sending different commands (try to write to BLE characteristics different values like 0x01 or 0x0001) and see what camera does in response to your actions.
 

Attachments

  • BLEPeripheral.app.zip
    31 KB · Views: 14
- New user
- 3 posts
- "Download my free Mac app"...
lol!
 
- New user
- 3 posts
- "Download my free Mac app"...
lol!
You don't have to download it. But if you really want to help, then I can publish the source, so you will be able to compile it yourself.

(do you really believe that it is reasonable to try to distribute some kind of virus/trojan - believe you are talking about such case - on this forum and also to write the post text in accordance with the subject being discussed just to get a few downloads?)
 
Last edited:
Can not progress further.. Probably camera identifies the remote by its MAC-address, but I don't know how to change MAC address of bluetooth adapter on OSX ((.
 
Hi @LA_ , I think it maybe not that complicated.
The blue RC just send out some kind of "pairing information" to the camera, then camera return a kind of "confirm information", that's it.
Just need to find out how to send/receive this in mobile phone, to similation the blue RC.
 
Hi everyone,

I am new to this forum and want first of all "say hello" to you.
I'm also interested to control the xiaomi yi over bluetooth and want to know if someone of you make any progress?
I don't have a yi remote yet, but maybe I will order one and look what I can find out. With my HM-10 BLE module it should be possible to change to slave mode.

LA_, it would be great to if you can upload your Xcode project. Maybe then it would be clearer for me what your program should do.

Hope we will get it work. Would be amazing.
 
@LA_ any updated with your bluetooth code? how to control YiCam ?
 
I'm really into this subject too. I0m trying to do this but with a generic bluetooth shutter. If i had a MAC Adress of the Original One and the name that use, maybe i coud "clone" the original in my generic one.
 
@LA_ any updated with your bluetooth code? how to control YiCam ?
No any updates, unfortunately. I can not simulate another MAC address on my PC and my phone doesn't work as bluetooth peripheral device, so I see no way to explore it further.

I'm really into this subject too. I0m trying to do this but with a generic bluetooth shutter. If i had a MAC Adress of the Original One and the name that use, maybe i coud "clone" the original in my generic one.
Look at the screenshots above, you'll find both MAC address and the name there.
 
*bump :) anyone made any interesting progress here?
 
Back
Top