There’s a new Linux script called Monitor that scans for the presence of beacons and other Bluetooth devices and reports to a MQTT server.
The mechanism doesn’t just scan for beacons. It combines name requests, anonymous advertisements and beacon advertisements to determine when to issue a name request to determine if a device is present and when to issue a name request to determine if a device is absent.
The author, Andrew J Freyer, provides instructions how to set up on a Raspberry Pi Zero W.
We recently came across a Python library, BeaconTools, for working with various types of Bluetooth LE Beacon. It supports iBeacon, Eddystone and Estimote beacons, extracting information from raw binary beacon advertisements. It can also work as a beacon scanner.
The received signal strength (RSSI) of beacons is often used to infer location. However, the RSSI is subject to reflection and blocking from walls, people and other obstacles causing the derived locations from the raw data to be ‘jumpy’. There are many ways to process the raw data, such as Hidden Markov Models, k-nearest neighbors and Deep Neural Networks (DNN) to obtain smoother trajectories.
The researchers use movement constraints and sliding-window aggregation to extract invalid trajectories and provide real-time semantic trajectories.
The paper shows the proposed movement constraint-based approach extracts valid trajectories that are comparable to the unconstrained and non-machine language approaches. This new approach is particularly suited to dynamic indoor environments where the reflection and blocking changes over time.
Silicon Labs is a Bluetooth module manufacturer and solutions provider. Over the years they have created a large number of useful technical notes. They have just created a master list that allows easier access to the notes. Here are some that more general, less proprietary and not specific to Silicon Labs’ modules:
The x axis is time. You can see the x, y and z values, every 100ms, over time. The y axis is normalised between -1 and -1 for use in our SensorCognition Edge device. The chart is for when the beacon has been moving, followed by a stationary period. Notice how the orange line continues to show acceleration even though the beacon isn’t moving. This is caused by gravity.
In this chart the beacon has been flipped over and the orange line now shows a constant negative acceleration.
A good thing about the presence of a constant offset in one of the x y z inputs is that it can be used to help determine the orientation of the beacon. The less desirable aspect is that the offset significantly complicates using the x y z to determine types of movement such as human gestures.
Such complex data problems are more easily solved using AI machine learning than trying to write a traditional algorithm to make sense of the data.
Here’s an example of output from a SensorCognition Edge device trained with up and down movement and left and right movement. In this case, the output 227 is showing the beacon is moving left and right.
TRBOnet is control room software for Motorola MOTOTRBO™ two-way radios. When used with iBeacons, it allows mapping of 2-way radio locations.
The location update rate depends on the degree of radio congestion. The more radios there are the greater the congestion. The use of iBeacons also increases radio congestion as they cause more location packets to be sent. This can become a problem in larger 2-way radio/beacon rollouts.
In cases where a 2-way radio can see more than one beacon, the TRBOnet server uses the relative signal strengths of the beacons to determine the nearest beacon. In the case of radio congestion, the location updates for the two or more beacons might be two far apart, in time, to allow an accurate location to be determined. In congested situations, location updates used for geofencing or man-down might also come in far too late, say 5 minutes late, to provide timely alerts that someone has entered/exited an area or has fallen.
Neocom Software, the authors of TRBOnet, have introduced an Option Board based solution (pdf), that fits in the 2-way radios, that solves these problems. It monitors beacons every 3-5 seconds instead of the standard 30 seconds. It does the comparing of beacon signal strength at the 2-way radio rather than at the server to reduce the number of sent location packets. It intelligently sends location packets as the user changes zone rather than continuously.
The configuration guide (pdf) explains how the option board can be set up to detect events such as man down, geofencing, lone worker (no activity), no movement, crash detection and speed limit.
Are you an established 2-way radio company? Contact us for advice on which beacons we have supplied for use with TRBOnet.
However, the iOS and Android mechanisms are still there for more worthy applications such as visitor space usecases that need to provide location based information. For these types of application, there’s the need for good app onboarding explaining location and Bluetooth usage in order to provide the location-based information that the end-user is requiring.
While unsolicited marketing was the key benefit when iBeacon was first announced, the use of beacons has since diversified into less contentious and more practically useful areas such as real time locating (RTLS), IoT Sensing and insights through machine learning.
Bluetooth can be used as a way of connecting wearables and equipment to other devices. When equipment and people are Bluetooth-enabled, asset tracking and wayfinding become possible. Staff can quickly locate valuable hospital assets and patients in need for urgent care.
Another reason for using Bluetooth is reliability. The article mentions Bluetooth’s adaptive frequency hopping (AFH) that makes communication more reliable in noisy wireless environments. You can read more about the technical aspects in our post on Bluetooth LE on the Factory Floor.
A further reason for using Bluetooth, particularly Bluetooth LE, is low power. Stand-alone devices can work on coin-cell batteries for many years.
The final reason given for using Bluetooth is the ability to create larger site-wide networks using Bluetooth mesh. Mesh can be used for control, monitoring and automation systems without the need for WiFi that can be unreliable and congested in hospitals.
We have been using UPS shipping for just over a month now and have just refined our shipping options based on past customer orders and our costs. UPS offer two main services, UPS Standard that goes by road and UPS Express that goes by air.
We have found that UPS Standard to some European countries is taking 5 to 6 business days which we can now improve on for some countries. For Italy, Spain, Austria, Finland, Greece, Denmark and Sweden we now always send by UPS Express (by air) for a similar cost as was the case for UPS Standard. This has a delivery time of 1 to 2 days to most business areas.
UPS Standard goes via the new London Hub that shows as ‘Stanford Le Hope, United Kingdom’ in the tracking. This is UPS’s largest single infrastructure investment outside of the United States. View the video:
The London Hub is 32,000-square metres in size and has a capacity to process up to 28,000 packages per hour. It’s part of UPS’s $2 billion infrastructure investment programme in Europe.
UPS Express gets to via East Midlands airport by the evening of the day it is picked up from us and shows as ‘Castle Donington, United Kingdom’ in the tracking.
UPS Freight Flight from East Midlands Airport/Castle Donington
Freight flights leave every evening to Europe and North America that are delivered in 1 to 2 working days to Europe and 2-3 days to N America.
View the shipping page for a summary of delivery costs and time scales.