mirror of
https://github.com/Schrolli91/BOSWatch.git
synced 2025-12-06 07:42:03 +01:00
commit
d155f67fba
|
|
@ -20,6 +20,7 @@ filter_range_end = 9999999
|
|||
[Module]
|
||||
useMySQL = 0
|
||||
useHTTPrequest = 0
|
||||
useBosMon = 0
|
||||
|
||||
[MySQL]
|
||||
#Data for MySQL connection
|
||||
|
|
|
|||
10
plugin_test/plugins/BosMon/__init__.py
Normal file
10
plugin_test/plugins/BosMon/__init__.py
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
import logging
|
||||
|
||||
def run(typ,frequenz,daten):
|
||||
logging.debug("Throw Template Plugin")
|
||||
try:
|
||||
logging.info("ZVEI: %s wurde empfangen!", daten[0])
|
||||
logging.debug("try 5/0")
|
||||
test = 5/0
|
||||
except:
|
||||
logging.exception("Error in Template Plugin")
|
||||
Loading…
Reference in a new issue