It's ugly... but it works. I went with switch nodes and templates... probably cheated using this method. Then passed on to flogger.
[
{
"id": "d435d2ee9237403d",
"type": "comment",
"z": "ee52bb7bfcba9876",
"name": "Logging",
"info": "",
"x": 70,
"y": 1040,
"wires": []
},
{
"id": "036f0ed434226417",
"type": "link in",
"z": "ee52bb7bfcba9876",
"name": "",
"links": [
"8ad931818f7bd773"
],
"x": 55,
"y": 1080,
"wires": [
[
"d28eafbb1be9397b"
]
]
},
{
"id": "d28eafbb1be9397b",
"type": "switch",
"z": "ee52bb7bfcba9876",
"name": "",
"property": "payload.action",
"propertyType": "msg",
"rules": [
{
"t": "eq",
"v": "unlock_failure_invalid_pin_or_id",
"vt": "str"
},
{
"t": "eq",
"v": "manual_unlock",
"vt": "str"
},
{
"t": "eq",
"v": "manual_lock",
"vt": "str"
},
{
"t": "eq",
"v": "pin_code_added",
"vt": "str"
},
{
"t": "eq",
"v": "pin_code_deleted",
"vt": "str"
},
{
"t": "eq",
"v": "one_touch_lock",
"vt": "str"
},
{
"t": "eq",
"v": "lock",
"vt": "str"
},
{
"t": "eq",
"v": "unlock",
"vt": "str"
}
],
"checkall": "true",
"repair": false,
"outputs": 8,
"x": 110,
"y": 1160,
"wires": [
[
"c7d09878c8b2655a"
],
[
"b83de959ce2e3096"
],
[
"832e0d1e186fdb9b"
],
[
"bd8394c7391fb0f2"
],
[
"c7c5a31eb4d8a33d"
],
[
"f8271497af1152ea"
],
[
"3c7401b7c27ed087"
],
[
"fe5818340782e416"
]
]
},
{
"id": "4a1983d9.a7083c",
"type": "template",
"z": "ee52bb7bfcba9876",
"name": "",
"field": "payload",
"fieldType": "msg",
"format": "handlebars",
"syntax": "mustache",
"template": "Zigbee locked the front door.",
"output": "str",
"x": 300,
"y": 1340,
"wires": [
[
"cbb8bfca7317824b"
]
]
},
{
"id": "c7d09878c8b2655a",
"type": "template",
"z": "ee52bb7bfcba9876",
"name": "",
"field": "payload",
"fieldType": "msg",
"format": "handlebars",
"syntax": "mustache",
"template": "ALERT: INVALID PIN ENTERED",
"output": "str",
"x": 300,
"y": 1100,
"wires": [
[
"cbb8bfca7317824b"
]
]
},
{
"id": "b83de959ce2e3096",
"type": "template",
"z": "ee52bb7bfcba9876",
"name": "",
"field": "payload",
"fieldType": "msg",
"format": "handlebars",
"syntax": "mustache",
"template": "Front door manually unlocked.",
"output": "str",
"x": 300,
"y": 1140,
"wires": [
[
"cbb8bfca7317824b"
]
]
},
{
"id": "832e0d1e186fdb9b",
"type": "template",
"z": "ee52bb7bfcba9876",
"name": "",
"field": "payload",
"fieldType": "msg",
"format": "handlebars",
"syntax": "mustache",
"template": "Front door manually locked.",
"output": "str",
"x": 300,
"y": 1180,
"wires": [
[
"cbb8bfca7317824b"
]
]
},
{
"id": "bd8394c7391fb0f2",
"type": "template",
"z": "ee52bb7bfcba9876",
"name": "",
"field": "payload",
"fieldType": "msg",
"format": "handlebars",
"syntax": "mustache",
"template": "PIN Code Added",
"output": "str",
"x": 300,
"y": 1220,
"wires": [
[
"cbb8bfca7317824b"
]
]
},
{
"id": "c7c5a31eb4d8a33d",
"type": "template",
"z": "ee52bb7bfcba9876",
"name": "",
"field": "payload",
"fieldType": "msg",
"format": "handlebars",
"syntax": "mustache",
"template": "PIN Code Deleted",
"output": "str",
"x": 300,
"y": 1260,
"wires": [
[
"cbb8bfca7317824b"
]
]
},
{
"id": "f8271497af1152ea",
"type": "template",
"z": "ee52bb7bfcba9876",
"name": "",
"field": "payload",
"fieldType": "msg",
"format": "handlebars",
"syntax": "mustache",
"template": "Front Door locked by one-touch.",
"output": "str",
"x": 300,
"y": 1300,
"wires": [
[
"cbb8bfca7317824b"
]
]
},
{
"id": "3c7401b7c27ed087",
"type": "switch",
"z": "ee52bb7bfcba9876",
"name": "",
"property": "payload.action_user",
"propertyType": "msg",
"rules": [
{
"t": "eq",
"v": "65535",
"vt": "num"
}
],
"checkall": "true",
"repair": false,
"outputs": 1,
"x": 110,
"y": 1280,
"wires": [
[
"4a1983d9.a7083c"
]
]
},
{
"id": "fe5818340782e416",
"type": "switch",
"z": "ee52bb7bfcba9876",
"name": "",
"property": "payload.action_user",
"propertyType": "msg",
"rules": [
{
"t": "eq",
"v": "65535",
"vt": "num"
},
{
"t": "eq",
"v": "1",
"vt": "num"
},
{
"t": "eq",
"v": "2",
"vt": "num"
},
{
"t": "eq",
"v": "3",
"vt": "num"
}
],
"checkall": "true",
"repair": false,
"outputs": 4,
"x": 110,
"y": 1380,
"wires": [
[
"269b48695bb1069c"
],
[
"3cb0d43170fbe863"
],
[
"0b3102def0ccf320"
],
[
"1931e733124ec042"
]
]
},
{
"id": "269b48695bb1069c",
"type": "template",
"z": "ee52bb7bfcba9876",
"name": "",
"field": "payload",
"fieldType": "msg",
"format": "handlebars",
"syntax": "mustache",
"template": "Zigbee unlocked the front door.",
"output": "str",
"x": 300,
"y": 1380,
"wires": [
[
"cbb8bfca7317824b"
]
]
},
{
"id": "3cb0d43170fbe863",
"type": "template",
"z": "ee52bb7bfcba9876",
"name": "",
"field": "payload",
"fieldType": "msg",
"format": "handlebars",
"syntax": "mustache",
"template": "Mike unlocked the front door.",
"output": "str",
"x": 300,
"y": 1420,
"wires": [
[
"cbb8bfca7317824b"
]
]
},
{
"id": "0b3102def0ccf320",
"type": "template",
"z": "ee52bb7bfcba9876",
"name": "",
"field": "payload",
"fieldType": "msg",
"format": "handlebars",
"syntax": "mustache",
"template": "Bob unlocked the front door.",
"output": "str",
"x": 300,
"y": 1460,
"wires": [
[
"cbb8bfca7317824b"
]
]
},
{
"id": "1931e733124ec042",
"type": "template",
"z": "ee52bb7bfcba9876",
"name": "",
"field": "payload",
"fieldType": "msg",
"format": "handlebars",
"syntax": "mustache",
"template": "Jim unlocked the front door.",
"output": "str",
"x": 300,
"y": 1500,
"wires": [
[
"cbb8bfca7317824b"
]
]
},
{
"id": "9a9e4b590ca7a015",
"type": "switch",
"z": "ee52bb7bfcba9876",
"name": "",
"property": "payload.On",
"propertyType": "msg",
"rules": [
{
"t": "eq",
"v": "true",
"vt": "jsonata"
},
{
"t": "eq",
"v": "false",
"vt": "jsonata"
}
],
"checkall": "true",
"repair": false,
"outputs": 2,
"x": 110,
"y": 1480,
"wires": [
[
"285a8a7903bc7a31"
],
[
"411bc43cbacc1109"
]
]
},
{
"id": "f03bc264d84a4c87",
"type": "link in",
"z": "ee52bb7bfcba9876",
"name": "",
"links": [
"5ef842d8c5e5c82a"
],
"x": 55,
"y": 1440,
"wires": [
[
"9a9e4b590ca7a015"
]
]
},
{
"id": "285a8a7903bc7a31",
"type": "template",
"z": "ee52bb7bfcba9876",
"name": "",
"field": "payload",
"fieldType": "msg",
"format": "handlebars",
"syntax": "mustache",
"template": "Front door open.",
"output": "str",
"x": 300,
"y": 1540,
"wires": [
[
"cbb8bfca7317824b"
]
]
},
{
"id": "411bc43cbacc1109",
"type": "template",
"z": "ee52bb7bfcba9876",
"name": "",
"field": "payload",
"fieldType": "msg",
"format": "handlebars",
"syntax": "mustache",
"template": "Front door closed.",
"output": "str",
"x": 300,
"y": 1580,
"wires": [
[
"cbb8bfca7317824b"
]
]
},
{
"id": "cbb8bfca7317824b",
"type": "rbe",
"z": "ee52bb7bfcba9876",
"name": "",
"func": "rbe",
"gap": "",
"start": "",
"inout": "out",
"septopics": true,
"property": "payload",
"topi": "topic",
"x": 550,
"y": 1360,
"wires": [
[
"759859cadbd7c747"
]
]
},
{
"id": "759859cadbd7c747",
"type": "flogger",
"z": "ee52bb7bfcba9876",
"name": "",
"logfile": "front-door",
"inputchoice": "object",
"inputobject": "payload",
"inputobjectType": "msg",
"inputmoustache": "Recieved payload {{payload}} and topic {{topic}}",
"loglevel": "INFO",
"logconfig": "0ae80f941e5e6f3e",
"sendpane": true,
"x": 550,
"y": 1420,
"wires": [
[]
]
},
{
"id": "0ae80f941e5e6f3e",
"type": "config-log",
"logname": "front-door",
"logdir": "logs",
"stamp": "local",
"logstyle": "plain",
"logrotate": true,
"logcompress": true,
"logrotatecount": "5",
"logsize": "1000"
}
]