diff --git a/core/class/frigate.class.php b/core/class/frigate.class.php
index fcdade39..c1011ce1 100644
--- a/core/class/frigate.class.php
+++ b/core/class/frigate.class.php
@@ -510,7 +510,7 @@ private function buildActions(): string
return $html;
}
- private function buildIaToggleRow(string $startLogical, string $stopLogical, string $infoLogical, string $label): string
+ private function buildIaToggleRow(string $startLogical, string $stopLogical, string $infoLogical, string $label, string $title = ''): string
{
$on = $this->getCmd('action', $startLogical);
$off = $this->getCmd('action', $stopLogical);
@@ -523,18 +523,19 @@ private function buildIaToggleRow(string $startLogical, string $stopLogical, str
$cmdId = $isActive ? $off->getId() : $on->getId();
return '
'
- . '' . $label . ''
+ . '' . $label . ''
. ''
. '
';
}
private function buildIaActions(): string
{
- return $this->buildIaToggleRow('action_start_review_alerts', 'action_stop_review_alerts', 'info_review_alerts', '{{Review alerts}}')
- . $this->buildIaToggleRow('action_start_review_detections', 'action_stop_review_detections', 'info_review_detections', '{{Review detections}}')
- . $this->buildIaToggleRow('action_start_review_descriptions', 'action_stop_review_descriptions', 'info_review_descriptions', '{{Review descriptions}}')
- . $this->buildIaToggleRow('action_start_object_descriptions', 'action_stop_object_descriptions', 'info_object_descriptions', '{{Object descriptions}}')
- . $this->buildIaToggleRow('action_start_enabled', 'action_stop_enabled', 'info_enabled', '{{Activations}}');
+ return
+ $this->buildIaToggleRow('action_start_enabled', 'action_stop_enabled', 'info_enabled', '{{Activer la caméra}}', '{{Désactive temporairement la caméra jusqu\'au redémarrage de Frigate. La désactivation interrompt complètement le traitement des flux de la caméra par Frigate. La détection, l\'enregistrement et le débogage deviennent alors indisponibles.}}')
+ . $this->buildIaToggleRow('action_start_review_alerts', 'action_stop_review_alerts', 'info_review_alerts', '{{Activités : alertes}}', '{{Active ou désactive temporairement les alertes pour cette caméra jusqu\'au redémarrage de Frigate. Lorsque cette option est désactivée, aucune activité nouvelle n\'est générée.}}')
+ . $this->buildIaToggleRow('action_start_review_detections', 'action_stop_review_detections', 'info_review_detections', '{{Activités : détections}}', '{{Active ou désactive temporairement les alertes et les détections pour cette caméra jusqu\'au redémarrage de Frigate. Lorsque cette option est désactivée, aucune activité nouvelle n\'est générée.}}')
+ . $this->buildIaToggleRow('action_start_review_descriptions', 'action_stop_review_descriptions', 'info_review_descriptions', '{{Descriptions des activités}}', '{{Activez ou désactivez temporairement les descriptions d\'activités par IA générative jusqu\'au redémarrage. Si désactivé, l\'IA ne sera plus sollicitée pour décrire les activités sur cette caméra.}}')
+ . $this->buildIaToggleRow('action_start_object_descriptions', 'action_stop_object_descriptions', 'info_object_descriptions', '{{Descriptions d\'objets}}', '{{Activez ou désactivez temporairement les descriptions par IA générative jusqu\'au redémarrage. Si désactivé, l\'IA ne sera plus sollicitée pour décrire les objets suivis sur cette caméra.}}');
}
private function buildDetectNow(): string
{
diff --git a/core/template/dashboard/widgetCamera.html b/core/template/dashboard/widgetCamera.html
index 779c2a22..46bffe86 100644
--- a/core/template/dashboard/widgetCamera.html
+++ b/core/template/dashboard/widgetCamera.html
@@ -231,7 +231,7 @@
position: relative !important;
text-align: center;
background-color: rgb(var(--defaultBkg-color)) !important;
- z-index: 98;
+ z-index: 100;
margin-top: 0px;
}
@@ -299,7 +299,7 @@
.frigate_widget .btn-ptz-stop {
position: absolute;
text-align: center;
- z-index: 100;
+ z-index: 99;
}
.frigate_widget .btn-ptz-left {
@@ -357,7 +357,7 @@
.frigate_widget .btn-ptz-zoom-out {
position: absolute;
text-align: center;
- z-index: 100;
+ z-index: 89;
width: 20px;
height: 20px;
background-color: rgba(0, 0, 0, 0.5);
@@ -501,11 +501,11 @@
position: absolute;
inset: 0;
background-color: rgb(var(--defaultBkg-color));
- opacity: 0.9;
+ opacity: 0.95;
width: 435px !important;
height: 300px !important;
display: none;
- z-index: 20;
+ z-index: 90;
border-radius: inherit;
}
@@ -560,7 +560,7 @@
justify-content: center;
gap: 12px;
background-color: rgb(var(--defaultBkg-color));
- z-index: 5;
+ z-index: 80;
color: rgb(var(--defaultText-color));
}
diff --git a/core/template/dashboard/widgetPanel.html b/core/template/dashboard/widgetPanel.html
index b026c790..a9c0e496 100644
--- a/core/template/dashboard/widgetPanel.html
+++ b/core/template/dashboard/widgetPanel.html
@@ -108,8 +108,8 @@
function startImageFetchInterval() {
if (!intervalId) {
- intervalId = setInterval(refreshImage, #refresh#);
- console.log('Interval started for camera #id# with refresh rate: ' + #refresh# + ' ms');
+ intervalId = setInterval(refreshImage, #refresh#);
+ console.log('Interval started for camera #id# with refresh rate: ' + #refresh# + ' ms');
}
}
@@ -229,7 +229,7 @@
position: relative !important;
text-align: center;
background-color: rgb(var(--defaultBkg-color)) !important;
- z-index: 98;
+ z-index: 100;
margin-top: 0px;
}
@@ -297,7 +297,7 @@
.frigate_widget .btn-ptz-stop {
position: absolute;
text-align: center;
- z-index: 100;
+ z-index: 99;
}
.frigate_widget .btn-ptz-left {
@@ -355,7 +355,7 @@
.frigate_widget .btn-ptz-zoom-out {
position: absolute;
text-align: center;
- z-index: 100;
+ z-index: 89;
width: 20px;
height: 20px;
background-color: rgba(0, 0, 0, 0.5);
@@ -499,11 +499,11 @@
position: absolute;
inset: 0;
background-color: rgb(var(--defaultBkg-color));
- opacity: 0.9;
+ opacity: 0.95;
width: 435px !important;
height: 300px !important;
display: none;
- z-index: 20;
+ z-index: 90;
border-radius: inherit;
}
@@ -558,7 +558,7 @@
justify-content: center;
gap: 12px;
background-color: rgb(var(--defaultBkg-color));
- z-index: 5;
+ z-index: 80;
color: rgb(var(--defaultText-color));
}
diff --git a/plugin_info/info.json b/plugin_info/info.json
index 9baeb4c2..1267a5a1 100644
--- a/plugin_info/info.json
+++ b/plugin_info/info.json
@@ -1,7 +1,7 @@
{
"id": "frigate",
"name": "Frigate",
- "pluginVersion": "1.5.24",
+ "pluginVersion": "1.5.25",
"installation": "Il est nécessaire d'avoir le plugin mqtt-manager installé avec un broker MQTT sécurisé (user / mdp) pour profiter de toutes les fonctionnalités. Dans le cas contraire, le plugin Frigate sera limité. Voir la documentation pour plus d'informations.",
"description": {
"fr_FR": "Plugin Frigate pour Jeedom. Ne fonctionne qu'avec les versions de Frigate > 0.13.0. Le plugin n'installe pas le serveur Frigate mais permet de le controler.",