This is the continuation of a short series on transitioning away from the ISY using Home Assistant.
- Replacing ISY with Home Assistant – Part 1 – Preparation
- Replacing ISY with Home Assistant – Part 1a – Transition Planning
- Replacing ISY with Home Assistant – Part 2 – A New Home
- Replacing ISY with Home Assistant – Part 3 – Movin’ In! (this post)
Having successfully gotten my new Home Assistant instance running, move in day was upon me. I did not have a set plan, but things were pretty simple.
But first, HACS
The Home Assistant Community Store (HACS) is a custom component for Home Assistant that enables UI management of other custom components. I have a few integrations that utilize custom components, namely Orbit B-Hyve and GE Home (SmartHQ).
In my old HA instance, I had simply copied those folders in to the custom_components
folder under my config
directory, but HACS gives me the ability to manage these components from the UI, instead of via SSH. I followed the setup and configuration instructions to the letter, and was able to install the above custom components with ease.
The Easy Stuff
With HACS installed, I could tackle all the “non-major.” I am classifying major as my Insteon and Z-Wave devices, since those require some heavier lifting. There were lots of little integrations with external services that I could pretty quickly setup in the new instance and remove from the old. This included things like:
- Orbit B-Hyve: I have an irrigation system in the backyard for some potted plants, and I put an Orbit Smart Hose timer on it. The B-Hyve app lets me set the schedule, so I don’t really need to automate that every day, but I do have it setup to enable the rain delay via NodeRED.
- MyQ: I have a Chamberlain garage door open which is connected to MyQ, so this gives me the status of the door and the ability to open/close it.
- GE Home: Not sure that I need to be able to see what my oven is doing, but I can.
- Rheem Econet: I can monitor my hot water heater and set the temperature. It is mostly interesting to watch usage, and it is currently the only thing that allows me to track its power consumption.
- Ring: This lets me get some information from my Ring doorbell, including its battery percentage.
- Synology: The Synology integrate lets me monitor all of my drives and cameras. There is not much to control, per say, but it collects a lot of data points that I then scrape into Prometheus for alerting.
- Unifi: I run the Unifi Controller for my home network, and this integration gives me an entity for all the devices on my network. Again, I do not use much of the control aspect, but I definitely use the data being collected.
Were these all easy? Definitely. I was able to configure all of these integrations on the new instance and then delete them from the old without conflict.
Now it’s time for some heavy lifting.
Z-Wave Migration
I only have 6 Z-Wave devices, but all were on the Z-Wave network controlled by the ISY. To my knowledge, there is no easy migration. I set up the Z-Wave JS add-on in Home Assistant, selecting my Z-Wave antenna from the USB list. Once that was done, I had to drop each device off of the ISY and then re-add it to the new Home Assistant instance.
Those steps were basically as follows:
- Pick a device to remove.
- Select “Remove a Z-Wave Device” from the Z-Wave Menu in the ISY.
- While it is waiting, put the device in “enroll/un-enroll” mode. It’s different for every device. On my Mineston plugs, it was ‘click the power button three times quickly.’
- Wait for the ISY to detect the removal.
- In Home Assistant, under the Z-Wave integration, click
Devices
. Click theAdd Device
button, and it will listen for devices. - Put the device in “enroll/un-enroll” mode again.
- If prompted, enter the device pin. Some devices require them, some do not. Of my 6 devices, three had pins, three did not.
- Home Assistant should detect the device and add it.
- Repeat steps 1 through 8 for all your Z-Wave devices.
As I said, I only have 6 devices, so it was not nearly as painful. If you have a lot of Z-Wave devices, this process will take you some time.
Insteon Migration
Truthfully, I expected this to be very painful. It wasn’t that bad. I mentioned in my transition planning post that I grabbed an XML list of all my nodes in the ISY. This is my reference for all my Insteon devices.
I disconnected the ISY from the PLM and connected it to the Raspberry Pi. I added the Insteon integration, and entered the device address (in my case, it showed up as /dev/ttyUSB1
). At that point, the Insteon integration went about finding all my devices. They showed up with their device name and address, and the exercise was to look up the address in my reference and rename the device in Home Assistant.
Since scenes are written to the devices themselves, my scenes came over too. Once I renamed the devices, I could set the scene names to a friendly name.
NodeRED automation
After flipping the URL in my new Home Assistant instance to be my old URL, I went into NodeRED to see the damage. I had to make a few changes to get things working:
- I had to generate a new long-lived token in Home Assistant, and update NodeRED with the new token.
- Since devices changed, I had to touch every action and make sure I had the right devices selected. Not terrible, just a bit tedious.
ALEXA!
I use the ISY Portal for integration with Amazon Alexa, and, well, my family have gotten used to doing some things with Alexa. Nabu Casa provides Home Assistant Cloud to fill this gap.
It is not worth much space here, other than to say their documentation on installation and configuration was spot on, so check it out if you need integration with Amazon Alexa or Google Assistant.
Success!!!
My ISY is shut down, and my Home Assistant is running the house, including the Insteon and Z-Wave devices.
I did notice that, on reboot, the USB address of the Z-Wave and PLM device swapped. I hope that isn’t a recurring thing. The solution was to re-configure the Insteon and Z-Wave integrations with the new address. Not hard, I just hope it is not a pattern.
My NodeRED integrations are much more stable. Previously, NodeRED was calling Home Assistant, which was trying to use the ISY to control the devices. This was fraught with errors, mostly because the ISY’s APIs can be dodgy. With Home Assistant calling the shots directly, it’s much more responsive.
I have to work on some of my scenes and automations for Insteon: While I had previously moved most of my programs out of the ISY and into NodeRED, there were a few stragglers that I need to setup on NodeRED. But that will take about 20 minutes.
At this point, I’m going to call this venture successful. That said, I will now focus my attention on my LED strips. I have about 6 different LED strips with some form of MiLight/MiBoxer controller. I hate them. So I will be exploring alternatives. Who knows, maybe my exploration will generate another post.
Leave a Reply