I have looked at much of the online information regarding breaking changes in zigbee2MQTT version 2.0. I have implemented all of the suggested changes (as far as I can tell) but I still can’t get it working. My symptoms seem to be different from what a lot of users are experiencing. In addition, I had a dongle failure during the troubleshooting and have a new dongle to add to the mix of variables.
One thing I don’t understand completely is how the configuration specification makes use of the two sources (GUI in the add-on tab and the yaml file in config/zigbee1MQTT/).
My problem is that the add-on won’t start. It appears to start in the add-on page and in the log output, but when I switch to the web interface, it says that it’s not running. I can then go back to the add-on page and it’s stopped with no apparent reason why.
Here is the log file output I see:
Starting Zigbee2MQTT without watchdog.
[15:55:11] INFO: Preparing to start...
[15:55:11] INFO: Socat not enabled
[15:55:11] INFO: Starting Zigbee2MQTT...
Starting Zigbee2MQTT without watchdog.
[15:55:14] INFO: Preparing to start...
[15:55:14] INFO: Socat not enabled
[15:55:14] INFO: Starting Zigbee2MQTT...
Starting Zigbee2MQTT without watchdog.
[15:55:17] INFO: Preparing to start...
[15:55:17] INFO: Socat not enabled
[15:55:17] INFO: Starting Zigbee2MQTT...
Starting Zigbee2MQTT without watchdog.
[15:55:20] INFO: Preparing to start...
[15:55:20] INFO: Socat not enabled
[15:55:20] INFO: Starting Zigbee2MQTT...
Starting Zigbee2MQTT without watchdog.
[15:59:31] INFO: Preparing to start...
[15:59:31] INFO: Socat not enabled
[15:59:31] INFO: Starting Zigbee2MQTT...
Starting Zigbee2MQTT without watchdog.
[16:00:50] INFO: Preparing to start...
[16:00:50] INFO: Socat not enabled
[16:00:50] INFO: Starting Zigbee2MQTT...
I have a Sonoff Zigbee 3.0 Dongle Plus (type E) and the new one I purchased as a “V2” in the ‘by-id’ name for the device file:
usb-Itead_Sonoff_Zigbee_3.0_USB_Dongle_Plus_V2_c47198083c1fef11a44357d0639e525b-if00-port0
The configuration file in config/zigbee2MQTT looks like this:
homeassistant:
enabled: true
advanced:
homeassistant_legacy_entity_attributes: false
homeassistant_legacy_triggers: false
legacy_api: false
legacy_availability_payload: false
network_key:
- 210
- 75
- 12
- 14
- 33
- 92
- 202
- 92
- 15
- 57
- 188
- 245
- 232
- 184
- 108
- 176
pan_id: 29663
ext_pan_id:
- 223
- 102
- 199
- 124
- 200
- 186
- 62
- 134
log_level: warning
log_syslog:
host: -----
port: 514
protocol: udp4
app_name: zigbee2mqtt
eol: /n
localhost: localhost
path: /dev/log
pid: process.pid
type: "5424"
log_output:
- syslog
- syslog
availability:
enabled: true
mqtt:
server: mqtt://---------
user: zigbee
password: -------
client_id: zigbee2mqtt
keepalive: 60
reject_unauthorized: true
version: 4
base_topic: zigbee2mqtt
serial:
port: >-
/dev/serial/by-id/usb-Itead_Sonoff_Zigbee_3.0_USB_Dongle_Plus_V2_c47198083c1fef11a44357d0639e525b-if00-port0
adapter: ember
frontend:
enabled: true
port: 8099
device_options:
legacy: false
retain: true
devices:
"0x00158d0006bebfd4":
friendly_name: front_door
"0x00158d0006bfb11b":
friendly_name: hallway_garage_door
"0x00158d0006c4d08b":
friendly_name: patio_door
"0x00158d0009cc272d":
friendly_name: marcs_sink
"0x00158d0009ea1f53":
friendly_name: utility_room
"0x00158d0009f4256f":
friendly_name: pats_sink
"0x00158d0006c5c25b":
friendly_name: backyard_garage_door
"0x00158d0009cc2718":
friendly_name: noahs_sink
"0x00158d0009cc26e8":
friendly_name: kitchen_sink
"0xa4c1383cc076466e":
friendly_name: p1sb_chamber_thermo
temperature_precision: 2
"0xa4c1385eddb26d51":
friendly_name: pats_desk_thermo
"0xa4c138d33a6ae54c":
friendly_name: noahs_desk_thermo
"0xa4c1387c43a85055":
friendly_name: master_bath_thermo
"0xa4c13812c1f10be9":
friendly_name: utility_room_thermo
"0xa4c138e080dead8c":
friendly_name: pats_nightstand_thermo
"0xa4c138ab71c72532":
friendly_name: kitchen_thermo
"0x00158d000a97e144":
friendly_name: marc_office_window
"0x00158d000a982661":
friendly_name: vr_room_window
"0x00158d000a97e1db":
friendly_name: dining_room_window_left
"0x00158d000a97380e":
friendly_name: dining_room_window_right
"0x00158d000a97e188":
friendly_name: pat_office_window_left
"0x00158d000a98272a":
friendly_name: pat_office_window_right
"0x00158d000a982725":
friendly_name: master_bedroom_window_left
"0x00158d000a98263d":
friendly_name: master_bedroom_window_right
"0x00158d000aca54ed":
friendly_name: living_room_window_left
"0x00158d000aca5472":
friendly_name: living_room_window_right
"0x00158d000a97e158":
friendly_name: living_room_window_center
"0x00158d000a98271a":
friendly_name: noah_bedroom_window_right
"0x00158d000a9736b9":
friendly_name: noah_bedroom_window_left
"0x00158d000aca5364":
friendly_name: master_commode_door
"0x00158d000aca1ed7":
friendly_name: noah_bathroom_door
"0xa4c138419addc28f":
friendly_name: p1sa_chamber_thermo
version: 4
The GUI configuration in the add-on page looks like this:
Is there a way to increase log verbosity? What I see in the log never varies from what I showed above. Normal operation and failed operation look the same.
When I got the new dongle, I used the web tool to update the firmware to 7.4.4.0 build 0.