This repository was archived by the owner on Jul 25, 2023. It is now read-only.
This repository was archived by the owner on Jul 25, 2023. It is now read-only.
Script Causes PMS Sensor Buffering #23
Open
Description
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!
Metadata
Metadata
Assignees
Labels
No labels