#zigbee2mqtt setup
1 messages · Page 1 of 1 (latest)
How are you trying to run Z2M? Add-on? Docker? Native install?
Running HA OS on raspberry Pi, MQTT addon and zigbee2mqtt add on. YAML file1 data path: /config/zigbeezmqtt
2 socat:
enabled: false
master: pty, raw, echo=0, link=/tmp/ttyz2M, mode=777
slave: tcp-listen: 8485, keepalive, nodelay, reuseaddr, keepidle=1, keepintvl=1, keepent=5
options:
=0 =0
log: false
8 mqtt:
base_ topic: zigbeezmqtt
10
server: mqtt://core-mosquitto:1883
11
user: mgtt user
12
password: xxx
13 serial:
14
port:
15
/dev/serial/by-id/usb-ITead_ Sonoff_ Zigbee_ 3.0 USB_ Dongle Plus_ 0002b7868bc9eblla8c48f4f1d69213e-if00-porto
16 external converters: [l
17 devices: devices.yaml
18 groups: groups. yaml
19 homeassistan. tru
20 permit join: false
21 advanced:
22
log level: warn
23
pan id: 6754
24
channel: 11
25
network key:
26
27
28
5
29
30
31
32
33
34
37
38
39
10
40
12
41
13
42
availability blocklist: I1
43
availability _passlist: [l
44 device options: (}
45 blocklist: [1
46 passlist: [1
47 queue: (}
48 frontend:
49
port: 8099
50 experimental: {}
51 availability: false
52 zigbee herdsman debug: true
53
Please use code share sites rather than posting an unformatted mess into the channel
(also, your password is in there)
What's in the log for Z2M?
sorry, how do I do that?
thanks, configdata_path: /config/zigbee2mqtt
socat:
enabled: false
master: pty,raw,echo=0,link=/tmp/ttyZ2M,mode=777
slave: tcp-listen:8485,keepalive,nodelay,reuseaddr,keepidle=1,keepintvl=1,keepcnt=5
options: '-d -d'
log: false
mqtt:
base_topic: zigbee2mqtt
server: mqtt://core-mosquitto:1883
user: mqtt_user
password: xxxxxx
serial:
port: >-
/dev/serial/by-id/usb-ITead_Sonoff_Zigbee_3.0_USB_Dongle_Plus_0002b7868bc9eb11a8c48f4f1d69213e-if00-port0
external_converters: []
devices: devices.yaml
groups: groups.yaml
homeassistant: true
permit_join: false
advanced:
log_level: warn
pan_id: 6754
channel: 11
network_key:
- 1
- 3
- 5
- 7
- 9
- 11
- 13
- 15
- 0
- 2
- 4
- 6
- 8
- 10
- 12
- 13
availability_blocklist: []
availability_passlist: []
device_options: {}
blocklist: []
passlist: []
queue: {}
frontend:
port: 8099
experimental: {}
availability: false
zigbee_herdsman_debug: true

Another unformatted mess
See, if you send them to a code share site, and share the link, we don't have a mile of scrolling to do, and we can see the formatting
sorry, try this https://dpaste.org/Y8y9Y
Much easier
and zigbee2mqtt log https://dpaste.org/NvfOa
yes, but I cant see why it doesnt work. Have watched a number of setup guides and according to them it should work. I'm also running the z-wave JS to MQTT add-on and that works fine
Did you try flashing the adapter with firmware?
yes, did that before I started the install
Is it in a USB 3.0 port?
No, usb 2 powered hub
to clarify, usb 2 hub connected to the on eof the usb2 ports on the pi
You don't have ZHA configured?
The only other thing is
2022-05-13T15:32:09.162Z zigbee-herdsman:adapter Failed to validate path: 'Error: spawn udevadm ENOENT'
``` seems ... not good
ZHA - no, thought that was specifically not required for the zigbee2mqtt add-on?
It's not, but I've seen people run it and Z2M and then wonder why stuff breaks
should I try re-flashing the firmware on the sonoff adapter?
I'd start by double checking the path to the stick
I re-copied that from the hardwear settings earlier today