#zigbee2mqtt setup

1 messages · Page 1 of 1 (latest)

carmine cloud
#

Hi , I'm trying to setup zigbee using zigbee2mqtt, but am having problems. I've got MQTT broker up and running (can publish and hear), but can't get zigbee2mqtt to work.

smoky coyote
#

How are you trying to run Z2M? Add-on? Docker? Native install?

carmine cloud
#

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

smoky coyote
#

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?

smoky coyote
carmine cloud
#

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

smoky coyote
#

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

carmine cloud
smoky coyote
#

Much easier

carmine cloud
carmine cloud
#

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

smoky coyote
#

Did you try flashing the adapter with firmware?

carmine cloud
#

yes, did that before I started the install

smoky coyote
#

Is it in a USB 3.0 port?

carmine cloud
#

No, usb 2 powered hub

carmine cloud
#

to clarify, usb 2 hub connected to the on eof the usb2 ports on the pi

smoky coyote
#

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
carmine cloud
#

ZHA - no, thought that was specifically not required for the zigbee2mqtt add-on?

smoky coyote
#

It's not, but I've seen people run it and Z2M and then wonder why stuff breaks

carmine cloud
#

should I try re-flashing the firmware on the sonoff adapter?

smoky coyote
#

I'd start by double checking the path to the stick

carmine cloud
#

I re-copied that from the hardwear settings earlier today