Add infra/ — full stack config as deployed on RPi 3B+

Captures everything needed to rebuild the stack from scratch:

infra/compose.yaml
- mosquitto (eclipse-mosquitto:latest)
- zigbee2mqtt (ghcr.io/pine64/zigbee2mqtt:latest-dev, BLZ fork)
- nodered (nodered/node-red:latest)

infra/mosquitto/config/mosquitto.conf
- anonymous listener on 1883, file logging, persistence on

infra/zigbee2mqtt/
- configuration.yaml: 5 paired devices with friendly names, 1 group
- coordinator_backup.json: zigbee network key + pan id (recovery)
- state.json: per-device persisted state (ON/OFF, linkquality)

infra/nodered/
- settings.js: nodered defaults (flowFile: flows.json, no auth)
- start.sh: patches Dashboard 2.0 SPA with <base href> at startup

Also:
- Updated z2m groups section to rename Laser & Fog -> DJ Booth
  (matches the friendly_name already in devices section)
- Pushed the same change to live /root/zigbee2mqtt/configuration.yaml
  and restarted the zigbee2mqtt container
- .gitignore: output/ (regenerated on every build, churns uuid ids)
- README.md: link to infra/README.md for rebuild procedure
This commit is contained in:
2026-06-30 23:19:37 -07:00
parent f95e8b8ecb
commit de260eec62
9 changed files with 886 additions and 4 deletions
+60
View File
@@ -0,0 +1,60 @@
{
"0xffffb40e0604fbd0": {
"state": "ON",
"power_on_behavior": "off",
"update": {
"state": "available",
"installed_version": 268513372,
"latest_version": 268513381,
"latest_source": "https://raw.githubusercontent.com/Koenkk/zigbee-OTA/master/images/ThirdReality/SmartPlug_Zigbee_PROD_OTA_V101_1.01.01.ota",
"latest_release_notes": null
},
"linkquality": 255
},
"0xffffb40e06065536": {
"battery": 83,
"update": {
"state": "available",
"installed_version": 35,
"latest_version": 47,
"latest_source": "https://raw.githubusercontent.com/Koenkk/zigbee-OTA/master/images/ThirdReality/Button_PROD_OTA_V47_v1.00.47.ota",
"latest_release_notes": null
}
},
"0xffffb40e0603c9e4": {
"state": "ON",
"power_on_behavior": "off",
"update": {
"state": "available",
"installed_version": 268513372,
"latest_version": 268513381,
"latest_source": "https://raw.githubusercontent.com/Koenkk/zigbee-OTA/master/images/ThirdReality/SmartPlug_Zigbee_PROD_OTA_V101_1.01.01.ota",
"latest_release_notes": null
},
"linkquality": 255
},
"0xffffb40e06050af6": {
"state": "ON",
"power_on_behavior": "off",
"update": {
"state": "available",
"installed_version": 268513372,
"latest_version": 268513381,
"latest_source": "https://raw.githubusercontent.com/Koenkk/zigbee-OTA/master/images/ThirdReality/SmartPlug_Zigbee_PROD_OTA_V101_1.01.01.ota",
"latest_release_notes": null
},
"linkquality": 140
},
"0xffffb40e0603ef11": {
"state": "OFF",
"power_on_behavior": "off",
"update": {
"state": "available",
"installed_version": 268513372,
"latest_version": 268513381,
"latest_source": "https://raw.githubusercontent.com/Koenkk/zigbee-OTA/master/images/ThirdReality/SmartPlug_Zigbee_PROD_OTA_V101_1.01.01.ota",
"latest_release_notes": null
},
"linkquality": 255
}
}