From ea1b0cecc21f88f0f5ef0d01adac5627607a25f5 Mon Sep 17 00:00:00 2001 From: Jakob Ketterl Date: Tue, 30 Jan 2024 23:33:03 +0100 Subject: [PATCH] also tap into pocsag data --- owrx/pocsag.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/owrx/pocsag.py b/owrx/pocsag.py index 096c9445..944df61d 100644 --- a/owrx/pocsag.py +++ b/owrx/pocsag.py @@ -1,6 +1,7 @@ from csdr.module import PickleModule from owrx.bands import Bandplan from owrx.metrics import Metrics, CounterMetric +from owrx.reporting import ReportingEngine import logging logger = logging.getLogger(__name__) @@ -17,6 +18,7 @@ class PocsagParser(PickleModule): meta["address"] = int(meta["address"]) meta["mode"] = "Pocsag" self.pushDecode() + ReportingEngine.getSharedInstance().spot(meta) return meta except Exception: logger.exception("Exception while parsing Pocsag message")