patinas-esp-device-sim
ESP v2 device simulator that emits heartbeats, hazards, and telemetry into the gateway gRPC stream.
Status
Preview simulation tool intended for mesh/core workflow validation and operator smoke testing.
Build
cargo build -p patinas-esp-device-sim
Run
cargo run -p patinas-esp-device-sim -- --help
Example:
cargo run -p patinas-esp-device-sim -- \
--device-id dev-a \
--site-id siteA \
--zone-id zoneA \
--gateway 127.0.0.1:55051 \
--metrics-listen 127.0.0.1:9101 \
--emit-hazard \
--emit-telemetry
Notes on behavior
- Sends heartbeat on connect.
- Can emit hazard observations (
--emit-hazard) and telemetry (--emit-telemetry) for gateway flow testing. - Intended for simulation and test harnesses, not production device runtime.
Notes
- Source lives in
apps/patinas-esp-device-sim/src. - Deployment/runtime context:
docs/engineering/MINE_SITE_ESP_V2_DEPLOYMENT.mddocs/engineering/EVIDENCE_REDACTION_AND_AUTHORITY_VAULT.md
- See
docs/REPOSITORY_MAP.mdfor full repository coverage.