← 返回
开发者工具 Key 中文

Synology Surveillance

Steuere Synology Surveillance Station Kameras über die Web API. Nutze diesen Skill für Snapshots, Live-Streams, Aufnahmen, PTZ-Steuerung und Ereignis-Überwachung. Erfordert Synology NAS mit Surveillance Station.
通过 Web API 控制 Synology Surveillance Station 摄像头。用于快照、直播流、录像、云台控制及事件监控。需配合 Surveillance Station 使用 Synology NAS。
photonixlaser-ux
开发者工具 clawhub v0.1.0 1 版本 99635 Key: 需要
★ 0
Stars
📥 1,638
下载
💾 18
安装
1
版本
#latest

概述

Synology Surveillance Station Skill

Steuere deine Überwachungskameras über die Synology Surveillance Station API.

Voraussetzungen

  1. Synology NAS mit installierter Surveillance Station
  2. Benutzer mit Surveillance Station-Rechten
  3. 2FA deaktiviert für den API-Benutzer
  4. jq installiert (apt install jq)

Schnellstart

1. Konfiguration in TOOLS.md

Füge die Verbindungsdaten zu TOOLS.md hinzu:

### Synology Surveillance
- **Host:** 192.168.1.100 (deine NAS IP)
- **Port:** 5000 (HTTP) oder 5001 (HTTPS)
- **User:** surveillance_user
- **Pass:** dein_passwort
- **HTTPS:** false (true falls HTTPS aktiviert)

2. Login testen

./scripts/syno-surveillance.sh login

3. Kameras anzeigen

./scripts/syno-surveillance.sh cameras

Output:

ID: 1, Name: Eingang, Status: 1
ID: 2, Name: Garten, Status: 1
ID: 3, Name: Garage, Status: 0

4. Snapshot erstellen

./scripts/syno-surveillance.sh snapshot 1

Speichert: syno_snapshot_1_1738972800.jpg

5. Ereignisse anzeigen

# Letzte 10 Ereignisse
./scripts/syno-surveillance.sh events

# Letzte 50 Ereignisse
./scripts/syno-surveillance.sh events 50

Verfügbare Befehle

BefehlBeschreibung
----------------------
loginSession erstellen (wird automatisch bei anderen Befehlen ausgeführt)
logoutSession beenden
camerasAlle Kameras mit ID und Status auflisten
snapshot Snapshot einer Kamera erstellen
`record start\stop`Aufnahme starten/stoppen
events [limit]Ereignis-Log anzeigen
stream Live-Stream URL generieren
ptz PTZ-Kamera bewegen (left/right/up/down/zoomin/zoomout)
preset PTZ-Voreinstellung anfahren

Umgebungsvariablen

VariableStandardBeschreibung
----------------------------------
SYNOLOGY_HOST192.168.1.100NAS IP/Hostname
SYNOLOGY_PORT5000NAS Port
SYNOLOGY_USERadminUsername
SYNOLOGY_PASS(leer)Passwort
SYNOLOGY_HTTPSfalseHTTPS verwenden

Direkte API-Calls

Falls das Script nicht passt, direkt mit curl:

# Login
curl -c cookies.txt "http://192.168.1.100:5000/webapi/auth.cgi?api=SYNO.API.Auth&method=login&version=3&account=USER&passwd=PASS&session=SurveillanceStation&format=cookie"

# Snapshot
curl -b cookies.txt "http://192.168.1.100:5000/webapi/entry.cgi?api=SYNO.SurveillanceStation.Camera&method=GetSnapshot&version=1&cameraId=1" -o snapshot.jpg

API Details

Für komplexere Operationen: references/api.md

Home Assistant Integration

Für Home Assistant Nutzer: Der Skill kann auch für HA Automatisierungen genutzt werden:

shell_command:
  syno_snapshot: "/pfad/zu/syno-surveillance.sh snapshot {{ camera_id }}"

Troubleshooting

  • Login failed: Passwort prüfen, 2FA deaktivieren
  • Permission denied: Benutzer braucht Surveillance Station-Rechte
  • Camera not found: Kamera-ID prüfen mit cameras Befehl
  • Empty snapshot: Kamera offline oder keine Lizenz verfügbar

Lizenz-Hinweis

Surveillance Station benötigt pro Kamera eine Lizenz (2 kostenlose inklusive bei den meisten NAS-Modellen).

版本历史

共 1 个版本

  • v0.1.0 当前
    2026-03-28 22:59 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

productivity

Bambu Lab

photonixlaser-ux
通过MQTT控制Bambu Lab 3D打印机(A1、P1P、X1)。用于打印监控、状态查询、控制(暂停/停止)以及打印结束或错误通知。需要局域网模式和访问代码。
★ 1 📥 1,702
developer-tools

Github

steipete
使用 `gh` CLI 与 GitHub 交互,通过 `gh issue`、`gh pr`、`gh run` 和 `gh api` 管理议题、PR、CI 运行及高级查询。
★ 668 📥 323,903
developer-tools

CodeConductor.ai

larsonreever
AI驱动平台,提供快速全栈开发、智能体、工作流自动化及低代码AI集成的可扩展产品创建。
★ 66 📥 179,938