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.webp
    Screenshot_2015-08-19-09-26-51.webp
    42.5 KB · Views: 135
  • Screenshot_2015-08-19-09-27-09.webp
    Screenshot_2015-08-19-09-27-09.webp
    35.7 KB · Views: 125
  • Screenshot_2015-08-19-09-27-46.webp
    Screenshot_2015-08-19-09-27-46.webp
    22.7 KB · Views: 123
  • Screenshot_2015-08-19-09-27-58.webp
    Screenshot_2015-08-19-09-27-58.webp
    44.7 KB · Views: 113
  • Screenshot_2015-08-19-09-28-14.webp
    Screenshot_2015-08-19-09-28-14.webp
    54.9 KB · Views: 130
  • Screenshot_2015-08-19-09-28-26.webp
    Screenshot_2015-08-19-09-28-26.webp
    48.5 KB · Views: 125
  • Screenshot_2015-08-19-09-30-02.webp
    Screenshot_2015-08-19-09-30-02.webp
    34.6 KB · Views: 124
  • Screenshot_2015-08-19-09-30-23.webp
    Screenshot_2015-08-19-09-30-23.webp
    34.3 KB · Views: 133
  • Screenshot_2015-08-19-09-30-44.webp
    Screenshot_2015-08-19-09-30-44.webp
    35.8 KB · Views: 117
  • Screenshot_2015-08-19-09-31-13.webp
    Screenshot_2015-08-19-09-31-13.webp
    33.7 KB · Views: 126
more screens
 

Attachments

  • Screenshot_2015-08-19-09-31-38.webp
    Screenshot_2015-08-19-09-31-38.webp
    32.4 KB · Views: 112
  • Screenshot_2015-08-19-09-31-55.webp
    Screenshot_2015-08-19-09-31-55.webp
    38 KB · Views: 119
  • Screenshot_2015-08-19-09-32-53.webp
    Screenshot_2015-08-19-09-32-53.webp
    35.5 KB · Views: 112
  • Screenshot_2015-08-19-09-33-22.webp
    Screenshot_2015-08-19-09-33-22.webp
    38.2 KB · Views: 129
  • Screenshot_2015-08-19-09-33-38.webp
    Screenshot_2015-08-19-09-33-38.webp
    30.1 KB · Views: 108
  • Screenshot_2015-08-19-09-33-56.webp
    Screenshot_2015-08-19-09-33-56.webp
    29 KB · Views: 99
  • Screenshot_2015-08-19-09-34-19.webp
    Screenshot_2015-08-19-09-34-19.webp
    33.8 KB · Views: 125
  • Screenshot_2015-08-19-09-34-34.webp
    Screenshot_2015-08-19-09-34-34.webp
    32.7 KB · Views: 116
  • Screenshot_2015-08-19-09-34-49.webp
    Screenshot_2015-08-19-09-34-49.webp
    30.7 KB · Views: 113
  • Screenshot_2015-08-19-09-33-10.webp
    Screenshot_2015-08-19-09-33-10.webp
    37.8 KB · Views: 119
no.30
 

Attachments

  • Screenshot_2015-08-19-09-35-01.webp
    Screenshot_2015-08-19-09-35-01.webp
    34.6 KB · Views: 122
  • Screenshot_2015-08-19-09-35-28.webp
    Screenshot_2015-08-19-09-35-28.webp
    36.5 KB · Views: 118
  • Screenshot_2015-08-19-09-35-44.webp
    Screenshot_2015-08-19-09-35-44.webp
    37.4 KB · Views: 96
  • Screenshot_2015-08-19-09-35-57.webp
    Screenshot_2015-08-19-09-35-57.webp
    32.1 KB · Views: 110
  • Screenshot_2015-08-19-09-36-09.webp
    Screenshot_2015-08-19-09-36-09.webp
    32.6 KB · Views: 122
  • Screenshot_2015-08-19-09-36-21.webp
    Screenshot_2015-08-19-09-36-21.webp
    33 KB · Views: 104
  • Screenshot_2015-08-19-09-36-36.webp
    Screenshot_2015-08-19-09-36-36.webp
    35.4 KB · Views: 114
  • Screenshot_2015-08-19-09-36-47.webp
    Screenshot_2015-08-19-09-36-47.webp
    35.4 KB · Views: 105
  • Screenshot_2015-08-19-09-37-34.webp
    Screenshot_2015-08-19-09-37-34.webp
    34.7 KB · Views: 118
  • Screenshot_2015-08-19-09-37-44.webp
    Screenshot_2015-08-19-09-37-44.webp
    35.3 KB · Views: 118
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.webp
    Screenshot_2015-08-19-09-37-56.webp
    36.2 KB · Views: 102
  • Screenshot_2015-08-19-09-38-08.webp
    Screenshot_2015-08-19-09-38-08.webp
    35.5 KB · Views: 113
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

- 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