GB
  
You are currently viewing the United Kingdom version of the site.
Would you like to switch to your local site?
14 MIN READ TIME

SAVING THE SMART HOME

The smart home is dying but Matt Holder is here to save the day by showing us how open source can keep the smart-lights on…

T his month we’re going to look at some of the reasons smart homes can work against us. We’ll be considering hardware issues running self-hosted systems as well as what happens if vendors decide they don’t want to provide certain services any longer, if they want to introduce a subscription charge or that they simply become bankrupt and can no longer function. Finally, we’ll be looking at ways that we can mitigate these problems by having stable equipment at home and running services to keep traffic in our home networks.

The first thing to discuss is unreliable hardware running any self-hosted systems. Your author experienced problems for a number of months when running Home Assistant on a Raspberry Pi with micro-sd cards, followed by reliability problems using a virtual machine on an old desktop PC. Understandably, during this time the spousal disapproval factor was a thing, while we were both very frustrated with constantly needed reboots, failing microsd cards and so on. Lesson one is to purchase suitable kit to ensure a good experience. Your author’s home runs a Raspberry Pi 4 8GB as the main host and is booted from a 240GB USB SSD, which has proven to be a rock-solid combination and provides enough RAM and processing power for everything that’s required.

One of the earliest protocols to be used for home automation purposes was X10. This was first designed in the mid-1970s and could operate both using radio frequencies to communicate with devices and also as a signal injected over the mains power lines. This was originally controlled using dedicated controllers, but devices with serial port connections eventually became available, which were used to enable devices to be computer controlled. While being largely superseded by other protocols, X10 devices are still used around the world and can be operated with large open source home automation systems, which will be discussed later on in this article.

The past number of years have seen companies fall into the habit of everything being cloud-controlled when it really isn’t necessary. Local and open APIs are the best way to communicate with your smart home kit because it removes the risk that the supplier will make a change in a firmware update and you’re then locked out.

Rising costs

Running a cloud service for a large number of customers is expensive and possibly not properly considered when deciding to release a device that’s dependent on the cloud. The short-term boost to a company from selling a device for a profit is quickly eaten up by the costs of running databases, servers, load balancers and other cloud-based services or servers. Over the years there have been a number of announcements from companies that they are either shutting down or beginning to change the previously free to a charged-for cloud service. This is a real insult to customers who were promised a service and the reason that local APIs and self-hosted control software offer a level of control against this happening to you.

Unlock this article and much more with
You can enjoy:
Enjoy this edition in full
Instant access to 600+ titles
Thousands of back issues
No contract or commitment
Try for 99p
SUBSCRIBE NOW
30 day trial, then just £9.99 / month. Cancel anytime. New subscribers only.


Learn more
Pocketmags Plus
Pocketmags Plus

This article is from...


View Issues
Linux Format
FREE Sample Issue
VIEW IN STORE

Other Articles in this Issue


