Image n'apparaît pas dans les notifications

Bonjour,

Je suis en train d’installer le plugin jeedom connect sur le jeedom de mes parents pour qu’il leur remonte les notifications issues de leur NVR (frigate).

J’ai suivi ce qui a été expliqué dans ce sujet pour la mise en place :

Ca fonctionne à merveille chez moi, cependant, sur le second (de mes parents), j’ai bien les notifications mais pas les images. J’ai un carré noir à l’emplacement de la photo. La photo est bien rapatriée depuis le NVR jusque jeedom mais pas envoyée par le plugin.
Je n’ai, me semble-t-il pas d’erreur dans les logs du scénario.

J’ai trouvé le post suivant mais cela n’a pas résolu mon souci.

Au niveau des versions, je suis sur la dernière jeedom stable en date et idem pour le plugin.

Merci d’avance pour votre aide.

Tu pourrais quand même mettre les logs du scénario ?

Pour jeedomconnect, cette remarque n’est pas suffisante. Il manque le descriptif de ta configuration généré par le plugin ou l’app. Sans tu n’auras pas d’aide des développeurs pour la partie jeedomconnect.

Antoine

Bonjour,
Merci pour vos premiers retours. Le log du scénario est le suivant :

------------------------------------
[2024-02-27 18:12:40][SCENARIO] Start : Scenario execute automatiquement sur evenement venant de : [Maison][events][events] ({"before": {"id": "1709053934.081414-e4myz0", "camera": "garage", "frame_time": 1709053934.081414, "snapshot": null, "label": "person", "sub_label": null, "top_score": 0.0, "false_positive": true, "start_time": 1709053934.081414, "end_time": null, "score": 0.640625, "box": [0, 5, 202, 253], "area": 50096, "ratio": 0.8145161290322581, "region": [0, 0, 320, 320], "stationary": false, "motionless_count": 0, "position_changes": 0, "current_zones": [], "entered_zones": [], "has_clip": false, "has_snapshot": false, "attributes": {}, "current_attributes": []}, "after": {"id": "1709053934.081414-e4myz0", "camera": "garage", "frame_time": 1709053958.751112, "snapshot": {"frame_time": 1709053958.751112, "box": [18, 112, 297, 378], "area": 74214, "region": [0, 0, 644, 644], "score": 0.796875, "attributes": []}, "label": "person", "sub_label": null, "top_score": 0.734375, "false_positive": false, "start_time": 1709053934.081414, "end_time": null, "score": 0.796875, "box": [18, 112, 297, 378], "area": 74214, "ratio": 1.0488721804511278, "region": [0, 0, 644, 644], "stationary": false, "motionless_count": 4, "position_changes": 2, "current_zones": [], "entered_zones": [], "has_clip": true, "has_snapshot": true, "attributes": {}, "current_attributes": []}, "type": "new"}).
[2024-02-27 18:12:40][SCENARIO] - Exécution du sous-élément de type [action] : action
[2024-02-27 18:12:40][SCENARIO] Exécution d'un bloc élément : 2
[2024-02-27 18:12:40][SCENARIO] - Exécution du sous-élément de type [action] : code
[2024-02-27 18:12:40][SCENARIO] Exécution d'un bloc code 
[2024-02-27 18:12:40][SCENARIO] ┌──────────── Logs bloc code - version du 
[2024-02-27 18:12:40][SCENARIO] | Evenement : 1709053934.081414-e4myz0
[2024-02-27 18:12:40][SCENARIO] | Lieu      : garage
[2024-02-27 18:12:40][SCENARIO] | Date      : 27/02 18:12:39
[2024-02-27 18:12:40][SCENARIO] | Label     : person (73%) - Type : new
[2024-02-27 18:12:40][SCENARIO] | Fichier recupéré et redimensionné : /var/www/html/data/events/1709053934.081414-e4myz0.png
[2024-02-27 18:12:41][SCENARIO] | Envoi de la notification avec le fichier /var/www/html/data/events/1709053934.081414-e4myz0.png
[2024-02-27 18:12:41][SCENARIO] └───────────────────────────
[2024-02-27 18:12:41][SCENARIO] Fin correcte du scénario
------------------------------------
[2024-02-27 18:12:53][SCENARIO] Start : Scenario execute automatiquement sur evenement venant de : [Maison][events][events] ({"before": {"id": "1709053934.081414-e4myz0", "camera": "garage", "frame_time": 1709053958.751112, "snapshot": {"frame_time": 1709053958.751112, "box": [18, 112, 297, 378], "area": 74214, "region": [0, 0, 644, 644], "score": 0.796875, "attributes": []}, "label": "person", "sub_label": null, "top_score": 0.734375, "false_positive": false, "start_time": 1709053934.081414, "end_time": null, "score": 0.796875, "box": [18, 112, 297, 378], "area": 74214, "ratio": 1.0488721804511278, "region": [0, 0, 644, 644], "stationary": false, "motionless_count": 4, "position_changes": 2, "current_zones": [], "entered_zones": [], "has_clip": true, "has_snapshot": true, "attributes": {}, "current_attributes": []}, "after": {"id": "1709053934.081414-e4myz0", "camera": "garage", "frame_time": 1709053966.548473, "snapshot": {"frame_time": 1709053958.751112, "box": [18, 112, 297, 378], "area": 74214, "region": [0, 0, 644, 644], "score": 0.796875, "attributes": []}, "label": "person", "sub_label": null, "top_score": 0.8125, "false_positive": false, "start_time": 1709053934.081414, "end_time": 1709053972.116503, "score": 0.57421875, "box": [3, 24, 168, 259], "area": 38775, "ratio": 0.7021276595744681, "region": [0, 0, 320, 320], "stationary": false, "motionless_count": 2, "position_changes": 2, "current_zones": [], "entered_zones": [], "has_clip": true, "has_snapshot": true, "attributes": {}, "current_attributes": []}, "type": "end"}).
[2024-02-27 18:12:53][SCENARIO] - Exécution du sous-élément de type [action] : action
[2024-02-27 18:12:53][SCENARIO] Exécution d'un bloc élément : 2
[2024-02-27 18:12:53][SCENARIO] - Exécution du sous-élément de type [action] : code
[2024-02-27 18:12:53][SCENARIO] Exécution d'un bloc code 
[2024-02-27 18:12:53][SCENARIO] ┌──────────── Logs bloc code - version du 
[2024-02-27 18:12:53][SCENARIO] | Evenement : 1709053934.081414-e4myz0
[2024-02-27 18:12:53][SCENARIO] | Lieu      : garage
[2024-02-27 18:12:53][SCENARIO] | Date      : 27/02 18:12:47
[2024-02-27 18:12:53][SCENARIO] | Label     : person (81%) - Type : end
[2024-02-27 18:12:53][SCENARIO] | Fichier recupéré et redimensionné : /var/www/html/data/events/1709053934.081414-e4myz0.png
[2024-02-27 18:12:53][SCENARIO] | Envoi de la notification avec le fichier /var/www/html/data/events/1709053934.081414-e4myz0.png
[2024-02-27 18:12:53][SCENARIO] └───────────────────────────
[2024-02-27 18:12:53][SCENARIO] Fin correcte du scénario
------------------------------------
[2024-02-27 18:23:10][SCENARIO] Start : Scenario lance manuellement.
[2024-02-27 18:23:10][SCENARIO] - Exécution du sous-élément de type [action] : action
[2024-02-27 18:23:10][SCENARIO] Exécution d'un bloc élément : 2
[2024-02-27 18:23:10][SCENARIO] - Exécution du sous-élément de type [action] : code
[2024-02-27 18:23:10][SCENARIO] Exécution d'un bloc code 
[2024-02-27 18:23:10][SCENARIO] ┌──────────── Logs bloc code - version du 
[2024-02-27 18:23:10][SCENARIO] | Evenement : 1709053934.081414-e4myz0
[2024-02-27 18:23:10][SCENARIO] | Lieu      : garage
[2024-02-27 18:23:10][SCENARIO] | Date      : 27/02 18:12:47
[2024-02-27 18:23:10][SCENARIO] | Label     : person (81%) - Type : end
[2024-02-27 18:23:10][SCENARIO] | Fichier recupéré et redimensionné : /var/www/html/data/events/1709053934.081414-e4myz0.png
[2024-02-27 18:23:11][SCENARIO] | Envoi de la notification avec le fichier /var/www/html/data/events/1709053934.081414-e4myz0.png
[2024-02-27 18:23:11][SCENARIO] └───────────────────────────
[2024-02-27 18:23:11][SCENARIO] Fin correcte du scénario
------------------------------------
[2024-02-27 18:37:11][SCENARIO] Start : Scenario execute automatiquement sur evenement venant de : [Maison][events][events] ({"before": {"id": "1709055428.066962-ghm1t5", "camera": "garage", "frame_time": 1709055428.066962, "snapshot": null, "label": "person", "sub_label": null, "top_score": 0.0, "false_positive": true, "start_time": 1709055428.066962, "end_time": null, "score": 0.8046875, "box": [0, 33, 224, 309], "area": 61824, "ratio": 0.8115942028985508, "region": [0, 0, 556, 556], "stationary": false, "motionless_count": 0, "position_changes": 0, "current_zones": [], "entered_zones": [], "has_clip": false, "has_snapshot": false, "attributes": {}, "current_attributes": []}, "after": {"id": "1709055428.066962-ghm1t5", "camera": "garage", "frame_time": 1709055428.470625, "snapshot": {"frame_time": 1709055428.470625, "box": [1, 44, 225, 299], "area": 57120, "region": [0, 0, 340, 340], "score": 0.76171875, "attributes": []}, "label": "person", "sub_label": null, "top_score": 0.72265625, "false_positive": false, "start_time": 1709055428.066962, "end_time": null, "score": 0.76171875, "box": [1, 44, 225, 299], "area": 57120, "ratio": 0.8784313725490196, "region": [0, 0, 340, 340], "stationary": false, "motionless_count": 0, "position_changes": 1, "current_zones": [], "entered_zones": [], "has_clip": true, "has_snapshot": true, "attributes": {}, "current_attributes": []}, "type": "new"}).
[2024-02-27 18:37:11][SCENARIO] - Exécution du sous-élément de type [action] : action
[2024-02-27 18:37:11][SCENARIO] Exécution d'un bloc élément : 2
[2024-02-27 18:37:11][SCENARIO] - Exécution du sous-élément de type [action] : code
[2024-02-27 18:37:11][SCENARIO] Exécution d'un bloc code 
[2024-02-27 18:37:11][SCENARIO] ┌──────────── Logs bloc code - version du 
[2024-02-27 18:37:11][SCENARIO] | Evenement : 1709055428.066962-ghm1t5
[2024-02-27 18:37:11][SCENARIO] | Lieu      : garage
[2024-02-27 18:37:11][SCENARIO] | Date      : 27/02 18:37:08
[2024-02-27 18:37:11][SCENARIO] | Label     : person (72%) - Type : new
[2024-02-27 18:37:11][SCENARIO] | Fichier recupéré et redimensionné : /var/www/html/data/events/1709055428.066962-ghm1t5.png
[2024-02-27 18:37:11][SCENARIO] | Envoi de la notification avec le fichier /var/www/html/data/events/1709055428.066962-ghm1t5.png
[2024-02-27 18:37:11][SCENARIO] └───────────────────────────
[2024-02-27 18:37:11][SCENARIO] Fin correcte du scénario
------------------------------------
[2024-02-27 18:37:15][SCENARIO] Start : Scenario execute automatiquement sur evenement venant de : [Maison][events][events] ({"before": {"id": "1709055428.066962-ghm1t5", "camera": "garage", "frame_time": 1709055428.470625, "snapshot": {"frame_time": 1709055428.470625, "box": [1, 44, 225, 299], "area": 57120, "region": [0, 0, 340, 340], "score": 0.76171875, "attributes": []}, "label": "person", "sub_label": null, "top_score": 0.72265625, "false_positive": false, "start_time": 1709055428.066962, "end_time": null, "score": 0.76171875, "box": [1, 44, 225, 299], "area": 57120, "ratio": 0.8784313725490196, "region": [0, 0, 340, 340], "stationary": false, "motionless_count": 0, "position_changes": 1, "current_zones": [], "entered_zones": [], "has_clip": true, "has_snapshot": true, "attributes": {}, "current_attributes": []}, "after": {"id": "1709055428.066962-ghm1t5", "camera": "garage", "frame_time": 1709055433.471015, "snapshot": {"frame_time": 1709055433.471015, "box": [11, 80, 328, 349], "area": 85273, "region": [0, 20, 332, 352], "score": 0.71484375, "attributes": []}, "label": "person", "sub_label": null, "top_score": 0.76171875, "false_positive": false, "start_time": 1709055428.066962, "end_time": null, "score": 0.71484375, "box": [11, 80, 328, 349], "area": 85273, "ratio": 1.178438661710037, "region": [0, 20, 332, 352], "stationary": false, "motionless_count": 0, "position_changes": 1, "current_zones": [], "entered_zones": [], "has_clip": true, "has_snapshot": true, "attributes": {}, "current_attributes": []}, "type": "update"}).
[2024-02-27 18:37:15][SCENARIO] - Exécution du sous-élément de type [action] : action
[2024-02-27 18:37:15][SCENARIO] Exécution d'un bloc élément : 2
[2024-02-27 18:37:15][SCENARIO] - Exécution du sous-élément de type [action] : code
[2024-02-27 18:37:15][SCENARIO] Exécution d'un bloc code 
[2024-02-27 18:37:15][SCENARIO] ┌──────────── Logs bloc code - version du 
[2024-02-27 18:37:15][SCENARIO] | Evenement : 1709055428.066962-ghm1t5
[2024-02-27 18:37:15][SCENARIO] | Lieu      : garage
[2024-02-27 18:37:15][SCENARIO] | Date      : 27/02 18:37:13
[2024-02-27 18:37:15][SCENARIO] | Label     : person (76%) - Type : update
[2024-02-27 18:37:15][SCENARIO] └───────────────────────────
[2024-02-27 18:37:15][SCENARIO] Fin correcte du scénario
------------------------------------
[2024-02-27 18:37:19][SCENARIO] Start : Scenario execute automatiquement sur evenement venant de : [Maison][events][events] ({"before": {"id": "1709055428.066962-ghm1t5", "camera": "garage", "frame_time": 1709055433.471015, "snapshot": {"frame_time": 1709055433.471015, "box": [11, 80, 328, 349], "area": 85273, "region": [0, 20, 332, 352], "score": 0.71484375, "attributes": []}, "label": "person", "sub_label": null, "top_score": 0.76171875, "false_positive": false, "start_time": 1709055428.066962, "end_time": null, "score": 0.71484375, "box": [11, 80, 328, 349], "area": 85273, "ratio": 1.178438661710037, "region": [0, 20, 332, 352], "stationary": false, "motionless_count": 0, "position_changes": 1, "current_zones": [], "entered_zones": [], "has_clip": true, "has_snapshot": true, "attributes": {}, "current_attributes": []}, "after": {"id": "1709055428.066962-ghm1t5", "camera": "garage", "frame_time": 1709055438.631687, "snapshot": {"frame_time": 1709055437.721585, "box": [18, 109, 395, 373], "area": 99528, "region": [0, 0, 516, 516], "score": 0.82421875, "attributes": []}, "label": "person", "sub_label": null, "top_score": 0.76171875, "false_positive": false, "start_time": 1709055428.066962, "end_time": null, "score": 0.65234375, "box": [10, 62, 203, 325], "area": 50759, "ratio": 0.7338403041825095, "region": [0, 46, 340, 386], "stationary": false, "motionless_count": 1, "position_changes": 1, "current_zones": [], "entered_zones": [], "has_clip": true, "has_snapshot": true, "attributes": {}, "current_attributes": []}, "type": "update"}).
[2024-02-27 18:37:19][SCENARIO] - Exécution du sous-élément de type [action] : action
[2024-02-27 18:37:19][SCENARIO] Exécution d'un bloc élément : 2
[2024-02-27 18:37:19][SCENARIO] - Exécution du sous-élément de type [action] : code
[2024-02-27 18:37:19][SCENARIO] Exécution d'un bloc code 
[2024-02-27 18:37:19][SCENARIO] ┌──────────── Logs bloc code - version du 
[2024-02-27 18:37:19][SCENARIO] | Evenement : 1709055428.066962-ghm1t5
[2024-02-27 18:37:19][SCENARIO] | Lieu      : garage
[2024-02-27 18:37:19][SCENARIO] | Date      : 27/02 18:37:19
[2024-02-27 18:37:19][SCENARIO] | Label     : person (76%) - Type : update
[2024-02-27 18:37:19][SCENARIO] └───────────────────────────
[2024-02-27 18:37:19][SCENARIO] Fin correcte du scénario
------------------------------------
[2024-02-27 18:37:32][SCENARIO] Start : Scenario execute automatiquement sur evenement venant de : [Maison][events][events] ({"before": {"id": "1709055428.066962-ghm1t5", "camera": "garage", "frame_time": 1709055438.631687, "snapshot": {"frame_time": 1709055437.721585, "box": [18, 109, 395, 373], "area": 99528, "region": [0, 0, 516, 516], "score": 0.82421875, "attributes": []}, "label": "person", "sub_label": null, "top_score": 0.76171875, "false_positive": false, "start_time": 1709055428.066962, "end_time": null, "score": 0.65234375, "box": [10, 62, 203, 325], "area": 50759, "ratio": 0.7338403041825095, "region": [0, 46, 340, 386], "stationary": false, "motionless_count": 1, "position_changes": 1, "current_zones": [], "entered_zones": [], "has_clip": true, "has_snapshot": true, "attributes": {}, "current_attributes": []}, "after": {"id": "1709055428.066962-ghm1t5", "camera": "garage", "frame_time": 1709055451.120353, "snapshot": {"frame_time": 1709055437.721585, "box": [18, 109, 395, 373], "area": 99528, "region": [0, 0, 516, 516], "score": 0.82421875, "attributes": []}, "label": "person", "sub_label": null, "top_score": 0.76171875, "false_positive": false, "start_time": 1709055428.066962, "end_time": null, "score": 0.734375, "box": [0, 6, 231, 309], "area": 69993, "ratio": 0.7623762376237624, "region": [0, 0, 364, 364], "stationary": true, "motionless_count": 51, "position_changes": 1, "current_zones": [], "entered_zones": [], "has_clip": true, "has_snapshot": true, "attributes": {}, "current_attributes": []}, "type": "update"}).
[2024-02-27 18:37:32][SCENARIO] - Exécution du sous-élément de type [action] : action
[2024-02-27 18:37:32][SCENARIO] Exécution d'un bloc élément : 2
[2024-02-27 18:37:32][SCENARIO] - Exécution du sous-élément de type [action] : code
[2024-02-27 18:37:32][SCENARIO] Exécution d'un bloc code 
[2024-02-27 18:37:32][SCENARIO] ┌──────────── Logs bloc code - version du 
[2024-02-27 18:37:32][SCENARIO] | Evenement : 1709055428.066962-ghm1t5
[2024-02-27 18:37:32][SCENARIO] | Lieu      : garage
[2024-02-27 18:37:32][SCENARIO] | Date      : 27/02 18:37:31
[2024-02-27 18:37:32][SCENARIO] | Label     : person (76%) - Type : update
[2024-02-27 18:37:32][SCENARIO] └───────────────────────────
[2024-02-27 18:37:32][SCENARIO] Fin correcte du scénario
------------------------------------
[2024-02-27 18:37:37][SCENARIO] Start : Scenario execute automatiquement sur evenement venant de : [Maison][events][events] ({"before": {"id": "1709055428.066962-ghm1t5", "camera": "garage", "frame_time": 1709055451.120353, "snapshot": {"frame_time": 1709055437.721585, "box": [18, 109, 395, 373], "area": 99528, "region": [0, 0, 516, 516], "score": 0.82421875, "attributes": []}, "label": "person", "sub_label": null, "top_score": 0.76171875, "false_positive": false, "start_time": 1709055428.066962, "end_time": null, "score": 0.734375, "box": [0, 6, 231, 309], "area": 69993, "ratio": 0.7623762376237624, "region": [0, 0, 364, 364], "stationary": true, "motionless_count": 51, "position_changes": 1, "current_zones": [], "entered_zones": [], "has_clip": true, "has_snapshot": true, "attributes": {}, "current_attributes": []}, "after": {"id": "1709055428.066962-ghm1t5", "camera": "garage", "frame_time": 1709055451.727219, "snapshot": {"frame_time": 1709055437.721585, "box": [18, 109, 395, 373], "area": 99528, "region": [0, 0, 516, 516], "score": 0.82421875, "attributes": []}, "label": "person", "sub_label": null, "top_score": 0.76171875, "false_positive": false, "start_time": 1709055428.066962, "end_time": 1709055456.921281, "score": 0.74609375, "box": [0, 13, 231, 308], "area": 68145, "ratio": 0.7830508474576271, "region": [0, 0, 364, 364], "stationary": true, "motionless_count": 53, "position_changes": 1, "current_zones": [], "entered_zones": [], "has_clip": false, "has_snapshot": false, "attributes": {}, "current_attributes": []}, "type": "end"}).
[2024-02-27 18:37:37][SCENARIO] - Exécution du sous-élément de type [action] : action
[2024-02-27 18:37:37][SCENARIO] Exécution d'un bloc élément : 2
[2024-02-27 18:37:37][SCENARIO] - Exécution du sous-élément de type [action] : code
[2024-02-27 18:37:37][SCENARIO] Exécution d'un bloc code 
[2024-02-27 18:37:37][SCENARIO] ┌──────────── Logs bloc code - version du 
[2024-02-27 18:37:37][SCENARIO] | Evenement : 1709055428.066962-ghm1t5
[2024-02-27 18:37:37][SCENARIO] | Lieu      : garage
[2024-02-27 18:37:37][SCENARIO] | Date      : 27/02 18:37:32
[2024-02-27 18:37:37][SCENARIO] | Label     : person (76%) - Type : end
[2024-02-27 18:37:37][SCENARIO] | Fichier recupéré et redimensionné : /var/www/html/data/events/1709055428.066962-ghm1t5.png
[2024-02-27 18:37:37][SCENARIO] | Envoi de la notification avec le fichier /var/www/html/data/events/1709055428.066962-ghm1t5.png
[2024-02-27 18:37:37][SCENARIO] └───────────────────────────
[2024-02-27 18:37:37][SCENARIO] Fin correcte du scénario

