Info détection de mouvement

Bonjour,

Je fais suite à ce post pour la détection de mouvement :

Je n’ai pas de remonté de la détection de mouvement sur la caméra RLC-822A, la valeur reste toujours à 0 et n’a pas l’air de s’actualiser même lors d’une détection de mouvement (15h59)

image

J’ai bien vérifier que le port ONVIF été activé et c’est le cas pour moi :

image

Pour le reste, la caméra est bien détectée ainsi que les infos lié aux commandes du plugin.

Sur l’application Réolink j’ai bien la détection de mouvement : (16h30)

image

Est-ce qu’il y a quelque de spécial à configurer pour que l’info remonte correctement ?

Les logs :
Daemon :

> 0047|[2022-07-27 16:30:10]DEBUG : Client connected to [127.0.0.1:49774]
> 0048|[2022-07-27 16:30:10]DEBUG : Client disconnected from [127.0.0.1:49774]
> 0049|[2022-07-27 16:30:10]DEBUG : Message received in socket JEEDOM_SOCKET_MESSAGE
> 0050|[2022-07-27 16:30:10]DEBUG : Requested to set the webhook inside CAM IP=192.168.1.66
> 0051|[2022-07-27 16:30:10]DEBUG : Using selector: EpollSelector
> 0052|[2022-07-27 16:30:10]DEBUG : Request subscription_manager to set webhook on camera = 192.168.1.66:8000
> 0053|[2022-07-27 16:30:10]DEBUG : SMAN : Reolink host 192.168.1.66 (Subscription) request
> 0054|[2022-07-27 16:30:10]DEBUG : SMAN : Reolink host 192.168.1.66 (Subscription) got response status: 200.
> 0055|[2022-07-27 16:30:10]DEBUG : SMAN : Local time: 2022-07-27 14:30, camera time: 2022-07-27 14:30 (difference: 0.5633459091186523), termination time: 2022-07-27 14:45
> 0056|[2022-07-27 16:30:10]DEBUG : Starting local hook on : http://192.168.1.12:44010/inbound_events
> 0057|[2022-07-27 16:30:10]DEBUG : Subscribe OK
> 0058|[2022-07-27 16:30:10]DEBUG : Send to jeedom :  {'message': 'subscription', 'ip': '192.168.1.66', 'state': 1}
> 0059|[2022-07-27 16:30:10]DEBUG : Starting new HTTP connection (1): 127.0.0.1:80
> 0060|[2022-07-27 16:30:10]DEBUG : http://127.0.0.1:80 "POST /plugins/reolink/core/php/jeeReolink.php?apikey=WEAvgi9GLrjvQWbsg6WSh1GpXs4bSCUNETQPGFTUUTYvORwd4N5dj32Ef3GtfUNX HTTP/1.1" 200 0
> 0061|[2022-07-27 16:40:07]DEBUG : Client connected to [127.0.0.1:49776]
> 0062|[2022-07-27 16:40:07]DEBUG : Client disconnected from [127.0.0.1:49776]
> 0063|[2022-07-27 16:40:07]DEBUG : Message received in socket JEEDOM_SOCKET_MESSAGE
> 0064|[2022-07-27 16:40:07]DEBUG : Requested to set the webhook inside CAM IP=192.168.1.66
> 0065|[2022-07-27 16:40:07]DEBUG : Using selector: EpollSelector
> 0066|[2022-07-27 16:40:07]DEBUG : Request subscription_manager to set webhook on camera = 192.168.1.66:8000
> 0067|[2022-07-27 16:40:07]DEBUG : SMAN : Reolink host 192.168.1.66 (Subscription) request
> 0068|[2022-07-27 16:40:07]DEBUG : SMAN : Reolink host 192.168.1.66 (Subscription) got response status: 200.
> 0069|[2022-07-27 16:40:07]DEBUG : SMAN : Local time: 2022-07-27 14:40, camera time: 2022-07-27 14:40 (difference: 0.2221839427947998), termination time: 2022-07-27 14:55
> 0070|[2022-07-27 16:40:07]DEBUG : Starting local hook on : http://192.168.1.12:44010/inbound_events
> 0071|[2022-07-27 16:40:07]DEBUG : Subscribe OK
> 0072|[2022-07-27 16:40:07]DEBUG : Send to jeedom :  {'message': 'subscription', 'ip': '192.168.1.66', 'state': 1}
> 0073|[2022-07-27 16:40:07]DEBUG : Starting new HTTP connection (1): 127.0.0.1:80
> 0074|[2022-07-27 16:40:07]DEBUG : http://127.0.0.1:80 "POST /plugins/reolink/core/php/jeeReolink.php?apikey=WEAvgi9GLrjvQWbsg6WSh1GpXs4bSCUNETQPGFTUUTYvORwd4N5dj32Ef3GtfUNX HTTP/1.1" 200 0

