mirror of
https://github.com/Schrolli91/BOSWatch.git
synced 2026-04-21 06:13:39 +00:00
test plugins with boswatch.py
test pluginloader with boswatch.py + little error in template plugin
This commit is contained in:
parent
d028df662e
commit
b3d80b976f
2 changed files with 17 additions and 11 deletions
|
|
@ -17,12 +17,12 @@ def run(typ,freq,data):
|
|||
logging.debug(" - Data4: %s", data4)
|
||||
|
||||
if typ == "FMS":
|
||||
logging.debug("FMS: %s Status: %s Dir: $s", data["fms"], data["status", data["direction")
|
||||
logging.debug("FMS: %s Status: %s Dir: %s", data["fms"], data["status"], data["direction"])
|
||||
elif typ == "ZVEI":
|
||||
logging.debug("ZVEI: %s", data["zvei"])
|
||||
elif typ == "POC":
|
||||
logging.debug("POC: %s/%s - %s", data["ric"], data["function"], data["msg"])
|
||||
else
|
||||
else:
|
||||
logging.warning(typ + " not supportet")
|
||||
|
||||
except:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue