Back to skills
SKILL.md
GEO INFER IOT
ASecurityIoT sensor data ingestion and real-time streaming for geospatial monitoring. Use when connecting to MQTT brokers, processing sensor streams, validating spatial sensor data quality, or building real-time geospatial monitoring pipelines.
- 17 stars
- 0 votes
- 0 copies
- 1 view
- Added September 1, 2026
Works with
Security analysis
100/100Pro scans all 20 files and shows the line behind each finding
npx -y skills add ActiveInferenceInstitute/GEO-INFER --skill GEO-INFER-IOT --agent claude-codeAre you the author of GEO INFER IOT?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/activeinferenceinstitute-geo-infer-iot)---
name: geo-infer-iot
description: IoT sensor data ingestion and real-time streaming for geospatial monitoring. Use when connecting to MQTT brokers, processing sensor streams, validating spatial sensor data quality, or building real-time geospatial monitoring pipelines.
prerequisites:
required:
- geo-infer-data
- geo-infer-time
recommended:
- geo-infer-space
difficulty: intermediate
estimated_time: 45min
examples_dir: ../GEO-INFER-EXAMPLES/examples/
---
# GEO-INFER-IOT
## Instructions
### Core Capabilities
- **Ingestion**: `IoTDataIngestion` — dict/SensorMeasurement ingestion, H3 spatial indexing, MQTT (paho-mqtt thread bridge + aiomqtt async), Bayesian spatial inference via GEO-INFER-BAYES
- **Registry**: `SensorRegistry` — sensor/network registration (`SensorMetadata`, `SensorNetworkRecord`) with H3 spatial queries
- **Streaming**: `StreamingAPI` — FastAPI WebSocket `/ws/sensor-stream` with async broadcasts; `SensorAPI` — REST for sensors/measurements/networks
- **Quality control**: `QualityController` — range validation, temporal consistency, outlier detection (IsolationForest with real z-score fallback), spatial consistency
- **Bayesian inference**: `BayesianSpatialInference` (in `geo_infer_iot.core.inference`) — Gaussian-process spatial posteriors over an H3 grid
- **Radiation monitoring**: `RadiationMonitoringSystem` — end-to-end radiation ingestion, anomaly detection, and spatial inference
### Key Imports
```python
from geo_infer_iot import (
IoTDataIngestion,
SensorRegistry,
QualityController,
IoTSystem,
RadiationMonitoringSystem,
)
from geo_infer_iot.core.inference import BayesianSpatialInference
```
## Examples
```python
from geo_infer_iot import SensorRegistry, IoTDataIngestion
registry = SensorRegistry()
ingestion = IoTDataIngestion(registry, {"mqtt": {"host": "localhost", "port": 1883}})
measurement = {
"sensor_id": "temp_001",
"variable": "temperature",
"value": 21.5,
"unit": "celsius",
"latitude": 47.6062,
"longitude": -122.3321,
}
import asyncio
asyncio.run(ingestion.ingest_measurement(measurement))
print(ingestion.get_measurement_statistics())
```
```python
from geo_infer_iot import QualityController
checker = QualityController({
"variable_ranges": {"temperature": (-40.0, 60.0)},
"temporal_consistency": {"max_change_rate": 0.1},
})
result = checker.validate_measurement({
"sensor_id": "temp_001",
"variable": "temperature",
"value": 21.5,
"timestamp": "2026-01-01T00:00:00+00:00",
})
print(f"Passed: {result.passed}, score: {result.quality_score:.2f}, issues: {result.issues}")
```
## Guidelines
- MQTT handlers use real paho-mqtt (thread bridge) or aiomqtt (async); broker connection happens in `start_stream_processing` inside a running event loop
- geo_infer_space and geo_infer_bayes are required workspace dependencies — they import unconditionally and fail loudly on a broken install
- Quality-control config nests under documented keys (e.g. `temporal_consistency.max_change_rate`); a flat `max_change_rate` is a legacy fallback
- Test: `uv run python GEO-INFER-TEST/run_unified_tests.py --module IOT`
### Integrations
- **DATA** → Sensor data feeds into ETL pipelines
- **TIME** → Time-series analysis of sensor streams
- **SPACE** → Spatial indexing of sensor locations
- **OPS** → Monitoring sensor health and uptime (`PredictiveMaintenance`)
- **COMMS** → Alert broadcasting on sensor thresholds
Files in this skill
- AGENTS.md
- README.md
- SKILL.md
- config/AGENTS.md
- config/README.md
- config/example.yaml
- deployment/AGENTS.md
- deployment/Dockerfile
- deployment/README.md
- deployment/deploy.sh
- deployment/docker-compose.yml
- deployment/docker-entrypoint.sh
- docs/AGENTS.md
- docs/README.md
- docs/api_schema.yaml
- examples/AGENTS.md
- examples/README.md
- examples/radiation_surveillance.py
- examples/smart_sensor_network.py
- examples/soil_sensor_network.py
Attribution
Comments
Loading comments…
Newsletter
Get the weekly list of safe new skills, and the ones we pulled.