WELCOME
MEET THE TEAM
This issue we’re seeing how many operating systems
Flexible friend
Things used to be simple: you’d have a
REGULARS AT A GLANCE
Debian embraces DuckDuckGo
The distro’s switch from Google as its default search engine causes controversy over privacy concerns.
Hacked tractor plays Doom…
…but also runs outdated and unpatched hardware.
PINE64 drama as moderator quits
Publicly calls out PinePhone manufacturer’s failings.
STOP THE SPRAWL
Donnie Berkholz is senior vice-president, product at Percona
MANAGING EXPECTATIONS
Keith Edmunds is MD of Tiger Computing Ltd,
Canonical embraces RISC-V
Ubuntu now supported on StarFive’s VisionFive RISC-V boards.
Flathub undergoes key changes
The project will make donating to teams easier.
LibreOffice 7.4 released
Now with greater file support and documentation for scripts.
Distro watch
What’s behind the free software sofa?
AI GETS IN YOUR FACE
Marcus Edel is a senior software engineer at
MY SPACE
Jon Masters is a kernel hacker who’s been
Kernel Watch
Jon Masters summarises the latest happenings in the Linux kernel, so that you don’t have to. 
Answers
Got a burning question about open source or the kernel? Whatever your level, email it to lxf.answers@futurenet.com
Mailserver
WRITE TO US Do you have a burning
HotPicks
THE BEST NEW OPEN SOURCE SOFTWARE ON THE PLANET
Syncthing
Syncthing has one of the best application dashboards
Imagine
Imagine is a handy tool for someone who
HomeBank
HomeBank has an intimidating interface that’ll only start
Jitsi
Since anybody with the meeting room can join
Beets
Beets supports the use of query strings with
Vifm
Vifm would be intuitive to operate for someone
Rclone
New users can experience the dexterity of rclone
Unvanquished
Based on the daemon gaming engine, Unvanquished is
Bitfighter
Frenetic gameplay coupled with 80s-arcade graphics and a
AES Crypt
AES Crypt also has a CLI version that
SMPlayer
SMPlayer also includes several backends that you can
GOING FULL RETRO!
NEXT MONTH
LINUX FORMAT
The #1 open source mag Future Publishing Limited,
REVIEWS
REVIEWS AMD Ryzen 5500
Too little, too late is what Alan Dexter hears a lot...
DragonflyBSD 6.2.2
David Rutland takes a long and confusing journey to the land before time, where things look familiar... but aren’t.
KDE Neon 2022.08
David Rutland finds that KDE is a delight to behold and regardless of whether it’s a ‘real’ distro, it’s a charming and relaxing place to be.
NuTyX 22.07
David Rutland finds this distro with its unique package management system a little less nutty than he had expected. It’s certainly a bit crunchy.
Emmabuntüs 4-1
David Rutland finds that the latest stable distro release is a little lacking in the “zig-a-zig-ah” department. Maybe it was lost in translation…
Psychonauts 2
When Management said they’re implementing a mindfulness policy, Matthew Castle didn’t realise it meant entering his very psyche!
ROUNDUP
Creative-writing tools
Struggling to compose a story? Nick Peers reviews five tools that all provide more than a simple writing environment to help bring your novels to life.
Installation, upgrades
How easy is it to install and get up and running with each tool?
User interface and navigation
Are these tools easy to use and how accessible are their features?
Standout features
Find out what sets each program apart.
Planning your novel’s structure
How do our tools fare with helping you to organise and plot your story?
Keep your stories organised
How does each tool organise your story and let you alter its running order?
Helper and search tools
All writers need a helping hand – what tools do our programs offer?
Write and export your story
How good are these tools for getting your text ready for publication?
The Verdict
Creative-writing tools
MULTI-BOOT MINT 21!
Got a new PC with Windows on it? Jonni Bidwell shows how you can get Linux Mint too, without breaking a thing.
Taking precautions
You might need Windows later so let’s make sure it’s not going to get upset.
Installing stereo operating systems
A few more cross-checks and detours, then we can get the freshest edition of Mint installed on your machine…
Tweaking the Mint
Finish the Mint installation, enjoy a fresh view of your Windows files and learn more about UEFI.
Logical Volume Manager
Multiboot many distros with aplomb through the magick of LVM.
Pi USER
RS Group loses its 10-year Pi licence
RS Components had been a manufacturer and distributor of Raspberry Pi since its launch in 2012.
Low-Profile ICE Tower
Les Pounder’s Raspberry Pi runs cool. In contrast, Les always feels the heat. Could this new cooler make even our expert chill out this summer?
Pimoroni Trilobot
Les Pounder (quite literally) makes a new friend with a powerful and affordable Pi-powered robot.
Stream live data to custom web pages
Les Pounder takes the latest and smallest Raspberry Pi with Wi-Fi and turns it into a £6 web server with live sensor data.
Create a Pi-based media centre with Kodi
Kodi is an open source media centre. Michael Reed installs it on his trusty Raspberry Pi for some couch-based entertainment.
TUTORIALS
Manage kernel modules
There’s a lot to be said about finding inner peace through meditation. Yet Shashank Sharma is confident he’ll find nirvana with classy CLI tools.
Set up your smart phone as a webcam
Nick Peers reveals how to convert your mobile devices into cameras you can use while chatting in Linux.
Get to grips with Solaris
Linux veteran Michael Reed wonders if he can pass for a native in the weird and wonderful land of Solaris-derived OpenIndiana.
Getting started with Cura and 3D printing
Not getting the quality of prints you expected from your 3D printer? Ali Jennings shows you the essential steps the manuals often miss.
How to make better cut-outs in GIMP
We often have photos where certain elements have to be “isolated” from the background. Use GIMP and Karsten Günther for this task!
The art of hiding messages in plain sight
Steganography might not be as well-known as cryptography but, as Mike Bedford reveals, it’s a powerful tool in preserving your security.
TOP OF THE FOSS!
NOURISHMENT FOR THE SOUL
Andrew Lukoshko, benny Vasquez and Jack Aboutboul update Jonni Bidwell on the latest AlmaLinux developments.
CODING ACADEMY
Recreate the classic Pac-Man in Python
Being chased down endless corridors by spectral apparitions is all in a day’s work for Andrew Smith and his Python skills…
Add useful dialogs to terminal scripts
Quickly create dialogs for your shell scripts and even add notifications or menus with the help of Karsten Günther.
Getting started with the powerful eBPF
Extending things is what Mihalis Tsoukalos loves to do, so his heart leapt at the chance to explain the Extended Berkeley Packet Filter.
Chat
X
Pocketmags Support