Installation Sonoff Zigbee 3.0 USB Dongle Plus

Xiaomi, Ikea TRÅDFRI, Philips Hue and more.

Moderator: leecollings

Post Reply
MikeVanD
Posts: 23
Joined: Friday 09 September 2022 10:32
Target OS: -
Domoticz version:
Contact:

Installation Sonoff Zigbee 3.0 USB Dongle Plus

Post by MikeVanD »

after troubles with zwave and rfxcom (viewtopic.php?t=43852), I wanted to start without docker and so I did today.

Domoticz is up and running and rfxcom and zwave are still not functioning, but I'm going to start fresh with them too.

So I was told Zigbee is the way to go and thus I ordered 'Sonoff Zigbee 3.0 USB Dongle Plus' and started the installation (https://www.zigbee2mqtt.io/guide/instal ... installing)
In 4 hours time, I've not gone past the point that 'pnpm start' gives the error:

Code: Select all

Starting Zigbee2MQTT without watchdog.
Error: listen EADDRINUSE: address already in use 0.0.0.0:8080
I've tried dozens of solutions but none of them work

I'm almost starting to regret zigbee, so can anybody help me to a step-by-step install guide for this dongle in Domoticz?
User avatar
waltervl
Posts: 6676
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2025.1
Location: NL
Contact:

Re: Installation Sonoff Zigbee 3.0 USB Dongle Plus

Post by waltervl »

The advised way is the docker way to prevent these kind of issues...
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
MikeVanD
Posts: 23
Joined: Friday 09 September 2022 10:32
Target OS: -
Domoticz version:
Contact:

Re: Installation Sonoff Zigbee 3.0 USB Dongle Plus

Post by MikeVanD »

and I wanted to avoid docker to avoid other problems...

oh well installed ubuntu already again and I'm gonna try docker again
User avatar
jvdz
Posts: 2441
Joined: Tuesday 30 December 2014 19:25
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.107
Location: Netherlands
Contact:

Re: Installation Sonoff Zigbee 3.0 USB Dongle Plus

Post by jvdz »

Just set the frontend port of zigbee2mqtt to a different port: https://www.zigbee2mqtt.io/guide/config ... ntend.html
MikeVanD
Posts: 23
Joined: Friday 09 September 2022 10:32
Target OS: -
Domoticz version:
Contact:

Re: Installation Sonoff Zigbee 3.0 USB Dongle Plus

Post by MikeVanD »

I wish... I tried that

At this moment I want to set fire to the server and Domoticz and Zigbee

this is the third time I started with a clean server with docker and stubborn me tried it twice before that without docker.
I haven't been this far, but it is only square 1... It is a good thing my neighbours are on holiday.

I've got the broker running (i hope) without errors:

Code: Select all

[+] Running 2/2
 ✔ Container zigbee2mqtt-mqtt-1  Started 0.3s
 ✔ Container zigbee2mqtt         Started 0.2s
When I access the page at http://<ip-address>:8080 there is a time-out

tips anybody?
User avatar
gizmocuz
Posts: 2706
Joined: Thursday 11 July 2013 18:59
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Top of the world
Contact:

Re: Installation Sonoff Zigbee 3.0 USB Dongle Plus

Post by gizmocuz »

What a strange remark ... avoid docker to avoid other problems !

First, get mosquitto working (MQTT broker), this can be the most challenging
Test, with MQTT Explorer, if you can connect to the broker without issues

Next, install zigbee2mqtt

Make a folder, like zigbee2mqtt

create a docker-compose.yml file with the contents like below:
services:
zigbee2mqtt:
container_name: zigbee2mqtt
image: koenkk/zigbee2mqtt:latest-dev
restart: unless-stopped
volumes:
- ./data:/app/data
- /run/udev:/run/udev:ro
ports:
# Frontend port
- 8081:8080
networks:
- backend
environment:
- TZ=Europe/Amsterdam
devices:
- /dev/serial/by-id/yyyyyyyyyyy:/dev/ttyACM0
privileged: true
Replace /dev/serial/by-id/yyyyyyyyyyy with the real USB device ID of the zigbee dongle

Test if all is working by issuing:

Code: Select all

docker compose up
If no errors are shown, you should be able to browse to port 8081

There is a guide available on our wiki

https://wiki.domoticz.com/Zigbee2MQTT
Quality outlives Quantity!
Post Reply

Who is online

Users browsing this forum: Bing [Bot] and 1 guest