From 75f26628876bb5bfa58ea2964f4a787e1b3799d9 Mon Sep 17 00:00:00 2001 From: Schrolli Date: Wed, 20 May 2015 11:13:53 +0200 Subject: [PATCH] edit interface.txt --- plugin_test/boswatch.py | 1 + plugin_test/plugins/interface.txt | 11 ++++++++--- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/plugin_test/boswatch.py b/plugin_test/boswatch.py index d28ec7a..89f61a9 100644 --- a/plugin_test/boswatch.py +++ b/plugin_test/boswatch.py @@ -62,6 +62,7 @@ try: rtl_log.close() mon_log.close() logging.debug("BOSWatch has started") + logging.debug("Logfiles cleared") except: logging.exception("cannot clear Logfiles") diff --git a/plugin_test/plugins/interface.txt b/plugin_test/plugins/interface.txt index e03e8eb..cf0887e 100644 --- a/plugin_test/plugins/interface.txt +++ b/plugin_test/plugins/interface.txt @@ -1,8 +1,11 @@ Übergabe an Plugin: -typ = FMS, ZVEI oder POC -freq = Frequenz in Hz -data = {"KEY":"VALUE"} als Python Dict +typ = [FMS|ZVEI|POC] +freq = [FREQ(Hz)] +data = {"KEY1":"VALUE1","KEY2":"VALUE2"} als Python Dict + + +Follgende Daten sind bei der jeweiligen Alarm-Art enthalten: ZVEI: - zvei @@ -18,7 +21,9 @@ POCSAG: - function - msg + Es stehen folgende globale Objecte zur Verfügung: + 1.) import logging # Global logger logging - Object