diff --git a/plugins/Sms77/Sms77.py b/plugins/Sms77/Sms77.py index 9985873..e4353d1 100644 --- a/plugins/Sms77/Sms77.py +++ b/plugins/Sms77/Sms77.py @@ -60,13 +60,13 @@ def run(typ,freq,data): if configHandler.checkConfig("Sms77"): #read and debug the config # create an empty message an fill it with the required information - message = "" + message = "Alarm" if typ == "FMS": logging.debug("FMS detected, building message") message = data["description"]+"
"+data["status"] elif typ == "ZVEI": logging.debug("ZVEI detected, building message") - mesage = data["description"] + message = data["zvei"]+" - "+data["description"] elif typ == "POC": logging.debug("POC detected, building message") message = data["description"]+"
"+data["msg"].replace(";", "
")