blobf
Posts: 7
Joined: Fri Oct 18, 2019 11:19 am

duplicate bluetooth comms

Fri Oct 18, 2019 11:22 am

Hi

I'd really like to be able to control a bluetooth smart home device with a raspberry pi, but I have no idea where to start.

it comes with an android app that communicates with the device, but does anyone have any idea how to capture the required conversations and replay them with a raspberry pi?

cheers
Bob

fruitoftheloom
Posts: 21075
Joined: Tue Mar 25, 2014 12:40 pm
Location: Delightful Dorset

Re: duplicate bluetooth comms

Fri Oct 18, 2019 11:31 am

blobf wrote:
Fri Oct 18, 2019 11:22 am
Hi

I'd really like to be able to control a bluetooth smart home device with a raspberry pi, but I have no idea where to start.

it comes with an android app that communicates with the device, but does anyone have any idea how to capture the required conversations and replay them with a raspberry pi?

cheers
Bob


Raspbian Buster with Desktop Operating System has built in Bluetooth support for the Raspberry Pi SBCs which have Bluetooth.

Di you have a Raspberry Pi with Bluetooth ??
Retired disgracefully.....
This at present is my daily "computer" https://www.asus.com/us/Chrome-Devices/Chromebit-CS10/

blobf
Posts: 7
Joined: Fri Oct 18, 2019 11:19 am

Re: duplicate bluetooth comms

Fri Oct 18, 2019 12:34 pm

I do. I have a pi with a BT dongle and a zero.

my problem is capturing and replaying the commands sent to the device from android

User avatar
Douglas6
Posts: 4781
Joined: Sat Mar 16, 2013 5:34 am
Location: Chicago, IL

Re: duplicate bluetooth comms

Fri Oct 18, 2019 2:05 pm

Bluetooth sniffing cannot be done with a typical Bluetooth adapter. Adafruit has a nifty BLE sniffer device that can probably be connected to the Pi, but is easier to use on a PC or laptop. It has a modified firmware that can catch over the air communications between two other BLE devices. Very handy for debugging or reverse-engineering. Here: https://www.adafruit.com/product/2269.

[EDIT: See also https://www.raspberrypi.org/forums/view ... 9&t=174963.]

blobf
Posts: 7
Joined: Fri Oct 18, 2019 11:19 am

Re: duplicate bluetooth comms

Mon Oct 21, 2019 7:03 am

Thanks. That's enough to get me started. Just waiting for the hardware to arrive now...

Return to “Advanced users”