Kiosk Pro for iOS Uses iBeacons

Kiosk Pro is an app for iOS that turns an iPad into a public kiosk.

The technical documentation shows how you can trigger the showing of specific information when in the vicinity of a particular beacon. For example, if the kiosk is static, people with different beacons might trigger the showing of different information. If the kiosk is moving, for example a tablet being held, it might trigger the showing of different information based on the location of, for example, different exhibits. The kiosk can also be set to advertise iBeacon that can be picked up in iOS and Android apps.

View iBeacons

Android WiFi Direct via Bluetooth

A problem with many IoT projects is the need to connect the device to WiFi. It’s a ‘chicken and egg‘ situation in that you need to connect to the device in order to set the WiFi settings but you can’t connect because you aren’t WiFi connected. This is usually solved in one of two ways. The first relies on a WPS button on the WiFi router which sets it into a mode where it will accept a new device without the user having to enter or select anything. Security flaws in WPS and the possibility of anyone pressing the WPS button mean this isn’t a great solution for IoT applications. The second method involves the IoT device itself acting as a WiFi router in ‘station mode’ while the user on a phone, laptop or other device connects and uses a http web interface to set the WiFi settings and reboot. Upon reboot, it’s no longer in station mode and connects to the assigned access point. However, users need simpler mechanisms.

Android used to support WPS but this has been deprecated in favour Wi-Fi Easy Connect. The latest Android Q documentation explains that the Wi-Fi Direct connection information (a URI) needs to reach the device somehow such as through a QR Code scan NFC receipt or a Bluetooth scan. Hence, it’s possible for an unprovisioned device to be scanning for a particular beacon that provides a connection URI that’s used for provisioning the WiFi. This allows retailers’ Android apps or Android IoT devices to easily connect to location-specific WiFi.

The API mentions that Easy Connect does not require Location or Wi-Fi permissions which is a bit misleading. It will need the Location permission if you use a Bluetooth scan to provision.

Recording Employees’ Working Hours

We have been seeing an increase in the number of beacon-based employee clocking in/out systems. This is due to a recent ruling by the European Court of Justice that said that EU companies must have something in place to provide an “objective, reliable and accessible system” that allows the duration of time worked each day to be measured. This is so that it can be confirmed that companies and organisations are complying with the Fundamental Rights Charter and the Working Time Directive.

Some employers and employers’ federations have been critical of the need for modern versions of the ‘punch card’. Some employees also resent being tracked to such a degree. In today’s mobile, flexible working environments, it’s often not practical to track work-related activities performed outside the main workplace. The definition of work is also open to interpretation. For example, is replying to a work email, at home, outside working hours, counted as work?

As with many EU rules, these things can’t be clearly defined and aren’t properly policed. In this case, companies and organisations will come under scrutiny if employees or their unions go to court for non-compliance with working time regulations. Some industries such as construction need time tracking anyway for contractor billing and safety. It’s for each organisation to assess the risk. For those deciding they need time tracking, beacons provide an automated solution.

Reducing Asset Redundancy Using Beacons

There are many industries where the inability to find assets leads to the requirement to have many more of those assets. This is especially so in areas, such as hospitals, where not finding things can cost lives.

It also tends to be the case that such urgently required items are also expensive as they are critical pieces of equipment. When equipment is very expensive, lack of redundancy can end up causing key staff spending their time finding things rather than doing their main job.

Even when not finding things isn’t mission critical, a lot of time, human effort and hence cost can be wasted if assets aren’t available. Examples include vehicles in fleet management, tools in construction and equipment in manufacturing.

Beacons and locating systems allow you to reduce asset redundancy, save costs and make working processes more efficient.

Using Beacons, iBeacons for Real-time Locating Systems (RTLS)

Beacon Triggered Rail Passenger Interfaces Entering Service

We previously mentioned EAO’s rail passenger interface. Railstaff has further news that the UK’s South Western Railway will include the system in refurbished Class 444 trains in November.

The wireless charging works with an app that can signal the seat is occupied and prompt the user to open the app.

“Ticket inspectors can then be informed if the passenger has a ticket while passengers would be able to order food and drink to their seat if there’s an onboard catering service. There are also options to provide tailored passenger information.”

EAO is also working with Eversholt Rail to retrofit the system to Class 395 Javelin trains in use by Southeastern.

Read about Beacons in Transportation

Using iBeacons for Locating Robots

Beacons are great for use with robots for use in determining extra contextual information. There’s recent research on Autonomous Navigation of an Indoor Mecanum-Wheeled Omnidirectional Robot Using Segnet (pdf) that uses iBeacons to determine a rough location of the robot.

The locating uses Kalman filtering and trilateration to get a fix for the robot.

If you want to learn more about using RSSI to determine robot location there’s also a presentation video Robot Localization using Bluetooth Low Energy Beacons RSSI Measures by David Obregón Castellanos.

Read about Using Beacons, iBeacons for Real-time Locating Systems (RTLS)

Using AI Machine Learning on Bluetooth RSSI to Obtain Location

In our previous post on iBeacon Microlocation Accuracy we explained how distance can be inferred from the received signal strength indicator (RSSI). We also explained how techniques such as trilateration, calibration and angle of arrival (AoA) can be used to improve location accuracy.

There’s new research presented at The 17th Annual International Conference on Mobile Systems, Applications, and Services (MobiSys ’19) by researchers from Nagoya University, Japan that looks into the use of AI machine learning to process Bluetooth RSSI to obtain location.

Their study was based on a large-scale exhibition where they placed scanning devices:

They implemented a LSTM neural network and experimented with the number of layers:

They obtained best results with the simplest machine learning model with only 1 LSTM:

As is often the case with machine learning, more complex models over-learn on the training data such that they don’t work with new, subsequent data. Simple models are more generic and work not just with the training data but with new scenarios.

The researchers managed to achieve an accuracy of 2.44m at 75 percentile – whatever that means – we guess in 75% of the cases. 2.44m is ok and compares well to accuracies of about 1.5m within a shorter range confined space and 5m at the longer distances achieved using conventional methods. As with all machine learning, further parameter tuning usually improves the accuracy further but can take along time and effort. It’s our experience that using other types of RNN in conjunction with LSTM can also improve accuracy.

If you want to view the research paper you need to download all the papers from the conference (zip) and extract p558-uranoA.pdf. Some of the other papers also make interesting, if not directly relevant, reading.

Read about AI Machine Learning with Beacons

Bluetooth Multi-hop Networks

There’s an in-depth paper by Nicole Todtenberg and Rolf Kraemer on A Survey on Bluetooth Multi-hop Networks. The paper describes the basics of Bluetooth and Bluetooth Mesh.

The paper goes on to describe connected networks (scatternets) and connectionless networks including some complex topics such as scatternet formation, topology maintenance, optimisation, inter-piconet scheduling and packet forwarding.

Read about Beacons and the Bluetooth Mesh