Import UniFi Protect live views + optional auto-resync
views ls/dump/import copy a Protect live view (cameras + grid) into a layout; grid inferred from slot count (asymmetric presets TBD, see views dump). Imported layouts link back via protect_view. Daemon re-syncs the active linked view every view_refresh_seconds (0= off), so Protect-side edits appear on the wall. Needs the controller password at runtime; off by default keeps the wall credential-free. Shared viewmap package used by CLI and daemon. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -43,6 +43,7 @@ func main() {
|
||||
tuiCmd(),
|
||||
configCmd(),
|
||||
versionCmd(),
|
||||
viewsCmd(),
|
||||
)
|
||||
|
||||
if err := root.Execute(); err != nil {
|
||||
|
||||
Reference in New Issue
Block a user