marek vor 1 Monat
Ursprung
Commit
e5a37bfd59
1 geänderte Dateien mit 2 neuen und 0 gelöschten Zeilen
  1. 2 0
      apps/getData.py

+ 2 - 0
apps/getData.py

@@ -66,6 +66,8 @@ async def ble_task():
                 await client.start_notify(PRESSURE_UUID, notification_handler)
                 await client.start_notify(HUMIDITY_UUID, notification_handler)
                 await client.start_notify(ALTITUDE_UUID, notification_handler)
+
+                await asyncio.sleep(1)
         except Exception:
             outdoorConnected = 0
             print("exception while connecting or getting data")