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_lpmand cumulativetotal_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
-
Install
.. code-block:: bash
pip install juham-simulation
-
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
862abc89c9671d59cd547aae5a394ce2db6edf9f3ebe397ca8779aae3f6c556d
|
|
| MD5 |
ce1ac01fe891793e73b569633ba50d55
|
|
| BLAKE2b-256 |
ae9a35aaf1b8322a020753fccdeb5a00d3c4caf1643c6cc0db097aa026395dc9
|
File details
Details for the file juham_simulation-0.1.3-py3-none-any.whl.
File metadata
- Download URL: juham_simulation-0.1.3-py3-none-any.whl
- Upload date:
- Size: 9.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a2358f589e49b8300de2f6b21e8fa33f4e8f67053101657fcfd153ca747a2af0
|
|
| MD5 |
393bc964c6076aa454ee1caa72b05961
|
|
| BLAKE2b-256 |
bd256a026e9fa0325478765bf94b95d83a1a1a04cec206ced645c2c6faa192e3
|