Zigbee2mqtt has stopped working

Hi everyone.

Originally, I was using the Xiaomi gateway as an interface between Xiaomi and Gladys to create scenes using the Xiaomi devices.

I moved 1/3 of my devices to Gladys using zigbee2mqtt, then, having no more time, I left the rest on the Xiaomi gateway.

One day, several weeks ago, the button on my coffee table stopped working. I thought it was a battery issue, but I couldn’t get it to work again even after changing the battery.

Having a bit of time this evening, I retested the battery and the problem wasn’t resolved… I look on the Gladys side and actually, I see that none of the devices moved to Gladys via zigbee2mqtt are sending any info to Gladys.

I tried disabling/enabling zigbee2mqtt, but in « Zigbee2mqtt Service Status », I have a green check between Gladys and Zigbee and a red cross between Zigbee and zigbee2mqtt…

And when I go to Gladys/settings/system, I see that the container /gladys-z2m-zigbee2mqtt\t was « created 23 days ago » and has the status « Restarting » (even though I restarted Gladys to try to solve the problem).
And when I try to access the zigbee2mqtt interface via pi_ip_address:8080, I get a « Error loading / Connection failed » message

Can someone help me?

Thanks in advance for any help

Which Zigbee2MQTT dongle are you using besides the Xiaomi gateway?
Is the container restarting in a loop?
Have you looked at the container logs?

I’m using an Everspring key that worked fine for the first few months.

Looping? No idea…
The container stays on « restarting », I just looked just now in Gladys settings, « /gladys-z2m-zigbee2mqtt\tone hour ago\tRestart »
Yesterday, when I posted my message, I had « /gladys-z2m-zigbee2mqtt\t23 days ago\tRestart »

How can I access the container logs?

Hi!
So that we can help you, you’ll need to check the Zigbee2mqtt logs.
To do this, you must connect to your Pi via SSH (or directly on it if a monitor, keyboard and mouse are connected).
Once connected, type the command docker logs gladys and copy-paste the result to us, then repeat with the command docker logs gladys-z2m-zigbee2mqtt

@GBoulvin I just edited your message because the problem is not related to gladys :wink:

1 Like

Argh…

I can’t log in via SSH using PuTTY… I don’t understand why…

What are the default username and password? (I’ve drawn a blank and even though I try pi/raspberry, it doesn’t work)

That’s right… Unless you changed it…
On QWERTY? You never know…

I don’t remember changing the password… And just in case, I’ve tried every password I might have set, I can’t connect via SSH…

Is there a way to reset the password locally? (with the microSD plugged into the PC, for example?)

Do you have the SD method or the single-user method?