docs(claude): note hw_family / hw_revision naming (schema decision D2)

Device docs now store hardware identity under the firmware's NVS names.
Future sessions need to know that, and that the firmware catalog keeps
hw_type as a variable name on purpose.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-08 21:03:43 +02:00
co-authored by Claude Opus 5.5
parent 2e3d7ba062
commit 9deff308b6
+3
View File
@@ -389,6 +389,9 @@ One wrongly typed field makes the apps **silently drop the whole device** from t
MQTT protocol, not Firestore.
- Key spelling is the apps': `bellguardSafetyOn`, `usesStaticIP`, `maintainancePeriod`.
- `device_id` and `serial_number` are always equal (decision D1); `serial_number` is canonical.
- Hardware identity is `hw_family` / `hw_revision` — the firmware's NVS names (decision D2).
`hw_family` is a code (`vesper_plus`), never a label (`"Bell Plus"`). The firmware *catalog*
(`/api/firmware/{hw_type}/…`, flash assets) keeps `hw_type` as its variable name — same values.
- Check live data with `node tools/audit.js <service-account.json>` in the schema repo.
---