This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

Integration with Bluetouth 4.0LE
#1
Do you have some solution for integration with devices over Bluetouth 4.0LE? For example some wage in Bathroom? Do I need some description of the protocol or can I download it from the device or something similar?
Reply
#2
Unfortunately, most manufacturers don't publish any protocol description to force you to use their own app. Sometimes it's possible to figure out where the required data is stored by using app like LightBlue Explorer on iOS. It's also possible that there's some kind of data encryption or obfuscation present in the device, then you cannot do anything without protocol description.
Reply
#3
LogicMachine Ambient series has Bluetooth module built-in. For other LogicMachine devices you need to use one of the supported USB dongles:
  • Laird BT820
  • Broadcom BCM20702A0
  • Trust 18187
  • Belkin F8T065bf
  • Plugable USB Bluetooth 4.0
Install the latest firmware and add following packages through System Config --> System --> Packages:

https://dl.openrb.com/lm-16.09-rc2/pkg/l...-1_mxs.ipk
https://dl.openrb.com/lm-16.09-rc2/pkg/g...10_mxs.ipk

See attached Bluetooth device profile creation manual for LogicMachine as well as several ready profiles.

Feel free to share your own profiles with the community  Smile

Attached Files
.pdf   BLE_profiles_creation_10.2016.pdf (Size: 846.83 KB / Downloads: 125)
.lua   mio-alpha-watch-pulse.lua (Size: 1.16 KB / Downloads: 18)
.lua   beewi-smartledcolorbulb.lua (Size: 7.11 KB / Downloads: 15)
.lua   awox-aromalightcolor.lua (Size: 1.16 KB / Downloads: 11)
.lua   xiaomi-miband.lua (Size: 1.71 KB / Downloads: 29)
.lua   ti-sensortag.lua (Size: 3.01 KB / Downloads: 13)
Reply
#4
Here you can download General Bluetooth profile.
Mostly Bluetooth integration into LogicMachine is used for presence detection which brings possibility to launch specific scene or objects once Bluetooth device appears or disappears in visibility zone of LogicMachine. Also by knowing RSSI (signal level) you can activate specific objects, for example, switch on light when Bluetooth band is approaching LogicMachine Ambient.

Here is more details with screenshots:
http://openrb.com/bluetooth-presence-detection-and-rssi
Reply
#5
Hi,

Sometimes the LM is not placed exactly where we want to sniff presence detection, is it doable to use a extension cable for one of the BLE dongles Edgars listed ?
Like 10 meters ?!
Reply
#6
Hippolyte, we will have soon BLE repeater (BLE to LAN gateway + WiFi to LAN bridge)
Reply
#7
Hi, where is possible download latest BLE package for LM5P2-RDE?

I received USB Bluetooth 4.0 dongle, I want to work a little with BLE integration.

BR,

Alex
Reply
#8
https://dl.openrb.com/lm-19-imx6/pkg/
------------------------------
Ctrl+F5
Reply
#9
You need libbluetooth, luable and genohm-scada-ble
Reply
#10
Ok,thank you.All installed. Will test it.

Thank you for help.

Alex
Reply


Forum Jump: