question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

A full buffer was not returned. Try again.

See original GitHub issue

Hi, using Raspberry Pi Zero with DHT11 sensor and I am observing this issue: “A full buffer was not returned. Try again.” after running dht_simpletest.py. I edited values to match DHT11 and P4 (i use)

dhtDevice = adafruit_dht.DHT11(board.D4)

I tested the sensor using the old library and it works (90+ % succ read rate), but using the new library I can barely make one successful request. Also I tried to increase sleep period to 5 sec with no result.

How should I troubleshoot this?

Issue Analytics

  • State:open
  • Created 4 years ago
  • Comments:42 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
bloslooscommented, Feb 13, 2021

Same error here, continuously A full buffer was not returned. Try again. Will this be fixed in the future? However, 40% of readings at a rate of 1 per sec work with old library.

1reaction
grigalcommented, Feb 9, 2021

I’m getting the same errors A full buffer was not returned. Try again. and less frequently Checksum did not validate. while measuring every 60 seconds (with use_pulseio=False).

  • Raspberry Pi 3b Linux piberry 4.19.68-v7+ #1255
  • 3-pin DHT22 sensor
  • adafruit-circuitpython-dht==3.5.4
  • Running on a docker image, python 3.8.7

I used to use the old library, but as it was deprecated I decided to switch to this one. Hope this will be fixed, as I wouldn’t like to use the deprecated one.

Read more comments on GitHub >

github_iconTop Results From Across the Web

adafruit_dht "A full buffer was not returned"
I'm new to programming and electronics, but wired a new barn and it hasn't burned down...yet. Tried that code from link above. Code:...
Read more >
Plenty of reading errors in Python with Adafruit Library for ...
Try again. 2021/09/14 00:01:16 A full buffer was not returned. Try again.
Read more >
Anyone one here good with Python? (Daemonize)
RuntimeError: A full buffer was not returned. Try again. pi@pitemp:~ $ ./dataDHT.py Temp: 74.5 F / 23.6 C Humidity: 53.5%.
Read more >
Raspberry Pi Zero and AM2302 sensor reading error.
Try again. A full buffer was not returned. Try again. Temp: 68.4 F / 20.2 C Humidity: 52.4% A full buffer was not...
Read more >
Source code for adafruit_dht - CircuitPython
... not 81 bits raise RuntimeError("A full buffer was not returned. Try again.") buf = array.array("B") for byte_start in range(0, 80, 16): buf.append(self....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found