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.
post notification with variables
Moderator: leecollings
-
- Posts: 184
- Joined: Sunday 13 November 2016 10:43
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2021.1
- Location: Germany
- Contact:
-
- Posts: 184
- Joined: Sunday 13 November 2016 10:43
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2021.1
- Location: Germany
- Contact:
Re: post notification with variables
Solved, works with local variable.
Who is online
Users browsing this forum: No registered users and 1 guest