It seams, that after a password change in the awox app, the connection is refused by the device.
See the log containing the credential error.
2023-02-13 11:56:33.298 INFO (MainThread) [custom_components.awox.awox_mesh] [R0NNxPnd][EGLO RGB+TW][a4:c1:38:cd:50:5c] Trying to connect
2023-02-13 11:56:36.295 INFO (SyncWorker_8) [custom_components.awox.awoxmeshlight] Connecting to a4:c1:38:cd:50:5c with timeout=15
2023-02-13 11:56:51.406 ERROR (SyncWorker_8) [custom_components.awox.awoxmeshlight] Timed out connecting to a4:c1:38:cd:50:5c after 15 seconds.
2023-02-13 11:56:51.421 INFO (MainThread) [custom_components.awox.awox_mesh] [R0NNxPnd][EGLO RGB+TW][a4:c1:38:cd:50:5c] Failed to connect, trying next device [NotConnectedError] Timed out connecting to a4:c1:38:cd:50:5c after 15 seconds.
2023-02-13 11:56:51.422 DEBUG (MainThread) [custom_components.awox.awox_mesh] [R0NNxPnd][EGLO RGB+TW][a4:c1:38:cd:50:5c] Setting up Bluetooth connection failed, making sure Bluetooth device stops trying
2023-02-13 11:56:51.430 DEBUG (SyncWorker_6) [custom_components.awox.awoxmeshlight] [R0NNxPnd][a4:c1:38:cd:50:5c] Force stopping ble adapter
2023-02-13 11:56:51.739 WARNING (AwoxMeshCommands-R0NNxPnd) [custom_components.awox.awox_mesh] [R0NNxPnd] Command failed, retry 3
After a couple of retries it comes also with this error.
It seams, that after a password change in the awox app, the connection is refused by the device. See the log containing the credential error.
2023-02-13 11:56:33.298 INFO (MainThread) [custom_components.awox.awox_mesh] [R0NNxPnd][EGLO RGB+TW][a4:c1:38:cd:50:5c] Trying to connect 2023-02-13 11:56:36.295 INFO (SyncWorker_8) [custom_components.awox.awoxmeshlight] Connecting to a4:c1:38:cd:50:5c with timeout=15 2023-02-13 11:56:51.406 ERROR (SyncWorker_8) [custom_components.awox.awoxmeshlight] Timed out connecting to a4:c1:38:cd:50:5c after 15 seconds. 2023-02-13 11:56:51.421 INFO (MainThread) [custom_components.awox.awox_mesh] [R0NNxPnd][EGLO RGB+TW][a4:c1:38:cd:50:5c] Failed to connect, trying next device [NotConnectedError] Timed out connecting to a4:c1:38:cd:50:5c after 15 seconds. 2023-02-13 11:56:51.422 DEBUG (MainThread) [custom_components.awox.awox_mesh] [R0NNxPnd][EGLO RGB+TW][a4:c1:38:cd:50:5c] Setting up Bluetooth connection failed, making sure Bluetooth device stops trying 2023-02-13 11:56:51.430 DEBUG (SyncWorker_6) [custom_components.awox.awoxmeshlight] [R0NNxPnd][a4:c1:38:cd:50:5c] Force stopping ble adapter 2023-02-13 11:56:51.739 WARNING (AwoxMeshCommands-R0NNxPnd) [custom_components.awox.awox_mesh] [R0NNxPnd] Command failed, retry 3
After a couple of retries it comes also with this error.
-02-13 11:56:51.747 INFO (MainThread) [custom_components.awox.awox_mesh] [R0NNxPnd][EGLO RGB+TW][a4:c1:38:cd:50:5c] Trying to connect 2023-02-13 11:56:54.448 INFO (SyncWorker_0) [custom_components.awox.awoxmeshlight] Connecting to a4:c1:38:cd:50:5c with timeout=15 2023-02-13 11:56:54.976 INFO (SyncWorker_0) [custom_components.awox.awoxmeshlight] [R0NNxPnd][a4:c1:38:cd:50:5c] Send pair message bytearray(b'\x0cW\x1c0\xa5\x06y7\xee\xce8\xf5\x01\xa1\xb7\\x7f') 2023-02-13 11:56:56.769 DEBUG (SyncWorker_0) [custom_components.awox.awoxmeshlight] [R0NNxPnd][a4:c1:38:cd:50:5c] Read bytearray(b'\x0e') from characteristic 00010203-0405-0607-0809-0a0b0c0d1914 2023-02-13 11:56:56.770 INFO (SyncWorker_0) [custom_components.awox.awoxmeshlight] [R0NNxPnd][a4:c1:38:cd:50:5c] Device authentication error: known mesh credentials are not excepted by the device. Did you re-pair them to your Awox app with a different account? 2023-02-13 11:56:56.770 DEBUG (SyncWorker_0) [custom_components.awox.awoxmeshlight] [R0NNxPnd][a4:c1:38:cd:50:5c] Disconnecting 2023-02-13 11:56:56.836 INFO (Thread-331) [custom_components.awox.awoxmeshlight] [R0NNxPnd][a4:c1:38:cd:50:5c] Disconnected by backend 2023-02-13 11:56:57.126 INFO (MainThread) [custom_components.awox.awox_mesh] [R0NNxPnd][EGLO RGB+TW][a4:c1:38:cd:50:5c] Could not connect 2023-02-13 11:56:57.127 DEBUG (MainThread) [custom_components.awox.awox_mesh] [R0NNxPnd][EGLO RGB+TW][a4:c1:38:cd:50:5c] Setting up Bluetooth connection failed, making sure Bluetooth device stops trying 2023-02-13 11:56:57.130 DEBUG (SyncWorker_1) [custom_components.awox.awoxmeshlight] [R0NNxPnd][a4:c1:38:cd:50:5c] Force stopping ble adapter 2023-02-13 11:56:57.158 DEBUG (AwoxMeshCommands-R0NNxPnd) [custom_components.awox.awox_mesh] [R0NNxPnd] get item from queue 2023-02-13 11:56:58.408 INFO (MainThread) [custom_components.awox.awox_mesh] [R0NNxPnd] Search for AwoX devices to find closest (best RSSI value) device 2023-02-13 11:57:01.406 INFO (MainThread) [custom_components.awox.scanner] Scanning 20 seconds for AwoX bluetooth mesh devices! 2023-02-13 11:58:11.660 ERROR (SyncWorker_5) [custom_components.awox.bluetoothctl] Failed to get available devices: Timeout exceeded. <pexpect.pty_spawn.spawn object at 0x7fc6e8f5a740> command: /usr/bin/bluetoothctl args: [b'/usr/bin/bluetoothctl'] buffer (last 100 chars): '\x1b[0m\x02] Device 76:DF:07:30:D1:72 RSSI: -98\r\n[\x01\x1b[0;93m\x02CHG\x01\x1b[0m\x02] Device E0:B6:55:EF:13:FA RSSI: -34\r\n' before (last 100 chars): '\x1b[0m\x02] Device 76:DF:07:30:D1:72 RSSI: -98\r\n[\x01\x1b[0;93m\x02CHG\x01\x1b[0m\x02] Device E0:B6:55:EF:13:FA RSSI: -34\r\n' after: <class 'pexpect.exceptions.TIMEOUT'> match: None match_index: None exitstatus: None flag_eof: False pid: 2697 child_fd: 83 closed: False timeout: 30 delimiter: <class 'pexpect.exceptions.EOF'> logfile: None logfile_read: None logfile_send: None maxread: 2000 ignorecase: False searchwindowsize: None delaybeforesend: 0.05 delayafterclose: 0.1 delayafterterminate: 0.1 searcher: searcher_re: 0: re.compile('bluetooth') 1: EOF 2023-02-13 11:58:11.665 DEBUG (MainThread) [custom_components.awox.scanner] Found devices: {} 2023-02-13 11:58:12.007 DEBUG (MainThread) [custom_components.awox.awox_mesh] [R0NNxPnd] Scan result: {} 2023-02-13 11:58:12.007 INFO (MainThread) [custom_components.awox.awox_mesh] [R0NNxPnd][EGLO RGB+TW][a4:c1:38:cd:50:5c] Device NOT found during Bluetooth scan 2023-02-13 11:58:12.009 INFO (MainThread) [custom_components.awox.awox_mesh] [R0NNxPnd] Queue command requestStatus {'dest': 65535, 'withResponse': True} 2023-02-13 11:58:12.020 DEBUG (AwoxMeshCommands-R0NNxPnd) [custom_components.awox.awox_mesh] [R0NNxPnd] process 0/0 - {'command': 'requestStatus', 'params': {'dest': 65535, 'withResponse': True}, 'callback': <function AwoxMesh._async_add_command_to_queue..command_executed at 0x7fc6e860cca0>, 'allow_to_fail': False}
2023-02-13 11:58:12.068 WARNING (AwoxMeshCommands-R0NNxPnd) [custom_components.awox.awox_mesh] [R0NNxPnd] Command failed, retry 1
2023-02-13 11:58:12.109 WARNING (AwoxMeshCommands-R0NNxPnd) [custom_components.awox.awox_mesh] [R0NNxPnd] Command failed, retry 2
2023-02-13 11:58:12.119 WARNING (AwoxMeshCommands-R0NNxPnd) [custom_components.awox.awox_mesh] [R0NNxPnd] Command failed, retry 3
2023-02-13 11:58:12.134 DEBUG (AwoxMeshCommands-R0NNxPnd) [custom_components.awox.awox_mesh] [R0NNxPnd] get item from queue
2023-02-13 11:58:12.148 DEBUG (MainThread) [custom_components.awox.awox_mesh] Finished fetching awox data in 73.741 seconds (success: False)
2023-02-13 11:58:42.406 INFO (MainThread) [custom_components.awox.awox_mesh] [R0NNxPnd] Search for AwoX devices to find closest (best RSSI value) device
2023-02-13 11:58:45.602 INFO (MainThread) [custom_components.awox.scanner] Scanning 20 seconds for AwoX bluetooth mesh devices!
2023-02-13 11:59:06.232 INFO (SyncWorker_9) [custom_components.awox.bluetoothctl] found: {'EC:81:93:29:66:8A': {'mac': 'EC:81:93:29:66:8A', 'name': 'EC-81-93-29-66-8A', 'rssi': -59}, '32:C0:FA:F8:32:19': {'mac': '32:C0:FA:F8:32:19', 'name': '32-C0-FA-F8-32-19', 'rssi': -62}, '54:E6:FD:1D:1F:F3': {'mac': '54:E6:FD:1D:1F:F3', 'name': '54-E6-FD-1D-1F-F3', 'rssi': -59}, '74:2B:69:41:CA:71': {'mac': '74:2B:69:41:CA:71', 'name': 'iPhone', 'rssi': -63}, '3B:9F:86:3A:A1:51': {'mac': '3B:9F:86:3A:A1:51', 'name': '3B-9F-86-3A-A1-51', 'rssi': -68}, '7D:BD:56:BC:18:05': {'mac': '7D:BD:56:BC:18:05', 'name': '7D-BD-56-BC-18-05', 'rssi': -75}, 'A4:C1:38:8F:5D:C4': {'mac': 'A4:C1:38:8F:5D:C4', 'name': 'LYWSD03MMC', 'rssi': -89}, '30:7A:AB:E9:F4:BE': {'mac': '30:7A:AB:E9:F4:BE', 'name': '30-7A-AB-E9-F4-BE', 'rssi': -68}, 'A4:C1:38:CD:50:5C': {'mac': 'A4:C1:38:CD:50:5C', 'name': 'R0NNxPnd', 'rssi': -69}, 'EF:34:10:C9:72:BB': {'mac': 'EF:34:10:C9:72:BB', 'name': 'Eve Weather 5AF6', 'rssi': -59}, '70:A6:8D:AB:FB:92': {'mac': '70:A6:8D:AB:FB:92', 'name': '70-A6-8D-AB-FB-92', 'rssi': -59}, '4A:7C:A3:8E:80:86': {'mac': '4A:7C:A3:8E:80:86', 'name': '4A-7C-A3-8E-80-86', 'rssi': -61}, 'B4:18:D1:E3:4A:78': {'mac': 'B4:18:D1:E3:4A:78', 'name': 'B4-18-D1-E3-4A-78', 'rssi': -75}, 'D0:C8:5E:A1:0A:5B': {'mac': 'D0:C8:5E:A1:0A:5B', 'name': 'Nanoleaf Strip 0CGV', 'rssi': -82}, '0C:DC:7E:F9:06:66': {'mac': '0C:DC:7E:F9:06:66', 'name': 'ShellyPlus1-0CDC7EF90664', 'rssi': -91}, 'DD:47:B2:93:20:DC': {'mac': 'DD:47:B2:93:20:DC', 'name': 'WoHand', 'rssi': -77}, 'D3:A8:3C:FD:00:AC': {'mac': 'D3:A8:3C:FD:00:AC', 'name': 'Nanoleaf Strip 8AXW', 'rssi': -63}, '7C:87:CE:63:C7:22': {'mac': '7C:87:CE:63:C7:22', 'name': 'ShellyPlus1-7C87CE63C720', 'rssi': -79}, 'A4:C1:38:14:70:F4': {'mac': 'A4:C1:38:14:70:F4', 'name': 'LYWSD03MMC', 'rssi': -66}, 'A4:C1:38:40:B6:A6': {'mac': 'A4:C1:38:40:B6:A6', 'name': 'LYWSD03MMC', 'rssi': -82}, 'E4:B5:C7:0B:0D:53': {'mac': 'E4:B5:C7:0B:0D:53', 'name': 'E4-B5-C7-0B-0D-53', 'rssi': -81}, 'A4:C1:38:87:08:96': {'mac': 'A4:C1:38:87:08:96', 'name': 'LYWSD03MMC', 'rssi': -59}, 'C7:F9:B8:95:3C:D3': {'mac': 'C7:F9:B8:95:3C:D3', 'name': 'C7-F9-B8-95-3C-D3', 'rssi': -62}, 'B4:C2:6A:19:F9:A7': {'mac': 'B4:C2:6A:19:F9:A7', 'name': 'B4-C2-6A-19-F9-A7', 'rssi': -90}, '24:4B:03:9A:1F:DF': {'mac': '24:4B:03:9A:1F:DF', 'name': '24:4B:03:9A:1F:DF', 'rssi': None}, 'A4:C1:38:0B:55:21': {'mac': 'A4:C1:38:0B:55:21', 'name': 'R0NNxPnd', 'rssi': -90}, '76:DF:07:30:D1:72': {'mac': '76:DF:07:30:D1:72', 'name': '76-DF-07-30-D1-72', 'rssi': None}, 'A4:C1:38:88:54:18': {'mac': 'A4:C1:38:88:54:18', 'name': 'LYWSD03MMC', 'rssi': None}, 'EF:33:EA:97:53:B7': {'mac': 'EF:33:EA:97:53:B7', 'name': 'EF-33-EA-97-53-B7', 'rssi': None}, 'A4:C1:38:91:16:4D': {'mac': 'A4:C1:38:91:16:4D', 'name': 'LYWSD03MMC', 'rssi': None}}
2023-02-13 11:59:06.236 DEBUG (MainThread) [custom_components.awox.scanner] Found devices: {'A4:C1:38:8F:5D:C4': {'mac': 'A4:C1:38:8F:5D:C4', 'name': 'LYWSD03MMC', 'rssi': -89}, 'A4:C1:38:CD:50:5C': {'mac': 'A4:C1:38:CD:50:5C', 'name': 'R0NNxPnd', 'rssi': -69}, 'A4:C1:38:14:70:F4': {'mac': 'A4:C1:38:14:70:F4', 'name': 'LYWSD03MMC', 'rssi': -66}, 'A4:C1:38:40:B6:A6': {'mac': 'A4:C1:38:40:B6:A6', 'name': 'LYWSD03MMC', 'rssi': -82}, 'A4:C1:38:87:08:96': {'mac': 'A4:C1:38:87:08:96', 'name': 'LYWSD03MMC', 'rssi': -59}, 'A4:C1:38:0B:55:21': {'mac': 'A4:C1:38:0B:55:21', 'name': 'R0NNxPnd', 'rssi': -90}, 'A4:C1:38:88:54:18': {'mac': 'A4:C1:38:88:54:18', 'name': 'LYWSD03MMC', 'rssi': None}, 'A4:C1:38:91:16:4D': {'mac': 'A4:C1:38:91:16:4D', 'name': 'LYWSD03MMC', 'rssi': None}}
2023-02-13 11:59:06.607 DEBUG (MainThread) [custom_components.awox.awox_mesh] [R0NNxPnd] Scan result: {'A4:C1:38:8F:5D:C4': {'mac': 'A4:C1:38:8F:5D:C4', 'name': 'LYWSD03MMC', 'rssi': -89}, 'A4:C1:38:CD:50:5C': {'mac': 'A4:C1:38:CD:50:5C', 'name': 'R0NNxPnd', 'rssi': -69}, 'A4:C1:38:14:70:F4': {'mac': 'A4:C1:38:14:70:F4', 'name': 'LYWSD03MMC', 'rssi': -66}, 'A4:C1:38:40:B6:A6': {'mac': 'A4:C1:38:40:B6:A6', 'name': 'LYWSD03MMC', 'rssi': -82}, 'A4:C1:38:87:08:96': {'mac': 'A4:C1:38:87:08:96', 'name': 'LYWSD03MMC', 'rssi': -59}, 'A4:C1:38:0B:55:21': {'mac': 'A4:C1:38:0B:55:21', 'name': 'R0NNxPnd', 'rssi': -90}, 'A4:C1:38:88:54:18': {'mac': 'A4:C1:38:88:54:18', 'name': 'LYWSD03MMC', 'rssi': None}, 'A4:C1:38:91:16:4D': {'mac': 'A4:C1:38:91:16:4D', 'name': 'LYWSD03MMC', 'rssi': None}}
2023-02-13 11:59:06.607 INFO (MainThread) [custom_components.awox.awox_mesh] [R0NNxPnd][EGLO RGB+TW][a4:c1:38:cd:50:5c] Bluetooth scan returns RSSI value = -69
2023-02-13 11:59:06.609 INFO (MainThread) [custom_components.awox.awox_mesh] [R0NNxPnd] Queue command requestStatus {'dest': 65535, 'withResponse': True}
2023-02-13 11:59:06.614 DEBUG (AwoxMeshCommands-R0NNxPnd) [custom_components.awox.awox_mesh] [R0NNxPnd] process 0/0 - {'command': 'requestStatus', 'params': {'dest': 65535, 'withResponse': True}, 'callback': <function AwoxMesh._async_add_command_to_queue..command_executed at 0x7fc716ed4430>, 'allow_to_fail': False}