Today, I discovered that the following warning message gets produced quite often.
[supervisor.addons.options] Unknown option ‘mqtt’ for Zigbee2MQTT (45df7312_zigbee2mqtt)
Any idea what might be wrong with my configuration? Thank you.
Today, I discovered that the following warning message gets produced quite often.
[supervisor.addons.options] Unknown option ‘mqtt’ for Zigbee2MQTT (45df7312_zigbee2mqtt)
Any idea what might be wrong with my configuration? Thank you.
Most of the options for the Zigbee2mqtt addon moved to a file in your config/zigbee2mqtt folder.
Pate the yaml from your Zigbee2mqtt addon configuration page here and I’ll show you what to delete.
data_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:
mqtt: //192.168.1.222:1883
serial:
port: //dev/ttyUSB0
Change it to this:
data_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:
serial:
port: //dev/ttyUSB0
Tom! Thank you for your quick reply. Unfortunately, my installation does not accept your proposal:
Fehler beim Speichern der Add-on Konfiguration, Invalid dict for option 'mqtt' in Zigbee2MQTT (45df7312_zigbee2mqtt). Got {'data_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': None, 'serial': {'port': '//dev/ttyUSB0'}}
Try:
data_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:
server: //192.168.1.222:1883
serial:
port: //dev/ttyUSB0
See: GitHub - zigbee2mqtt/hassio-zigbee2mqtt: Official Zigbee2MQTT Home Assistant add-on
Thank you. I found the solution. The “server” line needs to read: server: mqtt://xxx:1883, i. e.
data_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:
server: mqtt://192.168.1.222:1883
serial:
port: //dev/ttyUSB0
Hey all i have same problem but i did as Thomas said and didn’t work.
Failed to save add-on configuration, Missing option ‘mqtt’ in root in Zigbee2MQTT (45df7312_zigbee2mqtt). Got {‘data_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}, ‘serial’: {‘port’: ‘/dev/serial/by-id/usb-ITEAD_SONOFF_Zigbee_3.0_USB_Dongle_Plus_V2_20231216182640-if00’, ‘adapter’: ‘ezsp’}}
Unfortunately, I have a similar problem. My supervisor is also full of errors:
2024-05-25 19:18:20.609 WARNING (MainThread) [supervisor.addons.options] Unknown option 'serial' for Zigbee2MQTT (45df7312_zigbee2mqtt)
2024-05-25 19:23:20.610 WARNING (MainThread) [supervisor.addons.options] Unknown option 'serial' for Zigbee2MQTT (45df7312_zigbee2mqtt)
2024-05-25 19:28:20.611 WARNING (MainThread) [supervisor.addons.options] Unknown option 'serial' for Zigbee2MQTT (45df7312_zigbee2mqtt)
2024-05-25 19:33:20.610 WARNING (MainThread) [supervisor.addons.options] Unknown option 'serial' for Zigbee2MQTT (45df7312_zigbee2mqtt)
2024-05-25 19:38:20.609 WARNING (MainThread) [supervisor.addons.options] Unknown option 'serial' for Zigbee2MQTT (45df7312_zigbee2mqtt)
What can I do to make the errors disappear. My Zibee router is connected via TCP.
homeassistant_legacy_entity_attributes: false
legacy_api: false
legacy_availability_payload: false
log_syslog:
app_name: Zigbee2MQTT
eol: /n
host: localhost
localhost: localhost
path: /dev/log
pid: process.pid
port: 514
protocol: udp4
type: '5424'
last_seen: ISO_8601_local
log_level: error
mqtt:
server: mqtt://core-mosquitto:1883
user: addons
password: xxxxx
keepalive: 60
reject_unauthorized: true
version: 4
frontend:
port: 8099
serial:
port: tcp://192.168.178.9:53721
baudrate: 115200
device_options:
legacy: false
Does no one have an idea how I can solve the problem?