From dd4443a7a118ac7b2f4a2a44c4ff9da9a8b4eff4 Mon Sep 17 00:00:00 2001 From: SpudGunMan Date: Wed, 31 Jul 2024 17:59:45 -0700 Subject: [PATCH] Update radio.py --- modules/radio.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/radio.py b/modules/radio.py index 0943c12..1a3e059 100644 --- a/modules/radio.py +++ b/modules/radio.py @@ -8,9 +8,9 @@ import asyncio from modules.settings import * SIGNAL_DETECTION_THRESHOLD = -10 # dBm -SIGNAL_HOLD_TIME = 15 # seconds to hold on to signal before checking again +SIGNAL_HOLD_TIME = 10 # seconds to hold on to signal before checking again SIGNAL_COOLDOWN = 5 # seconds to wait between signal checks -SIGNAL_CYCLE_LIMIT = 6 # multiply by SIGNAL_COOLDOWN to get total time to wait before resetting signal strength +SIGNAL_CYCLE_LIMIT = 4 # multiply by SIGNAL_COOLDOWN to get total time to wait before resetting signal strength ERROR_FETCHING_DATA = "error fetching data"