Skip to main content

Simulation plugin for Juham™

Overview

This package provides simulation classes for water and power meters. It is designed for testing and development of IoT applications that use MQTT-based sensors. The simulations generate realistic, time-based data that can be published to a broker without requiring physical devices.

WaterMeterSim

Description: Simulates a water meter sensor.
Functionality:

  • Generates water consumption readings (active_liter_lpm and cumulative total_liter).
  • Publishes readings to a configurable MQTT topic at a specified interval.
  • Supports integration into threaded applications.

PowerMeterSim

Description: Simulates a power/energy meter sensor.
Functionality:

  • Generates active power readings for three phases and total consumption.
  • Publishes readings to a configurable MQTT topic at a specified interval.
  • Supports integration into threaded applications.

Installation

  1. Install

    .. code-block:: bash

    pip install juham-simulation

  2. Configure

To configure edit the *.json configuration files to match your network and desired reading frequency in seconds.

.. code-block:: json

  {
"update_interval": 60
  }

Metadata

Release files for juham-simulation 0.1.3

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

Source distribution (sdist)

Source distribution for juham-simulation 0.1.3
File Size Uploaded Provenance Actions
juham_simulation-0.1.3.tar.gz 11.1 kB Without provenance Details for juham_simulation-0.1.3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for juham-simulation 0.1.3
File Interpreter ABI Platform Actions
juham_simulation-0.1.3-py3-none-any.whl Python 3 none any Details for juham_simulation-0.1.3-py3-none-any.whl

Total release size: 21.0 kB

Release files / juham_simulation-0.1.3.tar.gz

Download URL juham_simulation-0.1.3.tar.gz
Size 11.1 kB
Tags Source
SHA-256 checksum
How to use checksums
862abc89c9671d59cd547aae5a394ce2db6edf9f3ebe397ca8779aae3f6c556d
BLAKE2b-256 checksum
How to use checksums
ae9a35aaf1b8322a020753fccdeb5a00d3c4caf1643c6cc0db097aa026395dc9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.12

Release files / juham_simulation-0.1.3-py3-none-any.whl

Download URL juham_simulation-0.1.3-py3-none-any.whl
Size 9.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a2358f589e49b8300de2f6b21e8fa33f4e8f67053101657fcfd153ca747a2af0
BLAKE2b-256 checksum
How to use checksums
bd256a026e9fa0325478765bf94b95d83a1a1a04cec206ced645c2c6faa192e3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.12

Security for juham-simulation 0.1.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