Category Archives: Home Automation and Networking

Home Assistant and Matter/Thread

A while back I made the move from HomeSeer to Home Assistant for my home automation platform.  Home Assistant has come a long way, and I think has a much more polished management interface, and overall, much more flexibility.  On top of that, it’s an open-source project, so no more license renewals.

Recently I thought it would be a great idea to add Matter/Thread support to my installation, and the ZBT-2 antenna seemed like the way to go.  So I ordered one, and since then, it hasn’t been as smooth of a journey as I had hoped.

What really helped was leveraging Copilot to help put together a configuration checklist after providing info about my network and Home Assistant hardware, and then through a few refinements of my prompts, I was able to finally get my first Matter devices added.

The checklist ended up with 4 phases, each with a number of steps:

  1.  Router configuration (some of these settings might be specific to my hardware)
    • Make sure mDNS us enabled
    • Enable IPv6 router advertisement
    • Enable Multicast enhancement
    • Turn off Multicast and Broadcast Control
    • Turn on IGMP Snooping
  2. ZBT-2 hardware and firmware setup
    • Connect ZBT-2 to a USB 2.0 extension cable, into a powered USB hub
    • Flash hardware with the Thread-only firmware
    • Configure OTBR, ensuring NAT64 and OTBR Firewall are both ON.
  3. Home Assistant network configuration
    • Enable IPv6 in HAOS Go to Settings > System > Network. Set IPv6 to Automatic.
    • Set Preferred Thread Network: Go to Settings > Devices & Services > Thread. Click the ZBT-2 network and select “Set as Preferred”.
    • Restart HAOS: Perform a Full System Reboot (not just a Quick Reload) to initialize the new firmware and network routes.
  4. Mobile & Commissioning setup.  Your mobile device acts as the ‘commissioner’ to pass credentials to the ZBT-2
    • Connect your phone to the same WiFi: Ensure your phone is on the same SSID and VLAN as the Home Assistant instance. I was pairing some light bulbs that only supported 2.4GHz wifi, so I also disabled the 5 and 6 GHz bands on my closest access point, and made sure my phone was bound to it.
    • Sync Thread Credentials: In the HA Mobile App, go to Settings > Companion App > Troubleshooting > Sync Thread Credentials.
    • Pair via Matter Flow: In HA, go to Add Integration > Matter and scan the device QR code.

This worked for me – hopefully it helps anyone else out there having challenges with Matter/Thread in Home Assistant!

New Networking Gear

I’ve made some updates to my home network with the addition of some new hardware.  The key piece is a UniFi Dream Router 7 (UDR7).  I’ve always appreciated routers that provide more control over network configurations, but the UniFi OS and controls provided in this router go over and above anything I’ve ever seen in a consumer/home router.

It did take some planning, and even more time getting the configurations set and working properly.  I found this YouTube video (and channel) to be very helpful in getting everything  configured.

My current network was running off the Telus router and an ASUS ROG AC5300, and a couple Netgear managed switches so that I could implement some VLANS.  With the UDR7, I can create the VLANS within the same management interface, and associate Wifi connections to them as well.  The ASUS router had no VLAN functionality, so I had used some Netgear managed switches with their own interface to provide this – and there was no way to tie a wifi network to the vlan network. The UDR7 completely changes that.

Secure your home network

Our home networks are become busier places.  Working from home, more wi-fi enabled light bulbs and switches, home automation, tablets and smartphones all add to the complexity.

Shortly before the pandemic, I had upgrade my service to fibre and gigabit bandwidth.  With the new service came a new modem/router, and a very dumbed-down management interface that provides minimal control over the network.

My previous service provider provided a modem/router that ran in bridged mode, so I was able to bypass their router and use my own router.  The router has a very rich management interface, so I wanted to keep using it.  It also wasn’t that old.

So looking at the devices on our home network, I was able to divide them up into 3 categories:

  • work computers
  • family computers, tablets, and phones
  • home automation devices, Google Home or Mini’s, and a couple appliances

I wanted to set things up so that family computers couldn’t see or access anything else on our work computers, and also isolate the home automation, Google devices, and assorted wi-fi enabled light bulbs and switches from everything else.