Pour la partie jeedomconnect, c’est sous quel format que sont attendues les données ?

Celles que tu as acceptees a l utilisation du plugin…

J’avais en effet en tête cette notification mais avais oublié la mise en œuvre, désolé.

Voici les infos :

Jeedom Core : 4.3.23
Version JC : 1.8.0.1 stable
DNS Jeedom : oui
Statut Démon : Stoppé - (NA)

Equipements :
frd : v1.8.0 stable sur ios [os : 17.3.1] (polling) - PU

En ouvrant un navigateur en page privée et sans etre loggué a jeedom (! important !) , que donne :

Https://<dns jeedom parent>/data/events/1709055428.066962-ghm1t5.png

Bonjour tomotomas,

ça fonctionne, j’ai bien l’affichage de l’image

Perdu…

En respectant bien ces 2 conditions ?

Navré pour la faute.

Oui, j’étais bien sur un navigateur en page privée et sans qu’il n’ait été logué auparavant sur le système

J imagine que chez toi t es connecté avec un utilisateur admin ?
Alors que chez tes parents un utilisateur simple ?

chez moi, oui je suis utilisateur admin.

Chez mes parents, ils ont bien un utilisateur normal mais j’ai aussi le souci avec mon compte admin

Bonjour,
Après quelques essais chez moi hier soir, il semblerait que la piste des droits de l’utilisateur renseigné dans le terminal sur JC soit judicieuse.

Je refais des tests demain chez mes parents et je vous dirais.
Bonne journée