[2024-01-04 07:09:40][DEBUG][root](MainThread) : Status Code : 200 [2024-01-04 07:09:40][DEBUG][root](MainThread) : Jeedom reply : {'success': True, 'value': 0} [2024-01-04 07:09:40][DEBUG][root](MainThread) : Jeedom 77 device status: False [2024-01-04 07:09:40][DEBUG][root](MainThread) : [77]: lastStateDate: 2023-12-30 20:14:23 [2024-01-04 07:09:40][DEBUG][root](MainThread) : [77]: thresholdDate: 2023-12-30 20:19:23 [2024-01-04 07:09:40][DEBUG][root](MainThread) : [77]: datetime.utcnow(): 2024-01-04 06:09:40.455694 [2024-01-04 07:09:40][DEBUG][root](MainThread) : [77]: isReachableLastPolling: False [2024-01-04 07:09:40][DEBUG][root](MainThread) : [77]: isReachable: 0, is datetime.utcnow() > thresholdDate ? True [2024-01-04 07:09:40][INFO][root](MainThread) : [68] Starting monitoring for Laurence [1C:D1:07:53:51:56] [2024-01-04 07:09:40][DEBUG][root](MainThread) : Send to jeedom : {'action': 'get_status', 'id': '68', 'source': 'local'} [2024-01-04 07:09:40][INFO] : Launching remotes ... [2024-01-04 07:09:40][INFO] : Démon phone_detection lancé [2024-01-04 07:09:40][INFO] : Receive get_status for [Présence][Laurence] from antenna local [2024-01-04 07:09:40][DEBUG][root](MainThread) : Status Code : 200 [2024-01-04 07:09:40][DEBUG][root](MainThread) : Jeedom reply : {'success': True, 'value': 0} [2024-01-04 07:09:40][DEBUG][root](MainThread) : Jeedom 68 device status: False [2024-01-04 07:09:40][DEBUG][root](MainThread) : [68]: lastStateDate: 2023-12-30 20:14:29 [2024-01-04 07:09:40][DEBUG][root](MainThread) : [68]: thresholdDate: 2023-12-30 20:19:29 [2024-01-04 07:09:40][DEBUG][root](MainThread) : [68]: datetime.utcnow(): 2024-01-04 06:09:40.507792 [2024-01-04 07:09:40][DEBUG][root](MainThread) : [68]: isReachableLastPolling: False [2024-01-04 07:09:40][DEBUG][root](MainThread) : [68]: isReachable: 0, is datetime.utcnow() > thresholdDate ? True [2024-01-04 07:09:40][INFO][root](MainThread) : [50] Starting monitoring for Yanis [AC:1E:9E:19:88:34] [2024-01-04 07:09:40][DEBUG][root](MainThread) : Send to jeedom : {'action': 'get_status', 'id': '50', 'source': 'local'} [2024-01-04 07:09:40][INFO] : Receive get_status for [Présence][Yanis] from antenna local [2024-01-04 07:09:40][DEBUG][root](MainThread) : Status Code : 200 [2024-01-04 07:09:40][DEBUG][root](MainThread) : Jeedom reply : {'success': True, 'value': 0} [2024-01-04 07:09:40][DEBUG][root](MainThread) : Jeedom 50 device status: False [2024-01-04 07:09:40][DEBUG][root](MainThread) : [50]: lastStateDate: 2023-12-11 18:55:00 [2024-01-04 07:09:40][DEBUG][root](MainThread) : [50]: thresholdDate: 2023-12-11 19:00:00 [2024-01-04 07:09:40][DEBUG][root](MainThread) : [50]: datetime.utcnow(): 2024-01-04 06:09:40.559914 [2024-01-04 07:09:40][DEBUG][root](MainThread) : [50]: isReachableLastPolling: False [2024-01-04 07:09:40][DEBUG][root](MainThread) : [50]: isReachable: 0, is datetime.utcnow() > thresholdDate ? True [2024-01-04 07:09:40][INFO][root](MainThread) : [47] Starting monitoring for Yann [98:F6:21:37:C7:47] [2024-01-04 07:09:40][DEBUG][root](MainThread) : Send to jeedom : {'action': 'get_status', 'id': '47', 'source': 'local'} [2024-01-04 07:09:40][INFO] : Receive get_status for [Présence][Yann] from antenna local [2024-01-04 07:09:40][DEBUG][root](MainThread) : Status Code : 200 [2024-01-04 07:09:40][DEBUG][root](MainThread) : Jeedom reply : {'success': True, 'value': 0} [2024-01-04 07:09:40][DEBUG][root](MainThread) : Jeedom 47 device status: False [2024-01-04 07:09:40][DEBUG][root](MainThread) : [47]: lastStateDate: 2024-01-03 08:18:03 [2024-01-04 07:09:40][DEBUG][root](MainThread) : [47]: thresholdDate: 2024-01-03 08:23:03 [2024-01-04 07:09:40][DEBUG][root](MainThread) : [47]: datetime.utcnow(): 2024-01-04 06:09:40.611998 [2024-01-04 07:09:40][DEBUG][root](MainThread) : [47]: isReachableLastPolling: False [2024-01-04 07:09:40][DEBUG][root](MainThread) : [47]: isReachable: 0, is datetime.utcnow() > thresholdDate ? True [2024-01-04 07:09:40][DEBUG][root](Thread-2) : sleeptime: 10 GCD(10, 30) [2024-01-04 07:09:40][INFO][root](MainThread) : Start heartbeat thread [2024-01-04 07:09:40][DEBUG][asyncio](Thread-2) : Using selector: EpollSelector [2024-01-04 07:09:40][DEBUG][root](Thread-3) : Send to jeedom : {'action': 'heartbeat', 'version': '2.2.1', 'alive': 1, 'source': 'local'} [2024-01-04 07:09:40][DEBUG][root](Thread-2) : Adding [77]: 20:F4:78:5B:39:D3 (Bruno) [2024-01-04 07:09:40][DEBUG][root](Thread-2) : Adding [68]: 1C:D1:07:53:51:56 (Laurence) [2024-01-04 07:09:40][DEBUG][root](Thread-2) : Adding [50]: AC:1E:9E:19:88:34 (Yanis) [2024-01-04 07:09:40][DEBUG][root](Thread-2) : Adding [47]: 98:F6:21:37:C7:47 (Yann) [2024-01-04 07:09:40][DEBUG][root](Thread-2) : Number of devices to poll: 4 [2024-01-04 07:09:40][ERROR][asyncio](Thread-2) : Fatal write error on socket transport protocol: transport: <_SelectorSocketTransport fd=16 read=idle write=> Traceback (most recent call last): File "/usr/lib/python3.7/asyncio/selector_events.py", line 857, in write n = self._sock.send(data) PermissionError: [Errno 1] Operation not permitted [2024-01-04 07:09:40][DEBUG] : This is a heartbeat from antenna local version=2.2.1 alive=1 [2024-01-04 07:09:40][DEBUG][root](Thread-3) : Status Code : 200 [2024-01-04 07:09:40][DEBUG][root](Thread-3) : Jeedom reply : {'success': True, 'value': 0} [2024-01-04 07:09:40][DEBUG][root](Thread-2) : Sending bluetooth name request to 4 devices (try 1/2) [2024-01-04 07:09:45][DEBUG][root](Thread-2) : Sending bluetooth name request to 4 devices (try 2/2) [2024-01-04 07:09:46][WARNING][asyncio](Thread-2) : socket.send() raised exception. [2024-01-04 07:09:46][WARNING][asyncio](Thread-2) : socket.send() raised exception. [2024-01-04 07:09:46][WARNING][asyncio](Thread-2) : socket.send() raised exception. [2024-01-04 07:09:46][WARNING][asyncio](Thread-2) : socket.send() raised exception. [2024-01-04 07:09:52][WARNING][root](Thread-2) : No response for mac AC:1E:9E:19:88:34 [2024-01-04 07:09:52][WARNING][root](Thread-2) : No response for mac 98:F6:21:37:C7:47 [2024-01-04 07:09:52][WARNING][root](Thread-2) : No response for mac 20:F4:78:5B:39:D3 [2024-01-04 07:09:52][WARNING][root](Thread-2) : No response for mac 1C:D1:07:53:51:56 [2024-01-04 07:09:52][DEBUG][root](Thread-2) : elapsed time 11.552165269851685, next loop in 0 seconds [2024-01-04 07:09:52][DEBUG][asyncio](Thread-2) : Using selector: EpollSelector [2024-01-04 07:09:52][DEBUG][root](Thread-2) : Adding [77]: 20:F4:78:5B:39:D3 (Bruno) [2024-01-04 07:09:52][DEBUG][root](Thread-2) : Adding [68]: 1C:D1:07:53:51:56 (Laurence) [2024-01-04 07:09:52][DEBUG][root](Thread-2) : Adding [50]: AC:1E:9E:19:88:34 (Yanis) [2024-01-04 07:09:52][DEBUG][root](Thread-2) : Adding [47]: 98:F6:21:37:C7:47 (Yann) [2024-01-04 07:09:52][DEBUG][root](Thread-2) : Number of devices to poll: 4 [2024-01-04 07:09:52][ERROR][asyncio](Thread-2) : Fatal write error on socket transport protocol: transport: <_SelectorSocketTransport fd=15 read=idle write=> Traceback (most recent call last): File "/usr/lib/python3.7/asyncio/selector_events.py", line 857, in write n = self._sock.send(data) PermissionError: [Errno 1] Operation not permitted [2024-01-04 07:09:52][DEBUG][root](Thread-2) : Sending bluetooth name request to 4 devices (try 1/2) [2024-01-04 07:09:57][DEBUG][root](Thread-2) : Sending bluetooth name request to 4 devices (try 2/2) [2024-01-04 07:09:57][WARNING][asyncio](Thread-2) : socket.send() raised exception. [2024-01-04 07:09:57][WARNING][asyncio](Thread-2) : socket.send() raised exception. [2024-01-04 07:09:57][WARNING][asyncio](Thread-2) : socket.send() raised exception. [2024-01-04 07:09:57][WARNING][asyncio](Thread-2) : socket.send() raised exception. [2024-01-04 07:10:03][WARNING][root](Thread-2) : No response for mac 20:F4:78:5B:39:D3 [2024-01-04 07:10:03][WARNING][root](Thread-2) : No response for mac 98:F6:21:37:C7:47 [2024-01-04 07:10:03][WARNING][root](Thread-2) : No response for mac AC:1E:9E:19:88:34 [2024-01-04 07:10:03][WARNING][root](Thread-2) : No response for mac 1C:D1:07:53:51:56 [2024-01-04 07:10:03][DEBUG][root](Thread-2) : elapsed time 11.524916648864746, next loop in 0 seconds [2024-01-04 07:10:03][DEBUG][asyncio](Thread-2) : Using selector: EpollSelector [2024-01-04 07:10:03][DEBUG][root](Thread-2) : Adding [77]: 20:F4:78:5B:39:D3 (Bruno) [2024-01-04 07:10:03][DEBUG][root](Thread-2) : Adding [68]: 1C:D1:07:53:51:56 (Laurence) [2024-01-04 07:10:03][DEBUG][root](Thread-2) : Adding [50]: AC:1E:9E:19:88:34 (Yanis) [2024-01-04 07:10:03][DEBUG][root](Thread-2) : Adding [47]: 98:F6:21:37:C7:47 (Yann) [2024-01-04 07:10:03][DEBUG][root](Thread-2) : Number of devices to poll: 4 [2024-01-04 07:10:03][ERROR][asyncio](Thread-2) : Fatal write error on socket transport protocol: transport: <_SelectorSocketTransport fd=15 read=idle write=> Traceback (most recent call last): File "/usr/lib/python3.7/asyncio/selector_events.py", line 857, in write n = self._sock.send(data) PermissionError: [Errno 1] Operation not permitted [2024-01-04 07:10:03][DEBUG][root](Thread-2) : Sending bluetooth name request to 4 devices (try 1/2) [2024-01-04 07:10:09][DEBUG][root](Thread-2) : Sending bluetooth name request to 4 devices (try 2/2) [2024-01-04 07:10:09][WARNING][asyncio](Thread-2) : socket.send() raised exception. [2024-01-04 07:10:09][WARNING][asyncio](Thread-2) : socket.send() raised exception. [2024-01-04 07:10:09][WARNING][asyncio](Thread-2) : socket.send() raised exception. [2024-01-04 07:10:09][WARNING][asyncio](Thread-2) : socket.send() raised exception. [2024-01-04 07:10:10][DEBUG][root](Thread-3) : Send to jeedom : {'action': 'heartbeat', 'version': '2.2.1', 'alive': 1, 'source': 'local'} [2024-01-04 07:10:10][DEBUG] : This is a heartbeat from antenna local version=2.2.1 alive=1 [2024-01-04 07:10:10][DEBUG][root](Thread-3) : Status Code : 200 [2024-01-04 07:10:10][DEBUG][root](Thread-3) : Jeedom reply : {'success': True, 'value': 0} [2024-01-04 07:10:15][WARNING][root](Thread-2) : No response for mac 20:F4:78:5B:39:D3 [2024-01-04 07:10:15][WARNING][root](Thread-2) : No response for mac AC:1E:9E:19:88:34 [2024-01-04 07:10:15][WARNING][root](Thread-2) : No response for mac 1C:D1:07:53:51:56 [2024-01-04 07:10:15][WARNING][root](Thread-2) : No response for mac 98:F6:21:37:C7:47 [2024-01-04 07:10:15][DEBUG][root](Thread-2) : elapsed time 11.530508041381836, next loop in 0 seconds [2024-01-04 07:10:15][DEBUG][asyncio](Thread-2) : Using selector: EpollSelector [2024-01-04 07:10:15][DEBUG][root](Thread-2) : Adding [77]: 20:F4:78:5B:39:D3 (Bruno) [2024-01-04 07:10:15][DEBUG][root](Thread-2) : Adding [68]: 1C:D1:07:53:51:56 (Laurence) [2024-01-04 07:10:15][DEBUG][root](Thread-2) : Adding [50]: AC:1E:9E:19:88:34 (Yanis) [2024-01-04 07:10:15][DEBUG][root](Thread-2) : Adding [47]: 98:F6:21:37:C7:47 (Yann) [2024-01-04 07:10:15][DEBUG][root](Thread-2) : Number of devices to poll: 4 [2024-01-04 07:10:15][ERROR][asyncio](Thread-2) : Fatal write error on socket transport protocol: transport: <_SelectorSocketTransport fd=15 read=idle write=> Traceback (most recent call last): File "/usr/lib/python3.7/asyncio/selector_events.py", line 857, in write n = self._sock.send(data) PermissionError: [Errno 1] Operation not permitted [2024-01-04 07:10:15][DEBUG][root](Thread-2) : Sending bluetooth name request to 4 devices (try 1/2) [2024-01-04 07:10:20][DEBUG][root](Thread-2) : Sending bluetooth name request to 4 devices (try 2/2) [2024-01-04 07:10:20][WARNING][asyncio](Thread-2) : socket.send() raised exception. [2024-01-04 07:10:20][WARNING][asyncio](Thread-2) : socket.send() raised exception. [2024-01-04 07:10:20][WARNING][asyncio](Thread-2) : socket.send() raised exception. [2024-01-04 07:10:20][WARNING][asyncio](Thread-2) : socket.send() raised exception. [2024-01-04 07:10:26][WARNING][root](Thread-2) : No response for mac 98:F6:21:37:C7:47 [2024-01-04 07:10:26][WARNING][root](Thread-2) : No response for mac 1C:D1:07:53:51:56 [2024-01-04 07:10:26][WARNING][root](Thread-2) : No response for mac AC:1E:9E:19:88:34 [2024-01-04 07:10:26][WARNING][root](Thread-2) : No response for mac 20:F4:78:5B:39:D3 [2024-01-04 07:10:26][DEBUG][root](Thread-2) : elapsed time 11.5224449634552, next loop in 0 seconds [2024-01-04 07:10:26][DEBUG][asyncio](Thread-2) : Using selector: EpollSelector [2024-01-04 07:10:26][DEBUG][root](Thread-2) : Adding [77]: 20:F4:78:5B:39:D3 (Bruno) [2024-01-04 07:10:26][DEBUG][root](Thread-2) : Adding [68]: 1C:D1:07:53:51:56 (Laurence) [2024-01-04 07:10:26][DEBUG][root](Thread-2) : Adding [50]: AC:1E:9E:19:88:34 (Yanis) [2024-01-04 07:10:26][DEBUG][root](Thread-2) : Adding [47]: 98:F6:21:37:C7:47 (Yann) [2024-01-04 07:10:26][DEBUG][root](Thread-2) : Number of devices to poll: 4 [2024-01-04 07:10:26][ERROR][asyncio](Thread-2) : Fatal write error on socket transport protocol: transport: <_SelectorSocketTransport fd=15 read=idle write=> Traceback (most recent call last): File "/usr/lib/python3.7/asyncio/selector_events.py", line 857, in write n = self._sock.send(data) PermissionError: [Errno 1] Operation not permitted [2024-01-04 07:10:26][DEBUG][root](Thread-2) : Sending bluetooth name request to 4 devices (try 1/2) [2024-01-04 07:10:32][DEBUG][root](Thread-2) : Sending bluetooth name request to 4 devices (try 2/2) [2024-01-04 07:10:32][WARNING][asyncio](Thread-2) : socket.send() raised exception. [2024-01-04 07:10:32][WARNING][asyncio](Thread-2) : socket.send() raised exception. [2024-01-04 07:10:32][WARNING][asyncio](Thread-2) : socket.send() raised exception. [2024-01-04 07:10:32][WARNING][asyncio](Thread-2) : socket.send() raised exception. [2024-01-04 07:10:35][INFO] : Launching remotes ... [2024-01-04 07:10:38][WARNING][root](Thread-2) : No response for mac 1C:D1:07:53:51:56 [2024-01-04 07:10:38][WARNING][root](Thread-2) : No response for mac 20:F4:78:5B:39:D3 [2024-01-04 07:10:38][WARNING][root](Thread-2) : No response for mac AC:1E:9E:19:88:34 [2024-01-04 07:10:38][WARNING][root](Thread-2) : No response for mac 98:F6:21:37:C7:47 [2024-01-04 07:10:38][DEBUG][root](Thread-2) : elapsed time 11.52553391456604, next loop in 0 seconds [2024-01-04 07:10:38][DEBUG][asyncio](Thread-2) : Using selector: EpollSelector [2024-01-04 07:10:38][DEBUG][root](Thread-2) : Adding [77]: 20:F4:78:5B:39:D3 (Bruno) [2024-01-04 07:10:38][DEBUG][root](Thread-2) : Adding [68]: 1C:D1:07:53:51:56 (Laurence) [2024-01-04 07:10:38][DEBUG][root](Thread-2) : Adding [50]: AC:1E:9E:19:88:34 (Yanis) [2024-01-04 07:10:38][DEBUG][root](Thread-2) : Adding [47]: 98:F6:21:37:C7:47 (Yann) [2024-01-04 07:10:38][DEBUG][root](Thread-2) : Number of devices to poll: 4 [2024-01-04 07:10:38][ERROR][asyncio](Thread-2) : Fatal write error on socket transport protocol: transport: <_SelectorSocketTransport fd=15 read=idle write=> Traceback (most recent call last): File "/usr/lib/python3.7/asyncio/selector_events.py", line 857, in write n = self._sock.send(data) PermissionError: [Errno 1] Operation not permitted [2024-01-04 07:10:38][DEBUG][root](Thread-2) : Sending bluetooth name request to 4 devices (try 1/2) [2024-01-04 07:10:40][DEBUG][root](Thread-3) : Send to jeedom : {'action': 'heartbeat', 'version': '2.2.1', 'alive': 1, 'source': 'local'} [2024-01-04 07:10:40][DEBUG] : This is a heartbeat from antenna local version=2.2.1 alive=1 [2024-01-04 07:10:40][DEBUG][root](Thread-3) : Status Code : 200 [2024-01-04 07:10:40][DEBUG][root](Thread-3) : Jeedom reply : {'success': True, 'value': 0} [2024-01-04 07:10:43][DEBUG][root](Thread-2) : Sending bluetooth name request to 4 devices (try 2/2) [2024-01-04 07:10:43][WARNING][asyncio](Thread-2) : socket.send() raised exception. [2024-01-04 07:10:43][WARNING][asyncio](Thread-2) : socket.send() raised exception. [2024-01-04 07:10:43][WARNING][asyncio](Thread-2) : socket.send() raised exception. [2024-01-04 07:10:43][WARNING][asyncio](Thread-2) : socket.send() raised exception. [2024-01-04 07:10:49][WARNING][root](Thread-2) : No response for mac AC:1E:9E:19:88:34 [2024-01-04 07:10:49][WARNING][root](Thread-2) : No response for mac 98:F6:21:37:C7:47 [2024-01-04 07:10:49][WARNING][root](Thread-2) : No response for mac 1C:D1:07:53:51:56 [2024-01-04 07:10:49][WARNING][root](Thread-2) : No response for mac 20:F4:78:5B:39:D3 [2024-01-04 07:10:49][DEBUG][root](Thread-2) : elapsed time 11.526195764541626, next loop in 0 seconds [2024-01-04 07:10:49][DEBUG][asyncio](Thread-2) : Using selector: EpollSelector [2024-01-04 07:10:49][DEBUG][root](Thread-2) : Adding [77]: 20:F4:78:5B:39:D3 (Bruno) [2024-01-04 07:10:49][DEBUG][root](Thread-2) : Adding [68]: 1C:D1:07:53:51:56 (Laurence) [2024-01-04 07:10:49][DEBUG][root](Thread-2) : Adding [50]: AC:1E:9E:19:88:34 (Yanis) [2024-01-04 07:10:49][DEBUG][root](Thread-2) : Adding [47]: 98:F6:21:37:C7:47 (Yann) [2024-01-04 07:10:49][DEBUG][root](Thread-2) : Number of devices to poll: 4 [2024-01-04 07:10:49][ERROR][asyncio](Thread-2) : Fatal write error on socket transport protocol: transport: <_SelectorSocketTransport fd=15 read=idle write=> Traceback (most recent call last): File "/usr/lib/python3.7/asyncio/selector_events.py", line 857, in write n = self._sock.send(data) PermissionError: [Errno 1] Operation not permitted [2024-01-04 07:10:49][DEBUG][root](Thread-2) : Sending bluetooth name request to 4 devices (try 1/2) [2024-01-04 07:10:55][DEBUG][root](Thread-2) : Sending bluetooth name request to 4 devices (try 2/2) [2024-01-04 07:10:55][WARNING][asyncio](Thread-2) : socket.send() raised exception. [2024-01-04 07:10:55][WARNING][asyncio](Thread-2) : socket.send() raised exception. [2024-01-04 07:10:55][WARNING][asyncio](Thread-2) : socket.send() raised exception. [2024-01-04 07:10:55][WARNING][asyncio](Thread-2) : socket.send() raised exception. [2024-01-04 07:11:01][WARNING][root](Thread-2) : No response for mac 20:F4:78:5B:39:D3 [2024-01-04 07:11:01][WARNING][root](Thread-2) : No response for mac AC:1E:9E:19:88:34 [2024-01-04 07:11:01][WARNING][root](Thread-2) : No response for mac 98:F6:21:37:C7:47 [2024-01-04 07:11:01][WARNING][root](Thread-2) : No response for mac 1C:D1:07:53:51:56 [2024-01-04 07:11:01][DEBUG][root](Thread-2) : elapsed time 11.529278039932251, next loop in 0 seconds [2024-01-04 07:11:01][DEBUG][asyncio](Thread-2) : Using selector: EpollSelector [2024-01-04 07:11:01][DEBUG][root](Thread-2) : Adding [77]: 20:F4:78:5B:39:D3 (Bruno) [2024-01-04 07:11:01][DEBUG][root](Thread-2) : Adding [68]: 1C:D1:07:53:51:56 (Laurence) [2024-01-04 07:11:01][DEBUG][root](Thread-2) : Adding [50]: AC:1E:9E:19:88:34 (Yanis) [2024-01-04 07:11:01][DEBUG][root](Thread-2) : Adding [47]: 98:F6:21:37:C7:47 (Yann) [2024-01-04 07:11:01][DEBUG][root](Thread-2) : Number of devices to poll: 4 [2024-01-04 07:11:01][ERROR][asyncio](Thread-2) : Fatal write error on socket transport protocol: transport: <_SelectorSocketTransport fd=15 read=idle write=> Traceback (most recent call last): File "/usr/lib/python3.7/asyncio/selector_events.py", line 857, in write n = self._sock.send(data) PermissionError: [Errno 1] Operation not permitted [2024-01-04 07:11:01][DEBUG][root](Thread-2) : Sending bluetooth name request to 4 devices (try 1/2) [2024-01-04 07:11:06][DEBUG][root](Thread-2) : Sending bluetooth name request to 4 devices (try 2/2) [2024-01-04 07:11:06][WARNING][asyncio](Thread-2) : socket.send() raised exception. [2024-01-04 07:11:06][WARNING][asyncio](Thread-2) : socket.send() raised exception. [2024-01-04 07:11:06][WARNING][asyncio](Thread-2) : socket.send() raised exception. [2024-01-04 07:11:06][WARNING][asyncio](Thread-2) : socket.send() raised exception. [2024-01-04 07:11:10][DEBUG][root](Thread-3) : Send to jeedom : {'action': 'heartbeat', 'version': '2.2.1', 'alive': 1, 'source': 'local'} [2024-01-04 07:11:10][DEBUG] : This is a heartbeat from antenna local version=2.2.1 alive=1 [2024-01-04 07:11:10][DEBUG][root](Thread-3) : Status Code : 200 [2024-01-04 07:11:10][DEBUG][root](Thread-3) : Jeedom reply : {'success': True, 'value': 0} [2024-01-04 07:11:12][WARNING][root](Thread-2) : No response for mac 1C:D1:07:53:51:56 [2024-01-04 07:11:12][WARNING][root](Thread-2) : No response for mac AC:1E:9E:19:88:34 [2024-01-04 07:11:12][WARNING][root](Thread-2) : No response for mac 98:F6:21:37:C7:47 [2024-01-04 07:11:12][WARNING][root](Thread-2) : No response for mac 20:F4:78:5B:39:D3 [2024-01-04 07:11:12][DEBUG][root](Thread-2) : elapsed time 11.528002977371216, next loop in 0 seconds [2024-01-04 07:11:12][DEBUG][asyncio](Thread-2) : Using selector: EpollSelector [2024-01-04 07:11:12][DEBUG][root](Thread-2) : Adding [77]: 20:F4:78:5B:39:D3 (Bruno) [2024-01-04 07:11:12][DEBUG][root](Thread-2) : Adding [68]: 1C:D1:07:53:51:56 (Laurence) [2024-01-04 07:11:12][DEBUG][root](Thread-2) : Adding [50]: AC:1E:9E:19:88:34 (Yanis) [2024-01-04 07:11:12][DEBUG][root](Thread-2) : Adding [47]: 98:F6:21:37:C7:47 (Yann) [2024-01-04 07:11:12][DEBUG][root](Thread-2) : Number of devices to poll: 4 [2024-01-04 07:11:12][ERROR][asyncio](Thread-2) : Fatal write error on socket transport protocol: transport: <_SelectorSocketTransport fd=15 read=idle write=> Traceback (most recent call last): File "/usr/lib/python3.7/asyncio/selector_events.py", line 857, in write n = self._sock.send(data) PermissionError: [Errno 1] Operation not permitted [2024-01-04 07:11:12][DEBUG][root](Thread-2) : Sending bluetooth name request to 4 devices (try 1/2) [2024-01-04 07:11:18][DEBUG][root](Thread-2) : Sending bluetooth name request to 4 devices (try 2/2) [2024-01-04 07:11:18][WARNING][asyncio](Thread-2) : socket.send() raised exception. [2024-01-04 07:11:18][WARNING][asyncio](Thread-2) : socket.send() raised exception. [2024-01-04 07:11:18][WARNING][asyncio](Thread-2) : socket.send() raised exception. [2024-01-04 07:11:18][WARNING][asyncio](Thread-2) : socket.send() raised exception. [2024-01-04 07:11:20][INFO] : Launching remotes ... [2024-01-04 07:11:20][DEBUG][root](MainThread) : Signal 15 caught, exiting... [2024-01-04 07:11:20][INFO][root](MainThread) : =========== Shutdown =========== [2024-01-04 07:11:20][INFO][root](MainThread) : Stopping monitoring and heartbeat threads [2024-01-04 07:11:20][INFO][root](MainThread) : [77] Stop monitoring for Bruno [20:F4:78:5B:39:D3] [2024-01-04 07:11:20][INFO][root](MainThread) : [68] Stop monitoring for Laurence [1C:D1:07:53:51:56] [2024-01-04 07:11:20][INFO][root](MainThread) : [50] Stop monitoring for Yanis [AC:1E:9E:19:88:34] [2024-01-04 07:11:20][INFO][root](MainThread) : [47] Stop monitoring for Yann [98:F6:21:37:C7:47] [2024-01-04 07:11:20][INFO][root](MainThread) : Stop heartbeat thread [2024-01-04 07:11:20][INFO][root](MainThread) : Shutting down local server [2024-01-04 07:11:20][INFO][root](MainThread) : Removing Socket file /tmp/jeedom/phone_detection/daemon.sock [2024-01-04 07:11:20][INFO][root](MainThread) : Removing PID file /tmp/jeedom/phone_detection/phone_detectiond.pid [2024-01-04 07:11:20][INFO][root](MainThread) : Exit 0 [2024-01-04 07:11:20][INFO][root](MainThread) : ================================= Signal 15 caught, exiting... [2024-01-04 07:11:21][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 nULpQOEObgPZsauE3EZVI6MPbqyajuNEDNiAXrcAB2SMBjC2uhRlXF0uvKgOOa9O --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 180 [2024-01-04 07:11:22][INFO][root](MainThread) : ========= [2024-01-04 07:11:22][INFO][root](MainThread) : Start phone_detectiond [2024-01-04 07:11:22][INFO][root](MainThread) : Version: 2.2.1 [2024-01-04 07:11:22][INFO][root](MainThread) : Log level : debug [2024-01-04 07:11:22][INFO][root](MainThread) : Socket : /tmp/jeedom/phone_detection/daemon.sock [2024-01-04 07:11:22][INFO][root](MainThread) : SocketHost : [2024-01-04 07:11:22][INFO][root](MainThread) : SocketPort : 0 [2024-01-04 07:11:22][INFO][root](MainThread) : PID file : /tmp/jeedom/phone_detection/phone_detectiond.pid [2024-01-04 07:11:22][INFO][root](MainThread) : Device : hci0 [2024-01-04 07:11:22][INFO][root](MainThread) : Callback : http://127.0.0.1:80/plugins/phone_detection/core/php/phone_detection.php [2024-01-04 07:11:22][INFO][root](MainThread) : Daemon Name : local [2024-01-04 07:11:22][INFO][root](MainThread) : Polling Interval when device is Absent : 10 [2024-01-04 07:11:22][INFO][root](MainThread) : Polling Interval when device is Present : 30 [2024-01-04 07:11:22][INFO][root](MainThread) : Threshold to consider device Absent: 180 [2024-01-04 07:11:22][INFO][root](MainThread) : Python version : 3.7.3 (default, Jan 22 2021, 20:04:44) [GCC 8.3.0] [2024-01-04 07:11:22][INFO][root](MainThread) : Using bluetooth controller hci0 (id=0) [2024-01-04 07:11:22][INFO][root](MainThread) : PageTimeout set to 1.5625s for controller hci0. [2024-01-04 07:11:22][DEBUG][root](MainThread) : Writing PID 30235 to /tmp/jeedom/phone_detection/phone_detectiond.pid [2024-01-04 07:11:22][INFO][root](MainThread) : Create phone_detection daemon [2024-01-04 07:11:22][DEBUG][root](MainThread) : Send to test connection to jeedom [2024-01-04 07:11:22][DEBUG][root](MainThread) : Send to jeedom : {'action': 'test', 'source': 'local'} [2024-01-04 07:11:22][INFO] : Launching remotes ... [2024-01-04 07:11:22][INFO] : Démon phone_detection lancé [2024-01-04 07:11:22][INFO] : Receive a test from antenna local [2024-01-04 07:11:22][DEBUG][root](MainThread) : Status Code : 200 [2024-01-04 07:11:22][DEBUG][root](MainThread) : Jeedom reply : {'success': True, 'value': 0} [2024-01-04 07:11:22][INFO][root](MainThread) : Use Unix socket for Jeedom -> daemon communication [2024-01-04 07:11:22][INFO][root](MainThread) : Get devices from Jeedom [2024-01-04 07:11:22][DEBUG][root](MainThread) : Send to jeedom : {'action': 'get_devices', 'source': 'local'} [2024-01-04 07:11:22][INFO] : Receive get_devices from antenna local [2024-01-04 07:11:22][DEBUG] : [Présence][Bruno]-->0 [2024-01-04 07:11:22][DEBUG] : [Présence][Laurence]-->0 [2024-01-04 07:11:22][DEBUG] : [Présence][Yanis]-->0 [2024-01-04 07:11:22][DEBUG] : [Présence][Yann]-->0 [2024-01-04 07:11:22][DEBUG] : updateGlobalDevice: state=0/nb1=0/nbDevices=4 [2024-01-04 07:11:22][DEBUG][root](MainThread) : Status Code : 200 [2024-01-04 07:11:22][DEBUG][root](MainThread) : Jeedom reply : {'success': True, 'value': {'77': {'state': 0, 'lastValueDate': '2023-12-30 20:14:23', 'name': 'Bruno', 'humanName': '[Présence][Bruno]', 'id': '77', 'macAddress': '20:f4:78:5b:39:d3'}, '68': {'state': 0, 'lastValueDate': '2023-12-30 20:14:29', 'name': 'Laurence', 'humanName': '[Présence][Laurence]', 'id': '68', 'macAddress': '1c:d1:07:53:51:56'}, '50': {'state': 0, 'lastValueDate': '2023-12-11 18:55:00', 'name': 'Yanis', 'humanName': '[Présence][Yanis]', 'id': '50', 'macAddress': 'ac:1e:9e:19:88:34'}, '47': {'state': 0, 'lastValueDate': '2024-01-03 08:18:03', 'name': 'Yann', 'humanName': '[Présence][Yann]', 'id': '47', 'macAddress': '98:f6:21:37:c7:47'}}} [2024-01-04 07:11:22][DEBUG][root](MainThread) : Send to jeedom : {'action': 'refresh_group', 'source': 'local'} [2024-01-04 07:11:22][INFO] : Receive refresh_group from antenna local [2024-01-04 07:11:22][DEBUG] : [Présence][Bruno]-->0 [2024-01-04 07:11:22][DEBUG] : [Présence][Laurence]-->0 [2024-01-04 07:11:22][DEBUG] : [Présence][Yanis]-->0 [2024-01-04 07:11:22][DEBUG] : [Présence][Yann]-->0 [2024-01-04 07:11:22][DEBUG] : updateGlobalDevice: state=0/nb1=0/nbDevices=4 [2024-01-04 07:11:22][DEBUG][root](MainThread) : Status Code : 200 [2024-01-04 07:11:22][DEBUG][root](MainThread) : Jeedom reply : {'success': True, 'value': 0} [2024-01-04 07:11:22][INFO][root](MainThread) : [77] Starting monitoring for Bruno [20:F4:78:5B:39:D3] [2024-01-04 07:11:22][DEBUG][root](MainThread) : Send to jeedom : {'action': 'get_status', 'id': '77', 'source': 'local'} [2024-01-04 07:11:22][INFO] : Receive get_status for [Présence][Bruno] from antenna local [2024-01-04 07:11:22][DEBUG][root](MainThread) : Status Code : 200 [2024-01-04 07:11:22][DEBUG][root](MainThread) : Jeedom reply : {'success': True, 'value': 0} [2024-01-04 07:11:22][DEBUG][root](MainThread) : Jeedom 77 device status: False [2024-01-04 07:11:22][DEBUG][root](MainThread) : [77]: lastStateDate: 2023-12-30 20:14:23 [2024-01-04 07:11:22][DEBUG][root](MainThread) : [77]: thresholdDate: 2023-12-30 20:17:23 [2024-01-04 07:11:22][DEBUG][root](MainThread) : [77]: datetime.utcnow(): 2024-01-04 06:11:22.937777 [2024-01-04 07:11:22][DEBUG][root](MainThread) : [77]: isReachableLastPolling: False [2024-01-04 07:11:22][DEBUG][root](MainThread) : [77]: isReachable: 0, is datetime.utcnow() > thresholdDate ? True [2024-01-04 07:11:22][INFO][root](MainThread) : [68] Starting monitoring for Laurence [1C:D1:07:53:51:56] [2024-01-04 07:11:22][DEBUG][root](MainThread) : Send to jeedom : {'action': 'get_status', 'id': '68', 'source': 'local'} [2024-01-04 07:11:22][INFO] : Receive get_status for [Présence][Laurence] from antenna local [2024-01-04 07:11:22][DEBUG][root](MainThread) : Status Code : 200 [2024-01-04 07:11:22][DEBUG][root](MainThread) : Jeedom reply : {'success': True, 'value': 0} [2024-01-04 07:11:22][DEBUG][root](MainThread) : Jeedom 68 device status: False [2024-01-04 07:11:22][DEBUG][root](MainThread) : [68]: lastStateDate: 2023-12-30 20:14:29 [2024-01-04 07:11:22][DEBUG][root](MainThread) : [68]: thresholdDate: 2023-12-30 20:17:29 [2024-01-04 07:11:22][DEBUG][root](MainThread) : [68]: datetime.utcnow(): 2024-01-04 06:11:22.975788 [2024-01-04 07:11:22][DEBUG][root](MainThread) : [68]: isReachableLastPolling: False [2024-01-04 07:11:22][DEBUG][root](MainThread) : [68]: isReachable: 0, is datetime.utcnow() > thresholdDate ? True [2024-01-04 07:11:22][INFO][root](MainThread) : [50] Starting monitoring for Yanis [AC:1E:9E:19:88:34] [2024-01-04 07:11:22][DEBUG][root](MainThread) : Send to jeedom : {'action': 'get_status', 'id': '50', 'source': 'local'} [2024-01-04 07:11:23][INFO] : Receive get_status for [Présence][Yanis] from antenna local [2024-01-04 07:11:23][DEBUG][root](MainThread) : Status Code : 200 [2024-01-04 07:11:23][DEBUG][root](MainThread) : Jeedom reply : {'success': True, 'value': 0} [2024-01-04 07:11:23][DEBUG][root](MainThread) : Jeedom 50 device status: False [2024-01-04 07:11:23][DEBUG][root](MainThread) : [50]: lastStateDate: 2023-12-11 18:55:00 [2024-01-04 07:11:23][DEBUG][root](MainThread) : [50]: thresholdDate: 2023-12-11 18:58:00 [2024-01-04 07:11:23][DEBUG][root](MainThread) : [50]: datetime.utcnow(): 2024-01-04 06:11:23.013419 [2024-01-04 07:11:23][DEBUG][root](MainThread) : [50]: isReachableLastPolling: False [2024-01-04 07:11:23][DEBUG][root](MainThread) : [50]: isReachable: 0, is datetime.utcnow() > thresholdDate ? True [2024-01-04 07:11:23][INFO][root](MainThread) : [47] Starting monitoring for Yann [98:F6:21:37:C7:47] [2024-01-04 07:11:23][DEBUG][root](MainThread) : Send to jeedom : {'action': 'get_status', 'id': '47', 'source': 'local'} [2024-01-04 07:11:23][INFO] : Receive get_status for [Présence][Yann] from antenna local [2024-01-04 07:11:23][DEBUG][root](MainThread) : Status Code : 200 [2024-01-04 07:11:23][DEBUG][root](MainThread) : Jeedom reply : {'success': True, 'value': 0} [2024-01-04 07:11:23][DEBUG][root](MainThread) : Jeedom 47 device status: False [2024-01-04 07:11:23][DEBUG][root](MainThread) : [47]: lastStateDate: 2024-01-03 08:18:03 [2024-01-04 07:11:23][DEBUG][root](MainThread) : [47]: thresholdDate: 2024-01-03 08:21:03 [2024-01-04 07:11:23][DEBUG][root](MainThread) : [47]: datetime.utcnow(): 2024-01-04 06:11:23.050968 [2024-01-04 07:11:23][DEBUG][root](MainThread) : [47]: isReachableLastPolling: False [2024-01-04 07:11:23][DEBUG][root](MainThread) : [47]: isReachable: 0, is datetime.utcnow() > thresholdDate ? True [2024-01-04 07:11:23][DEBUG][root](Thread-2) : sleeptime: 10 GCD(10, 30) [2024-01-04 07:11:23][INFO][root](MainThread) : Start heartbeat thread [2024-01-04 07:11:23][DEBUG][asyncio](Thread-2) : Using selector: EpollSelector [2024-01-04 07:11:23][DEBUG][root](Thread-3) : Send to jeedom : {'action': 'heartbeat', 'version': '2.2.1', 'alive': 1, 'source': 'local'} [2024-01-04 07:11:23][DEBUG][root](Thread-2) : Adding [77]: 20:F4:78:5B:39:D3 (Bruno) [2024-01-04 07:11:23][DEBUG][root](Thread-2) : Adding [68]: 1C:D1:07:53:51:56 (Laurence) [2024-01-04 07:11:23][DEBUG][root](Thread-2) : Adding [50]: AC:1E:9E:19:88:34 (Yanis) [2024-01-04 07:11:23][DEBUG][root](Thread-2) : Adding [47]: 98:F6:21:37:C7:47 (Yann) [2024-01-04 07:11:23][DEBUG][root](Thread-2) : Number of devices to poll: 4 [2024-01-04 07:11:23][ERROR][asyncio](Thread-2) : Fatal write error on socket transport protocol: transport: <_SelectorSocketTransport fd=8 read=idle write=> Traceback (most recent call last): File "/usr/lib/python3.7/asyncio/selector_events.py", line 857, in write n = self._sock.send(data) PermissionError: [Errno 1] Operation not permitted [2024-01-04 07:11:23][DEBUG] : This is a heartbeat from antenna local version=2.2.1 alive=1 [2024-01-04 07:11:23][DEBUG][root](Thread-3) : Status Code : 200 [2024-01-04 07:11:23][DEBUG][root](Thread-3) : Jeedom reply : {'success': True, 'value': 0} [2024-01-04 07:11:23][DEBUG][root](Thread-2) : Sending bluetooth name request to 4 devices (try 1/2) [2024-01-04 07:11:28][DEBUG][root](Thread-2) : Sending bluetooth name request to 4 devices (try 2/2) [2024-01-04 07:11:28][WARNING][asyncio](Thread-2) : socket.send() raised exception. [2024-01-04 07:11:28][WARNING][asyncio](Thread-2) : socket.send() raised exception. [2024-01-04 07:11:28][WARNING][asyncio](Thread-2) : socket.send() raised exception. [2024-01-04 07:11:28][WARNING][asyncio](Thread-2) : socket.send() raised exception. [2024-01-04 07:11:34][WARNING][root](Thread-2) : No response for mac AC:1E:9E:19:88:34 [2024-01-04 07:11:34][WARNING][root](Thread-2) : No response for mac 98:F6:21:37:C7:47 [2024-01-04 07:11:34][WARNING][root](Thread-2) : No response for mac 1C:D1:07:53:51:56 [2024-01-04 07:11:34][WARNING][root](Thread-2) : No response for mac 20:F4:78:5B:39:D3 [2024-01-04 07:11:34][DEBUG][root](Thread-2) : elapsed time 11.547667264938354, next loop in 0 seconds [2024-01-04 07:11:34][DEBUG][asyncio](Thread-2) : Using selector: EpollSelector [2024-01-04 07:11:34][DEBUG][root](Thread-2) : Adding [77]: 20:F4:78:5B:39:D3 (Bruno) [2024-01-04 07:11:34][DEBUG][root](Thread-2) : Adding [68]: 1C:D1:07:53:51:56 (Laurence) [2024-01-04 07:11:34][DEBUG][root](Thread-2) : Adding [50]: AC:1E:9E:19:88:34 (Yanis) [2024-01-04 07:11:34][DEBUG][root](Thread-2) : Adding [47]: 98:F6:21:37:C7:47 (Yann) [2024-01-04 07:11:34][DEBUG][root](Thread-2) : Number of devices to poll: 4 [2024-01-04 07:11:34][ERROR][asyncio](Thread-2) : Fatal write error on socket transport protocol: transport: <_SelectorSocketTransport fd=7 read=idle write=> Traceback (most recent call last): File "/usr/lib/python3.7/asyncio/selector_events.py", line 857, in write n = self._sock.send(data) PermissionError: [Errno 1] Operation not permitted [2024-01-04 07:11:34][DEBUG][root](Thread-2) : Sending bluetooth name request to 4 devices (try 1/2) [2024-01-04 07:11:39][DEBUG][root](Thread-2) : Sending bluetooth name request to 4 devices (try 2/2) [2024-01-04 07:11:39][WARNING][asyncio](Thread-2) : socket.send() raised exception. [2024-01-04 07:11:40][WARNING][asyncio](Thread-2) : socket.send() raised exception. [2024-01-04 07:11:40][WARNING][asyncio](Thread-2) : socket.send() raised exception. [2024-01-04 07:11:40][WARNING][asyncio](Thread-2) : socket.send() raised exception. [2024-01-04 07:11:46][WARNING][root](Thread-2) : No response for mac AC:1E:9E:19:88:34 [2024-01-04 07:11:46][WARNING][root](Thread-2) : No response for mac 1C:D1:07:53:51:56 [2024-01-04 07:11:46][WARNING][root](Thread-2) : No response for mac 98:F6:21:37:C7:47 [2024-01-04 07:11:46][WARNING][root](Thread-2) : No response for mac 20:F4:78:5B:39:D3 [2024-01-04 07:11:46][DEBUG][root](Thread-2) : elapsed time 11.53452444076538, next loop in 0 seconds [2024-01-04 07:11:46][DEBUG][asyncio](Thread-2) : Using selector: EpollSelector [2024-01-04 07:11:46][DEBUG][root](Thread-2) : Adding [77]: 20:F4:78:5B:39:D3 (Bruno) [2024-01-04 07:11:46][DEBUG][root](Thread-2) : Adding [68]: 1C:D1:07:53:51:56 (Laurence) [2024-01-04 07:11:46][DEBUG][root](Thread-2) : Adding [50]: AC:1E:9E:19:88:34 (Yanis) [2024-01-04 07:11:46][DEBUG][root](Thread-2) : Adding [47]: 98:F6:21:37:C7:47 (Yann) [2024-01-04 07:11:46][DEBUG][root](Thread-2) : Number of devices to poll: 4 [2024-01-04 07:11:46][ERROR][asyncio](Thread-2) : Fatal write error on socket transport protocol: transport: <_SelectorSocketTransport fd=7 read=idle write=> Traceback (most recent call last): File "/usr/lib/python3.7/asyncio/selector_events.py", line 857, in write n = self._sock.send(data) PermissionError: [Errno 1] Operation not permitted [2024-01-04 07:11:46][DEBUG][root](Thread-2) : Sending bluetooth name request to 4 devices (try 1/2) [2024-01-04 07:11:51][DEBUG][root](Thread-2) : Sending bluetooth name request to 4 devices (try 2/2) [2024-01-04 07:11:51][WARNING][asyncio](Thread-2) : socket.send() raised exception. [2024-01-04 07:11:51][WARNING][asyncio](Thread-2) : socket.send() raised exception. [2024-01-04 07:11:51][WARNING][asyncio](Thread-2) : socket.send() raised exception. [2024-01-04 07:11:51][WARNING][asyncio](Thread-2) : socket.send() raised exception. [2024-01-04 07:11:53][DEBUG][root](Thread-3) : Send to jeedom : {'action': 'heartbeat', 'version': '2.2.1', 'alive': 1, 'source': 'local'} [2024-01-04 07:11:53][DEBUG] : This is a heartbeat from antenna local version=2.2.1 alive=1 [2024-01-04 07:11:53][DEBUG][root](Thread-3) : Status Code : 200 [2024-01-04 07:11:53][DEBUG][root](Thread-3) : Jeedom reply : {'success': True, 'value': 0} [2024-01-04 07:11:57][WARNING][root](Thread-2) : No response for mac AC:1E:9E:19:88:34 [2024-01-04 07:11:57][WARNING][root](Thread-2) : No response for mac 20:F4:78:5B:39:D3 [2024-01-04 07:11:57][WARNING][root](Thread-2) : No response for mac 1C:D1:07:53:51:56 [2024-01-04 07:11:57][WARNING][root](Thread-2) : No response for mac 98:F6:21:37:C7:47 [2024-01-04 07:11:57][DEBUG][root](Thread-2) : elapsed time 11.522941589355469, next loop in 0 seconds [2024-01-04 07:11:57][DEBUG][asyncio](Thread-2) : Using selector: EpollSelector [2024-01-04 07:11:57][DEBUG][root](Thread-2) : Adding [77]: 20:F4:78:5B:39:D3 (Bruno) [2024-01-04 07:11:57][DEBUG][root](Thread-2) : Adding [68]: 1C:D1:07:53:51:56 (Laurence) [2024-01-04 07:11:57][DEBUG][root](Thread-2) : Adding [50]: AC:1E:9E:19:88:34 (Yanis) [2024-01-04 07:11:57][DEBUG][root](Thread-2) : Adding [47]: 98:F6:21:37:C7:47 (Yann) [2024-01-04 07:11:57][DEBUG][root](Thread-2) : Number of devices to poll: 4 [2024-01-04 07:11:57][ERROR][asyncio](Thread-2) : Fatal write error on socket transport protocol: transport: <_SelectorSocketTransport fd=7 read=idle write=> Traceback (most recent call last): File "/usr/lib/python3.7/asyncio/selector_events.py", line 857, in write n = self._sock.send(data) PermissionError: [Errno 1] Operation not permitted [2024-01-04 07:11:57][DEBUG][root](Thread-2) : Sending bluetooth name request to 4 devices (try 1/2) [2024-01-04 07:12:02][DEBUG][root](Thread-2) : Sending bluetooth name request to 4 devices (try 2/2) [2024-01-04 07:12:03][WARNING][asyncio](Thread-2) : socket.send() raised exception. [2024-01-04 07:12:03][WARNING][asyncio](Thread-2) : socket.send() raised exception. [2024-01-04 07:12:03][WARNING][asyncio](Thread-2) : socket.send() raised exception. [2024-01-04 07:12:03][WARNING][asyncio](Thread-2) : socket.send() raised exception. [2024-01-04 07:12:09][WARNING][root](Thread-2) : No response for mac AC:1E:9E:19:88:34 [2024-01-04 07:12:09][WARNING][root](Thread-2) : No response for mac 1C:D1:07:53:51:56 [2024-01-04 07:12:09][WARNING][root](Thread-2) : No response for mac 20:F4:78:5B:39:D3 [2024-01-04 07:12:09][WARNING][root](Thread-2) : No response for mac 98:F6:21:37:C7:47 [2024-01-04 07:12:09][DEBUG][root](Thread-2) : elapsed time 11.532696962356567, next loop in 0 seconds [2024-01-04 07:12:09][DEBUG][asyncio](Thread-2) : Using selector: EpollSelector [2024-01-04 07:12:09][DEBUG][root](Thread-2) : Adding [77]: 20:F4:78:5B:39:D3 (Bruno) [2024-01-04 07:12:09][DEBUG][root](Thread-2) : Adding [68]: 1C:D1:07:53:51:56 (Laurence) [2024-01-04 07:12:09][DEBUG][root](Thread-2) : Adding [50]: AC:1E:9E:19:88:34 (Yanis) [2024-01-04 07:12:09][DEBUG][root](Thread-2) : Adding [47]: 98:F6:21:37:C7:47 (Yann) [2024-01-04 07:12:09][DEBUG][root](Thread-2) : Number of devices to poll: 4 [2024-01-04 07:12:09][ERROR][asyncio](Thread-2) : Fatal write error on socket transport protocol: transport: <_SelectorSocketTransport fd=7 read=idle write=> Traceback (most recent call last): File "/usr/lib/python3.7/asyncio/selector_events.py", line 857, in write n = self._sock.send(data) PermissionError: [Errno 1] Operation not permitted [2024-01-04 07:12:09][DEBUG][root](Thread-2) : Sending bluetooth name request to 4 devices (try 1/2)