test plugins with boswatch.py

test pluginloader with boswatch.py + little error in template plugin
This commit is contained in:
Schrolli 2015-05-19 14:04:50 +02:00
parent d028df662e
commit b3d80b976f
2 changed files with 17 additions and 11 deletions

View file

@ -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: