Got a spare PC? How I turned mine into an open-source smart home hub for free


Home Assistant OS

Jack Wallen/ZDNET

Follow ZDNET: Add us as a preferred source on Google.


ZDNET’s key takeaways

  • Home Assistant OS is an open-source controller.
  • Control as many smart devices as you need.
  • The OS is free and can be installed on a spare PC.

Smart homes make sense. The devices that bring a certain level of automation to your home are exciting, and they can also lower your energy bill and help make your abode a bit more secure.

But just how smart is your home? Do you have devices all over the place that you control with your phone or various hubs? Lights, cameras, action? Maybe you’ve considered purchasing one of the several smart hubs, such as the Amazon Echo Smart Hub, the Google Nest Hub, or the Apple Home App.

Also: How I cut my power bill with IFTTT automation – in 4 simple steps

What if I told you there was an operating system that could serve as a control center for all of those smart devices? Even better, what if the OS could auto-discover those smart devices on your network?

Well, that system is available and is called Home Assistant OS. It’s not your typical operating system, as it’s built around Docker and uses the container engine to run the Home Assistant Supervisor and manage the core and various add-ons. By using this method, Home Assistant runs very efficiently on single-board computers and off-the-shelf PCs (or even virtual machines).

You can even purchase pre-built machines, such as the Home Assistant Green, so you don’t have to bother installing the OS. The Home Assistant Green sells for $219 on Amazon and is the simplest way to get started with Home Assistant. 

But if you’re a DIYer at heart, like me, Home Assistant OS is the way to go.

Also: Your old iPad or Android tablet can be your new smart home panel – here’s how

Home Assistant OS is fairly easy to install, so long as you have some OS installation skills.

I’ll walk you through how I got Home Assistant OS up and running via VirtualBox. First, let’s talk about what it can do.

What is Home Assistant OS?

Home Assistant OS is a platform that enables consumers to run the full Home Assistant smart home platform on commodity hardware. This OS provides automations, dashboards, integrations, blueprints, updates, and backups. 

With add-ons, you can include functionality for services and devices, such as Z-Wave, Thread, AccuWeather, Actron Air, AdGuard Home, Amazon, Android TV Remote, Anthropic, Apple, Philips Hue, and much more. There are hundreds of add-ons available that cover just about every type of smart home device and service you can imagine.

You can add areas, users, electricity grid connections, and target activities. You can also view history, media, and even create/manage to-do lists.

Also: 10 useful smart home gadgets that make life so much easier (and most are discounted)

And, if you have smart devices in your home, you can control them.

Installing Home Assistant OS

Installing Home Assistant OS isn’t terribly challenging, as long as you have a bit of skill with operating systems (especially Linux). 

Also: How I’m using a $13 smart plug to automate my house appliances – and you can too

It’s much easier to install Home Assistant OS on a spare machine than to run it as a virtual machine. The steps for installing on bare metal are:

  1. Download the Home Assistant OS image file.
  2. Decompress the .img file using the xz tool, as in: xz — decompress file.xz.
  3. Create a live USB drive using the BalenaEtcher tool.
  4. Boot the live USB and follow the installation wizard.

Installing as a virtual machine requires a bit of trickery. After you download and decompress the .img file, you’ll need to rename it to an .iso. As an example, if the file name is haos_generic-x86-64-18.0.img (after decompression), you would rename it like so:

mv haos_generic-x86-64-18.0.img haos_generic-x86-64-18.0.iso

Once you’ve completed that step, you can create a virtual machine using the ISO in the same way you would any normal VirtualBox virtual machine. Follow the simple (albeit text-based) installation, and you’re ready to go. 

Once the installation is complete, you’ll see a text-based screen with the information you need to access the web-based interface. You should see an IPv4 address, which will be used in conjunction with port 8123:

http://192.168.1.220:8123

Home Assistant OS

It may look intimidating, but it’s actually quite easy.

Screenshot by Jack Wallen/ZDNET

Make sure you use the IP address assigned to your Home Assistant OS instance.

Also: Your smart plug is seriously underutilized: 7 ways I’ve programmed mine to automate my home

You will be presented with a “Create user” page, where you’ll need to type a name, username, and password. Once you’ve done that step, click Create account.

Home Assistant OS

Make sure to use a strong, unique password for your user.

Screenshot by Jack Wallen/ZDNET

Next, you’ll need to find your home location using your zip code.

Home Assistant OS

The easiest way to find your location is via zip code.

Screenshot by Jack Wallen/ZDNET

Home Assistant OS will then scan your network for compatible devices. Naturally, what the OS finds depends on the devices you have.

Home Assistant OS

You can add more devices later.

Screenshot by Jack Wallen/ZDNET

You’ll finally land on the default dashboard, where you can start managing your smart home.

Adding devices

Before you add a device, you’ll want to add an area. To do that, go to the Overview, click +, and then click Create Area. In the resulting pop-up, add the necessary information for the area, and click Create.

Home Assistant OS

You can create as many areas as you need.

Screenshot by Jack Wallen/ZDNET

Click on the new Area, click +, and click “Add device.” In the resulting pop-up, search for your device, click it, and add it. How you add a device will depend on the device in question.

Home Assistant OS

There are hundreds of devices to choose from.

Screenshot by Jack Wallen/ZDNET

Once you’ve added a device, you can then control it from the Home Assistant dashboard. You can add as many areas and devices as necessary. You can access Home Assistant OS from any PC or laptop on your LAN. There’s even a Home Assistant mobile app for Android and iOS to control devices from your phone.

