Skip to content

Releases: SculptTechProject/dummysensors

v0.3.2

06 Sep 20:38

Choose a tag to compare

v0.3.2 — Patch release 🛠️

Reissue of v0.3.1 with the correct version set in pyproject.toml. This was required for PyPI to accept the packages.
No code changes compared to 0.3.1.

Fixed / Packaging

  • Updated the version in pyproject.toml; rebuilt and published fresh artifacts (wheel + sdist).
  • Resolved the “File already exists” error encountered when uploading 0.3.1 to PyPI.

Includes from 0.3.1 (unchanged)

  • CLI generate: restored support for the --noise argument. It now maps internally to noise or noise_sigma (backward compatible).

  • Tests:

    • test_vibration_basic — bounds adjusted for the OU noise model.
    • test_per_sensor_rate_hz_controls_sampling_frequency — relaxed tolerance to reduce CI flakiness.
  • Changed: minor refactor of CLI sensor argument handling to be more resilient across sensor implementations.

Upgrade

pip install -U dummysensors==0.3.2

No breaking changes. If you were aiming for 0.3.1, use 0.3.2.

v0.3.1

06 Sep 19:47

Choose a tag to compare

v0.3.1 — Patch release 🛠️

Fixed

  • CLI generate command: restored support for --noise argument, now mapped internally to noise or noise_sigma (backward compatibility).

  • Tests stabilized:

    • test_vibration_basic bounds adjusted for OU noise model.
    • test_per_sensor_rate_hz_controls_sampling_frequency relaxed tolerance to reduce CI flakiness.

Changed

  • Minor refactor of CLI sensor argument handling for resilience across sensor implementations.

v0.3.0

06 Sep 18:26

Choose a tag to compare

v0.3.0 — Photovoltaic & Smart Sensors 🌞🔋⚡

Added

  • New sensors for energy/IoT domain:

    • IrradianceSensor – simulates day/night solar irradiance
    • PVPowerSensor – converts irradiance → PV power (with inverter efficiency & max power)
    • LoadSensor – household/plant consumption with day profile
    • BatterySoCSensor – state of charge integration, charging/discharging logic
  • Per-sensor rate_hz control (finer sampling per type)

  • Priority-based orchestration – ensures dependent sensors (e.g. irradiance → pv_power → soc) are evaluated in the correct order

Changed

  • Orchestrator refactored with smarter scheduling
  • Tests extended: PV day/night cycle, SoC charge/discharge, per-sensor sampling frequency

Fixed

  • Config validation for CSV writer (requires path)

v0.2.0

04 Sep 18:48

Choose a tag to compare

🚀 Features in v0.2.0

  • CSV writer
    Added support for writing sensor data to CSV format with headers and auto-flush.

  • partition_by option
    Stream outputs can now be partitioned by device or type for easier data management.

  • YAML configuration
    Added --config support for running simulations from a YAML file.
    Config autodiscovery looks for:

    • config.sensors.yaml
    • config.sensors.yml
    • dummysensors.yaml
    • dummysensors.yml

✅ Internal improvements

  • Added tests for CSV writer and config handling.
  • Improved flushing and fsync for reliability.
  • Project version bumped to 0.2.0.

Next up: anomaly injection, new sensor types (humidity, rpm, battery_voltage, gps).

v0.1.2

04 Sep 16:06

Choose a tag to compare

dummysensors v0.1.2

Patch release to fix publishing workflow.

Fixed

  • Added environment: pypi to publish.yml job, so GitHub Actions links correctly with PyPI Trusted Publishing.
  • Retry of PyPI release to activate Trusted Publisher.

No code changes since v0.1.1.

v0.1.1

04 Sep 16:00

Choose a tag to compare

dummysensors v0.1.1

Patch release to fix publishing configuration.

Changed

  • Added GitHub Actions environment pypi for Trusted Publishing.
  • Retry PyPI release workflow to activate Trusted Publisher.

No code changes since v0.1.0.

v0.1.0

04 Sep 15:37

Choose a tag to compare

dummysensors v0.1.0 🎉

First public release of dummysensors – a lightweight Python package for generating dummy IoT/ML sensor data.

Features

  • Python API:
    • TemperatureSensor – random temperature values with Gaussian noise
    • VibrationSensor – sinusoidal vibration signal with configurable frequency, amplitude, and noise
  • CLI:
    • dummy-sensors generate – generate a single temperature stream
    • dummy-sensors run – run multiple devices/sensors defined via --spec string
    • Output to JSONL files or stdout, with partitioning by sensor type
  • Simple --spec format to describe devices and sensors:

device=engine-A: temp1,vibration2; device=room-101: temp*2

  • Makefile/PowerShell tasks for quick demo (make demo)

Development

  • Project uses src/ layout
  • CI: GitHub Actions (tests + lint + build)
  • Trusted Publishing enabled for PyPI releases

This release is the foundation – more sensors, CSV output, YAML configs, anomaly injectors, and Kafka/Redis outputs are on the roadmap 🚀