Skip to main content

Pioreactor Laerke.eu Pressure Reading Plugin

This plugin adds a background job to Pioreactor that reads pressure from a connected Laerke.eu sensor (MS5837), publishes readings over MQTT, stores them in the Pioreactor database, and exposes pressure and pressure change rate charts in the UI.

Setup

After installation of the plugin the following needs to be added to the [ui.overview.charts] section in the shared config.ini file in order to see the charts in the overview section

laerke_eu_pressure_readings=1
laerke_eu_pressure_deltas=1

What This Plugin Does

  • Runs background job: laerke_eu_pressure_reading
  • Publishes pressure (mbar) and pressure change rate (mbar/s)
  • Stores readings in SQLite tables:
    • laerke_eu_pressure_readings
    • laerke_eu_pressure_deltas
  • Adds two Overview charts:
    • Pressure
    • Pressure Change Rate

How To Use

After installation, start the job from the Pioreactor UI

The job then continuously:

  • Takes a pressure reading every interval
  • Calculates pressure_delta from historical readings. The change rate is calculated from the difference between the current pressure reading and the reading 6 interval previous.
  • Publishes and records data for charts/export

Settings

The plugin exposes one user-settable setting:

  • interval (seconds): time between pressure reading cycles

Default value:

[laerke_eu_pressure_reading.config]
interval=10

Important limits:

  • Minimum allowed interval is 5 seconds
  • Values below 5 are rejected and logged
  • Invalid values at startup fall back to 5 seconds

Change Settings In UI

Open the running job in the Pioreactor UI and update Time between pressure readings (interval).

Change Settings In Config File

Edit the relevant Pioreactor config entry:

[laerke_eu_pressure_reading.config]
interval=10

Restart the job after changing config values.

Self-Test

The plugin registers a self-test for the pressure sensor. Run Pioreactor self-tests after installation to verify:

  • Sensor is detected
  • Sensor can be read
  • Pressure is in an expected range

Metadata

Release files for laerke-eu-pressure-reading-plugin 1.0.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for laerke-eu-pressure-reading-plugin 1.0.3
File Interpreter ABI Platform Actions
laerke_eu_pressure_reading_plugin-1.0.3-py3-none-any.whl Python 3 none any Details for laerke_eu_pressure_reading_plugin-1.0.3-py3-none-any.whl

Release files / laerke_eu_pressure_reading_plugin-1.0.3-py3-none-any.whl

Download URL laerke_eu_pressure_reading_plugin-1.0.3-py3-none-any.whl
Size 11.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1eb101f4c845c0a46cbdea5e7734f9fe477d00fb6f4a4a32a07529d936ef2ef5
BLAKE2b-256 checksum
How to use checksums
11925fa79dce5a29d21b875dc9d89514f2a545b810d9345648332e22416e04fb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.3

Security for laerke-eu-pressure-reading-plugin 1.0.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page