Advertisement

While room-assistant has always been able to track iPhones and iPads using Bluetooth Classic, the ability to track them using Bluetooth Low Energy (BLE) was complicated by the MAC randomization Apple employs for privacy’s sake. Luckily though, a companion app, which is currently in beta, allows those in the Apple ecosystem to benefit from everything BLE has to offer.

Advertisement

For those looking for a reliable presence tracking on a room to room basis, room-assistant has long been the way to go. It can be installed on many single-board computers, though the Raspberry Pi Zero W is the favourite among its users. Especially since detailed guides on how to get room-assistant set up on a Raspberry Pi Zero W are available.

Raspberry Pi Zero W
Recommended
CanaKit Raspberry Pi Zero W Kit
OTG Micro B Ethernet Adapter for Linux
Raspberry Pi Zero W (Wireless) ( 2017 model)
CanaKit Raspberry Pi Zero W (Wireless) with Official Case and Power Supply
OTG Micro B Ethernet Adapter for Linux Raspberry Pi Zero W, Windows 10 Tablet (Lenovo Miix 2 8), Android Samsung Galaxy Tab Pro 10.1" - Micro USB 2.0 RJ45 10/100 LAN
Board only
With official case and power supply
-
$24.75
$41.88
$13.99
-
-
Raspberry Pi Zero W
Raspberry Pi Zero W (Wireless) ( 2017 model)
Board only
$24.75
-
Recommended
CanaKit Raspberry Pi Zero W Kit
CanaKit Raspberry Pi Zero W (Wireless) with Official Case and Power Supply
With official case and power supply
$41.88
-
OTG Micro B Ethernet Adapter for Linux
OTG Micro B Ethernet Adapter for Linux Raspberry Pi Zero W, Windows 10 Tablet (Lenovo Miix 2 8), Android Samsung Galaxy Tab Pro 10.1" - Micro USB 2.0 RJ45 10/100 LAN
-
$13.99

The problem with Bluetooth Classic tracking

Using Bluetooth Classic in room-assistant has a number of major drawbacks. Because Bluetooth Classic uses the same 2.4 GHz band as Wi-Fi and Zigbee it can have a negative impact on both networks. To minimize the interference, Bluetooth Classic has a relatively slow refresh rate of up to six seconds.

Advertisement

Imagine entering your bathroom and having to wait six seconds until the lights turn on. You’d be better off using a light switch. You could, of course, combine room-assistant with commonly available motion sensors and use them for the instant reaction and room-assistant to make sure the lights don’t turn off.

I wouldn’t be ready to risk the stability of my Zigbee and Wi-Fi networks, so using Bluetooth Classic wouldn’t even be an option. You could of course also add an iBeacon (such as the RadBeacon E4 or RadBeacon Dot) to your keyring but that would require you to carry yet another thing around.

What about Android?

Community members with Android smartphones haven’t had this issues because the Android operating systems allows apps to create virtual beacons, something that is forbidden by Apple. A popular app to do exactly that is Beacon Simulator, which can be downloaded from the Google Play Store and set up in a matter of minutes.

Advertisement

How BLE tracking with room-assistant on the iPhone will work

The only option the developers of room-assistant had, was to create a companion app to their application. The app is currently still in beta, but those willing to give it a try can do so using TestFlight, Apple’s app testing platform.

If Bluetooth or BLE tracking isn’t enough for you, room-assistant also supports two thermopile sensors. The Omron D6T and Grid-EYE thermopile sensors are designed to measure temperature from a distance by detecting an object’s infrared (IR) energy. This might sound similar Passive Infrared Sensors, but thermopile sensors can be used to detect human presence in the room, even if you are stationary.

Advertisement
Liam Alexander Colman, the author and maintainer of Home Assistant Guides.

About Liam Alexander Colman

Liam Alexander Colman has been using Home Assistant for various projects for quite some time. What started of with a Raspberry Pi quickly became three Raspberry Pis and eventually a full-blown server. I now use Unraid as my operating system and Home Assistant happily runs in a Docker container. My personal setup includes many Zigbee devices as well as integrations with existing products such as my Android TV box. Read on to find out more on how I got started with Home Assistant.

Leave a comment

Advertisement