Skip to main content

Simulation plugin for Juham

Project description

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
  }

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

juham_simulation-0.1.3.tar.gz (11.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

juham_simulation-0.1.3-py3-none-any.whl (9.9 kB view details)

Uploaded Python 3

File details

Details for the file juham_simulation-0.1.3.tar.gz.

File metadata

  • Download URL: juham_simulation-0.1.3.tar.gz
  • Upload date:
  • Size: 11.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.12

File hashes

Hashes for juham_simulation-0.1.3.tar.gz
Algorithm Hash digest
SHA256 862abc89c9671d59cd547aae5a394ce2db6edf9f3ebe397ca8779aae3f6c556d
MD5 ce1ac01fe891793e73b569633ba50d55
BLAKE2b-256 ae9a35aaf1b8322a020753fccdeb5a00d3c4caf1643c6cc0db097aa026395dc9

See more details on using hashes here.

File details

Details for the file juham_simulation-0.1.3-py3-none-any.whl.

File metadata

File hashes

Hashes for juham_simulation-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 a2358f589e49b8300de2f6b21e8fa33f4e8f67053101657fcfd153ca747a2af0
MD5 393bc964c6076aa454ee1caa72b05961
BLAKE2b-256 bd256a026e9fa0325478765bf94b95d83a1a1a04cec206ced645c2c6faa192e3

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page