homeos/app/Livewire/Modals
HomeOS Bootstrap 675d04e104 feat(addons): SMTP notification add-on with per-event toggles
Issue 4: an SMTP add-on for e-mail notifications.
- SmtpSetup modal: server (host/port/encryption/user/pass), from/to, and
  individual toggles for the events you want mailed — device offline, low
  battery, automation messages. "Send test e-mail" button. Config stored
  encrypted on the addon row; a runtime mailer is built from it (no .env edits).
- NotificationService: notify(event, …) sends only if SMTP is set up AND that
  event is enabled; send() for the test.
- Triggers: automation "notify" actions e-mail (when enabled);
  notifications:sweep (every 5 min) e-mails on NEW device-offline / low-battery
  with per-condition dedup + battery hysteresis, so it's one mail per event.

6 tests (gating, per-event toggle, config persist + password-keep, sweep dedup).
Suite 82 green, 12/12 tabs clean; card + modal browser-verified.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-18 10:33:23 +02:00
..
AddDevice.php feat(shelly): local HTTP/RPC transport — add by IP like Home Assistant 2026-07-18 09:48:35 +02:00
AssignDevice.php feat(shelly): local HTTP/RPC transport — add by IP like Home Assistant 2026-07-18 09:48:35 +02:00
Confirm.php Fix R15: Shelly prefix from mDNS instance, discovery broadcast once, targeted confirm 2026-07-18 00:34:56 +02:00
CreateAutomation.php feat(ui): standard modal shell — fixed header/footer, scrollable body, 2-col 2026-07-18 10:09:24 +02:00
CreateRoom.php feat(rooms): create + delete rooms (delete unassigns devices) 2026-07-18 10:12:49 +02:00
LightControl.php Tablet control panel: touch tiles, drag-reorder, light colour modal 2026-07-18 00:58:24 +02:00
ManagePerson.php feat(presence): who's-home overview, person edit/delete, avatars, faster away 2026-07-18 10:20:49 +02:00
RingSetup.php fix(addons): honest Ring setup guide instead of fake "connecting" 2026-07-18 10:26:27 +02:00
SmtpSetup.php feat(addons): SMTP notification add-on with per-event toggles 2026-07-18 10:33:23 +02:00
Warnings.php Fix R15: include room-less devices in home status 2026-07-17 21:58:35 +02:00