AlCalzone / ioBroker.ble

Monitor Bluetooth Low Energy beacons
MIT License
41 stars 14 forks source link
beacon ble bluetooth iobroker

ioBroker.ble

Build Status

Monitor Bluetooth Low Energy (BLE) beacons and record their information. Currently, only recording advertised service data is supported. You can monitor which services are advertised by using the nRF Connect app (service data UUIDs). Connecting and reading/writing service chararcteristics will be supported in a future version.

Installation

Number of Installations Number of Installations

This adapter needs additional libraries to compile. See https://github.com/sandeepmistry/noble#prerequisites for detailed instructions. On Raspberry Pi and similar, this should do it: sudo apt-get install bluetooth bluez libbluetooth-dev libudev-dev libcap2-bin

If the adapter starts but won't connect to your bluetooth hardware, please check the info.driverState state in ioBroker. If it is unauthorized, you need to give node additional permissions. For Linux, this is as simple as

sudo setcap cap_net_raw+eip $(eval readlink -f `which node`)

which requires libcap2-bin to be installed.

Configuration

If you have multiple bluetooth devices on your system, select the one to use from the dropdown. In the textbox below, enter all UUIDs of the advertised services you want to record (as found in the nRF Connect app).

Plugin system

The adapter supports extension via plugins. Those define which advertised services should be listened to and how to translate the data. The plugin structure is defined in https://github.com/AlCalzone/ioBroker.ble/blob/master/src/plugins/plugin.ts and an example of a working plugin is defined here https://github.com/AlCalzone/ioBroker.ble/blob/master/src/plugins/_default.ts

If you have any device transmitting specially encoded information via advertisements, feel free to create a PR with a new plugin for that.

Supported plugins

Changelog

0.14.0 (2023-12-11)

0.13.4 (2023-07-06)

0.13.3 (2023-02-05)

0.13.2 (2023-01-02)

0.13.1 (2022-12-19)

0.13.0 (2022-04-27)

0.12.0 (2020-10-29)

0.11.8 (2020-08-25)

0.11.7 (2020-08-20)

0.11.6 (2020-05-07)

0.11.4 (2020-04-23)

0.11.3 (2020-04-22)

0.11.2 (2020-04-19)

0.11.1 (2020-04-11)

0.11.0 (2020-03-25)

0.10.1 (2019-10-13)

0.10.0 (2019-09-26)

0.9.2 (2019-09-26)

0.9.1 (2019-09-22)

0.9.0 (2019-09-04)

0.8.4 (2019-09-03)

0.8.3 (2019-08-26)

0.8.2 (2019-08-14)

0.8.1 (2019-07-26)

0.7.4 (2019-07-03)

0.7.3 (2019-04-05)

0.7.2 (2019-04-05)

0.7.0 (2019-02-05)

0.6.0 (2018-12-23)

0.5.5 (2018-11-29)

0.5.3 (2018-11-23)

0.5.2 (2018-03-28)

0.5.1 (2018-03-28)

0.5.0 (2018-03-27)

0.4.2 (2018-03-27)

0.4.1 (2018-03-24)

0.4.0 (2018-03-24)

0.3.5 (2018-03-18)

0.3.4 (2018-01-01)

0.3.3 (2017-11-24)

0.3.2 (2017-09-27)

0.3.1 (2017-09-27)

0.3.0 (2017-09-27)

0.2.2 (2017-09-27)

0.2.1 (2017-09-27)

0.2.0 (2017-09-26)

0.1.0 (2017-09-06)

0.0.2 (2017-09-06)

0.0.1

License

The MIT License (MIT)

Copyright (c) 2017-2023 AlCalzone d.griesel@gmx.net

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.