One function my router was missing was the ability to create VLANs.  I purchased a small Netgear managed gigabit switch to to do this.  I connected one of the ethernet ports of the service providers router to the Netgear switch, and another ethernet cable from the provider router to my router.

Basically, I use the service provider router to provide a guest wifi network, and use it’s ethernet outputs to connect my own router and a managed switch.  The managed switch provides 3 VLANs for work computers and our home automation hub.  My router is configured so that our IoT devices operate within it’s guest network, and the rest of the router is use for family computers, printer and phones.

In Canada, we have access to an excellent DNS service, called Canadian Shield.  It provides an additional layer of security for the family – and I have my router configured to use it.

Of course there are also the standard things needed to ensure your home network is secure:

  1. Make sure any default passwords have been changed on your router – and use STRONG PASSWORDS.
  2. Set your router to update it’s firmware automatically.  Most manufacturers are pretty proactive to get their firmware updated as new threats and bugs are discovered.  Make sure the manufacturer is proactive and providing timely updates – and if it isn’t, seriously consider purchasing a new one from a manufacturer that is proactive.

 

Homeseer update

Things have been rocky lately with my Raspberry Pi running Homeseer – over the past couple weeks it was randomly stopping to respond.  This began after attempting to update the system to the latest stable version (and being lazy I forgot to do a complete backup!).

After reflashing the micro SD card at least 4 or 5 times, I bought a couple new SD cards to use.  Tried a couple more times and I thought I had things back, but 2 days later it all halted again.  Enough with the Raspberry Pi.

I decided to get a license for HS4 Standard, and run it on an older Windows 10 workstation I have.  The installation was a breeze – although I did have a hiccup when adding the interface – was a bit of a guess choosing the Sigma UBZ interface (I have a Homeseer SmartStick +), and then the COM port (1 or 3).

Service is up and running nice now, and a couple events set up – just have to work on them more and get my garage door events rebuilt and running again.

MyVolumio and Tidal subscriptions – Are they worthwhile?

I’ve made some changes to my JustBoom/RaspberryPi – including updating to the latest version of Volumio. Over the holiday break I signed up for a 4 month trial of Tidal’s Hi-Fi plan. To access a Tidal plugin on Volumio, and subscription to MyVolumio was required, so I signed up for the trial, and ended up getting a 1 year Volumio ‘Virtuoso’ subscription. My only motivation for getting the subscription was for the Tidal Hi-Fi plugin.

So far my experience with Tidal is less than stellar, and I doubt that I will keep using it beyond this initial 4 month trial. The sound is very good, but the Tidal apps aren’t. On AppleTV it’s very buggy, and whether I use the app on my phone or on AppleTV I really dislike having to endlessly scroll past a pile of content that I have no interest in, to get to my stuff. I mean, they do ask what interests you – why isn’t that shown first? Maybe it just takes a little more time to learn what I actually listen to. We’ll see.

The one thing I do appreciate in the Tidal interface within Volumio is that I don’t have to go through all the stuff I have no interest in. I only see what I have added to my collection, but I haven’t seen a way to add to my collection from within the app – I have to go to the Tidal iPhone app or AppleTV app to do that.

The other MyVolumio ‘benefits’ with their Virtuoso plan include:

  • remotely control Volumio devices outside your local network.
  • CD playback and ripping.
  • Music & Artist credits.

The Music & Artist credits might be interesting, but not enough to warrant a subscription.

It’s not clear whether the upcoming upgrades (multi-room playback and automatic updates) will only be available to subscribers, and I haven’t seen any timelines on when those new features will be available. Regardless, they probably wouldn’t be enough for me to commit to continuing my initial 1 year subscription.

Will see how it goes over the next few months…

volumio File Share Type and Options settingsOne thing I finally got around to after getting a new iPhone, was getting my sources set up again. They seemed to have become corrupted when restoring apps to the new phone.

Connecting to a shared Music library on my Mac proved to be a little tricky.

I found it necessary to set File Share Type to “cifs”, and adding “vers=3.0” to Options.

The message that popped up prior to those two changes could be more helpful I think. It also seemed to disappear to quickly. Or I could just be getting old.

Once the other fields were completed, including my username and password to access my shared library, I saved the settings and Volumio immediately began to index my collection. Hooray!