post notification with variables
Posted: Saturday 21 January 2017 13:58
Hello,
I'm using lua scripts to theck my window sensors when activation security. The message sent differs by the number of open windows, so I createt a user variable message where I stored the text. Can anybody tell me the syntax of send notification with a variable message.
commandArray['Variable:message'] = 'Alarm aktiv\n123'
commandArray['SendNotification']='Alarmaktivierung#'message'#0'
This does not work, I get a error in the protocol.
I'm using lua scripts to theck my window sensors when activation security. The message sent differs by the number of open windows, so I createt a user variable message where I stored the text. Can anybody tell me the syntax of send notification with a variable message.
commandArray['Variable:message'] = 'Alarm aktiv\n123'
commandArray['SendNotification']='Alarmaktivierung#'message'#0'
This does not work, I get a error in the protocol.