Bonjour,
J’ai bien mis à jour la beta en fin de semaine dernière et j’ai l’impression d’avoir moins de fausses détection…En revanche les comportement du Daemon est assez aléatoire, j’ai eu constamment des déconnexions pendant tout le we…:
[2020-04-14 10:45:11.289][INFO] : [DoorBird] Start Face Detection Daemon for Jeedom plugin
[2020-04-14 10:45:11.289][INFO] : [DoorBird] Log level : debug
[2020-04-14 10:45:11.289][INFO] : [DoorBird] Camera : DoorBird
[2020-04-14 10:45:11.289][INFO] : [DoorBird] Device : rtsp://xxx@xxx:554/mpeg/media.amp
[2020-04-14 10:45:11.289][INFO] : [DoorBird] Demon framerate : 10
[2020-04-14 10:45:11.289][INFO] : [DoorBird] Snapshot : /tmp/jeedom/facerecognition/DoorBird.jpeg
[2020-04-14 10:45:11.289][INFO] : [DoorBird] PID file : /tmp/jeedom/facerecognition/deamon_DoorBird.pid
[2020-04-14 10:45:11.289][INFO] : [DoorBird] Apikey : xxxx
[2020-04-14 10:45:11.289][INFO] : [DoorBird] Callback : http://127.0.0.1:80/plugins/facerecognition/core/php/jeeFaceRecognition.php
[2020-04-14 10:45:11.290][INFO] : [DoorBird] Cycle : 0.3
[2020-04-14 10:45:11.290][INFO] : [DoorBird] Socket port : 8090
[2020-04-14 10:45:11.290][INFO] : [DoorBird] Socket host : 127.0.0.1
[2020-04-14 10:45:11.290][DEBUG] : Writing PID 23942 to /tmp/jeedom/facerecognition/deamon_DoorBird.pid
[2020-04-14 10:45:11.290][DEBUG] : Init request module v2.22.0
[2020-04-14 10:45:11.299][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80
[2020-04-14 10:45:11.304][DEBUG] : http://127.0.0.1:80 « GET /plugins/facerecognition/core/php/jeeFaceRecognition.php?apikey=xxxx HTTP/1.1 » 200 0
[2020-04-14 10:45:11.308][DEBUG] : Socket interface started
[2020-04-14 10:45:11.315][DEBUG] : LoopNetServer Thread started
[2020-04-14 10:45:11.316][DEBUG] : Listening on: [127.0.0.1:8090]
[2020-04-14 10:45:15.187][DEBUG] : [DoorBird] 1 visages ont été détecté
[2020-04-14 10:45:15.370][DEBUG] : [DoorBird] color=000000 r=0 g=0 b=0
[2020-04-14 10:45:15.378][DEBUG] : Send to jeedom : {‹ DoorBird ›: ‹ Poubelle ›}
[2020-04-14 10:45:15.384][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80
[2020-04-14 10:45:15][DEBUG] : Detection Poubelle
[2020-04-14 10:45:15.393][DEBUG] : http://127.0.0.1:80 « POST /plugins/facerecognition/core/php/jeeFaceRecognition.php?apikey=xxx HTTP/1.1 » 200 0
[2020-04-14 10:45:17.929][DEBUG] : [DoorBird] 1 visages ont été détecté
[2020-04-14 10:45:18.112][DEBUG] : [DoorBird] color=000000 r=0 g=0 b=0
[2020-04-14 10:45:18.130][DEBUG] : Send to jeedom : {‹ DoorBird ›: ‹ Poubelle ›}
[2020-04-14 10:45:18.133][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80
[2020-04-14 10:45:18][DEBUG] : Detection Poubelle
[2020-04-14 10:45:18.154][DEBUG] : http://127.0.0.1:80 « POST /plugins/facerecognition/core/php/jeeFaceRecognition.php?apikey=xxxx HTTP/1.1 » 200 0
[2020-04-14 10:45:20.410][DEBUG] : [DoorBird] 2 visages ont été détecté
[2020-04-14 10:45:20.726][DEBUG] : [DoorBird] color=000000 r=0 g=0 b=0
[2020-04-14 10:45:20.727][ERROR] : [DoorBird] Fatal error : int() can’t convert non-string with explicit base
[2020-04-14 10:45:20.727][DEBUG] : Traceback (most recent call last):
File « /var/www/html/plugins/facerecognition/resources/FaceDetect.py », line 228, in
listen()
File « /var/www/html/plugins/facerecognition/resources/FaceDetect.py », line 151, in listen
detect_face(Snapshot)
File « /var/www/html/plugins/facerecognition/resources/FaceDetect.py », line 60, in detect_face
color = html2rgb(color)
File « /var/www/html/plugins/facerecognition/resources/FaceDetect.py », line 41, in html2rgb
r = int(color[c]+color[c+1],16)
TypeError: int() can’t convert non-string with explicit base
[2020-04-14 10:45:20.727][DEBUG] : [DoorBird] Shutdown
[2020-04-14 10:45:20.727][DEBUG] : [DoorBird] Removing PID file /tmp/jeedom/facerecognition/deamon_DoorBird.pid
[2020-04-14 10:45:20.728][DEBUG] : Exit 0

. Merci