How to build a Linux-powered smart home

Buster rhyme

You probably already know that Sherlock Holmes had an older brother called Mycroft – and that’s where the Mycroft Home Assistant gets its name. 

The Mark I device was a friendly, ET-looking voice assistant that was powered by a Raspberry Pi 3. 

We were big fans, but sadly that device is no longer available, and its successor has not yet been released. But that’s fine, because Mycroft’s brains (I think you mean OS – Ed) are open source, and you can run them right now on a Pi 3 or 4.

It’s based on the official Raspberry Pi Linux Buster image, and you can download it from here

Use the Raspberry Pi Imager again (or use something else if you like) to write the image to an SD card. This time you’ll need at least an 8GB card. When it’s done, put the SD card into the Pi and fire it up. 

As with the openHAB appliance, you’ll need a display and keyboard connected to the Pi to run the initial setup, but afterwards, these will not be needed unless something goes wrong. 

Mycroft UI

An openHAB skill is available for Mycroft, so you can have your whole house respond to your vocal utterances and edicts. (Image credit: Mycroft)

On first boot Picroft will resize its partition to use all available space on the SD card. When it finishes booting a second time, it will ask if you would like some help setting up your system, which you may as well accept.

You’ll need a microphone and speakers, and there’s a list of supported hardware at the Mycroft wiki. Some of this will work out of the box, but some devices will need manual intervention.

We used a Seeed Respeaker 4-microphone array HAT, which was easy to set up. Other devices will follow a similar pattern. Just run

$ git clone https://github.com/respeaker/seeed-voicecard.git
$ cd seeed-voicecard
$ sudo ./install.sh

If your network works (try rebooting if it doesn’t!) you could also SSH into your Pi to do this (the default username is mycroft with password pi, which you should change soon).

Then, if you’re using the 3.5mm jack for audio, you may need to run sudo raspi-config , select 7. Advanced Options, A4 Audio, and finally 1. Force 3.5mm jack

Now reboot to enact the changes. If you run into difficulties with the Respeaker (or other Seeed models), then refer to the driver's documentation.

Reboot and you can pair your device to the Mycroft Home service. You need to set up an account here to use the software, but hey, at least it’s not Facebook. 

Only your queries are collected, and these are used to better train speech recognition.

Just follow the prompts to set this up at https://home.mycroft.ai from another device; if your audio is working you should hear some actual verbiage at this point. If not, you can rerun the setup wizard at any time with mycroft-setup-wizard.

Once everything’s working, the Mycroft CLI client will start, and you can talk and type at it to your heart’s content.

Shout the magic wakeword “Hey Mycroft” to prick up it’s digital ears, then try “Tell me a joke”, “What is my IP address?” or “How much wood would a woodchuck chuck if a woodchuck could chuck wood?”.

He likes it when you say “Thank you” too. Responses are again both verbal and on screen/terminal. 

You can quit the CLI at any point with :quit and then you can run anything you’d run on a normal Raspberry Pi Linux install. 

If you want to get back into the CLI, run:

$ mycroft-cli-client

There’s a custom audio setup script called audio_setup.sh and don’t forget to check the excellent Mycroft documentation

Mycroft can be installed on a regular Linux PC either as a Snap Package, through Docker, or straight from their GitHub. 

The wake word engine, known as Precise, uses TensorFlow for cutting edge accuracy, which requires the host to have AVX extensions; most machines from the last decade will.

TOPICS
Read more
A person using a desktop computer.
Best weird and wonderful niche Linux distros of 2025
Close up of a harddrive.
Best NAS & media server distro of 2025
A close up of a person typing on a MacBook keyboard.
Best open source software of 2025
Ubuntu website screenshot
Best Ubuntu app of 2025
A person in a wheelchair working at a computer.
Best Linux distro for beginners of 2025
Padlock against circuit board/cybersecurity background
Kali laid bare: the most famous Linux hacking distro of all time
Latest in Software & Services
TinEye website
I like this reverse image search service the most
A person in a wheelchair working at a computer.
Here’s a free way to find long lost relatives and friends
A white woman with long brown hair in a ponytail looks down at her computer in a distressed manner. She is holding her forehead with one hand and a credit card with the other
This people search finder covers all the bases, but it's not perfect
That's Them home page
Is That's Them worth it? My honest review
woman listening to computer
AWS vs Azure: choosing the right platform to maximize your company's investment
A person at a desktop computer working on spreadsheet tables.
Trello vs Jira: which project management solution is best for you?
Latest in How Tos
Mobile phone with logo of video game distribution platform Steam operated by Valve on screen in front of web page
How to gift a game on Steam
Venezuela's forward #09 Jhonder Cadiz celebrates after scoring during the 2026 FIFA World Cup South American qualifiers football match between Ecuador and Venezuela, at the Rodrigo Paz Delgado stadium in Quito, on March 21, 2025 ahead of Venezuela vs Peru
Venezuela vs Peru live stream: how to watch today's FIFA World Cup 2026 qualifier anywhere online
The cast of Alone Australia season 3, standing in a knee-high body of water
How to watch Alone Australia season 3 online – stream the survival show from anywhere
Pinterest
How to post on Pinterest
ChatGPT app on an iPhone
5 things you should ask ChatGPT today – oh, and 1 you should never ask it!
This City Is Ours
How to watch This City Is Ours online – stream Sean Bean crime drama from anywhere