Add Zigbee temperature sensors from the web UI, discovered via zigbee2mqtt #13
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Follows #12 (occupants enable and disable room sensors).
Why
Adding a Zigbee temperature sensor now means editing
configs/config.yaml.bluband redeploying. zigbee2mqtt already publishes what each paired device measures, so blub can offer the temperature sensors it finds and let the occupants add one from the web UI.How
zigbee2mqtt/bridge/devices(base topic configurable). It lists every paired device with its IEEE address, friendly name, model, description andexposes.temperatureand is not a room sensor yet.Decisions
sensor_historynext to enable/disable, and are replayed at startup (see "State across restarts" in CLAUDE.md). The YAML config keeps the hardware sensors (the bathroom DS1820 withalways_enabled) and the MQTT connection. A sensor added in the UI can be removed in the UI; a configured sensor cannot.bridge/devices. Renaming a device in zigbee2mqtt then neither breaks the sensor nor splits its history. (Configured sensors keep their IDs, e.g.buros_sensor.)minaggregation ignores the weight). A new sensor shows Offline until its first report, which can take up to 30 minutes.Open questions
bridge/devices: keep the sensor, which goes Offline by its timeout.Checklist
bridge/devices; list devices exposing temperature that are not room sensorssensor_history(migration) and replay at startup, creating MQTT sensor adapters at runtime