Logic Machine Forum
Integration with Bluetouth 4.0LE - Printable Version

+- Logic Machine Forum (https://forum.logicmachine.net)
+-- Forum: LogicMachine eco-system (https://forum.logicmachine.net/forumdisplay.php?fid=1)
+--- Forum: Scripting (https://forum.logicmachine.net/forumdisplay.php?fid=8)
+--- Thread: Integration with Bluetouth 4.0LE (/showthread.php?tid=137)



Integration with Bluetouth 4.0LE - buuuudzik - 17.11.2015

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?


RE: Integration with Bluetouth 4.0LE - admin - 17.11.2015

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.


RE: Integration with Bluetouth 4.0LE - edgars - 17.10.2016

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/libbluetooth_5.41-1_mxs.ipk
https://dl.openrb.com/lm-16.09-rc2/pkg/genohm-scada-ble_20160810_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


RE: Integration with Bluetouth 4.0LE - edgars - 28.10.2016

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


RE: Integration with Bluetouth 4.0LE - Hippolyte - 01.03.2017

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 ?!


RE: Integration with Bluetouth 4.0LE - edgars - 01.03.2017

Hippolyte, we will have soon BLE repeater (BLE to LAN gateway + WiFi to LAN bridge)


RE: Integration with Bluetouth 4.0LE - AlexLV - 23.04.2020

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


RE: Integration with Bluetouth 4.0LE - Daniel - 23.04.2020

https://dl.openrb.com/lm-19-imx6/pkg/


RE: Integration with Bluetouth 4.0LE - admin - 23.04.2020

You need libbluetooth, luable and genohm-scada-ble


RE: Integration with Bluetouth 4.0LE - AlexLV - 23.04.2020

Ok,thank you.All installed. Will test it.

Thank you for help.

Alex