You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 25, 2023. It is now read-only.
I was recently following the mqtt-all.py script and tutorials from the main Pimoroni repo, and found an issue you might be interested in. I've proposed a fix in the main repo here.
TL;DR: Using time.sleep(args.interval) inside the main loop with a PMS5003 sensor connected results in the sensor buffering it's readings. The longer the device is running, the more buffered the data gets, resulting in very delayed readings being sent over MQTT.
Thought you might be interested in this fix! Your tutorials and this particular script have been very helpful to me, so thank you!
The text was updated successfully, but these errors were encountered:
Hi! Hope you are well! 😄
I was recently following the
mqtt-all.py
script and tutorials from the main Pimoroni repo, and found an issue you might be interested in. I've proposed a fix in the main repo here.TL;DR: Using
time.sleep(args.interval)
inside the main loop with a PMS5003 sensor connected results in the sensor buffering it's readings. The longer the device is running, the more buffered the data gets, resulting in very delayed readings being sent over MQTT.Thought you might be interested in this fix! Your tutorials and this particular script have been very helpful to me, so thank you!
The text was updated successfully, but these errors were encountered: