@@ -48,7 +48,7 @@ async def ble_task():
while True:
try:
- async with BleakClient(outdoorMac) as client:
+ async with BleakClient(outdoorMac, timeout=60.0, address_type="public") as client:
outdoorConnected = 1
print(f"connected")