Closed webdeck closed 2 years ago
Hi @webdeck,
Are you using latest version of Enclosure plugin? If not could you update and let me know if that solved it. Assuming you are using latest version ... I tried a lot to reproduce this and was not able to reproduce it. :( So I will ask for some more information to see if we can figure out what is going on.
Could you enable logging of temperature by first enabling Enable debug info, then save and then enable Enable temperature debug info. It will look like this:
After that you will need to enable debug log like this:
Last 2 steps:
2021-07-20 23:06:20,080 - octoprint.plugins.enclosure - DEBUG - Sensor Input 1 Temperature: 39.5 humidity 39.5
2021-07-20 23:06:30,087 - octoprint.plugins.enclosure - DEBUG - Sensor Input 1 Temperature: 40.0 humidity 40.0
One more test, if you kill OctoPod app and open it again, does it consistently not show enclosure temp?
Thanks, Gaston
Thanks for the debugging tips. I was able to determine that the adafruit_dht.py script isn't working. It was working at one point, which is probably why the web page is showing temp and humidity values, but they are old. I'm not sure why it stopped working, but it sounds like a hardware issue. When I run a test program, I get this error:
RuntimeError: DHT sensor not found, check wiring
Yep, sounds like a hardware issue. Good that logs helped you find the root cause.
Good luck, Gaston
To close the loop on this - it was a hardware issue. I swapped out the DHT22 sensor and it is working agin. Thanks again.
I have the Enclosure plugin installed and the temperature and humidity values show in OctoPrint, but not in OctoPod.
OctoPrint:
OctoPod:
Linux octopi 5.10.17-v7+ #1421 SMP Thu May 27 13:59:01 BST 2021 armv7l OctoPi 0.18.0 OctoPrint 1.6.1 OctoPod plugin 0.3.2 OctoPod iOS App v3.11 build 2