Provisioning
Flow in product: discover → claim → map external id → test connection → activate (and later suspend / decommission).

- Discovered devices appear under Connect / discovered.
- Claim into this factory only.
- Map to an existing registry device (or create one first). Units must match (kW is not kWh).
- Test connection writes a test reading with a
provision-test-*message id. - Activate when mapping and unit check pass.
Isolate/suspend stops ingest without deleting history.
Walk the screen
- Watch discovered devices under Connect. Claim into this factory only.
- Map the external id onto an existing registry device, or create that device first.
- Match units. A power sensor is not a cumulative energy type.
- Run the connection test and look for the provision-test message id on the same ingest path.
- Activate only after that check. Use isolate or suspend to stop ingest and keep history.
Worked example
A discovered meter is claimed into the demo factory and mapped to a kW device. The test reading uses a provision-test message id and appears on the same pipeline. You do not activate a mapping that would store kW as kWh.
Common mistakes
- Claiming a device into the wrong factory.
- Activating before the unit check.
- Deleting history because you only needed ingest to stop.
Recap
- Discover, claim, map, test, activate.
- Units must match.
- Suspend stops ingest and keeps history.
