The Best Way to Install Home Assistant on a Dell Wyse Thin Client

Dell Wyse 5060 Thin Client with 4GB RAM and 16GB SSD – and two much hated DisplayPorts

What you will need:

  • Wyse 5060 Thin Client
  • Monitor
  • DisplayPort cable (and DVI converter very likely)
  • Mouse
  • USB drive
  • Sonoff Dongle

Over on Home Assistant Forums, there’s a helpful PDF that shows you how to install it (Wyse Thin Client Home Assistant OS installation instructions). While helpful, this is not the best way, but it does provide the steps necessary to configure the BIOS. What it does get right is using a bootable Ubuntu USB drive, and you can do that by following the directions here – you will want to flash the Ubuntu 20.04.3 LTS version (ubuntu-20.04.3-desktop-amd64.iso) using Rufus (instructions are not clear which version to install – this one works).

TLDR: Use an Ubuntu USB drive to run the flash software and install Home Assistant via Github URL.

Set up the Wyse BIOS by holding the DEL key and booting up. Use the password: Fireport.

Click the Advanced tab, and set Power Loss Recovery Option to Always On.

Set the Boot Mode to UEFI.

In Boot tab > Boot Priority Order, move all the USB options to the top.

Set USB options to the top, using + and – keys.

Click the Security tab, and set Secure Boot Option to Disabled.

Disable Secure Boot Option

Press F10 to Save and Exit, and power off the Wyse.

Make sure you’re Dell Wyse is hard wired to your local network where your Zigbee devices will reside.

Insert the Ubuntu boot disk in a USB port, and start it up. Ubuntu will boot to a decision screen. Select Try Ubuntu, because you don’t want to install Ubuntu – you just want to use it while you install Home Assistant OS.

This is the point where I found a much better way to install Home Assistant, because it doesn’t involve having to discover the correct disk mount point or use any Terminal Unix commands – it just works. While running Linux from the USB drive on the Wyse, you can install Home Assistant directly to the hard drive. These steps probably work on an Intel NUC too. Essentially, you’ll run Balena from the Linux USB to flash the Wyse hard drive.

Open Firefox, and search for “Install Home Assistant” or go directly to the Install on Intel NUC page.

Download Balena Etcher, as directed in the instructions over at https://www.home-assistant.io.

Click Download for Linux x64.

Note: there’s an even easier way now – double click the install file and restore it to the SSD. Follow the official instructions here.

Download and Extract Balena for Linux x64.

Click Extract, and select the Downloads directory – it doesn’t really matter where you put it.

Now navigate to the file by clicking the Files icon > Downloads.

Double-click the belenaEtcher-1.7.3-x64.AppImage file (it’s already set to executable). Etcher opens.

Click Flash from URL.

Copy and paste the URL for generic HAOS x86-64 found on the Home Assistant installation web page.

Click Select target. You will see the USB drive there, and in the “Show 1 hidden” dropdown, you’ll find the Dell Wyse hard drive.

It will display “2 found” – one for your Ubuntu USB boot drive and the other for the internal SSD.

Select the System drive.

This example is from a virtual machine to show the steps. You will see two drives – the System drive is the SSD installed in the Wyse box.

Click Select (1), and then click Flash to begin flashing the drive with Home Assistant.

The name of your disk will be different from this example.

After it completes, shut down Ubuntu and turn off the Wyse. When you restart, it boots up into Home Assistant. You may want to plug in your Sonoff Zigbee dongle now if you have one. Home Assistant will find it for you.

You may want to open the BIOS now and reset the boot order.

You can log in to Home Assistant at the IP address of the Wyse, at port 8123 (or at http://homeassistant.local:8123).

The Wrong Way to Install Home Assistant on a Dell Wyse Thin Client

Follow the directions in the PDF, where you input a Linux dd command, but you pooch the target.

Don’t do it this way!

The target should be that 1.6G mounted at /dev/sda
SQUASHFS error: Unable to read page. SQUASHFS error: Unable to read data cache entry.

Then try the same thing again, only this time, the SSD fails to boot at all.

One thought on “The Best Way to Install Home Assistant on a Dell Wyse Thin Client

Leave a comment