Skip to content

Add a recording check to device alert settings - #323

Merged
KilianBoute merged 1 commit into
mainfrom
feat/no-recording-alert
Nov 6, 2026
Merged

KilianBoute merged 1 commit into
mainfrom
feat/no-recording-alert

Conversation

@KilianBoute

Copy link
Copy Markdown
Member

Summary

Adds two fields to notificationSettings.devices:

  • recordingCheck (bool): alert when a selected camera that records continuously is online but has not uploaded a recording for recordingCheckHours, and again once it records. Cameras that only record on motion are not checked.
  • recordingCheckHours (int32): 1 to 72 hours. 0 means unset; the monitor uses 2.

The check reuses the device alert channels, cameras and groupNotifications. Generated properties are updated. The round-trip test covers BSON, JSON and documents without the fields.

Consumers

Tag after merge. Then:

  • hub-monitor-device (the check) pins this branch now, and the tag before it merges.
  • hub-api needs the tag so GET /notificationsettings returns the fields.
  • hub-frontend shows the setting.

🤖 Generated with Claude Code

notificationSettings.devices.recordingCheck alerts when a selected camera
that records continuously is online but has not uploaded a recording for
recordingCheckHours (1 to 72, 0 means 2), and again once it records. It
shares the device alert channels, cameras and grouping.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@codecov

codecov Bot commented Nov 6, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@KilianBoute
KilianBoute merged commit 70bb4b6 into main Nov 6, 2026
5 checks passed
@KilianBoute
KilianBoute deleted the feat/no-recording-alert branch November 6, 2026 14:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant