We've explored several ways to set up a smart home without relying on Amazon, Google, Apple and the other big guns. Sure all-encompassing voice commands are brilliant and convenient, but not everyone is comfortable with the always-listening element of the Google Home and Amazon Echo smart speakers. Likewise, some people donât want these big data firms gathering even more information on our habits in our most intimate settings.
That's why we think Mozillaâs Things Gateway will appeal to people who want still want a degree of home automation without telling Google every time they turn on the bathroom light to pee.
The experimental Things Gateway enables you to control multiple smart home devices from a simple and secure web portal, which can be accessed at home and remotely.
Read next: How to set up and use Home Assistant
Still in a nebulous stage, it works with the Z-Wave and Zigbee protocols and is compatible with a number of off the shelf smart switches, dimmers and sensors, as well as bulbs from Philips Hue, Ikea and Cree. It also enables you to create If This Then That (IFTTT) style rules, a floor plan and use (limited) voice controls.
Hereâs what youâll need:
â˘ A Raspberry Pi board (preferably a Pi 3 with Wi-Fi built in, but a Wi-Fi dongle should work too)
â˘ A clean microSD card with minimum 4GB storage
â˘ A compatible Zigbee USB dongle and/or a Z-Wave enabled USB stick to communicate with devices on that protocol
â˘ Some compatible smart home devices to add. Hereâs the list of tested devices.
The first thing you need to do is download Things Gateway software onto your Mac or PC. It can be downloaded from Mozilla here. Next youâll need to find the file in your downloads and unzip the package (this may happen automatically). The unpacked file will be called âgateway-0.3.0.imgâ.
From here youâll need to flash the software to your clean SD card. There are many pieces of Mac and PC software that can do this, but Iâd recommend Etcher.
Once youâve installed Etcher, insert the microSD card into your computer (note: the way I achieved this on my 12-inch Apple MacBook is pretty comical, pictured above but you can also get USB-C card readers). All you need to do in Etcher is select the image from your hard drive, select the drive and hit Flash. Itâll take a few minutes, but after that youâll be good to go.
Setting up the Raspberry Pi
Now itâs almost time to fire up the Raspberry Pi. Before powering it on, you need to insert the SD card loaded with the Things Gateway software. Youâll also need to insert the Zigbee and/or Z-Wave USB dongles. We used the Digi XStick (ZB mesh version).
If your Pi doesnât have Wi-Fi built-in, you can insert a USB Wi-Fi adapter. Because this will be operated as a âheadlessâ machine you donât need to worry about attaching a monitor, keyboard or any other accessories to the Pi.
Now you can fire up the Pi.
Connecting to your Gateway
This is where the clever part starts. After a minute or two you should see âMozilla_IoT_Gatewayâ show up in your list available Wi-Fi networks. Connect to this network ID on your laptop or smartphone and youâll get a pop-up window asking you to input the SSID and password for your home network.
The Gateway will then connect to your broadband and the pop up will disappear. Youâre asked to enter to âgateway.localâ in your browser to complete set up.
Hereâs where I ran into problems. No matter how often I tried, the Gateway and my Wi-Fi network wouldnât play nice. The Gateway recognised it but wouldnât register a connection. Iâve reached out to the project lead at Mozilla to find out why, but havenât heard back yet.
So I resorted to good old Ethernet (I had to buy an Ethernet switch to create more ports because the Google Wi-Fi only has one spare and I need that for the Hue bridge, but thatâs my problem) and hard-wired the Pi into my network old school. At this point I was able to type gateway.local into my browser and complete set up.
Here you create your own unique web domain for your Gateway, which is crucial if you want to control it remotely. Youâll also create a username and password to safeguard this secure tunnel.
It wouldnât be much of a Things Gateway without Things now, would it?
Once set up is complete youâll be taken straight to the Things Gateway home screen. Youâll see a '+' in the bottom right corner and the Gateway will scan for available devices, so make sure theyâre plugged in.
â¨I tested this with a Sylvania Smart Plug compatible with the Zigbee IoT standard, which was quickly recognised by the Digi XStick USB stick. You can give it a custom name and then save it. The switch now appears on the Things homepage and can be turned on/off with a tap/click exactly as advertised.
I was also able to add my Philips Hue lighting set-up to the Gateway, although this required the installation of a special add-on. I hit Menu > Add-Ons > the + sign > Philips Hue to install it.
Functionality is more limited here. Youâll see each bulb listed individually and can turn them on and off. You can also tap the âThingsâ icon next to a bulb to alter the colour on a pop-up colour spectrum wheel.
Unfortunately, you canât access the Hue dimming controls or any of the custom scenes, so functionality is currently pretty basic. If you want to dim lights youâll need a dedicated, compatible smart dimmer switch or another compatible brandâs dimmable bulbs.
Things Gateway â Extra functionality
The Things Gateway is more than just an on-off switch for a growing number of smart home products.
The Rules menu allows you to add IFTTT style rules that link multiple devices to a single command.
For example, you can link the smart switch controlling your TV to the living room lamp and switch both off at the same time. You can turn on the bedroom lamp and switch on the coffee pot connected to the smart switch.
You can even upload your own floor plan of your home and position your devices accordingly. This offers another way to control devices on a room-to-room basis.
The final experimental feature in this version (0.3) is voice commands, which must be enabled in Settings. After doing so youâll see a microphone in the top left corner.
I had no joy with this perhaps because I hadnât taken time to give the Things simple names like âKitchenâ rather than âHue color lamp 4â. Hindsight is a wonderful thing.
The voice controls have to be manually enabled by hitting the mic icon rather than a wake word, which might be preferable to the Echoâs always-listening approach if privacy is your main goal here. Weâve reached out to Mozilla to see if and where this voice data will be stored.
Adds-Ons are also interesting. Here you can open up support for the Piâs GPIO ports (general purpose in/out) too, which raises some interesting possibilities in the future.
Is the Things Gateway worth it?
Iâd describe Mozillaâs Things Gateway as a fun way to spend a couple of hours tinkering with the Raspberry Pi and a good way to control simple smart home devices from a single interface, both at home and remotely. If youâre adverse to giving all your data to Amazon, Google and co. then this might be worth a try. Iâd certainly like to try it when there's a wider range of compatible devices.
Thereâs definitely potential for it to grow into more over time, as more devices and more expansive functionality are added. However, in no way is the Things Gateway a like-for-like substitute for a fully functioning smart home hub with all of the bells and whistles.