mirror of
https://github.com/Schrolli91/BOSWatch.git
synced 2026-04-21 06:13:39 +00:00
commit
d155f67fba
2 changed files with 11 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue