Please help getting Zigbee2MQTT devices working after power outage

AS a newbie I was able to setup and automate a hydroponic grow system. I has controlled 29 mostly zigbee devices flawlessly for almost a year.
The power went out last night and now there is NO communication with devices. I have lost power before and rebooted numerouse times with no problems

Is it related to this critical error that appears occassionally at the UPDATES and Repairs alert page
" Unhealthy system - Setup failed:
System is currently unhealthy because setup failed to complete. There are a number of reasons this can occur, use the link to learn more and how to fix this.
at more info it mentions a DBUS message that I haven’t received
" The issue

This happens when any of the setup tasks fails to complete, this can be due to the host not being completely ready when the Supervisor starts or that DBUS is not properly working.

The solution

If the issue is related to DBUS, you will see an unsupported message about that as well; You can have a look here on how to resolve that.

If DBUS is not the problem, the first thing you should try is to restart the Supervisor.

This can also be done with the CLI, by running the following command:

I have rebooted but no change.
Ple

[15:14:50] INFO: Preparing to start...
[15:14:50] INFO: Socat not enabled
[15:14:52] ERROR: Got unexpected response from the API: Service not enabled
[15:14:52] INFO: Starting Zigbee2MQTT...
Zigbee2MQTT:info  2023-03-10 15:14:57: Logging to console and directory: '/config/zigbee2mqtt/log/2023-03-10.15-14-57' filename: log.txt
Zigbee2MQTT:info  2023-03-10 15:14:57: Starting Zigbee2MQTT version 1.30.2 (commit #unknown)
Zigbee2MQTT:info  2023-03-10 15:14:57: Starting zigbee-herdsman (0.14.96)
Zigbee2MQTT:info  2023-03-10 15:14:58: zigbee-herdsman started (resumed)
Zigbee2MQTT:info  2023-03-10 15:14:58: Coordinator firmware version: '{"meta":{"maintrel":1,"majorrel":2,"minorrel":7,"product":1,"revision":20220219,"transportrev":2},"type":"zStack3x0"}'
Zigbee2MQTT:info  2023-03-10 15:14:58: Currently 29 devices are joined:
Zigbee2MQTT:info  2023-03-10 15:14:58: Pump 1-f (0x00124b00226cb487): BASICZBR3 - SONOFF Zigbee smart switch (Router)
Zigbee2MQTT:info  2023-03-10 15:14:58: T-H  Flower (0x00124b00251ec44c): SNZB-02 - SONOFF Temperature and humidity sensor (EndDevice)
Zigbee2MQTT:info  2023-03-10 15:14:58: CO2-Meter (0xf4ce36de85abd142): Alab-CO2-1.0 - Alab [DiY CO2 Sensor](https://github.com/9zigen/) (Router)
Zigbee2MQTT:info  2023-03-10 15:14:58: pH (0xf4ce363b6f08b298): Alab-PhSensor-1.0 - Alab [DiY Wireless PH Sensor](https://github.com/9zigen/zigbee-ph-sensor) (EndDevice)
Zigbee2MQTT:info  2023-03-10 15:14:58: CO2 RELAY  (0x00124b00226c90e7): BASICZBR3 - SONOFF Zigbee smart switch (Router)
Zigbee2MQTT:info  2023-03-10 15:14:58: Main Pump and aeration (0x00124b0022631839): BASICZBR3 - SONOFF Zigbee smart switch (Router)
Zigbee2MQTT:info  2023-03-10 15:14:58: Humidifier Relay (0x00124b0022d2e9ee): SA-003-Zigbee - eWeLink Zigbee smart plug (Router)
Zigbee2MQTT:info  2023-03-10 15:14:58: Airconditioner (0x00124b0022d2f71a): SA-003-Zigbee - eWeLink Zigbee smart plug (Router)
Zigbee2MQTT:info  2023-03-10 15:14:58: Roof Fan (0x00124b0022d2f379): SA-003-Zigbee - eWeLink Zigbee smart plug (Router)
Zigbee2MQTT:info  2023-03-10 15:14:58: Flower Light relay N-2-a (0x00124b0022d2e791): SA-003-Zigbee - eWeLink Zigbee smart plug (Router)Zigbee2MQTT:info  2023-03-10 15:14:58: Flower Light relay N-1-a (0x00124b0022d2ef56): SA-003-Zigbee - eWeLink Zigbee smart plug (Router)
Zigbee2MQTT:info  2023-03-10 15:14:58: Flower Light relay S-3-w (0x00124b0022d2e2c2): SA-003-Zigbee - eWeLink Zigbee smart plug (Router)
Zigbee2MQTT:info  2023-03-10 15:14:58: Flower Light relay S-3-e (0x00124b0022d2e096): SA-003-Zigbee - eWeLink Zigbee smart plug (Router)
Zigbee2MQTT:info  2023-03-10 15:14:58: Flower Light relay S-1-w (0x00124b0022d2f374): SA-003-Zigbee - eWeLink Zigbee smart plug (Router)
Zigbee2MQTT:info  2023-03-10 15:14:58: vegetation Light control 8am to 2 am  (0x00124b0022d6905c): SA-003-Zigbee - eWeLink Zigbee smart plug (Router)
Zigbee2MQTT:info  2023-03-10 15:14:58: Flower Light relay S-1-e (0x00124b0022d2e2de): SA-003-Zigbee - eWeLink Zigbee smart plug (Router)
Zigbee2MQTT:info  2023-03-10 15:14:58: Flower Light relay S-2-w (0x00124b0022d2d005): SA-003-Zigbee - eWeLink Zigbee smart plug (Router)
Zigbee2MQTT:info  2023-03-10 15:14:58: Flower Light relay S-2-e (0x00124b0022d2ed81): SA-003-Zigbee - eWeLink Zigbee smart plug (Router)
Zigbee2MQTT:info  2023-03-10 15:14:58: T-H-cure  (0x00124b0025155bee): SNZB-02 - SONOFF Temperature and humidity sensor (EndDevice)
Zigbee2MQTT:info  2023-03-10 15:14:58: T-H Vent (0x00124b002515750c): SNZB-02 - SONOFF Temperature and humidity sensor (EndDevice)
Zigbee2MQTT:info  2023-03-10 15:14:58: T-H Veg (0x00124b0025155501): SNZB-02 - SONOFF Temperature and humidity sensor (EndDevice)
Zigbee2MQTT:info  2023-03-10 15:14:58: Loading dock door motion  (0x00124b00244507fb): SNZB-03 - SONOFF Motion sensor (EndDevice)
Zigbee2MQTT:info  2023-03-10 15:14:58: T-H FL 2 (0x00124b0025155f35): SNZB-02 - SONOFF Temperature and humidity sensor (EndDevice)
Zigbee2MQTT:info  2023-03-10 15:14:58: Loading dock Porch light (0x00124b0024bf40b7): ZBMINI-L - SONOFF Zigbee smart switch (no neutral) (EndDevice)
Zigbee2MQTT:info  2023-03-10 15:14:58: T-H F-3 CURE 2 (0x00124b0025152333): SNZB-02 - SONOFF Temperature and humidity sensor (EndDevice)Zigbee2MQTT:info  2023-03-10 15:14:58: T-H Bag 1 (0x00124b00251565e9): SNZB-02 - SONOFF Temperature and humidity sensor (EndDevice)
Zigbee2MQTT:info  2023-03-10 15:14:58: T-H Bag 2 (0x00124b002515202c): SNZB-02 - SONOFF Temperature and humidity sensor (EndDevice)
Zigbee2MQTT:info  2023-03-10 15:14:58: T-H Bag 3 (0x00124b00251568d9): SNZB-02 - SONOFF Temperature and humidity sensor (EndDevice)
Zigbee2MQTT:info  2023-03-10 15:14:58: T=H Bag 4 (0x00124b00251579b7): SNZB-02 - SONOFF Temperature and humidity sensor (EndDevice)
Zigbee2MQTT:warn  2023-03-10 15:14:58: `permit_join` set to  `true` in configuration.yaml.
Zigbee2MQTT:warn  2023-03-10 15:14:58: Allowing new devices to join.
Zigbee2MQTT:warn  2023-03-10 15:14:58: Set `permit_join` to `false` once you joined all devices.
Zigbee2MQTT:info  2023-03-10 15:14:58: Zigbee: allowing new devices to join.
Zigbee2MQTT:info  2023-03-10 15:14:58: Connecting to MQTT server at mqtt://core-mosquitto:1883
Zigbee2MQTT:error 2023-03-10 15:15:02: MQTT error: getaddrinfo ENOTFOUND core-mosquitto
Zigbee2MQTT:error 2023-03-10 15:15:02: MQTT failed to connect, exiting...
Zigbee2MQTT:info  2023-03-10 15:15:02: Stopping zigbee-herdsman...
Zigbee2MQTT:error 2023-03-10 15:15:03: MQTT error: getaddrinfo ENOTFOUND core-mosquitto
Zigbee2MQTT:error 2023-03-10 15:15:04: MQTT error: getaddrinfo ENOTFOUND core-mosquitto
Zigbee2MQTT:error 2023-03-10 15:15:05: MQTT error: getaddrinfo ENOTFOUND core-mosquitto
Zigbee2MQTT:error 2023-03-10 15:15:06: MQTT error: getaddrinfo ENOTFOUND core-mosquitto

According to that log Zigbee2MQTT ic complaining that it cannot conneto your MQTT service.

(and yes that would basically stop your zigbee communications cold, Z2M is talking but there’s nobody home on the other end.)

Did you run Mosquitto on that box for MQTT? Is it started?

1 Like

This looks similar to this other thread. You might want to have a look.

1 Like

Thanks,
I was looking at the wrong page . The " turn on at boot" was dis-abled for MQTT and i was looking at the Z@mqtt settings. Novice problem… sorry

Hi Matt, just bumped on your topic.
Good your problem got solved!

Please take the time to mark the answer as solution, you do that by selecting the three dots under the post:

image

Then select the check box:

image

This can be useful to other users as well.

Don’t forget too while you’re down there to click the heart to like the post, as a way of saying thank you.