Zigbee2mqtt and QoS

I have installed Home Assistant on proxmox and running the latest version of Home Assistant, zigbee2mqtt add-on and Mosquitto broker add-on.

In my devices.yaml (located in \share\zigbee2mqtt) I added the option

qos: 2

'0x00178801030c0f36':
  friendly_name: Lamp_1e_verdieping_hal
  qos: 2
'0x0017880102f9f505':
  friendly_name: Lamp_2e_verdieping_hal
  qos: 2
'0x0017880102f9ef1f':
  friendly_name: Lamp_toilet
  qos: 2

When I check Mqtt explorer I see QoS: 0

image

Why does mqtt explorer reported QoS: 0? Did I do something wrong?

This is my Home Assistant Zigbee2mqtt config

data_path: /share/zigbee2mqtt
external_converters: []
devices: devices.yaml
groups: groups.yaml
homeassistant: true
permit_join: false
mqtt:
  base_topic: zigbee2mqtt
  server: 'mqtt://core-mosquitto'
  user: *
  password: *
serial:
  port: /dev/ttyACM0
advanced:
  log_level: info
  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:
  new_api: true
socat:
  enabled: false
  master: 'pty,raw,echo=0,link=/dev/ttyZ2M,mode=777'
  slave: 'tcp-listen:8485,keepalive,nodelay,reuseaddr,keepidle=1,keepintvl=1,keepcnt=5'
  restartdelay: 1
  initialdelay: 1
  options: '-d -d'
  log: false

This is my Home Assistnat mosquitto config

logins:
  - username: *
    password: *
anonymous: false
customize:
  active: false
  folder: mosquitto
certfile: fullchain.pem
keyfile: privkey.pem
require_certificate: false

You just shared your Z2M security key with the public potentially allowing everyone into your network; to remediate this you’ll need to change this and re-pair all devices. Good luck!

Bah, it is the default Zigbee2MQTT key from the 2019 documentation.

1 Like