Skip to content
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
@jspauley

Description

@jspauley

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

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions