From 03f3ce2fa04fdefdd896e6c0c555a914b69f6d1e Mon Sep 17 00:00:00 2001 From: sailoog Date: Thu, 13 Jun 2024 19:29:16 +0200 Subject: [PATCH] fix notifications --- openplotterMaiana/openplotterMaianaRead.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openplotterMaiana/openplotterMaianaRead.py b/openplotterMaiana/openplotterMaianaRead.py index 60c9524..ab0bb77 100644 --- a/openplotterMaiana/openplotterMaianaRead.py +++ b/openplotterMaiana/openplotterMaianaRead.py @@ -74,7 +74,7 @@ def main(): if noiseValue > 64: now = datetime.datetime.utcnow() now = now.strftime("%Y-%m-%dT%H:%M:%S.%fZ") - SKdata.update({"notifications.MAIANA.channel"+data3[1]+".noiseFloor":{"message":_("There may be electromagnetic interference near the MAIANA AIS antenna"),"state":"alert","method": ["visual", "sound"],"timestamp":now}}) + SKdata.update({"notifications.MAIANA.channel"+data3[1]+".noiseFloor":{"message":_("There may be electromagnetic interference near the MAIANA AIS antenna"),"state":"alert","method": ["visual"]}}) else: SKdata.update({"notifications.MAIANA.channel"+data3[1]+".noiseFloor":None}) except: pass