This document defines the shared operational MQTT namespace under <site>/sys/....
It is used for adapter, worker, bridge, and infrastructure observability.
sys is not a semantic bus. It exists to expose component health, counters, errors, and rejected messages without polluting domain buses such as home or energy.
Canonical shape:
<site>/sys/<producer_kind>/<instance_id>/<stream>
Examples:
vad/sys/adapter/z2m-zg-204zv/availabilityvad/sys/adapter/z2m-zg-204zv/statsvad/sys/historian/main/errorvad/sys/historian/main/dlqRules:
<site> MUST be stable lowercase kebab-case<producer_kind> identifies the emitting software component, not a device capability<instance_id> MUST identify a stable logical instance of that componentsys MUST NOT be used for room, device, or capability telemetry<site>/home/... and <site>/energy/... MUST remain separate from sysCommon producer_kind values in v1:
adapterhistorianAdditional producer kinds MAY be introduced later, but they SHOULD follow the same operational topic model.
The sys namespace uses operational streams, not the semantic stream taxonomy from domain buses.
Supported v1 streams:
availabilitystatserrordlqavailabilityMeaning:
Typical payloads:
onlineofflinedegraded for components that expose a degraded modePolicy:
statsMeaning:
Typical payload shape:
{
"processed_inputs": 1824,
"translated_messages": 9241,
"errors": 2,
"dlq": 1
}
Policy:
errorMeaning:
Typical payload shape:
{
"code": "invalid_topic",
"reason": "Topic must start with zigbee2mqtt/ZG-204ZV",
"source_topic": "zigbee2mqtt/bad/topic",
"adapter_id": "z2m-zg-204zv"
}
Policy:
dlqMeaning:
Typical payload shape:
{
"code": "payload_not_object",
"source_topic": "zigbee2mqtt/ZG-204ZV/vad/balcon/south",
"payload": "offline"
}
Policy:
Operational availability and semantic availability are different signals.
Examples:
vad/sys/adapter/z2m-zg-204zv/availability means the adapter is runningvad/home/balcon/motion/south/availability means the canonical endpoint is available to consumersThese topics are complementary, not duplicates.
Rules:
sys/.../availability describes component health.../availability describes endpoint availability on a domain bussys topics as normal semantic measurements by defaultsyssys, not embedded into semantic payloadsstats to be snapshots and error/dlq to be transient diagnosticsmqtt_contract.mdaddapters.mdhistorian_worker.mdhome_bus.md, energy_bus.md