[2021-10-17 19:48:16][INFO] : Début d'activation du plugin [2021-10-17 19:48:17][INFO] : Info sur le démon : {"launchable_message":"","launchable":"nok","state":"nok","log":"nok","auto":0} [2021-10-17 19:48:17][DEBUG] : Lancement de : /var/www/html/core/class/../../core/php/jeePlugin.php plugin_id=phone_detection function=install callInstallFunction=1 [2021-10-17 19:48:17][DEBUG] : postUpdate() [2021-10-17 19:48:17][DEBUG] : postUpdate() [2021-10-17 19:48:17][DEBUG] : callDaemons update_device Array ( [0] => 420 [1] => Bluetooth - Baptiste - Xiaomi A1 [2] => 04:B1:67:68:0D:DB ) [2021-10-17 19:48:17][DEBUG] : callDaemon (unix:///tmp/jeedom/phone_detection/daemon.sock) Array ( [action] => update_device [args] => Array ( [0] => 420 [1] => Bluetooth - Baptiste - Xiaomi A1 [2] => 04:B1:67:68:0D:DB ) [apikey] => ) [2021-10-17 19:48:17][DEBUG] : error 2 : No such file or directory [2021-10-17 19:48:17][DEBUG] : result callDaemon [2021-10-17 19:48:17][DEBUG] : postUpdate() [2021-10-17 19:48:17][DEBUG] : callDaemons update_device Array ( [0] => 414 [1] => Bluetooth - Frédéric - Huawei P20 [2] => 0C:B5:27:80:2F:0D ) [2021-10-17 19:48:17][DEBUG] : callDaemon (unix:///tmp/jeedom/phone_detection/daemon.sock) Array ( [action] => update_device [args] => Array ( [0] => 414 [1] => Bluetooth - Frédéric - Huawei P20 [2] => 0C:B5:27:80:2F:0D ) [apikey] => ) [2021-10-17 19:48:17][DEBUG] : error 2 : No such file or directory [2021-10-17 19:48:17][DEBUG] : result callDaemon [2021-10-17 19:48:17][DEBUG] : postUpdate() [2021-10-17 19:48:17][DEBUG] : callDaemons update_device Array ( [0] => 466 [1] => Bluetooth - Noé - Tel [2] => 88:BF:EA:DC:65:2F ) [2021-10-17 19:48:17][DEBUG] : callDaemon (unix:///tmp/jeedom/phone_detection/daemon.sock) Array ( [action] => update_device [args] => Array ( [0] => 466 [1] => Bluetooth - Noé - Tel [2] => 88:BF:EA:DC:65:2F ) [apikey] => ) [2021-10-17 19:48:17][DEBUG] : error 2 : No such file or directory [2021-10-17 19:48:17][DEBUG] : result callDaemon [2021-10-17 19:48:17][DEBUG] : postUpdate() [2021-10-17 19:48:17][DEBUG] : callDaemons update_device Array ( [0] => 418 [1] => Bluetooth Téléphone Alexandra [2] => 04:b1:67:6d:56:87 ) [2021-10-17 19:48:17][DEBUG] : callDaemon (unix:///tmp/jeedom/phone_detection/daemon.sock) Array ( [action] => update_device [args] => Array ( [0] => 418 [1] => Bluetooth Téléphone Alexandra [2] => 04:b1:67:6d:56:87 ) [apikey] => ) [2021-10-17 19:48:17][DEBUG] : error 2 : No such file or directory [2021-10-17 19:48:17][DEBUG] : result callDaemon [2021-10-17 19:49:14][INFO] : Launching remotes ... [2021-10-17 19:49:14][INFO] : Lancement démon phone_detection : /usr/bin/python3 /var/www/html/plugins/phone_detection/core/class/../../resources/phone_detectiond/phone_detectiond.py --device hci0 --loglevel debug --apikey --pidfile /tmp/jeedom/phone_detection/phone_detectiond.pid --socket /tmp/jeedom/phone_detection/daemon.sock --callback http://127.0.0.1:80/plugins/phone_detection/core/php/phone_detection.php --daemonname "local" --interval 10 --present_interval 30 --absentThreshold 60 [2021-10-17 19:49:14][INFO][root](MainThread) : Start phone_detectiond [2021-10-17 19:49:14][INFO][root](MainThread) : Log level : debug [2021-10-17 19:49:14][INFO][root](MainThread) : Socket : /tmp/jeedom/phone_detection/daemon.sock [2021-10-17 19:49:14][INFO][root](MainThread) : SocketHost : [2021-10-17 19:49:14][INFO][root](MainThread) : SocketPort : 0 [2021-10-17 19:49:14][INFO][root](MainThread) : PID file : /tmp/jeedom/phone_detection/phone_detectiond.pid [2021-10-17 19:49:14][INFO][root](MainThread) : Device : hci0 [2021-10-17 19:49:14][INFO][root](MainThread) : Callback : http://127.0.0.1:80/plugins/phone_detection/core/php/phone_detection.php [2021-10-17 19:49:14][INFO][root](MainThread) : Daemon Name : local [2021-10-17 19:49:14][INFO][root](MainThread) : Interval : 10 [2021-10-17 19:49:14][INFO][root](MainThread) : Present Interval : 30 [2021-10-17 19:49:14][INFO][root](MainThread) : AbsentThreshold: 60 [2021-10-17 19:49:14][INFO][root](MainThread) : Python version : 3.7.3 (default, Jan 22 2021, 20:04:44) [GCC 8.3.0] [2021-10-17 19:49:14][DEBUG][root](MainThread) : Writing PID 9713 to /tmp/jeedom/phone_detection/phone_detectiond.pid [2021-10-17 19:49:14][INFO][root](MainThread) : Create phone_detection daemon [2021-10-17 19:49:14][DEBUG][root](MainThread) : Send to test connection to jeedom [2021-10-17 19:49:14][DEBUG][root](MainThread) : Send to jeedom : {'action': 'test', 'source': 'local'} [2021-10-17 19:49:14][INFO] : Receive a test from antenna local [2021-10-17 19:49:14][DEBUG][root](MainThread) : Status Code : 200 [2021-10-17 19:49:14][DEBUG][root](MainThread) : Jeedom reply : {'success': True, 'value': 0} [2021-10-17 19:49:14][INFO][root](MainThread) : Start heartbeat thread [2021-10-17 19:49:14][DEBUG][root](Thread-1) : Send to jeedom : {'action': 'heartbeat', 'source': 'local'} [2021-10-17 19:49:14][INFO][root](MainThread) : Use Unix socket for Jeedom -> daemon communication [2021-10-17 19:49:14][INFO][root](MainThread) : Get devices from Jeedom [2021-10-17 19:49:14][DEBUG][root](MainThread) : Send to jeedom : {'action': 'get_devices', 'source': 'local'} [2021-10-17 19:49:14][DEBUG] : This is a heartbeat from antenna local [2021-10-17 19:49:14][DEBUG][root](Thread-1) : Status Code : 200 [2021-10-17 19:49:14][DEBUG][root](Thread-1) : Jeedom reply : {'success': True, 'value': 0} [2021-10-17 19:49:14][INFO] : Receive get_devices from antenna local [2021-10-17 19:49:14][INFO] : updateGlobalDevice() [2021-10-17 19:49:14][DEBUG][root](MainThread) : Status Code : 200 [2021-10-17 19:49:14][DEBUG][root](MainThread) : Jeedom reply : {'success': True, 'value': {'420': {'state': False, 'lastValueDate': '2021-10-17 19:49:02', 'name': 'Bluetooth - Baptiste - Xiaomi A1', 'humanName': '[Présence][Bluetooth - Baptiste - Xiaomi A1]', 'id': '420', 'macAddress': '04:B1:67:68:0D:DB'}, '414': {'state': False, 'lastValueDate': '2021-10-17 19:45:01', 'name': 'Bluetooth - Frédéric - Huawei P20', 'humanName': '[Présence][Bluetooth - Frédéric - Huawei P20]', 'id': '414', 'macAddress': '0C:B5:27:80:2F:0D'}, '466': {'state': False, 'lastValueDate': '2021-10-15 20:55:02', 'name': 'Bluetooth - Noé - Tel', 'humanName': '[Présence][Bluetooth - Noé - Tel]', 'id': '466', 'macAddress': '88:BF:EA:DC:65:2F'}, '418': {'state': False, 'lastValueDate': '2021-10-16 06:08:44', 'name': 'Bluetooth Téléphone Alexandra', 'humanName': '[Présence][Bluetooth Téléphone Alexandra]', 'id': '418', 'macAddress': '04:b1:67:6d:56:87'}}} [2021-10-17 19:49:14][DEBUG][root](MainThread) : Send to jeedom : {'action': 'refresh_group', 'source': 'local'} [2021-10-17 19:49:14][INFO] : Receive refresh_group from antenna local [2021-10-17 19:49:14][INFO] : updateGlobalDevice() [2021-10-17 19:49:14][DEBUG][root](MainThread) : Status Code : 200 [2021-10-17 19:49:14][DEBUG][root](MainThread) : Jeedom reply : {'success': True, 'value': 0} [2021-10-17 19:49:14][INFO][root](MainThread) : Start thread detection for Bluetooth - Baptiste - Xiaomi A1 [04:B1:67:68:0D:DB] [2021-10-17 19:49:14][DEBUG][root](MainThread) : Send to jeedom : {'action': 'get_status', 'id': 420, 'source': 'local'} [2021-10-17 19:49:14][INFO] : Receive get_status for from antenna local [2021-10-17 19:49:14][DEBUG] : id: 420 [2021-10-17 19:49:14][DEBUG][root](MainThread) : Status Code : 200 [2021-10-17 19:49:14][DEBUG][root](MainThread) : Jeedom reply : {'success': True, 'value': 0} [2021-10-17 19:49:14][DEBUG][root](MainThread) : Jeedom 420 device status: False [2021-10-17 19:49:14][DEBUG][root](Thread-3) : Get phone information 420 [2021-10-17 19:49:14][INFO][root](MainThread) : Start thread detection for Bluetooth - Frédéric - Huawei P20 [0C:B5:27:80:2F:0D] [2021-10-17 19:49:14][DEBUG][root](MainThread) : Send to jeedom : {'action': 'get_status', 'id': 414, 'source': 'local'} [2021-10-17 19:49:14][INFO] : Receive get_status for from antenna local [2021-10-17 19:49:14][DEBUG] : id: 414 [2021-10-17 19:49:14][DEBUG][root](MainThread) : Status Code : 200 [2021-10-17 19:49:14][DEBUG][root](MainThread) : Jeedom reply : {'success': True, 'value': 0} [2021-10-17 19:49:14][DEBUG][root](MainThread) : Jeedom 414 device status: False [2021-10-17 19:49:14][DEBUG][root](Thread-4) : Get phone information 414 [2021-10-17 19:49:14][INFO][root](MainThread) : Start thread detection for Bluetooth - Noé - Tel [88:BF:EA:DC:65:2F] [2021-10-17 19:49:14][DEBUG][root](MainThread) : Send to jeedom : {'action': 'get_status', 'id': 466, 'source': 'local'} [2021-10-17 19:49:14][INFO] : Receive get_status for from antenna local [2021-10-17 19:49:14][DEBUG] : id: 466 [2021-10-17 19:49:14][DEBUG][root](MainThread) : Status Code : 200 [2021-10-17 19:49:14][DEBUG][root](MainThread) : Jeedom reply : {'success': True, 'value': 0} [2021-10-17 19:49:14][DEBUG][root](MainThread) : Jeedom 466 device status: False [2021-10-17 19:49:14][DEBUG][root](Thread-5) : Get phone information 466 [2021-10-17 19:49:14][INFO][root](MainThread) : Start thread detection for Bluetooth Téléphone Alexandra [04:b1:67:6d:56:87] [2021-10-17 19:49:14][DEBUG][root](MainThread) : Send to jeedom : {'action': 'get_status', 'id': 418, 'source': 'local'} [2021-10-17 19:49:14][INFO] : Receive get_status for from antenna local [2021-10-17 19:49:14][DEBUG] : id: 418 [2021-10-17 19:49:14][DEBUG][root](MainThread) : Status Code : 200 [2021-10-17 19:49:14][DEBUG][root](MainThread) : Jeedom reply : {'success': True, 'value': 0} [2021-10-17 19:49:14][DEBUG][root](MainThread) : Jeedom 418 device status: False [2021-10-17 19:49:14][DEBUG][root](Thread-6) : Get phone information 418 [2021-10-17 19:49:15][DEBUG][root](Thread-4) : 414 is present [2021-10-17 19:49:15][INFO][root](Thread-4) : Set Bluetooth - Frédéric - Huawei P20's phone present [2021-10-17 19:49:15][DEBUG][root](Thread-4) : 414 must be update [2021-10-17 19:49:15][DEBUG][root](Thread-4) : Bluetooth - Frédéric - Huawei P20 status has changed to 'present'! Notify Jeedom. [2021-10-17 19:49:15][DEBUG][root](Thread-4) : device status: True [2021-10-17 19:49:15][DEBUG][root](Thread-4) : Send to jeedom : {'action': 'update_device_status', 'id': 414, 'value': 1, 'source': 'local'} [2021-10-17 19:49:15][INFO] : Update device status from antenna local [2021-10-17 19:49:15][DEBUG] : id: 414, value:1 [2021-10-17 19:49:15][DEBUG] : Device Name: [Présence][Bluetooth - Frédéric - Huawei P20] [2021-10-17 19:49:15][DEBUG] : State property name: [Présence][Bluetooth - Frédéric - Huawei P20][Etat_local] [2021-10-17 19:49:15][DEBUG] : Update value to . 1 for [Présence][Bluetooth - Frédéric - Huawei P20][Etat_local] [2021-10-17 19:49:15][INFO] : updateGlobalDevice() [2021-10-17 19:49:15][DEBUG][root](Thread-4) : Status Code : 200 [2021-10-17 19:49:15][DEBUG][root](Thread-4) : Jeedom reply : {'success': True, 'value': 1} [2021-10-17 19:49:15][INFO] : Launching remotes ... [2021-10-17 19:49:15][INFO] : Démon phone_detection lancé [2021-10-17 19:49:30][DEBUG][root](Thread-5) : 466 is absent [2021-10-17 19:49:30][DEBUG][root](Thread-5) : lastStateDate: 2021-10-15 20:55:02 [2021-10-17 19:49:30][DEBUG][root](Thread-5) : thresholdDate: 2021-10-15 20:56:02 [2021-10-17 19:49:30][DEBUG][root](Thread-5) : datetime.utcnow(): 2021-10-17 17:49:30.904056 [2021-10-17 19:49:30][DEBUG][root](Thread-5) : is datetime.utcnow() > thresholdDate ? True [2021-10-17 19:49:30][DEBUG][root](Thread-5) : 466 is up to date [2021-10-17 19:49:31][DEBUG][root](Thread-3) : 420 is present [2021-10-17 19:49:31][INFO][root](Thread-3) : Set Bluetooth - Baptiste - Xiaomi A1's phone present [2021-10-17 19:49:31][DEBUG][root](Thread-3) : 420 must be update [2021-10-17 19:49:31][DEBUG][root](Thread-3) : Bluetooth - Baptiste - Xiaomi A1 status has changed to 'present'! Notify Jeedom. [2021-10-17 19:49:31][DEBUG][root](Thread-3) : device status: True [2021-10-17 19:49:31][DEBUG][root](Thread-3) : Send to jeedom : {'action': 'update_device_status', 'id': 420, 'value': 1, 'source': 'local'} [2021-10-17 19:49:31][DEBUG][root](Thread-6) : 418 is absent [2021-10-17 19:49:31][DEBUG][root](Thread-6) : lastStateDate: 2021-10-16 06:08:44 [2021-10-17 19:49:31][DEBUG][root](Thread-6) : thresholdDate: 2021-10-16 06:09:44 [2021-10-17 19:49:31][DEBUG][root](Thread-6) : datetime.utcnow(): 2021-10-17 17:49:31.264099 [2021-10-17 19:49:31][DEBUG][root](Thread-6) : is datetime.utcnow() > thresholdDate ? True [2021-10-17 19:49:31][DEBUG][root](Thread-6) : 418 is up to date [2021-10-17 19:49:31][INFO] : Update device status from antenna local [2021-10-17 19:49:31][DEBUG] : id: 420, value:1 [2021-10-17 19:49:31][DEBUG] : Device Name: [Présence][Bluetooth - Baptiste - Xiaomi A1] [2021-10-17 19:49:31][DEBUG] : State property name: [Présence][Bluetooth - Baptiste - Xiaomi A1][Etat_local] [2021-10-17 19:49:31][DEBUG] : Update value to . 1 for [Présence][Bluetooth - Baptiste - Xiaomi A1][Etat_local] [2021-10-17 19:49:31][INFO] : updateGlobalDevice() [2021-10-17 19:49:31][DEBUG][root](Thread-3) : Status Code : 200 [2021-10-17 19:49:31][DEBUG][root](Thread-3) : Jeedom reply : {'success': True, 'value': 1} [2021-10-17 19:49:40][DEBUG][root](Thread-5) : Get phone information 466 [2021-10-17 19:49:41][DEBUG][root](Thread-6) : Get phone information 418 [2021-10-17 19:49:44][DEBUG][root](Thread-1) : Send to jeedom : {'action': 'heartbeat', 'source': 'local'} [2021-10-17 19:49:44][DEBUG] : This is a heartbeat from antenna local [2021-10-17 19:49:44][DEBUG][root](Thread-1) : Status Code : 200 [2021-10-17 19:49:44][DEBUG][root](Thread-1) : Jeedom reply : {'success': True, 'value': 0} [2021-10-17 19:49:45][DEBUG][root](Thread-4) : Get phone information 414 [2021-10-17 19:49:47][DEBUG][root](Thread-4) : 414 is absent [2021-10-17 19:49:47][DEBUG][root](Thread-4) : lastStateDate: 2021-10-17 17:49:15.562518 [2021-10-17 19:49:47][DEBUG][root](Thread-4) : thresholdDate: 2021-10-17 17:50:15.562518 [2021-10-17 19:49:47][DEBUG][root](Thread-4) : datetime.utcnow(): 2021-10-17 17:49:47.939714 [2021-10-17 19:49:47][DEBUG][root](Thread-4) : is datetime.utcnow() > thresholdDate ? False [2021-10-17 19:49:47][DEBUG][root](Thread-4) : 414 is up to date [2021-10-17 19:49:53][DEBUG][root](Thread-6) : 418 is absent [2021-10-17 19:49:53][DEBUG][root](Thread-6) : lastStateDate: 2021-10-16 06:08:44 [2021-10-17 19:49:53][DEBUG][root](Thread-6) : thresholdDate: 2021-10-16 06:09:44 [2021-10-17 19:49:53][DEBUG][root](Thread-6) : datetime.utcnow(): 2021-10-17 17:49:53.071066 [2021-10-17 19:49:53][DEBUG][root](Thread-6) : is datetime.utcnow() > thresholdDate ? True [2021-10-17 19:49:53][DEBUG][root](Thread-6) : 418 is up to date [2021-10-17 19:50:01][DEBUG][root](Thread-3) : Get phone information 420 [2021-10-17 19:50:03][DEBUG][root](Thread-6) : Get phone information 418 [2021-10-17 19:50:03][DEBUG][root](Thread-5) : 466 is absent [2021-10-17 19:50:03][DEBUG][root](Thread-5) : lastStateDate: 2021-10-15 20:55:02 [2021-10-17 19:50:03][DEBUG][root](Thread-5) : thresholdDate: 2021-10-15 20:56:02 [2021-10-17 19:50:03][DEBUG][root](Thread-5) : datetime.utcnow(): 2021-10-17 17:50:03.337383 [2021-10-17 19:50:03][DEBUG][root](Thread-5) : is datetime.utcnow() > thresholdDate ? True [2021-10-17 19:50:03][DEBUG][root](Thread-5) : 466 is up to date [2021-10-17 19:50:09][DEBUG][root](Thread-3) : 420 is present [2021-10-17 19:50:09][DEBUG][root](Thread-3) : 420 is up to date [2021-10-17 19:50:13][DEBUG][root](Thread-5) : Get phone information 466 [2021-10-17 19:50:14][DEBUG][root](Thread-1) : Send to jeedom : {'action': 'heartbeat', 'source': 'local'} [2021-10-17 19:50:14][DEBUG] : This is a heartbeat from antenna local [2021-10-17 19:50:14][DEBUG][root](Thread-1) : Status Code : 200 [2021-10-17 19:50:14][DEBUG][root](Thread-1) : Jeedom reply : {'success': True, 'value': 0} [2021-10-17 19:50:16][DEBUG][root](Thread-6) : 418 is absent [2021-10-17 19:50:16][DEBUG][root](Thread-6) : lastStateDate: 2021-10-16 06:08:44 [2021-10-17 19:50:16][DEBUG][root](Thread-6) : thresholdDate: 2021-10-16 06:09:44 [2021-10-17 19:50:16][DEBUG][root](Thread-6) : datetime.utcnow(): 2021-10-17 17:50:16.077281 [2021-10-17 19:50:16][DEBUG][root](Thread-6) : is datetime.utcnow() > thresholdDate ? True [2021-10-17 19:50:16][DEBUG][root](Thread-6) : 418 is up to date [2021-10-17 19:50:17][DEBUG][root](Thread-4) : Get phone information 414 [2021-10-17 19:50:21][DEBUG][root](Thread-4) : 414 is absent [2021-10-17 19:50:21][DEBUG][root](Thread-4) : lastStateDate: 2021-10-17 17:49:15.562518 [2021-10-17 19:50:21][DEBUG][root](Thread-4) : thresholdDate: 2021-10-17 17:50:15.562518 [2021-10-17 19:50:21][DEBUG][root](Thread-4) : datetime.utcnow(): 2021-10-17 17:50:21.210384 [2021-10-17 19:50:21][DEBUG][root](Thread-4) : is datetime.utcnow() > thresholdDate ? True [2021-10-17 19:50:21][INFO][root](Thread-4) : Set "Bluetooth - Frédéric - Huawei P20" phone absent [2021-10-17 19:50:21][DEBUG][root](Thread-4) : 414 must be update [2021-10-17 19:50:21][DEBUG][root](Thread-4) : Bluetooth - Frédéric - Huawei P20 status has changed to 'absent'! Notify Jeedom. [2021-10-17 19:50:21][DEBUG][root](Thread-4) : device status: False [2021-10-17 19:50:21][DEBUG][root](Thread-4) : Send to jeedom : {'action': 'update_device_status', 'id': 414, 'value': 0, 'source': 'local'} [2021-10-17 19:50:21][INFO] : Update device status from antenna local [2021-10-17 19:50:21][DEBUG] : id: 414, value:0 [2021-10-17 19:50:21][DEBUG] : Device Name: [Présence][Bluetooth - Frédéric - Huawei P20] [2021-10-17 19:50:21][DEBUG] : State property name: [Présence][Bluetooth - Frédéric - Huawei P20][Etat_local] [2021-10-17 19:50:21][DEBUG] : Update value to . 0 for [Présence][Bluetooth - Frédéric - Huawei P20][Etat_local] [2021-10-17 19:50:21][INFO] : updateGlobalDevice() [2021-10-17 19:50:21][DEBUG][root](Thread-4) : Status Code : 200 [2021-10-17 19:50:21][DEBUG][root](Thread-4) : Jeedom reply : {'success': True, 'value': 0} [2021-10-17 19:50:26][DEBUG][root](Thread-6) : Get phone information 418 [2021-10-17 19:50:26][DEBUG][root](Thread-6) : 418 is absent [2021-10-17 19:50:26][DEBUG][root](Thread-6) : lastStateDate: 2021-10-16 06:08:44 [2021-10-17 19:50:26][DEBUG][root](Thread-6) : thresholdDate: 2021-10-16 06:09:44 [2021-10-17 19:50:26][DEBUG][root](Thread-6) : datetime.utcnow(): 2021-10-17 17:50:26.342542 [2021-10-17 19:50:26][DEBUG][root](Thread-6) : is datetime.utcnow() > thresholdDate ? True [2021-10-17 19:50:26][DEBUG][root](Thread-6) : 418 is up to date [2021-10-17 19:50:31][DEBUG][root](Thread-4) : Get phone information 414 [2021-10-17 19:50:31][DEBUG][root](Thread-4) : 414 is absent [2021-10-17 19:50:31][DEBUG][root](Thread-4) : lastStateDate: 2021-10-17 17:50:21.243744 [2021-10-17 19:50:31][DEBUG][root](Thread-4) : thresholdDate: 2021-10-17 17:51:21.243744 [2021-10-17 19:50:31][DEBUG][root](Thread-4) : datetime.utcnow(): 2021-10-17 17:50:31.475662 [2021-10-17 19:50:31][DEBUG][root](Thread-4) : is datetime.utcnow() > thresholdDate ? False [2021-10-17 19:50:31][DEBUG][root](Thread-4) : 414 is up to date [2021-10-17 19:50:36][DEBUG][root](Thread-6) : Get phone information 418 [2021-10-17 19:50:36][DEBUG][root](Thread-5) : 466 is absent [2021-10-17 19:50:36][DEBUG][root](Thread-5) : lastStateDate: 2021-10-15 20:55:02 [2021-10-17 19:50:36][DEBUG][root](Thread-5) : thresholdDate: 2021-10-15 20:56:02 [2021-10-17 19:50:36][DEBUG][root](Thread-5) : datetime.utcnow(): 2021-10-17 17:50:36.610867 [2021-10-17 19:50:36][DEBUG][root](Thread-5) : is datetime.utcnow() > thresholdDate ? True [2021-10-17 19:50:36][DEBUG][root](Thread-5) : 466 is up to date [2021-10-17 19:50:39][DEBUG][root](Thread-3) : Get phone information 420 [2021-10-17 19:50:41][DEBUG][root](Thread-4) : Get phone information 414 [2021-10-17 19:50:41][DEBUG][root](Thread-4) : 414 is absent [2021-10-17 19:50:41][DEBUG][root](Thread-4) : lastStateDate: 2021-10-17 17:50:21.243744 [2021-10-17 19:50:41][DEBUG][root](Thread-4) : thresholdDate: 2021-10-17 17:51:21.243744 [2021-10-17 19:50:41][DEBUG][root](Thread-4) : datetime.utcnow(): 2021-10-17 17:50:41.740744 [2021-10-17 19:50:41][DEBUG][root](Thread-4) : is datetime.utcnow() > thresholdDate ? False [2021-10-17 19:50:41][DEBUG][root](Thread-4) : 414 is up to date [2021-10-17 19:50:44][DEBUG][root](Thread-1) : Send to jeedom : {'action': 'heartbeat', 'source': 'local'} [2021-10-17 19:50:44][DEBUG] : This is a heartbeat from antenna local [2021-10-17 19:50:44][DEBUG][root](Thread-1) : Status Code : 200 [2021-10-17 19:50:44][DEBUG][root](Thread-1) : Jeedom reply : {'success': True, 'value': 0} [2021-10-17 19:50:46][DEBUG][root](Thread-5) : Get phone information 466 [2021-10-17 19:50:46][DEBUG][root](Thread-5) : 466 is absent [2021-10-17 19:50:46][DEBUG][root](Thread-5) : lastStateDate: 2021-10-15 20:55:02 [2021-10-17 19:50:46][DEBUG][root](Thread-5) : thresholdDate: 2021-10-15 20:56:02 [2021-10-17 19:50:46][DEBUG][root](Thread-5) : datetime.utcnow(): 2021-10-17 17:50:46.872512 [2021-10-17 19:50:46][DEBUG][root](Thread-5) : is datetime.utcnow() > thresholdDate ? True [2021-10-17 19:50:46][DEBUG][root](Thread-5) : 466 is up to date [2021-10-17 19:50:51][DEBUG][root](Thread-4) : Get phone information 414 [2021-10-17 19:50:56][DEBUG][root](Thread-5) : Get phone information 466 [2021-10-17 19:50:57][DEBUG][root](Thread-5) : 466 is absent [2021-10-17 19:50:57][DEBUG][root](Thread-5) : lastStateDate: 2021-10-15 20:55:02 [2021-10-17 19:50:57][DEBUG][root](Thread-5) : thresholdDate: 2021-10-15 20:56:02 [2021-10-17 19:50:57][DEBUG][root](Thread-5) : datetime.utcnow(): 2021-10-17 17:50:57.138630 [2021-10-17 19:50:57][DEBUG][root](Thread-5) : is datetime.utcnow() > thresholdDate ? True [2021-10-17 19:50:57][DEBUG][root](Thread-5) : 466 is up to date [2021-10-17 19:50:57][DEBUG][root](Thread-6) : 418 is absent [2021-10-17 19:50:57][DEBUG][root](Thread-6) : lastStateDate: 2021-10-16 06:08:44 [2021-10-17 19:50:57][DEBUG][root](Thread-6) : thresholdDate: 2021-10-16 06:09:44 [2021-10-17 19:50:57][DEBUG][root](Thread-6) : datetime.utcnow(): 2021-10-17 17:50:57.141510 [2021-10-17 19:50:57][DEBUG][root](Thread-6) : is datetime.utcnow() > thresholdDate ? True [2021-10-17 19:50:57][DEBUG][root](Thread-6) : 418 is up to date [2021-10-17 19:50:57][INFO] : Update device status from antenna [2021-10-17 19:50:57][DEBUG] : id: 420, value:0 [2021-10-17 19:50:57][DEBUG] : Device Name: [Présence][Bluetooth - Baptiste - Xiaomi A1] [2021-10-17 19:50:58][DEBUG][root](Thread-3) : 420 is present [2021-10-17 19:50:58][DEBUG][root](Thread-3) : 420 is up to date [2021-10-17 19:51:04][DEBUG][root](Thread-4) : 414 is absent [2021-10-17 19:51:04][DEBUG][root](Thread-4) : lastStateDate: 2021-10-17 17:50:21.243744 [2021-10-17 19:51:04][DEBUG][root](Thread-4) : thresholdDate: 2021-10-17 17:51:21.243744 [2021-10-17 19:51:04][DEBUG][root](Thread-4) : datetime.utcnow(): 2021-10-17 17:51:04.702762 [2021-10-17 19:51:04][DEBUG][root](Thread-4) : is datetime.utcnow() > thresholdDate ? False [2021-10-17 19:51:04][DEBUG][root](Thread-4) : 414 is up to date [2021-10-17 19:51:07][DEBUG][root](Thread-5) : Get phone information 466 [2021-10-17 19:51:07][DEBUG][root](Thread-6) : Get phone information 418 [2021-10-17 19:51:09][DEBUG][root](Thread-6) : 418 is absent [2021-10-17 19:51:09][DEBUG][root](Thread-6) : lastStateDate: 2021-10-16 06:08:44 [2021-10-17 19:51:09][DEBUG][root](Thread-6) : thresholdDate: 2021-10-16 06:09:44 [2021-10-17 19:51:09][DEBUG][root](Thread-6) : datetime.utcnow(): 2021-10-17 17:51:09.832965 [2021-10-17 19:51:09][DEBUG][root](Thread-6) : is datetime.utcnow() > thresholdDate ? True [2021-10-17 19:51:09][DEBUG][root](Thread-6) : 418 is up to date [2021-10-17 19:51:14][DEBUG][root](Thread-4) : Get phone information 414 [2021-10-17 19:51:14][DEBUG][root](Thread-1) : Send to jeedom : {'action': 'heartbeat', 'source': 'local'} [2021-10-17 19:51:14][DEBUG] : This is a heartbeat from antenna local [2021-10-17 19:51:14][DEBUG][root](Thread-1) : Status Code : 200 [2021-10-17 19:51:14][DEBUG][root](Thread-1) : Jeedom reply : {'success': True, 'value': 0} [2021-10-17 19:51:18][INFO] : Update device status from antenna [2021-10-17 19:51:18][DEBUG] : id: 420, value:1 [2021-10-17 19:51:18][DEBUG] : Device Name: [Présence][Bluetooth - Baptiste - Xiaomi A1] [2021-10-17 19:51:19][DEBUG][root](Thread-6) : Get phone information 418 [2021-10-17 19:51:25][DEBUG][root](Thread-4) : 414 is absent [2021-10-17 19:51:25][DEBUG][root](Thread-4) : lastStateDate: 2021-10-17 17:50:21.243744 [2021-10-17 19:51:25][DEBUG][root](Thread-4) : thresholdDate: 2021-10-17 17:51:21.243744 [2021-10-17 19:51:25][DEBUG][root](Thread-4) : datetime.utcnow(): 2021-10-17 17:51:25.200844 [2021-10-17 19:51:25][DEBUG][root](Thread-4) : is datetime.utcnow() > thresholdDate ? True [2021-10-17 19:51:25][DEBUG][root](Thread-4) : 414 is up to date [2021-10-17 19:51:25][DEBUG][root](Thread-5) : 466 is absent [2021-10-17 19:51:25][DEBUG][root](Thread-5) : lastStateDate: 2021-10-15 20:55:02 [2021-10-17 19:51:25][DEBUG][root](Thread-5) : thresholdDate: 2021-10-15 20:56:02 [2021-10-17 19:51:25][DEBUG][root](Thread-5) : datetime.utcnow(): 2021-10-17 17:51:25.203664 [2021-10-17 19:51:25][DEBUG][root](Thread-5) : is datetime.utcnow() > thresholdDate ? True [2021-10-17 19:51:25][DEBUG][root](Thread-5) : 466 is up to date [2021-10-17 19:51:28][DEBUG][root](Thread-3) : Get phone information 420 [2021-10-17 19:51:35][DEBUG][root](Thread-4) : Get phone information 414 [2021-10-17 19:51:35][DEBUG][root](Thread-5) : Get phone information 466 [2021-10-17 19:51:35][DEBUG][root](Thread-6) : 418 is absent [2021-10-17 19:51:35][DEBUG][root](Thread-6) : lastStateDate: 2021-10-16 06:08:44 [2021-10-17 19:51:35][DEBUG][root](Thread-6) : thresholdDate: 2021-10-16 06:09:44 [2021-10-17 19:51:35][DEBUG][root](Thread-6) : datetime.utcnow(): 2021-10-17 17:51:35.466296 [2021-10-17 19:51:35][DEBUG][root](Thread-6) : is datetime.utcnow() > thresholdDate ? True [2021-10-17 19:51:35][DEBUG][root](Thread-6) : 418 is up to date [2021-10-17 19:51:44][DEBUG][root](Thread-1) : Send to jeedom : {'action': 'heartbeat', 'source': 'local'} [2021-10-17 19:51:44][DEBUG] : This is a heartbeat from antenna local [2021-10-17 19:51:44][DEBUG][root](Thread-1) : Status Code : 200 [2021-10-17 19:51:44][DEBUG][root](Thread-1) : Jeedom reply : {'success': True, 'value': 0} [2021-10-17 19:51:45][DEBUG][root](Thread-6) : Get phone information 418 [2021-10-17 19:51:45][DEBUG][root](Thread-4) : 414 is absent [2021-10-17 19:51:45][DEBUG][root](Thread-4) : lastStateDate: 2021-10-17 17:50:21.243744 [2021-10-17 19:51:45][DEBUG][root](Thread-4) : thresholdDate: 2021-10-17 17:51:21.243744 [2021-10-17 19:51:45][DEBUG][root](Thread-4) : datetime.utcnow(): 2021-10-17 17:51:45.732387 [2021-10-17 19:51:45][DEBUG][root](Thread-4) : is datetime.utcnow() > thresholdDate ? True [2021-10-17 19:51:45][DEBUG][root](Thread-4) : 414 is up to date [2021-10-17 19:51:50][DEBUG][root](Thread-3) : 420 is absent [2021-10-17 19:51:50][DEBUG][root](Thread-3) : lastStateDate: 2021-10-17 17:50:58.294966 [2021-10-17 19:51:50][DEBUG][root](Thread-3) : thresholdDate: 2021-10-17 17:51:58.294966 [2021-10-17 19:51:50][DEBUG][root](Thread-3) : datetime.utcnow(): 2021-10-17 17:51:50.867007 [2021-10-17 19:51:50][DEBUG][root](Thread-3) : is datetime.utcnow() > thresholdDate ? False [2021-10-17 19:51:50][DEBUG][root](Thread-3) : 420 is up to date [2021-10-17 19:51:55][DEBUG][root](Thread-4) : Get phone information 414 [2021-10-17 19:51:55][DEBUG][root](Thread-5) : 466 is absent [2021-10-17 19:51:55][DEBUG][root](Thread-5) : lastStateDate: 2021-10-15 20:55:02 [2021-10-17 19:51:55][DEBUG][root](Thread-5) : thresholdDate: 2021-10-15 20:56:02 [2021-10-17 19:51:55][DEBUG][root](Thread-5) : datetime.utcnow(): 2021-10-17 17:51:55.997048 [2021-10-17 19:51:55][DEBUG][root](Thread-5) : is datetime.utcnow() > thresholdDate ? True [2021-10-17 19:51:55][DEBUG][root](Thread-5) : 466 is up to date [2021-10-17 19:52:06][DEBUG][root](Thread-5) : Get phone information 466 [2021-10-17 19:52:06][DEBUG][root](Thread-5) : 466 is absent [2021-10-17 19:52:06][DEBUG][root](Thread-5) : lastStateDate: 2021-10-15 20:55:02 [2021-10-17 19:52:06][DEBUG][root](Thread-5) : thresholdDate: 2021-10-15 20:56:02 [2021-10-17 19:52:06][DEBUG][root](Thread-5) : datetime.utcnow(): 2021-10-17 17:52:06.262214 [2021-10-17 19:52:06][DEBUG][root](Thread-5) : is datetime.utcnow() > thresholdDate ? True [2021-10-17 19:52:06][DEBUG][root](Thread-5) : 466 is up to date [2021-10-17 19:52:06][DEBUG][root](Thread-6) : 418 is absent [2021-10-17 19:52:06][DEBUG][root](Thread-6) : lastStateDate: 2021-10-16 06:08:44 [2021-10-17 19:52:06][DEBUG][root](Thread-6) : thresholdDate: 2021-10-16 06:09:44 [2021-10-17 19:52:06][DEBUG][root](Thread-6) : datetime.utcnow(): 2021-10-17 17:52:06.264969 [2021-10-17 19:52:06][DEBUG][root](Thread-6) : is datetime.utcnow() > thresholdDate ? True [2021-10-17 19:52:06][DEBUG][root](Thread-6) : 418 is up to date [2021-10-17 19:52:14][DEBUG][root](Thread-1) : Send to jeedom : {'action': 'heartbeat', 'source': 'local'} [2021-10-17 19:52:14][DEBUG] : This is a heartbeat from antenna local [2021-10-17 19:52:14][DEBUG][root](Thread-1) : Status Code : 200 [2021-10-17 19:52:14][DEBUG][root](Thread-1) : Jeedom reply : {'success': True, 'value': 0} [2021-10-17 19:52:16][DEBUG][root](Thread-5) : Get phone information 466 [2021-10-17 19:52:16][DEBUG][root](Thread-6) : Get phone information 418 [2021-10-17 19:52:19][DEBUG][root](Thread-4) : 414 is absent [2021-10-17 19:52:19][DEBUG][root](Thread-4) : lastStateDate: 2021-10-17 17:50:21.243744 [2021-10-17 19:52:19][DEBUG][root](Thread-4) : thresholdDate: 2021-10-17 17:51:21.243744 [2021-10-17 19:52:19][DEBUG][root](Thread-4) : datetime.utcnow(): 2021-10-17 17:52:19.630142 [2021-10-17 19:52:19][DEBUG][root](Thread-4) : is datetime.utcnow() > thresholdDate ? True [2021-10-17 19:52:19][DEBUG][root](Thread-4) : 414 is up to date [2021-10-17 19:52:20][DEBUG][root](Thread-3) : Get phone information 420 [2021-10-17 19:52:29][DEBUG][root](Thread-4) : Get phone information 414 [2021-10-17 19:52:29][DEBUG][root](Thread-4) : 414 is absent [2021-10-17 19:52:29][DEBUG][root](Thread-4) : lastStateDate: 2021-10-17 17:50:21.243744 [2021-10-17 19:52:29][DEBUG][root](Thread-4) : thresholdDate: 2021-10-17 17:51:21.243744 [2021-10-17 19:52:29][DEBUG][root](Thread-4) : datetime.utcnow(): 2021-10-17 17:52:29.892928 [2021-10-17 19:52:29][DEBUG][root](Thread-4) : is datetime.utcnow() > thresholdDate ? True [2021-10-17 19:52:29][DEBUG][root](Thread-4) : 414 is up to date [2021-10-17 19:52:30][DEBUG][root](Thread-3) : 420 is present [2021-10-17 19:52:30][DEBUG][root](Thread-3) : 420 is up to date [2021-10-17 19:52:35][DEBUG][root](Thread-6) : 418 is absent [2021-10-17 19:52:35][DEBUG][root](Thread-6) : lastStateDate: 2021-10-16 06:08:44 [2021-10-17 19:52:35][DEBUG][root](Thread-6) : thresholdDate: 2021-10-16 06:09:44 [2021-10-17 19:52:35][DEBUG][root](Thread-6) : datetime.utcnow(): 2021-10-17 17:52:35.672352 [2021-10-17 19:52:35][DEBUG][root](Thread-6) : is datetime.utcnow() > thresholdDate ? True [2021-10-17 19:52:35][DEBUG][root](Thread-6) : 418 is up to date [2021-10-17 19:52:35][DEBUG][root](Thread-5) : 466 is absent [2021-10-17 19:52:35][DEBUG][root](Thread-5) : lastStateDate: 2021-10-15 20:55:02 [2021-10-17 19:52:35][DEBUG][root](Thread-5) : thresholdDate: 2021-10-15 20:56:02 [2021-10-17 19:52:35][DEBUG][root](Thread-5) : datetime.utcnow(): 2021-10-17 17:52:35.675233 [2021-10-17 19:52:35][DEBUG][root](Thread-5) : is datetime.utcnow() > thresholdDate ? True [2021-10-17 19:52:35][DEBUG][root](Thread-5) : 466 is up to date [2021-10-17 19:52:39][DEBUG][root](Thread-4) : Get phone information 414 [2021-10-17 19:52:44][DEBUG][root](Thread-1) : Send to jeedom : {'action': 'heartbeat', 'source': 'local'} [2021-10-17 19:52:44][DEBUG] : This is a heartbeat from antenna local [2021-10-17 19:52:44][DEBUG][root](Thread-1) : Status Code : 200 [2021-10-17 19:52:44][DEBUG][root](Thread-1) : Jeedom reply : {'success': True, 'value': 0} [2021-10-17 19:52:45][DEBUG][root](Thread-6) : Get phone information 418 [2021-10-17 19:52:45][DEBUG][root](Thread-5) : Get phone information 466 [2021-10-17 19:52:52][DEBUG][root](Thread-4) : 414 is absent [2021-10-17 19:52:52][DEBUG][root](Thread-4) : lastStateDate: 2021-10-17 17:50:21.243744 [2021-10-17 19:52:52][DEBUG][root](Thread-4) : thresholdDate: 2021-10-17 17:51:21.243744 [2021-10-17 19:52:52][DEBUG][root](Thread-4) : datetime.utcnow(): 2021-10-17 17:52:52.607524 [2021-10-17 19:52:52][DEBUG][root](Thread-4) : is datetime.utcnow() > thresholdDate ? True [2021-10-17 19:52:52][DEBUG][root](Thread-4) : 414 is up to date