If you need a more rigorous description take a look at the book IoT Projects with Bluetooth Low Energy. It covers the fundamental aspects of Bluetooth Low Energy scanning, services, and characteristics. It goes on to describe examples of how to monitor health data, perform indoor navigation and use the Raspberry Pi for Bluetooth solutions. The book’s code is also available on GitHub.
The open source code advertises Eddystone-URL, Eddystone-UID and Eddystone-TLM. Examples are provided.
OmnIoT SoftHub is a way of creating IoT edge applications quickly without any programming. It runs on Raspberry Pi hardware (2, 3, 4, or Zero/W) and detects iBeacon, AltBeacon, and EddyStone beacons ‘out of the box’. The authors have told us they are interested in integrating other Bluetooth sensor types.
The platform allows sending of data to many 3rd party MQTT brokers. It logs data to internal or attached storage and can also decode data into a variety of data formats. Thresholds can be created to cause events, for example, sending alarm emails or SMS messages direct from the platform itself.
It’s free for personal use and one-off company projects. It only needs to be licensed if you are going to re-sell it as part of a solution.
If you are developing using Node, there’s a Node.js module, node-beacon-scanner, that allows you to scan Bluetooth beacon packets and parse the packet data.
While Node tends to be associated with Linux, servers and hence web sites, Node can also be used on small single board computers such as the Raspberry Pi. Hence, this module provides an easy way to scan for Beacons and other Bluetooth devices.
The module supports iBeacon and Eddystone and outputs the MAC address, local name, transmit power level, RSSI and the iBeacon/Eddystone specific attributes.
We have recently come across Beacon Server, a useful application for Raspberry Pi 3 and OS X, by Yannick Weiss in Switzerland, that detects beacons and calls webhooks, for example IFTTT when a beacon enters or leaves the area. It’s controlled via a web interface:
Beacons don’t just work with smartphones. They can work with any other devices that have Bluetoooth LE. This includes Single Board Computers (SBCs) such as the Raspberry Pi 3 and new $10 Pi Zero W that include Bluetooth 4.1.
Pi zero Wireless
If you take a look at our article on Implementation Types, the smartphone app or gateway in each scenario could equally be a SBC.
For sensing and RTLS applications, the SBC can do additional pre-processing to extract and/or filter sensor data. It can also do post processing to aggregate data and/or reformat for specific IoT platforms. Another advantage of a SBC over a gateway is that data can be cached when WiFi or Internet connectivity isn’t available and queued for sending later so that the data isn’t lost.