Merci d’avance

bonjour @Typher,
mets le log du plugin en mode debug, effectues un passage devant la camera pour déclencher la détection et fais moi suivre le log en MP.
juste te dire que, à première vue, cela n’est pas compliqué à corriger (pb indépendant du plugin, je pense). J’attends tes logs pour confirmer
A+

Pour la résolution du problème si cela peut aider, je me suis rendu compte que le daemon m’indiquer cette erreur au démarrage : " [Errno 13] Permission denied: ‹ jeedomcreds › " malgré qu’il était pourtant démarrer dans l’UI.

0010|[2022-07-27 16:00:16]INFO : Write creds file for camhook
0011|[2022-07-27 16:00:16]DEBUG : Unable to write creds file : [Errno 13] Permission denied: 'jeedomcreds'
0012|[2022-07-27 16:00:16]DEBUG : Writing PID 7812 to /tmp/jeedom/reolink/deamon.pid
0013|[2022-07-27 16:00:16]INFO : Starting webhook...
0014|[2022-07-27 16:00:16]DEBUG : Socket interface started
0015|[2022-07-27 16:00:16]DEBUG : LoopNetServer Thread started
0016|[2022-07-27 16:00:16]DEBUG : Listening on: [localhost:44009]
0017|[2022-07-27 16:00:16]DEBUG : Using selector: EpollSelector
0018|[2022-07-27 16:00:17]ERROR : Unable to read credentials jeedom file, retry...
0019|[2022-07-27 16:10:08]DEBUG : Client connected to [127.0.0.1:49770]
0020|[2022-07-27 16:10:08]DEBUG : Client disconnected from [127.0.0.1:49770]

En réinstallant les dépendances et redémarrant le daemon, l’erreur à disparu.

0144|[2022-07-27 17:28:23]INFO : Write creds file for camhook
0145|[2022-07-27 17:28:23]DEBUG : Writing PID 8346 to /tmp/jeedom/reolink/deamon.pid
0146|[2022-07-27 17:28:23]INFO : Starting webhook...
0147|[2022-07-27 17:28:23]DEBUG : Socket interface started
0148|[2022-07-27 17:28:23]DEBUG : LoopNetServer Thread started
0149|[2022-07-27 17:28:23]DEBUG : Listening on: [localhost:44009]
0150|[2022-07-27 17:28:23]DEBUG : Using selector: EpollSelector
0151|[2022-07-27 17:28:24]DEBUG : Init request module v2.21.0
0152|INFO:     Started server process [8381]
0153|[2022-07-27 17:28:24]INFO : Started server process [8381]
0154|INFO:     Waiting for application startup.
0155|[2022-07-27 17:28:24]INFO : Waiting for application startup.
0156|INFO:     Application startup complete.
0157|[2022-07-27 17:28:24]INFO : Application startup complete.

Ce sujet a été automatiquement fermé après 24 heures suivant le dernier commentaire. Aucune réponse n’est permise dorénavant.