Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save Daniel15/6b8b3eb6bd680fd1c78799e4ea8cf0cb to your computer and use it in GitHub Desktop.
Save Daniel15/6b8b3eb6bd680fd1c78799e4ea8cf0cb to your computer and use it in GitHub Desktop.
Blue Iris notification with buttons in Node-RED
{
"message": message,
"data": {
"clickAction": "http://cameras.vpn.d.sb:81/ui3.htm?maximize=1&tab=alerts&cam=" & original_payload.camera & "&rec=" & original_payload.id,
"image": "/media/local/alerts/" & image_filename,
"actions": [{
"action": "URI",
"title": "Live View",
"uri": "http://cameras.vpn.d.sb:81/ui3.htm?maximize=1&cam=" & original_payload.camera
}, {
"action": "URI",
"title": "View Clip",
"uri": "http://cameras.vpn.d.sb:81/ui3.htm?maximize=1&tab=alerts&cam=" & original_payload.camera & "&rec=" & original_payload.id
}],
"channel": "Camera",
"ttl": 0,
"priority": "high",
"importance": "high"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment