We moved recently into an apartment with a detached garage, and naturally, I wanted to incorporate that space into our home automation. To extend our network to the garage, I opted for powerline ethernet adapters, but soon discovered that the garage’s fluorescent light cuts the powerline connection.
To overcome this, I purchased an iHome iSP8 SmartPlug. It connects via wifi, which was a requirement since I don’t have a smart hub in the garage nor do I wish to add one there. It also includes a physical remote that I can mount near the now-disabled switch for the fluorescent lights.
Unfortunately, the setup process for the iSP8 was not a smooth one. I’m an Android user, and the iHome products are intended to be set up from an iOS device. They purport to support Android setup, but I was unsuccessful despite several attempts. I did manage to connect it to my network once, but the device wasn’t recognized by iHome’s cloud, leaving it orphaned.
In the course of debugging the setup, I noticed that my MacBook’s wifi adapter detected the plug’s wifi network not as a standard network, but as that of an accessory. This proved to be the key to joining the plug to Home Assistant via its HomeKit component.
To pair the iSP8 to Home Assistant via the HomeKit component:
- Reset the SmartPlug by holding down the device button for 15 seconds, until the wifi indicator alternates between red and green.
- Ensure the MacBook’s wifi adapter is enabled.
- From the MacBook’s list of detected wifi networks, select the iHome network from the “Accessories” section of the list (this will appear after, and separately from, the list of standard wifi networks).
- Airport Utility will open to configure the plug’s connection. When prompted, select the wifi network that the plug should join; only 2.4GHz networks are supported.
- After the plug joins the network (indicated by a solid green wifi light), unplug and replug the device. This is necessary for the device to fully join the network and be visible to Home Assistant.
- Confirm that the plug is visible on your network. This can generally be done via the admin interface or app that is used to configure your wifi.
- Restart Home Assistant to trigger it to scan the network for new HomeKit devices.
- Open Home Assistant and go to Configuration > Integration. If the plug doesn’t appear for configuration, click the plus icon to open the configuration wizard and select “HomeKit Accessory” from the choices.
- Select the iHome device from the list presented, then when prompted, enter the plug’s HomeKit PIN, including the dashes. If the dashes are omitted, pairing will fail.
- Confirm via the States developer tool that the switch is available in Home Assistant.
After one of the myriad failed attempts to set up the iSP8 via the iHome Control app, the plug was left in a state where it was connected to my network, but wasn’t recognized by the iHome cloud. At that point, I attempted to pair the device with Home Assistant, but the existing pairing with the app prevented Home Assistant from connecting to the plug. It is for this reason that the plug must be reset and joined to the network via Apple’s Airport Utility.