homeos/app/Livewire
HomeOS Bootstrap a4edbbf801 Fix R15: provision a per-device MQTT credential when assigning a device
Assigning a Shelly now issues a real broker credential so the physical device can
connect (onboarding was incomplete before):
- MqttCredentialProvisioner writes a mosquitto-compatible PBKDF2-SHA512 ($7$)
  password line (in PHP) for username = the device's topic prefix, and touches a
  reload trigger. A small wrapper in the mosquitto container (docker/mosquitto/
  config/entrypoint.sh) SIGHUPs mosquitto so it re-reads the passwd live — no
  restart. Verified: a provisioned device authenticates and publishes to its own
  prefix (bound by the pattern %u ACL).
- The credential is shown once on the device page after assignment (enter it into
  the Shelly). passwd is app-owned + world-readable so the web request can write it.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-18 00:50:53 +02:00
..
Auth Phase 1: bootstrap — Docker stack, Laravel 13, design system, auth 2026-07-17 21:06:20 +02:00
Automations All sidebar tabs are real pages (zero console errors) 2026-07-18 00:16:16 +02:00
Devices Fix R15: provision a per-device MQTT credential when assigning a device 2026-07-18 00:50:53 +02:00
Discovery All sidebar tabs are real pages (zero console errors) 2026-07-18 00:16:16 +02:00
Modals Fix R15: provision a per-device MQTT credential when assigning a device 2026-07-18 00:50:53 +02:00
Persons All sidebar tabs are real pages (zero console errors) 2026-07-18 00:16:16 +02:00
Rooms Rooms pages: index (per-room status) + show (devices with live control) 2026-07-18 00:05:30 +02:00
Settings All sidebar tabs are real pages (zero console errors) 2026-07-18 00:16:16 +02:00
Access.php All sidebar tabs are real pages (zero console errors) 2026-07-18 00:16:16 +02:00
Dashboard.php Phase 3: MQTT ingest — Mosquitto bus, Shelly driver, live device state 2026-07-17 22:51:14 +02:00
Host.php Charts: Chart.js MQTT + host traffic on the Host page 2026-07-18 00:40:32 +02:00
Windows.php Fenster & Türen page: contact/motion sensor overview 2026-07-18 00:07:44 +02:00