Isage
October 12, 2023, 9:48am
1
Hello
Since 4.28: Sensor state expiration, I no longer see my OWON temperature and humidity sensor displayed in Gladys Plus [ OWON THS317-ET control via MQTT | Zigbee2MQTT ]
However, it shows up correctly in Z2MQTT
Do you have any idea what the problem might be?
Thanks
How can you tell in Zigbee2mqtt that the value you’re seeing is up to date? Do you see any variations?
Isage
October 12, 2023, 11:04am
3
There are variations (I put the sensor in the fridge…)
Ok good news! Have you tried the basics (like restarting Gladys / your server)?
Otherwise, we’ll need logs because it’s hard to know blindly here
Isage
October 12, 2023, 11:20am
5
I just did a sudo reboot of my Raspberry Pi 4: still the same problem
Isage
October 12, 2023, 11:54am
6
For the logs, I need someone to guide me
cce66
October 12, 2023, 12:19pm
7
I had the same issue but after a reinstall, I did a gladysplus restore and no values came through?
It works by redoing the association in gladys.
Did you do a reinstall?
docker logs gladys >& /tmp/gladys_logs.txt
docker logs gladys-z2m-zigbee2mqtt >& /tmp/gladys-z2m-zigbee2mqtt_logs.txt
And you can upload both files here (if < 3MB)
1 Like
And have you checked that the integration is working (Integrations > Zigbee2Mqtt > Configuration)?
1 Like
Isage
October 13, 2023, 6:55am
10
Yes, everything is OK on this side.
Isage
October 13, 2023, 7:14am
11
I entered these two commands, but I apparently don’t know the correct syntax
I don’t know how to upload the two files
The two commands that @cicoub13 gave you allow you to save the logs to files.
You can find these files in the /tmp directory
If you don’t know how to retrieve these files you can always open them with nano, for example
nano /tmp/gladys_logs.txt
Isage
October 13, 2023, 7:41am
14
ok, I was able to open them with nano
Now, how do I upload the two files?
cce66
October 13, 2023, 8:04am
15
Ah, maybe that happened at the same time then!
To upload, it’s the icon on the right with the upward-pointing arrow
Isage
October 13, 2023, 8:45am
16
Where did you capture this image?
cce66
October 13, 2023, 8:47am
17
when you reply in the message window
Isage
October 13, 2023, 12:20pm
18
ouvrir les fichier avec nano => ok
« write out » => ok
« wrote 3798 lines » => ok mais où sont ecrites ces lignes, et où est le fichier (/temp/gladys_logs.txt)?
Sorry, I’m new to this…
This file doesn’t exist because you asked to save the log in /tmp/gladys_logs.txt
And this file is located in the /tmp directory
If you don’t know how to retrieve this file you can always run the logs and copy directly what’s displayed in the terminal.
Try first with the command docker logs gladys
Isage
October 15, 2023, 8:18am
20
Thanks for your (votre) help.
There was a power outage at my place, and everything is working now. I had, however, rebooted my Raspberry Pi 4 (rpi P4)
![image|299x141](upload://27mqiTAKM
1 Like