Also: I automated my home’s most unexpected electronics – here are 5 ingenious results

And that’s all there is to creating a free, powerful smart home controller.





Source link

Leave a Reply

Subscribe to Our Newsletter

Get our latest articles delivered straight to your inbox. No spam, we promise.

Recent Reviews


Reality makes for some stellar storytelling. If you’re looking to stream movies that are based on true events, Netflix has an extensive collection of biographical-style dramas that go beyond your typical selection of documentaries.

From historical tragedies to stories of resilience and ambition, these films bring some notable real-life events to your screen. Here are five Netflix Original movies that feature strong performances, storytelling, and visuals that you need to add to your watch list for the week.

The Two Popes

The path ahead is forged by this pair

A pope whispers into a cardinal's ear in The Two Popes. Credit: Netflix

The Two Popes is an incredible film that is based on one of the most memorable recent transitions in modern Catholic Church history, led by strong performances from Anthony Hopkins and Jonathan Pryce.

Inspired by real conversations and events surrounding Pope Benedict XVI and the future Pope Francis, The Two Popes follows Cardinal Jorge Mario Bergoglio as he travels to Rome and plans to resign from the Church. Instead, he finds himself pulled into a series of personal and philosophical conversations with Pope Benedict, who is struggling with his doubts about leadership and the future of Catholicism. The character focus of the movie keeps you hooked despite the mellow pace, with Hopkins’ and Pryce’s chemistry making for an impeccable watch.

The Two Popes received nominations at the Academy Awards, Golden Globes, and British Academy Film Awards.

Society of the Snow

Hope is within the group

One of Netflix’s most notable, foreign-language survival thrillers is Society of the Snow. Based on the real 1972 Andes plane crash, the Spanish movie follows a Uruguayan rugby team whose flight crashes deep in the snow-covered mountains, leaving the survivors stranded for weeks in brutal freezing conditions. As supplies start to run out and hope fades, the group is forced to make some unimaginable decisions just to survive.

The thriller was shot mainly in Sierra Nevada, Spain, and features some phenomenal filmmaking. Although survival is a core element of the movie, it also highlights the grit and humanity of the party amid a disastrous situation, alongside the grim reality. Society of the Snow received two Academy Award nominations for Best International Feature Film and Best Makeup and Hairstyling.

The Good Nurse

The case of a prolific, unexpected killer

Two nurses sit next to each other in The Good Nurse Credit: JoJo Whilden/Netflix

The Good Nurse was haunting to watch at night, but it’s a thriller that has stayed with me for years. The crime drama tells the true story of Charles Cullen, a nurse and serial killer who was responsible for the deaths of dozens of patients across multiple hospitals in the United States. The film is based on the 2013 true-crime book of the same name by Charles Graeber.

What’s fascinating about the movie is that, instead of giving us Cullen’s perspective, the story unfolds from the POV of Amy Loughren, a single mother and ICU nurse who was key in Cullen’s confession and eventual conviction. As his new co-worker, her suspicions build over the course of the movie after she starts noticing something strange about his patients. The Good Nurse also does a good job of touching on another vital aspect of the case, the hospital’s negligence.

Jessica Chastain and Eddie Redmayne drive the movie with incredibly controlled performances. To know more about the real case, you can also check out the Netflix documentary Capturing the Killer Nurse.​​​​​​​

Mudbound

Life after war is never easy

A woman sits down in Mudbound. Credit: Steve Dietl/Netflix

The (mandatory) war film addition to this list is Mudbound, a Netflix exclusive that stands out for its incredible character-focused storytelling. The story is set in rural Mississippi after World War II and follows two veterans, one Black and one white, whose lives become intertwined while working on the same farmland. The soldiers and their families deal with the PTSD of war in their own ways. Mudbound explores themes like racism, trauma, class divides, and poverty through its gripping plot.

Directed by Dee Rees, the film received four Academy Award nominations, including Best Supporting Actress, Best Original Song, and Best Adapted Screenplay. It became the first Netflix movie ever nominated for Best Cinematography — Rachel Morrison became the first woman nominated in the category. It also earned two Golden Globe nominations.​​​​​​​

Nyad

An impossible feat is nothing for this resilient athlete

A woman smiles in the water in Nyad. Credit: Liz Parkinson/Netflix

If you’re in the mood for a sports thriller and a true story, don’t skip NYAD. This biographical drama follows marathon swimmer Diana Nyad and her attempt to complete the seemingly impossible 110-mile swim from Cuba to Florida without a shark cage. The film takes place years after Nyad initially gave up on the challenge.

The athlete decides in her sixties that she wants a final shot at achieving the record-breaking swim and sets her mind on the incredible goal. Alongside her best friend and coach, Bonnie Stoll, Nyad begins preparing for the physically exhausting journey while facing dangerous weather, exhaustion, and many failed attempts. NYAD is led by Annette Bening and Jodie Foster, with both actors receiving nominations for Best Actress and Supporting Actress, respectively, at the 96th Academy Awards and the 81st Golden Globe Awards.


More Netflix options

Want to explore more biographies and titles inspired by true events? You can explore Netflix’s list of secret codes to filter out and find titles according to genres, tropes, and languages. Netflix’s release schedule for the summer also includes some exciting titles, so keep an eye out for that.

Subscription with ads

Yes, $8/month

Simultaneous streams

Two or four

Stream licensed and original programming with a monthly Netflix subscription.




Source link