Skip to main content
A real sensor feed is more than a clean signal: it drifts as the device ages, grows noisier as the battery drains, and occasionally fails. IoTSensorGenerator reproduces these artifacts so you can test monitoring and anomaly-detection pipelines against realistic device behavior.
The model A baseline signal is corrupted by calibration drift_rate, battery_degradation_rate, and intermittent or permanent faults set by failure_probability and failure_type. Leave them at zero for a healthy sensor, or turn them up to simulate a degrading or failing one.

1. Temperature sensor with gradual drift

Simulate a temperature sensor that gradually drifts over time due to calibration issues.

2. Humidity sensor with daily cycle

Generate 24 hours of humidity readings at 1-minute intervals with a daily seasonal pattern.

3. Pressure sensor with battery degradation

Simulate a pressure sensor where measurement quality degrades as battery life decreases.

4. Light sensor with intermittent failures

Simulate a light sensor that experiences random intermittent outages.

5. Temperature sensor network (multivariate)

Generate a network of 4 spatially correlated temperature sensors.

6. Motion sensor with complete failure

Simulate a motion sensor that may experience a complete failure, after which all readings are lost.

7. Multiple independent temperature sensors

Generate multiple independent sensors using the univariate mode.
Related generators
  • Anomalies — inject labelled outliers on top of any generator.
  • Missingness — dropout gaps from outages.
Full parameters are in the generator reference.