diff --git a/custom_components/frigate/manifest.json b/custom_components/frigate/manifest.json new file mode 100644 index 0000000..cd85fac --- /dev/null +++ b/custom_components/frigate/manifest.json @@ -0,0 +1,20 @@ +{ + "domain": "frigate", + "name": "Frigate", + "codeowners": [ + "@blakeblackshear", + "@dermotduffy", + "@NickM-27" + ], + "config_flow": true, + "dependencies": [ + "http", + "media_source", + "mqtt" + ], + "documentation": "https://github.com/blakeblackshear/frigate", + "iot_class": "local_push", + "issue_tracker": "https://github.com/blakeblackshear/frigate-hass-integration/issues", + "requirements": ["hass-web-proxy-lib==0.0.8","titlecase==2.4.1"], + "version": "5.15.4" +} diff --git a/custom_components/frigate/services.yaml b/custom_components/frigate/services.yaml new file mode 100644 index 0000000..7f797bd --- /dev/null +++ b/custom_components/frigate/services.yaml @@ -0,0 +1,206 @@ +--- +export_recording: + name: Export recording + description: Export a custom recording or timelapse. + target: + entity: + integration: frigate + domain: camera + device_class: camera + fields: + playback_factor: + name: Playback Factor + description: Playback factor for recordings + required: true + advanced: false + example: realtime + default: realtime + selector: + select: + options: + - "realtime" + - "timelapse_25x" + start_time: + name: Export Start Time + description: Start time of exported recording + required: true + advanced: false + selector: + datetime: + end_time: + name: Export End Time + description: End time of exported recording + required: true + advanced: false + selector: + datetime: + name: + name: Name + description: > + Optional name for the exported recording. If not provided, the API will + generate one. + required: false + advanced: false + selector: + text: + +favorite_event: + name: Favorite or unfavorite Event + description: > + Favorites or unfavorites an event. Favorited events are retained + indefinitely. + target: + entity: + integration: frigate + domain: camera + device_class: camera + fields: + event_id: + name: Event ID + description: ID of the event to favorite or unfavorite. + required: true + advanced: false + example: "1656510950.19548-ihtjj7" + default: "" + selector: + text: + favorite: + name: Favorite + description: > + If the event should be favorited or unfavorited. Enable to favorite, + disable to unfavorite. + required: false + advanced: false + example: true + default: true + selector: + boolean: + +ptz: + name: Control camera via PTZ + description: > + Pan / Tilt, Zoom, or move a camera to a preset + target: + entity: + integration: frigate + domain: camera + device_class: camera + fields: + action: + name: PTZ Service + description: Type of PTZ action + required: true + advanced: false + example: move + default: move + selector: + select: + options: + - "move" + - "preset" + - "stop" + - "zoom" + argument: + name: PTZ Action + description: > + left, right, up, down for move; in, out for zoom; name of preset + required: false + advanced: false + example: down + default: "" + selector: + text: + +create_event: + name: Create an event + description: > + Create a manual event with a given label for a camera. + target: + entity: + integration: frigate + domain: camera + device_class: camera + fields: + label: + name: Label + description: Label for the event + required: true + advanced: false + example: "Doorbell press" + default: "" + selector: + text: + sub_label: + name: Sub Label + description: Sub label for the event + required: false + advanced: false + example: "Front door" + selector: + text: + duration: + name: Duration + description: > + Predetermined length of event. + Default is 30 seconds. Use 0 for indefinite. + required: false + advanced: false + example: 30 + default: 30 + selector: + number: + min: 0 + max: 300 + step: 1 + include_recording: + name: Include Recording + description: > + Whether the event should save recordings along + with the snapshot that is taken. + required: false + advanced: false + example: true + default: true + selector: + boolean: + +end_event: + name: End an event + description: > + End a manual event with a given id for a camera. + target: + entity: + integration: frigate + domain: camera + device_class: camera + fields: + event_id: + name: Event ID + description: ID of the event to end. + required: true + advanced: false + example: "1656510950.19548-ihtjj7" + default: "" + selector: + text: + +review_summarize: + name: Review Summarize + description: > + Get a summary of review items for a specified time period. + Only available in Frigate 0.17+. + fields: + start_time: + name: Start Time + description: Start time for the review period + required: true + advanced: false + selector: + datetime: + end_time: + name: End Time + description: End time for the review period + required: true + advanced: false + selector: + datetime: diff --git a/custom_components/frigate/translations/ca.json b/custom_components/frigate/translations/ca.json new file mode 100644 index 0000000..23eb5ca --- /dev/null +++ b/custom_components/frigate/translations/ca.json @@ -0,0 +1,34 @@ +{ + "config": { + "step": { + "user": { + "description": "L'URL que utilitzeu per accedir a Frigate (p. ex. 'http://frigate:5000/')\\n\\nSi feu servir HassOS amb el complement, l'URL hauria de ser 'http://ccab4aaf-frigate:5000/' \\n\\nHome Assistant necessita accedir al port 5000 (api) i 8554/8555 (rtsp, webrtc) per a totes les funcions.\\n\\nLa integració configurarà sensors, càmeres i la funcionalitat del navegador multimèdia.\\n\\nSensors:\\n- Estadístiques per supervisar el rendiment de Frigate\\n- Recompte d'objectes per a totes les zones i càmeres\\n\\nCàmeres:\\n- Càmeres per a la imatge de l'últim objecte detectat per a cada càmera\\n- Entitats de càmera amb suport de transmissió\\n\\nNavegador multimèdia:\\n - Interfície d'usuari enriquida amb miniatures per explorar clips d'esdeveniments\\n- Interfície d'usuari enriquida per navegar per enregistraments les 24 hores al dia, els set dies a la setmana, per mes, dia, càmera, hora\\n\\nAPI:\\n- API de notificació amb punts de connexió públics per a imatges a les notificacions.", + "data": { + "url": "URL" + } + } + }, + "error": { + "cannot_connect": "No s'ha pogut connectar", + "invalid_url": "URL no vàlid" + }, + "abort": { + "already_configured": "El dispositiu ja està configurat" + } + }, + "options": { + "step": { + "init": { + "data": { + "rtsp_url_template": "Plantilla de l'URL del RTSP (vegeu la documentació)", + "media_browser_enable": "Habiliteu el navegador multimèdia", + "notification_proxy_enable": "Habiliteu el servidor intermediari no autenticat d'esdeveniments de notificacions", + "notification_proxy_expire_after_seconds": "No permetre l'accés a notificacions no autenticades després dels segons especificats (0=mai)" + } + } + }, + "abort": { + "only_advanced_options": "El mode avançat està desactivat i només hi ha opcions avançades" + } + } +} \ No newline at end of file diff --git a/custom_components/frigate/translations/de.json b/custom_components/frigate/translations/de.json new file mode 100644 index 0000000..6559320 --- /dev/null +++ b/custom_components/frigate/translations/de.json @@ -0,0 +1,34 @@ +{ + "config": { + "step": { + "user": { + "description": "URL, die Sie für den Zugriff auf Frigate verwenden (z. B. \"http://frigate:5000/\")\n\nWenn Sie HassOS mit dem Addon verwenden, sollte die URL „http://ccab4aaf-frigate:5000/“ lauten\n\nHome Assistant benötigt für alle Funktionen Zugriff auf Port 5000 (api) und 8554/8555 (rtsp, webrtc).\n\nDie Integration richtet Sensoren, Kameras und Medienbrowser-Funktionen ein.\n\nSensoren:\n- Statistiken zur Überwachung der Frigate-Leistung\n- Objektzählungen für alle Zonen und Kameras\n\nKameras:\n- Kameras für Bild des zuletzt erkannten Objekts für jede Kamera\n- Kameraeinheiten mit Stream-Unterstützung\n\nMedienbrowser:\n- Umfangreiche Benutzeroberfläche mit Vorschaubildern zum Durchsuchen von Event-Clips\n- Umfangreiche Benutzeroberfläche zum Durchsuchen von 24/7-Aufzeichnungen nach Monat, Tag, Kamera und Uhrzeit\n\nAPI:\n- Benachrichtigungs-API mit öffentlich zugänglichen Endpunkten für Bilder in Benachrichtigungen", + "data": { + "url": "URL" + } + } + }, + "error": { + "cannot_connect": "Verbindung fehlgeschlagen", + "invalid_url": "Ungültige URL" + }, + "abort": { + "already_configured": "Gerät ist bereits konfiguriert" + } + }, + "options": { + "step": { + "init": { + "data": { + "rtsp_url_template": "RTSP-URL-Vorlage (siehe Dokumentation)", + "media_browser_enable": "Aktivieren Sie den Medienbrowser", + "notification_proxy_enable": "Aktivieren Sie den Proxy für nicht authentifizierte Benachrichtigungsereignisse", + "notification_proxy_expire_after_seconds": "Zugriff auf nicht authentifizierte Benachrichtigungen nach Sekunden verbieten (0=nie)" + } + } + }, + "abort": { + "only_advanced_options": "Der erweiterte Modus ist deaktiviert und es stehen nur erweiterte Optionen zur Verfügung" + } + } +} diff --git a/custom_components/frigate/translations/en.json b/custom_components/frigate/translations/en.json new file mode 100644 index 0000000..f17cd4b --- /dev/null +++ b/custom_components/frigate/translations/en.json @@ -0,0 +1,38 @@ +{ + "config": { + "step": { + "user": { + "description": "URL you use to access Frigate (ie. `http://frigate:5000/`)\n\nIf you are using HassOS with the addon, the URL should be `http://ccab4aaf-frigate:5000/`\n\nHome Assistant needs access to port 5000 (api) and 8554/8555 (rtsp, webrtc) for all features.\n\nThe integration will setup sensors, cameras, and media browser functionality.\n\nSensors:\n- Stats to monitor frigate performance\n- Object counts for all zones and cameras\n\nCameras:\n- Cameras for image of the last detected object for each camera\n- Camera entities with stream support\n\nMedia Browser:\n- Rich UI with thumbnails for browsing event clips\n- Rich UI for browsing 24/7 recordings by month, day, camera, time\n\nAPI:\n- Notification API with public facing endpoints for images in notifications", + "data": { + "url": "URL", + "validate_ssl": "Validate SSL", + "username": "Username (optional)", + "password": "Password (optional)" + } + } + }, + "error": { + "cannot_connect": "Failed to connect", + "invalid_url": "Invalid URL" + }, + "abort": { + "already_configured": "Device is already configured" + } + }, + "options": { + "step": { + "init": { + "data": { + "enable_webrtc": "Use Frigate-native WebRTC support", + "rtsp_url_template": "RTSP URL template (see documentation)", + "media_browser_enable": "Enable the media browser", + "notification_proxy_enable": "Enable the unauthenticated notification event proxy", + "notification_proxy_expire_after_seconds": "Disallow unauthenticated notification access after seconds (0=never)" + } + } + }, + "abort": { + "only_advanced_options": "Advanced mode is disabled and there are only advanced options" + } + } +} diff --git a/custom_components/frigate/translations/fr.json b/custom_components/frigate/translations/fr.json new file mode 100644 index 0000000..7970457 --- /dev/null +++ b/custom_components/frigate/translations/fr.json @@ -0,0 +1,38 @@ +{ + "config": { + "step": { + "user": { + "description": "URL que vous utilisez pour accéder à Frigate (par exemple, `http://frigate:5000/`)\n\nSi vous utilisez HassOS avec l'addon, l'URL devrait être `http://ccab4aaf-frigate:5000/`\n\nHome Assistant a besoin d'accès au port 5000 (api) et 8554/8555 (rtsp, webrtc) pour toutes les fonctionnalités.\n\nL'intégration configurera des capteurs, des caméras et la fonctionnalité de navigateur multimédia.\n\nCapteurs :\n- Statistiques pour surveiller la performance de Frigate\n- Comptes d'objets pour toutes les zones et caméras\n\nCaméras :\n- Caméras pour l'image du dernier objet détecté pour chaque caméra\n- Entités de caméra avec support de flux\n\nNavigateur multimédia :\n- Interface riche avec miniatures pour parcourir les clips d'événements\n- Interface riche pour parcourir les enregistrements 24/7 par mois, jour, caméra, heure\n\nAPI :\n- API de notification avec des points de terminaison publics pour les images dans les notifications", + "data": { + "url": "URL", + "validate_ssl": "Valider SSL", + "username": "Nom d'utilisateur (facultatif)", + "password": "Mot de passe (facultatif)" + } + } + }, + "error": { + "cannot_connect": "Échec de la connexion", + "invalid_url": "URL invalide" + }, + "abort": { + "already_configured": "L'appareil est déjà configuré" + } + }, + "options": { + "step": { + "init": { + "data": { + "enable_webrtc": "Utiliser le support WebRTC natif de Frigate", + "rtsp_url_template": "Modèle d'URL RTSP (voir la documentation)", + "media_browser_enable": "Activer le navigateur multimédia", + "notification_proxy_enable": "Activer le proxy d'événement de notification non authentifié", + "notification_proxy_expire_after_seconds": "Interdire l'accès à la notification non authentifiée après secondes (0=jamais)" + } + } + }, + "abort": { + "only_advanced_options": "Le mode avancé est désactivé et il n'y a que des options avancées" + } + } +} diff --git a/custom_components/frigate/translations/pt-BR.json b/custom_components/frigate/translations/pt-BR.json new file mode 100644 index 0000000..15460de --- /dev/null +++ b/custom_components/frigate/translations/pt-BR.json @@ -0,0 +1,34 @@ +{ + "config": { + "step": { + "user": { + "description": "URL que você usa para acessar o Frigate (ou seja, `http://frigate:5000/`)\n\nSe você estiver usando HassOS com o complemento, o URL deve ser `http://ccab4aaf-frigate:5000/`\n\nO Home Assistant precisa de acesso à porta 5000 (api) e 8554/8555 (rtsp, webrtc) para ter todos os recursos.\n\nA integração configurará sensores, câmeras e funcionalidades do navegador de mídia.\n\nSensores:\n- Estatísticas para monitorar o desempenho do frigate \n- Contagem de objetos para todas as zonas e câmeras\n\nCâmeras:\n- Câmeras para imagem do último objeto detectado para cada câmera\n- Entidades da câmera com suporte a stream\n\nNavegador de mídia:\n- UI avançada com miniaturas para navegar em clipes de eventos\n- UI avançada para navegar 24 horas por dia, 7 dias por semana e por mês, dia, câmera, hora\n\nAPI:\n- API de notificação com endpoints voltados para o público para imagens em notificações", + "data": { + "url": "URL" + } + } + }, + "error": { + "cannot_connect": "Falhou ao conectar", + "invalid_url": "URL inválida" + }, + "abort": { + "already_configured": "O dispositivo já está configurado" + } + }, + "options": { + "step": { + "init": { + "data": { + "rtsp_url_template": "Modelo de URL RTSP (consulte a documentação)", + "notification_proxy_enable": "Habilitar o proxy de evento de notificação não autenticado", + "notification_proxy_expire_after_seconds": "Proibir acesso de notificação não autenticado após segundos (0=nunca)", + "media_browser_enable": "Ative o navegador de mídia" + } + } + }, + "abort": { + "only_advanced_options": "O modo avançado está desativado e existem apenas opções avançadas" + } + } +} \ No newline at end of file diff --git a/custom_components/frigate/translations/pt.json b/custom_components/frigate/translations/pt.json new file mode 100644 index 0000000..13d0218 --- /dev/null +++ b/custom_components/frigate/translations/pt.json @@ -0,0 +1,31 @@ +{ + "config": { + "step": { + "user": { + "description": "URL que usa para aceder ao Frigate (ou seja, `http://frigate:5000/`)\n\nSe estiver usar HassOS com o complemento, o URL deve ser `http://ccab4aaf-frigate:5000/`\n\nO Home Assistant precisa de acesso à porta 5000 (api) e 8554/8555 (rtsp, webrtc) para ter todos os recursos.\n\nA integração configurará sensores, câmeras e funcionalidades do navegador de mídia.\n\nSensores:\n- Estatísticas para monitorar o desempenho do frigate \n- Contagem de objetos para todas as zonas e câmeras\n\nCâmeras:\n- Câmeras para imagem do último objeto detectado para cada câmera\n- Entidades da câmera com suporte a stream\n\nNavegador de mídia:\n- UI avançada com miniaturas para navegar em clipes de eventos\n- UI avançada para navegar 24 horas por dia, 7 dias por semana e por mês, dia, câmera, hora\n\nAPI:\n- API de notificação com endpoints voltados para o público para imagens em notificações", + "data": { + "url": "URL" + } + } + }, + "error": { + "cannot_connect": "Falhou a ligar", + "invalid_url": "Link inválido" + }, + "abort": { + "already_configured": "O dispositivo já está configurado" + } + }, + "options": { + "step": { + "init": { + "data": { + "notification_proxy_enable": "Activar o proxy de evento de notificação não autenticado" + } + } + }, + "abort": { + "only_advanced_options": "O modo avançado está desativado e existem apenas opções avançadas" + } + } +} diff --git a/custom_components/frigate/translations/ru.json b/custom_components/frigate/translations/ru.json new file mode 100644 index 0000000..2d6ec6c --- /dev/null +++ b/custom_components/frigate/translations/ru.json @@ -0,0 +1,34 @@ +{ + "config": { + "step": { + "user": { + "description": "URL, который вы используете для доступа к Frigate (например, http://frigate:5000/)\n\nЕсли вы используете HassOS с дополнением, URL должен быть http://ccab4aaf-frigate:5000/\n\nHome Assistant требуется доступ к порту 5000 (API) и 8554/8555 (RTSP, WEBRTC) для всех функций.\n\n Интеграция настроит сенсоры, камеры и функциональность медиа-браузера.\n\nСенсоры:\n- Статистика для отслеживания производительности Frigate\n- Количество объектов для всех зон и камер\n\nКамеры:\n- Камеры для снимка последнего обнаруженного объекта с каждой камеры\n- Камеры с поддержкой потока\n\nМедиа-браузер:\n- Пользовательский интерфейс с миниатюрами для просмотра записей 24/7 по времени и камерам\n\nAPI:\n- API для отправки событий во внешние системы", + "data": { + "url": "URL" + } + } + }, + "error": { + "cannot_connect": "Не удалось подключиться", + "invalid_url": "Неверный URL" + }, + "abort": { + "already_configured": "Устройство уже настроено" + } + }, + "options": { + "step": { + "init": { + "data": { + "rtsp_url_template": "Шаблон URL для RTSP (см. документацию)", + "media_browser_enable": "Включить медиа-браузер", + "notification_proxy_enable": "Включить незащищённый прокси-сервер уведомлений", + "notification_proxy_expire_after_seconds": "Запретить неаутентифицированный доступ к уведомлениям после N секунд (0=никогда)" + } + } + }, + "abort": { + "only_advanced_options": "Режим расширенных настроек отключен; доступны только основные параметры" + } + } +} \ No newline at end of file diff --git a/custom_components/frigate/translations/sv.json b/custom_components/frigate/translations/sv.json new file mode 100644 index 0000000..ea5f867 --- /dev/null +++ b/custom_components/frigate/translations/sv.json @@ -0,0 +1,38 @@ +{ + "config": { + "step": { + "user": { + "description": "URL du använder för att komma åt Frigate (t.ex. `http://frigate:5000/`)\n\nOm du använder HassOS med tillägget ska URL:en vara `http://ccab4aaf-frigate:5000/`\n\nHome Assistant behöver åtkomst till port 5000 (api) och 8554/8555 (rtsp, webrtc) för alla funktioner.\n\nIntegrationen kommer att konfigurera sensorer, kameror och medialäsarfunktioner.\n\nSensorer:\n- Statistik för att övervaka frigates prestanda\n- Objekträkning för alla zoner och kameror\n\nKameror:\n- Kameror för bild av det senast detekterade objektet för varje kamera\n- Kameraenheter med strömningsstöd\n\nMedialäsare:\n- Rikt användargränssnitt med miniatyrbilder för att bläddra bland händelseklipp\n- Rikt användargränssnitt för att bläddra bland inspelningar dygnet runt efter månad, dag, kamera, tid\n\nAPI:\n- Aviserings-API med offentliga slutpunkter för bilder i aviseringar", + "data": { + "url": "URL", + "validate_ssl": "Validera SSL", + "username": "Användarnamn (valfritt)", + "password": "Lösenord (valfritt)" + } + } + }, + "error": { + "cannot_connect": "Misslyckades med att ansluta", + "invalid_url": "Ogiltig URL" + }, + "abort": { + "already_configured": "Enheten är redan konfigurerad" + } + }, + "options": { + "step": { + "init": { + "data": { + "enable_webrtc": "Använd Frigate-nativt WebRTC-stöd", + "rtsp_url_template": "RTSP URL-mall (se dokumentation)", + "media_browser_enable": "Aktivera medieläsaren", + "notification_proxy_enable": "Aktivera proxy för oautentiserade aviseringshändelser", + "notification_proxy_expire_after_seconds": "Tillåt inte åtkomst till oautentiserade aviseringar efter sekunder (0=aldrig)" + } + } + }, + "abort": { + "only_advanced_options": "Avancerat läge är inaktiverat och det finns bara avancerade alternativ" + } + } +} diff --git a/custom_components/frigate/translations/tr.json b/custom_components/frigate/translations/tr.json new file mode 100644 index 0000000..1df96db --- /dev/null +++ b/custom_components/frigate/translations/tr.json @@ -0,0 +1,38 @@ +{ + "config": { + "step": { + "user": { + "description": "Frigate'e erişmek için kullandığınız URL (örneğin `http://frigate:5000/`)\n\nHassOS ile eklentiyi kullanıyorsanız, URL `http://ccab4aaf-frigate:5000/` olmalıdır\n\nHome Assistant'ın tüm özellikleri kullanabilmesi için 5000 (api) ve 8554/8555 (rtsp, webrtc) portlarına erişimi olmalıdır.\n\nEntegrasyon sensörler, kameralar ve medya tarayıcısı işlevselliğini kuracaktır.\n\nSensörler:\n- Frigate performansını izlemek için istatistikler\n- Tüm bölgeler ve kameralar için nesne sayıları\n\nKameralar:\n- Her kamera için son Algılanan nesnenin görüntüsünü gösteren kameralar\n- Yayın destekli kamera varlıkları\n\nMedya Tarayıcısı:\n- Olay kliplerini göz atmak için küçük resimli zengin arayüz\n- Ay, gün, kamera ve zamana göre 7/24 kayıtları göz atmak için zengin arayüz\n\nAPI:\n- Bildirimlerde görüntüler için herkese açık uçlara sahip bildirim API'si", + "data": { + "url": "URL", + "validate_ssl": "SSL Doğrula", + "username": "Kullanıcı Adı (isteğe bağlı)", + "password": "Şifre (isteğe bağlı)" + } + } + }, + "error": { + "cannot_connect": "Bağlantı kurulamadi", + "invalid_url": "Geçersiz URL" + }, + "abort": { + "already_configured": "Cihaz zaten yapılandırılmış" + } + }, + "options": { + "step": { + "init": { + "data": { + "enable_webrtc": "Frigate'in yerel WebRTC desteğini kullan", + "rtsp_url_template": "RTSP URL şablonu (dokümantasyona bakınız)", + "media_browser_enable": "Medya tarayıcısını etkinleştir", + "notification_proxy_enable": "Kimlik dogrulamasi gerektirmeyen bildirim olay proxy'sini etkinlestir", + "notification_proxy_expire_after_seconds": "Kimlik doğrulaması gerektirmeyen bildirim erişimini belirtilen saniye sonra devre dışı bırak (0=asla)" + } + } + }, + "abort": { + "only_advanced_options": "Gelişmiş mod devre dışı ve sadece gelişmiş seçenekler mevcut" + } + } +} diff --git a/custom_components/frigate/translations/zh-Hans.json b/custom_components/frigate/translations/zh-Hans.json new file mode 100644 index 0000000..3e9753a --- /dev/null +++ b/custom_components/frigate/translations/zh-Hans.json @@ -0,0 +1,38 @@ +{ + "config": { + "step": { + "user": { + "description": "您用于访问 Frigate 的 URL(例如:`http://frigate:5000/`)\n\n如果您正在使用带有插件的 HassOS,URL 应该是 `http://ccab4aaf-frigate:5000/`\n\nHome Assistant 需要访问端口 5000(API)和 8554/8555(RTSP,WebRTC)才能使用所有功能。\n\n该集成将设置传感器、摄像头和媒体浏览器功能。\n\n传感器:\n- 监控 Frigate 性能的统计数据\n- 所有区域和摄像头的对象计数\n\n摄像头:\n- 每个摄像头最后检测到的对象图像的摄像头\n- 支持流的摄像头实体\n\n媒体浏览器:\n- 带有缩略图的丰富用户界面,用于浏览事件剪辑\n- 丰富的用户界面,用于按月、日、摄像头、时间浏览全天候录像\n\nAPI:\n- 通知 API,具有用于通知中图像的公共接口", + "data": { + "url": "URL", + "validate_ssl": "验证 SSL", + "username": "用户名(可选)", + "password": "密码(可选)" + } + } + }, + "error": { + "cannot_connect": "连接失败", + "invalid_url": "无效的 URL" + }, + "abort": { + "already_configured": "设备已配置" + } + }, + "options": { + "step": { + "init": { + "data": { + "enable_webrtc": "使用 Frigate 原生 WebRTC 支持", + "rtsp_url_template": "RTSP URL 模板(参见文档)", + "media_browser_enable": "启用媒体浏览器", + "notification_proxy_enable": "启用未经身份验证的通知事件代理", + "notification_proxy_expire_after_seconds": "在指定秒数后禁止未经身份验证的通知访问(0=永不)" + } + } + }, + "abort": { + "only_advanced_options": "高级模式已禁用,且只有高级选项可用" + } + } +} diff --git a/zigbee2mqtt/state.json b/zigbee2mqtt/state.json index 27fdcc8..63da091 100644 --- a/zigbee2mqtt/state.json +++ b/zigbee2mqtt/state.json @@ -4,7 +4,7 @@ "state": "ON", "led_brightness": 100, "countdown_to_turn_off": 0, - "voltage": 120.7, + "voltage": 121.2, "countdown_to_turn_on": 0, "ac_frequency": 60, "power_factor": 0.14, @@ -27,7 +27,7 @@ "led_brightness": 100, "countdown_to_turn_off": 0, "countdown_to_turn_on": 0, - "power": 2.9, + "power": 2.6, "current": 0.12, "energy": 23.14, "power_factor": 0.15, @@ -74,12 +74,12 @@ "led_brightness": 100, "countdown_to_turn_off": 0, "countdown_to_turn_on": 0, - "voltage": 119.7, + "voltage": 119.2, "state": "ON", "ac_frequency": 60, - "energy": 86.48, - "power": 101.5, - "current": 0.94, + "energy": 86.49, + "power": 98.8, + "current": 0.95, "power_factor": 0.93, "update": { "state": "idle", @@ -98,10 +98,10 @@ "voltage": 120.4, "energy": 35.15, "state": "ON", - "power": 24.3, - "current": 0.31, + "power": 49.7, + "current": 0.39, "ac_frequency": 60, - "power_factor": 0.69, + "power_factor": 0.86, "update": { "state": "idle", "installed_version": 268513381, @@ -119,7 +119,7 @@ "energy": 5.56, "current": 0.01, "power": 0.1, - "power_factor": 0.22, + "power_factor": 0.11, "linkquality": 109, "update": { "state": "idle", @@ -187,12 +187,12 @@ "latest_source": "https://raw.githubusercontent.com/Koenkk/zigbee-OTA/master/images/ThirdReality/SmartPlug_Zigbee_PROD_OTA_V101_1.01.01.ota", "latest_release_notes": null }, - "power_factor": 0, - "power": 0.3 + "power_factor": 0.07, + "power": 0.2 }, "0xa4c1380d0679ffff": { "battery": 100, - "temperature": 27, + "temperature": 26.9, "temperature_units": "celsius", "temperature_calibration": 0, "update": {