mirror of
https://github.com/SpudGunMan/meshing-around.git
synced 2026-05-15 05:35:39 +02:00
Update system.py
This commit is contained in:
@@ -1075,6 +1075,7 @@ async def handleSentinel(deviceID):
|
||||
for i in range(1, 10):
|
||||
if globals().get(f'interface{i}_enabled'):
|
||||
send_message(f"Sentry{deviceID}: {detectedNearby}", secure_channel, 0, i)
|
||||
time.sleep(responseDelay + 1)
|
||||
if enableSMTP and email_sentry_alerts:
|
||||
for email in sysopEmails:
|
||||
send_email(email, f"Sentry{deviceID}: {detectedNearby}")
|
||||
|
||||
Reference in New Issue
Block a user