mirror of
https://github.com/Schrolli91/BOSWatch.git
synced 2025-12-06 07:42:03 +01:00
edit template plugin
This commit is contained in:
parent
b8eb2a034a
commit
ee89d0776c
|
|
@ -7,6 +7,7 @@
|
|||
BosMon = 0
|
||||
# for developing template-module is enabled
|
||||
template = 1
|
||||
none = 1
|
||||
|
||||
[BosMon]
|
||||
#Server as IP of DNS-Name (without http://)
|
||||
|
|
@ -18,3 +19,10 @@ bosmon_channel = pocsag
|
|||
#Use this, when BosMon has restricted access
|
||||
bosmon_user =
|
||||
bosmon_password =
|
||||
|
||||
|
||||
[template]
|
||||
data1 = test123
|
||||
data2 = test345
|
||||
data3 = test567
|
||||
data4 = test789
|
||||
|
|
@ -9,6 +9,6 @@ def run(typ,freq,data):
|
|||
if typ == "ZVEI":
|
||||
logging.info("ZVEI: %s wurde auf %s empfangen!", data["zvei"],freq)
|
||||
else:
|
||||
logging.warning(typ + " not supportet")
|
||||
logging.warning(typ + " not implemented")
|
||||
except:
|
||||
logging.exception("Error in Template Plugin")
|
||||
logging.exception("")
|
||||
Loading…
Reference in a new issue