Zigbbe2mqtt dashboard no longer communicates with zigbbe devices, nor with the dashboard

You need to use sudo, otherwise you won’t be able to modify it.

I did it but it’s the same :unamused:

Which level of the directory tree are you at when you run sudo nano configuration.yaml? You need to be in the folder /home/pi/var/lib/gladysassistant/zigbee2mqtt/z2m/

Or else sudo nano /home/pi/var/lib/gladysassistant/zigbee2mqtt/z2m/configuration.yaml

PS: I don’t know if sudo is necessary on RPi

It’s the frontend port that needs to be modified

If you know the port, replace 8080 with the port in question and it will work.

Then change it back in the interface to return to 8080.

I’m not really sure why, but editing the configuration.yaml file puts the container into a broken state every time I’ve tested (to copy all my devices without changing the names)

[

You need to be in the directory mentioned above.

Try my command to see whether it still wants to create a file for you or if it edits it.

Can you run an ls -l in the directory /home/pi/var/lib/gladysassistant/zigbee2mqtt/z2m/?

Do you know Linux, or would you prefer that I detail the commands?

1 Like

Just in case, while waiting for your answer @Psoy :

You are in your home directory, that is pi

You type:
cd var/lib/gladysassistant/zigbee2mqtt/z2m/
There you can check, just to be sure, which files are in the directory with the command:

ls

You should see the configuration.yaml file appear

Then you can run:

sudo nano configuration.yaml which will allow you to edit your file to modify the port.

Once modified, press CTRL+O and then Enter to save.

You can

Ahh so the Gladys folder is not in the user folder. Thanks for the info

Thanks, I managed to open the file, I changed the port, but I’m not sure how to save; do you have to press ^O which corresponds to Write out? I was looking for a save.

@Psoy @guim31 has put it here for you: la.commande

1 Like

Thanks @guim31
I didn’t see your reply, thanks

2 Likes

Okay, there we go, it’s up and running again, after a restart of Zigbbe2mqtt
THANKS to everyone, for your help. :clap: :grinning:
As Jean Lefvere said in The 7th Company, « Don’t touch that, you little idiot »

3 Likes

@Psoy You should mark the topic that helped you as solved because it’s the post that will be displayed directly in your first message and so it prevents a user from having to reread the entire discussion thread.

There, it’s done. Thanks again for your help,

1 Like