Step 1(Optional): Install the Home Assistant System to Edge 2 Kit
Note: If your Edge 2 Kit comes with the Home Assistant System pre-installed, you can skip this step.
1.1 Enter the loader mode or MaskROM mode of Edge 2 Kit.
To enter the loader mode: Press and hold the RECOVERY button, then power on.
To enter the MaskROM mode: Press and hold the MASKROM button, then power on.
Connect the Edge 2 to a PC via USB Type-C cable. The firmware update tool takes around 1 minute to burn the firmware.
1.2 Use the upgrade tool for flashing the full image to Edge 2 board.
- macOS: upgrade_tool_v2.3_mac.zip
- Ubuntu: Linux_Upgrade_Tool.zip
- Downloaded link of the full image of Home Assistant (RAW Format)
- Downloaded link of SPL loader file
Use the below command to upload the image to Edge 2.
Upload the SPL loader to Edge 2
./upgrade_tool db /[your folder path]/rk356x_spl_loader_v1.13.112.bin
Write the image to the 0x0 address of eMMC
./upgrade_tool wl 0 /[your folder path]/image-release-raw-format-mixtile-edge2-homeassistant12.2-rc1-240610.img
Below is the screenshot when uploading the firmware in macOS system:
Step 2: Boot up the Home Assistant
After finishing the installation of Home Assistant system, please reboot the Edge 2 Kit device. Connect the ethernet cable to Edge 2. Wait for 3~5 minutes and then log in to the Home Assistant control panel.
If there is only one Home Assistant Gateway in your network, you could log in via below URL:
http://homeassistant.local:8123
Or Get the IP address of Edge 2 Kit and log in as below:
http://[your IP address]:8123
The first time when booting the Home Assistant, it will download some system and take about 20 minutes.
When it’s ready, you could setup this home assistant gateway as you prefer.
Step 3: Setup the Mixtile 2-in-1 Zigbee & Z-Wave mPCIe Interface Module
Install the Mixtile 2-in-1 Zigbee & Z-Wave mPCIe Interface Module to the mini-PCIe interface of Edge 2 Kit. It will be recognized two USB devices in Home Assistant system. One is /dev/ttyCH343USB1(Zigbee), the other one is /dev/ttyCH343USB0(Z-Wave).
Step 4: Setup Zigbee and Z-Wave function in Home Assistant.
Go to “Settings”, click “Devices & services”
Use the “ADD INTEGRATION” function
You could search and install the “Zigbee Home Automation” add-on by typing “Zigbee”
Pick Zigbee radio type, please choose EZSP = Silicon Labs EmberZNet Protocol
Enter the serial port of Zigbee, please enter /dev/ttyCH343USB1 in serial device path, then keep the other as default (port speed is 115200, no data flow control)
Choose the network settings for radio, please choose “Create a network“
It will show success if everything goes well, you can choose your area for this Zigbee gateway.
Next, you could search and install the “Z-Wave” add-on by typing “Z-Wave”
Select the connection method for Z-Wave, please choose “Use the Z-Wave JS Supervisor add-on“
It will go to Z-Wave JS add-on installation
Then it will require to enter the Z-Wave JS add-on configuration, please just ignore this info and close it.
Go to Add-ons page and enter Z-Wave JS page.
Go the “Configuration” Tab and select the correct device(/dev/ttyCH343USB0) for Z-Wave module.
Start Z-Wave JS.
Please go to the integrations page and add Z-Wave integrations again, then select the connection method and use the Z-Wave JS add-on.
It will show success if everything goes well, you could choose your area for this Z-Wave gateway.
You could check the the status of Zigbee and Z-Wave module in the devices page
Step 5: Add Zigbee or Z-Wave devices
Use “ADD DEVICE” function in the devices page