Connecting to Home Assistant



In Home Assistant, a Z-Wave network can be established using different combinations of Z-Wave Integration, Z-Wave JS, and Z-Wave JS UI, allowing you to manage and control Z-Wave devices.

PlanCombinationDevice Control MethodNotes
AZ-Wave Integration + Z-Wave JSIntegration ControlUSB Connection
BZ-Wave JS UIAdd-on ControlUSB Connection
TCP Connection
CZ-Wave Integration + Z-Wave JS UIIntegration ControlUSB Connection
TCP Connection
DZ-Wave Integration + Proxy DeviceIntegration ControlUSB Connection


Plan A: Z-Wave Integration + Z-Wave JS #



Official Home Assistant guide: https://www.home-assistant.io/integrations/zwave_js


Start the Configuration #



Home Assistant can automatically discover Dongle-MZG23. Click "Add" to start the configuration process.


*Supports automatic discovery of Dongle-MZG23 in Home Assistant Version 2025.12.2 or later


If no device is automatically discovered, you can also add the device manually:

  1. Click "Add integration" at the bottom right of the Integrations page.
  2. Search for "Z-Wave".
  3. Click the Z-Wave integration to start the configuration process.


Configuration Process #


  1. Select "Recommended installation".
  2. Select "SONOFF_ZWave_Dongle-MZG23" (automatically discover will skips this step) and click "Submit".
  3. Wait for the process to complete. You can now add new devices to your Z-Wave network. Detailed steps: Adding a new device to the Z-Wave network

Note:

  • The Z-Wave frequency depends on your region. The Z-Wave JS Add-on will automatically adjust the radio frequency to match your country/region. You can modify this setting if needed. Modification steps


Plan B: Z-Wave JS UI #



Install Z-Wave JS UI Add-on #

  1. Go to the Add-on Store and search for "Z-Wave JS UI".
  2. Click the Z-Wave JS UI Add-on to open its page.
  3. Click "Install" and wait for the installation to complete. Then click "Start" to launch the Add-on.


Configure Z-Wave JS UI Add-on (USB) #


Click "Open web UI" to access the Web UI page, and configure the Add-on:

  1. Click "Settings" in the sidebar.
  2. Expand the "Z-Wave" options.
  3. Select the serial device "SONOFF_ZWave_Dongle-MZG23".
  4. Click the refresh icon to generate random security keys.
  5. Select the RF Region according to your location.
  6. Click "Save" to save the configuration. Confirm the prompt to restart the device.
  7. Click "Control Panel" to access the panel, wait for the device to restart and connect successfully. You can now add new devices to the Z-Wave network. Detailed steps: Adding a new device to the Z-Wave JS UI



Configure Z-Wave JS UI Add-on (TCP) #


Click "Open web UI" to access the Web UI page, and configure the Add-on:

  1. Click "Settings" in the sidebar.
  2. Expand the "Z-Wave" options.
  3. Select the serial port "tcp://IP:6638"(This IP belongs to Dong-MZG23 and can be viewed in the Dongle-MZG23 Console web UI, as shown in the figure below).
  4. Click the refresh icon to generate random security keys.
  5. Select the RF Region according to your location.
  6. Click "Save" to save the configuration. Confirm the prompt to restart the device.
  7. Click "Control Panel" to access the panel, wait for the device to restart and connect successfully. You can now add new devices to the Z-Wave network. Detailed steps: Adding a new device to the Z-Wave JS UI



Plan C: Z-Wave Integration + Z-Wave JS UI #



Configure Z-Wave JS UI #

  1. Follow the Configure Z-Wave JS UI Add-on steps above.
  2. On the Settings page, enable the "WS Server" option under Home Assistant, then save (default is enabled).
  3. Copy the "Hostname" field, which will be used later, from the Z-Wave JS UI info page.


Configure Z-Wave Integration #


Start the Configuration #

  1. Click "Add integration" at the bottom right of the Integrations page.
  2. Search for "Z-Wave".
  3. Click the Z-Wave integration to start the configuration process.


Configuration Process #

  1. Select "Custom installation".
  2. Uncheck "Use the Z-Wave Supervisor add-on" and click "Submit".
  3. Replace the "localhost" in the URL input box with the Hostname from the Z-Wave JS UI Add-on, then click "Submit". Wait for the configuration to complete. Devices added via Z-Wave JS UI will now sync to the Z-Wave integration.


Plan D: Z-Wave Integration + Proxy Device #

If you need to place Connect Dongle-MZG23 far away from your Home Assistant system, you can run Z-Wave JS on another system and connect that to Home Assistant.

This allows you to plug Home Assistant Connect Dongle-MZG23 in a location that is closer to your end devices.

  1. Connect Dongle-MZG23 to another host device.
  2. Install Z-Wave JS UI on this host.
  3. Configure Z-Wave JS UI:
    • a. Enable the WS Server and mDNS options.
    • b. Note the system's IP address and server port (default: 3000).
  4. If this host and the Home Assistant host are on the same local network, the Z-Wave JS UI system should be automatically discovered by Home Assistant.
  5. If it is not discovered automatically, configure it manually:
    • a. On your Home Assistant system, go to Settings > Devices & services
    • b. Add a Z-Wave hub using a Custom installation method.
    • c. Make sure to uncheck the Use the Z-Wave Supervisor add-on option.
    • d. Fill in the IP address of the Z-Wave JS UI system (for example ws://IP-ADDRESS:3000).

Device Migration #

You can refer to the following method to migrate your Z-Wave network to Dongle-MZG23.

https://www.home-assistant.io/integrations/zwave_js/#removing-a-device-from-the-z-wave-network

What are your feelings

Updated on November 2, 2026