vitormhenrique / OctoPrint-Enclosure

OctoPrint Enclosure Plugin
GNU General Public License v3.0
397 stars 202 forks source link

Pi 4 DHT 22 Not working #494

Closed stonemandave closed 1 year ago

stonemandave commented 1 year ago

2022-10-28 15:58:37,936 - octoprint.plugins.enclosure - WARNING - An exception of type ValueError occurred on log_error. Arguments: ('not enough values to unpack (expected 2, got 1)',) Traceback (most recent call last): File "/home/slacks/oprint/lib/python3.7/site-packages/octoprint_enclosure/init.py", line 1153, in read_dht_temp temp, hum = stdout.decode("utf-8").split("|") ValueError: not enough values to unpack (expected 2, got 1)

This the log i got. The dht works i tested before and after. I don't need resister because mine is built in. I have it going to 5v.

schmidtflo commented 1 year ago

Had the exact same issue, pip3 install sysv-ipc fixed it for me

stonemandave commented 1 year ago

I forgot to mention I installed alot of different pips and it works now

stonemandave commented 1 year ago

Hopefully this helps some else