docs(report): add section 5.3 draft assets

This commit is contained in:
2026-04-13 19:30:00 +01:00
parent 41fd7bb085
commit bd61735579
12 changed files with 1652 additions and 0 deletions

View File

@@ -0,0 +1,42 @@
# 5.3.7 Motion Events Notifications and Audit Trail
## Motion Event Lifecycle
```mermaid
flowchart TD
Trigger[Manual trigger or browser motion detector]
Start[/POST /events/motion/start/]
Event[(events table)]
Links[(device_links)]
RT[Realtime motion:detected]
Push[Queued push notification]
End[/POST /events/:id/motion/end/]
Trigger --> Start
Start --> Event
Start --> Links
Links --> RT
Links --> Push
RT --> End
Push --> End
End --> Event
```
## Activity and Audit Flow
```mermaid
flowchart LR
Camera[Camera Device]
Event[(events)]
Notif[(notifications)]
Delivery[(notification_deliveries)]
Audit[(audit_logs)]
Client[Client Device]
Camera --> Event
Event --> Notif
Event --> Delivery
Event --> Audit
Notif --> Client
Delivery --> Client
```