Installation
You can use SLZB-06/06M either as Zigbee to Ethernet adapter, Zigbee to WiFI or as Zigbee to USB adapter. Depending on the type you are going to use, you can connect you device.
Zigbee2MQTT setup
Connection over Ethernet
- Plug in RJ45 cable to your device.
TIP
SLZB-06/06M has optoelectronic isolation, so can be connected to USB port of your PC and at the same time to Ethernet/PoE cable!
- Follow Zigbee2MQTT set-up process official guideline. You can set-up as a linux package, docker container or extension for Home Assistant.
- Use the following lines in
port:
settings:
...
serial:
port: tcp://192.168.0.105:6638
...
where
192.168.0.105
is an IP address of SLZB-06/06M in your network;6638
is a port of your SLZB-06/06M adapter (default is 6638, can be configured within Firmware);
TIP
Zigbee2MQTT supports mDNS Zeroconf Autodiscovery for SLZB-06 adapter. If you do not know actual IP address of your SLZB-06, you can put port: mdns://slzb-06
please refer to official web page of Zigbee2MQTT mDNS settings here!!
In case of mDNS Zeroconf autodiscovery, your Zigbee2MQTT serial's settings should looks like:
...
serial:
port: mdns://slzb-06 // for SLZB-06 series
...
- Run Zigbee2MQTT.
Connection over USB
- Plug in type-C cable to the device.
TIP
SLZB-06/06M has optoelectronic isolation, so can be connected to USB port of your PC and at the same time to Ethernet/PoE cable!
WARNING
Please use Type-A [Connection to the PC] to Type-C [connection to SLZB-06/06M] cable only. Data transimmison will not work with Type-C to Type-C cables.
WARNING
DRIVERS for USB/UART converter! SLZB-06/06M uses CP2102 as an USB/UART chip. If your system does not recognize the device, you have to install the drivers. We reccomend to use the drivers from official web page of Silicon Labs CP210x driver page!
- Follow Zigbee2MQTT set-up official guideline. You can set-up as a linux package, docker container or extension for Home Assistant.
- Use the following lines in
port:
settings:
...
serial:
port: /dev/ttyUSB0
...
where
/dev/ttyUSB0
is an ID of SLZB-06/06M device within your system;
Running Z2M in a Docker
Sample docker-compose
settings that were tested sucesfully:
version: '3'
services:
zigbee2mqtt:
container_name: zigbee2mqtt
image: koenkk/zigbee2mqtt
restart: unless-stopped
network_mode: host
privileged: true
environment:
- TZ=Europe/Kiev
volumes:
- /run/udev:/run/udev:ro
- /home/pi/docker-containers/zigbee2mqtt:/app/data
.
Key parameters and their definitions:
network_mode: host
- means that your containers has the same access as the host machine.privileged: true
- allows your container to access your host devices, important if you are using a USB connection./home/pi/docker-containers/zigbee2mqtt
is a location of your Zigbee2MQTT configuration.yaml file.
ZHA (Zigbee Home Automation) setup
Autodiscovery
Home Assistant version 2023.1 and above contains LAN autodiscovery feature for SLZB-06 or SLZB-06M. If mDNS is allowed by your network router, the set-up is stightforward:
- Run your Home Assistant
- Plug-in your SLZB-06 or SLZB-06M to LAN (either by Ethernet or WiFi).
- Home Assistant will makes notification that new supported device is found and will propose to set it up. Confirm it and that is it - SLZB-06 or SLZB-06M is inegrated into your Home Assistant throught ZHA integration.
Manual set-up
- Go to Home Assistant
- Click
Settings
- Go to
Devices & Services
- Click
Add integration
(right bottom corner) - Find «Zigbee Home Automation», click on it;
- Between two options «Add Zigbee device» and «Zigbee Home Automation» choose
Zigbee Home Automation
; - Select serial port window -
Enter manually
- Radio type window
ZNP = Texas Instruments Z-Stack ZNP …
- for SLZB-06 series;EZSP = Silicon Labs EZSP …
- for SLZB-06M series
- Serial port settings window:
- Serial device path: « socket://192.168.1.105:6638 », where 192.168.1.105 is IP address of your SLZB-06;
- port speed left by default 115200;
- data flow control undefined (it does not matter for LAN adapters)
- Press
Submit
. - Network formation window -
Erase network settings and form a new network
- Wait for Zigbee network and try to add some Zigbee end-device (e.g. sensor etc)