Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [
- {
- "id": "cc77ae9558cee9e4",
- "type": "tab",
- "label": "LPR (license plate recognition)",
- "disabled": false,
- "info": ""
- },
- {
- "id": "d2db4f67b6e2dbfd",
- "type": "switch",
- "z": "cc77ae9558cee9e4",
- "name": "Car Database",
- "property": "payload.results.plate",
- "propertyType": "msg",
- "rules": [
- {
- "t": "eq",
- "v": "bv28245",
- "vt": "str"
- },
- {
- "t": "eq",
- "v": "cj35245",
- "vt": "str"
- },
- {
- "t": "eq",
- "v": "cy47045",
- "vt": "str"
- },
- {
- "t": "eq",
- "v": "hw40245",
- "vt": "str"
- },
- {
- "t": "eq",
- "v": "mm46245",
- "vt": "str"
- },
- {
- "t": "eq",
- "v": "hm46245",
- "vt": "str"
- },
- {
- "t": "eq",
- "v": "hh46245",
- "vt": "str"
- },
- {
- "t": "eq",
- "v": "ca50245",
- "vt": "str"
- },
- {
- "t": "eq",
- "v": "am18545",
- "vt": "str"
- },
- {
- "t": "eq",
- "v": "ae10445",
- "vt": "str"
- },
- {
- "t": "eq",
- "v": "ac97845",
- "vt": "str"
- },
- {
- "t": "eq",
- "v": "aj16245",
- "vt": "str"
- },
- {
- "t": "eq",
- "v": "bw80045",
- "vt": "str"
- },
- {
- "t": "eq",
- "v": "cu51345",
- "vt": "str"
- },
- {
- "t": "eq",
- "v": "ew57045",
- "vt": "str"
- },
- {
- "t": "eq",
- "v": "vt34445",
- "vt": "str"
- },
- {
- "t": "eq",
- "v": "vy34445",
- "vt": "str"
- },
- {
- "t": "eq",
- "v": "bl21545",
- "vt": "str"
- },
- {
- "t": "else"
- }
- ],
- "checkall": "true",
- "repair": false,
- "outputs": 19,
- "x": 910,
- "y": 250,
- "wires": [
- [
- "e90ac9094a1db34d"
- ],
- [
- "933d56f865161eae"
- ],
- [
- "639ec1f3b3adf19f"
- ],
- [
- "db6178b5c2036375"
- ],
- [
- "ea7e6ce1ef215ce9"
- ],
- [
- "23cd901e843219c3"
- ],
- [
- "4d1f0d1b8438c7f4"
- ],
- [
- "8a2ec14c130cc2bd"
- ],
- [
- "d3ac03990feaa83e"
- ],
- [],
- [],
- [],
- [],
- [],
- [],
- [],
- [],
- [],
- [
- "852ec33ed34cb337"
- ]
- ]
- },
- {
- "id": "ecaf95aa4a3abb30",
- "type": "comment",
- "z": "cc77ae9558cee9e4",
- "name": "Guests who stay over for a limited time < 12 hours",
- "info": "",
- "x": 1260,
- "y": 160,
- "wires": []
- },
- {
- "id": "9a1558ee9c914670",
- "type": "comment",
- "z": "cc77ae9558cee9e4",
- "name": "Over-nigthers > 12 hours",
- "info": "",
- "x": 1180,
- "y": 450,
- "wires": []
- },
- {
- "id": "4c3ef30b4c452496",
- "type": "comment",
- "z": "cc77ae9558cee9e4",
- "name": "Tests and unkown car",
- "info": "",
- "x": 1170,
- "y": 610,
- "wires": []
- },
- {
- "id": "d8ef4c2f9961cf7a",
- "type": "comment",
- "z": "cc77ae9558cee9e4",
- "name": "Kids' friends (drop-off) < 45 mins",
- "info": "",
- "x": 1200,
- "y": 530,
- "wires": []
- },
- {
- "id": "852ec33ed34cb337",
- "type": "switch",
- "z": "cc77ae9558cee9e4",
- "name": "score > 88%",
- "property": "payload.platescore",
- "propertyType": "flow",
- "rules": [
- {
- "t": "gt",
- "v": "0.88",
- "vt": "str"
- }
- ],
- "checkall": "true",
- "repair": false,
- "outputs": 1,
- "x": 1150,
- "y": 650,
- "wires": [
- [
- "ce662893b99d7030",
- "a5c0378d0ba67136",
- "a6381819d2fa143d"
- ]
- ]
- },
- {
- "id": "afa17178463df235",
- "type": "change",
- "z": "cc77ae9558cee9e4",
- "name": "Save score",
- "rules": [
- {
- "t": "move",
- "p": "payload.results.score",
- "pt": "msg",
- "to": "payload.platescore",
- "tot": "flow"
- }
- ],
- "action": "",
- "property": "",
- "from": "",
- "to": "",
- "reg": false,
- "x": 900,
- "y": 460,
- "wires": [
- []
- ]
- },
- {
- "id": "a6381819d2fa143d",
- "type": "debug",
- "z": "cc77ae9558cee9e4",
- "name": "",
- "active": true,
- "tosidebar": true,
- "console": false,
- "tostatus": false,
- "complete": "false",
- "x": 1350,
- "y": 750,
- "wires": []
- },
- {
- "id": "e48aa8738bf4c26f",
- "type": "plate-recognizer",
- "z": "cc77ae9558cee9e4",
- "name": "analyze image",
- "inputField": "payload",
- "inputFieldType": "msg",
- "outputField": "payload",
- "outputFieldType": "msg",
- "url": "https://api.platerecognizer.com/v1/plate-reader/",
- "ignoreDuring": false,
- "makeAndModel": false,
- "statusText": "scores",
- "cameraId": "",
- "separateMsg": true,
- "regionFilter": true,
- "regionList": "[\"dk\"]",
- "regionListType": "json",
- "x": 660,
- "y": 250,
- "wires": [
- [
- "d2db4f67b6e2dbfd",
- "afa17178463df235",
- "214f2380a3a91cec",
- "43cfae5fdd8e7df9"
- ],
- []
- ]
- },
- {
- "id": "047236f3ed7494fd",
- "type": "mqtt in",
- "z": "cc77ae9558cee9e4",
- "name": "Driveway PIR",
- "topic": "shellies/shellyswitch25-blablabla/input/1",
- "qos": "2",
- "datatype": "auto",
- "broker": "",
- "nl": false,
- "rap": false,
- "inputs": 0,
- "x": 90,
- "y": 80,
- "wires": [
- [
- "9564283dc5a6531d"
- ]
- ]
- },
- {
- "id": "2c8a26273504f61b",
- "type": "switch",
- "z": "cc77ae9558cee9e4",
- "name": "activated?",
- "property": "payload",
- "propertyType": "msg",
- "rules": [
- {
- "t": "eq",
- "v": "1",
- "vt": "num"
- }
- ],
- "checkall": "true",
- "repair": false,
- "outputs": 1,
- "x": 370,
- "y": 80,
- "wires": [
- [
- "fb5139df3e344ded"
- ]
- ]
- },
- {
- "id": "2f8130180fd6c7a5",
- "type": "server-state-changed",
- "z": "cc77ae9558cee9e4",
- "name": "Driveway camera motion detection",
- "server": "",
- "version": 4,
- "exposeToHomeAssistant": false,
- "haConfig": [
- {
- "property": "name",
- "value": ""
- },
- {
- "property": "icon",
- "value": ""
- }
- ],
- "entityidfiltertype": "exact",
- "outputinitially": false,
- "state_type": "str",
- "haltifstate": "on",
- "halt_if_type": "str",
- "halt_if_compare": "is",
- "outputs": 2,
- "output_only_on_state_change": true,
- "for": "0",
- "forType": "num",
- "forUnits": "minutes",
- "ignorePrevStateNull": false,
- "ignorePrevStateUnknown": false,
- "ignorePrevStateUnavailable": false,
- "ignoreCurrentStateUnknown": false,
- "ignoreCurrentStateUnavailable": false,
- "outputProperties": [
- {
- "property": "payload",
- "propertyType": "msg",
- "value": "",
- "valueType": "entityState"
- },
- {
- "property": "data",
- "propertyType": "msg",
- "value": "",
- "valueType": "eventData"
- },
- {
- "property": "topic",
- "propertyType": "msg",
- "value": "",
- "valueType": "triggerId"
- }
- ],
- "x": 160,
- "y": 130,
- "wires": [
- [
- "fb5139df3e344ded"
- ],
- []
- ]
- },
- {
- "id": "214f2380a3a91cec",
- "type": "debug",
- "z": "cc77ae9558cee9e4",
- "name": "",
- "active": true,
- "tosidebar": true,
- "console": false,
- "tostatus": false,
- "complete": "false",
- "statusVal": "",
- "statusType": "auto",
- "x": 900,
- "y": 500,
- "wires": []
- },
- {
- "id": "5b579cc8b6fd7e5a",
- "type": "image",
- "z": "cc77ae9558cee9e4",
- "name": "",
- "width": 160,
- "data": "payload",
- "dataType": "msg",
- "thumbnail": false,
- "active": true,
- "pass": false,
- "outputs": 0,
- "x": 420,
- "y": 290,
- "wires": []
- },
- {
- "id": "6f0fb4cc19a44786",
- "type": "http request",
- "z": "cc77ae9558cee9e4",
- "name": "Request snapshot from Reolink cam",
- "method": "GET",
- "ret": "bin",
- "paytoqs": "ignore",
- "url": "https://192.168.2.119/cgi-bin/api.cgi?cmd=Snap&channel=0&rs=wuuPhkmUCeI9WG7C&user=admin&password=123456",
- "tls": "",
- "persist": false,
- "proxy": "",
- "authType": "basic",
- "senderr": false,
- "x": 350,
- "y": 250,
- "wires": [
- [
- "e48aa8738bf4c26f",
- "5b579cc8b6fd7e5a",
- "254f2a1244d02df3"
- ]
- ]
- },
- {
- "id": "c06f5fdb331181c0",
- "type": "delay",
- "z": "cc77ae9558cee9e4",
- "name": "",
- "pauseType": "rate",
- "timeout": "5",
- "timeoutUnits": "seconds",
- "rate": "1",
- "nbRateUnits": "1",
- "rateUnits": "minute",
- "randomFirst": "1",
- "randomLast": "5",
- "randomUnits": "seconds",
- "drop": true,
- "allowrate": false,
- "outputs": 1,
- "x": 370,
- "y": 190,
- "wires": [
- [
- "6f0fb4cc19a44786"
- ]
- ]
- },
- {
- "id": "4280686f7458b829",
- "type": "delay",
- "z": "cc77ae9558cee9e4",
- "name": "",
- "pauseType": "delay",
- "timeout": "2",
- "timeoutUnits": "seconds",
- "rate": "1",
- "nbRateUnits": "1",
- "rateUnits": "second",
- "randomFirst": "1",
- "randomLast": "5",
- "randomUnits": "seconds",
- "drop": false,
- "allowrate": false,
- "outputs": 1,
- "x": 110,
- "y": 580,
- "wires": [
- [
- "937bd7b323c81659"
- ]
- ]
- },
- {
- "id": "e89c621e563f5a2b",
- "type": "http request",
- "z": "cc77ae9558cee9e4",
- "name": "Request snapshot from Reolink cam",
- "method": "GET",
- "ret": "bin",
- "paytoqs": "ignore",
- "url": "https://192.168.2.119/cgi-bin/api.cgi?cmd=Snap&channel=0&rs=wuuPhkmUCeI9WG7C&user=admin&password=123456",
- "tls": "",
- "persist": false,
- "proxy": "",
- "authType": "basic",
- "senderr": false,
- "x": 350,
- "y": 460,
- "wires": [
- [
- "56ebb9662f0d891b",
- "e48aa8738bf4c26f",
- "4280686f7458b829"
- ]
- ]
- },
- {
- "id": "56ebb9662f0d891b",
- "type": "image",
- "z": "cc77ae9558cee9e4",
- "name": "",
- "width": 160,
- "data": "payload",
- "dataType": "msg",
- "thumbnail": false,
- "active": true,
- "pass": false,
- "outputs": 0,
- "x": 420,
- "y": 500,
- "wires": []
- },
- {
- "id": "bca5cad3721ce263",
- "type": "http request",
- "z": "cc77ae9558cee9e4",
- "name": "Request snapshot from Reolink cam",
- "method": "GET",
- "ret": "bin",
- "paytoqs": "ignore",
- "url": "https://192.168.2.119/cgi-bin/api.cgi?cmd=Snap&channel=0&rs=wuuPhkmUCeI9WG7C&user=admin&password=123456",
- "tls": "",
- "persist": false,
- "proxy": "",
- "authType": "basic",
- "senderr": false,
- "x": 350,
- "y": 670,
- "wires": [
- [
- "2a9b7ac99c236f34",
- "e48aa8738bf4c26f"
- ]
- ]
- },
- {
- "id": "2a9b7ac99c236f34",
- "type": "image",
- "z": "cc77ae9558cee9e4",
- "name": "",
- "width": 160,
- "data": "payload",
- "dataType": "msg",
- "thumbnail": false,
- "active": true,
- "pass": false,
- "outputs": 0,
- "x": 420,
- "y": 710,
- "wires": []
- },
- {
- "id": "fb5139df3e344ded",
- "type": "api-current-state",
- "z": "cc77ae9558cee9e4",
- "name": "LPR enabled?",
- "server": "",
- "version": 3,
- "outputs": 2,
- "halt_if": "on",
- "halt_if_type": "str",
- "halt_if_compare": "is",
- "entity_id": "input_boolean.lpr",
- "state_type": "str",
- "blockInputOverrides": false,
- "outputProperties": [
- {
- "property": "payload",
- "propertyType": "msg",
- "value": "",
- "valueType": "entityState"
- },
- {
- "property": "data",
- "propertyType": "msg",
- "value": "",
- "valueType": "entity"
- }
- ],
- "for": 0,
- "forType": "num",
- "forUnits": "minutes",
- "x": 430,
- "y": 130,
- "wires": [
- [
- "c06f5fdb331181c0"
- ],
- []
- ]
- },
- {
- "id": "e7fcecc615a6b04c",
- "type": "switch",
- "z": "cc77ae9558cee9e4",
- "name": "if no license plate detected",
- "property": "results",
- "propertyType": "flow",
- "rules": [
- {
- "t": "empty"
- }
- ],
- "checkall": "true",
- "repair": false,
- "outputs": 1,
- "x": 170,
- "y": 420,
- "wires": [
- [
- "e89c621e563f5a2b"
- ]
- ]
- },
- {
- "id": "43cfae5fdd8e7df9",
- "type": "change",
- "z": "cc77ae9558cee9e4",
- "name": "Save results",
- "rules": [
- {
- "t": "move",
- "p": "payload.results",
- "pt": "msg",
- "to": "results",
- "tot": "flow"
- }
- ],
- "action": "",
- "property": "",
- "from": "",
- "to": "",
- "reg": false,
- "x": 900,
- "y": 420,
- "wires": [
- []
- ]
- },
- {
- "id": "254f2a1244d02df3",
- "type": "delay",
- "z": "cc77ae9558cee9e4",
- "name": "",
- "pauseType": "delay",
- "timeout": "2",
- "timeoutUnits": "seconds",
- "rate": "1",
- "nbRateUnits": "1",
- "rateUnits": "second",
- "randomFirst": "1",
- "randomLast": "5",
- "randomUnits": "seconds",
- "drop": false,
- "allowrate": false,
- "outputs": 1,
- "x": 110,
- "y": 370,
- "wires": [
- [
- "e7fcecc615a6b04c"
- ]
- ]
- },
- {
- "id": "937bd7b323c81659",
- "type": "switch",
- "z": "cc77ae9558cee9e4",
- "name": "if no license plate detected",
- "property": "results",
- "propertyType": "flow",
- "rules": [
- {
- "t": "empty"
- }
- ],
- "checkall": "true",
- "repair": false,
- "outputs": 1,
- "x": 170,
- "y": 630,
- "wires": [
- [
- "bca5cad3721ce263"
- ]
- ]
- },
- {
- "id": "582341754facb1a4",
- "type": "inject",
- "z": "cc77ae9558cee9e4",
- "name": "test",
- "props": [
- {
- "p": "payload"
- },
- {
- "p": "topic",
- "vt": "str"
- }
- ],
- "repeat": "",
- "crontab": "",
- "once": false,
- "onceDelay": 0.1,
- "topic": "",
- "payload": "",
- "payloadType": "date",
- "x": 100,
- "y": 250,
- "wires": [
- [
- "6f0fb4cc19a44786"
- ]
- ]
- },
- {
- "id": "9564283dc5a6531d",
- "type": "rbe",
- "z": "cc77ae9558cee9e4",
- "name": "",
- "func": "rbe",
- "gap": "",
- "start": "",
- "inout": "out",
- "property": "payload",
- "x": 230,
- "y": 80,
- "wires": [
- [
- "2c8a26273504f61b"
- ]
- ]
- },
- {
- "id": "933d56f865161eae",
- "type": "delay",
- "z": "cc77ae9558cee9e4",
- "name": "",
- "pauseType": "rate",
- "timeout": "5",
- "timeoutUnits": "seconds",
- "rate": "1",
- "nbRateUnits": "12",
- "rateUnits": "hour",
- "randomFirst": "1",
- "randomLast": "5",
- "randomUnits": "seconds",
- "drop": true,
- "allowrate": false,
- "outputs": 1,
- "x": 1160,
- "y": 210,
- "wires": [
- [
- "5a239035bd9f8545"
- ]
- ]
- },
- {
- "id": "d3ac03990feaa83e",
- "type": "delay",
- "z": "cc77ae9558cee9e4",
- "name": "",
- "pauseType": "rate",
- "timeout": "5",
- "timeoutUnits": "seconds",
- "rate": "1",
- "nbRateUnits": "45",
- "rateUnits": "minute",
- "randomFirst": "1",
- "randomLast": "5",
- "randomUnits": "seconds",
- "drop": true,
- "allowrate": false,
- "outputs": 1,
- "x": 1160,
- "y": 570,
- "wires": [
- [
- "3e1abb50a3371c33"
- ]
- ]
- },
- {
- "id": "8a2ec14c130cc2bd",
- "type": "delay",
- "z": "cc77ae9558cee9e4",
- "name": "",
- "pauseType": "rate",
- "timeout": "5",
- "timeoutUnits": "seconds",
- "rate": "1",
- "nbRateUnits": "2",
- "rateUnits": "day",
- "randomFirst": "1",
- "randomLast": "5",
- "randomUnits": "seconds",
- "drop": true,
- "allowrate": false,
- "outputs": 1,
- "x": 1160,
- "y": 490,
- "wires": [
- [
- "da08e3ec7e4986e1"
- ]
- ]
- },
- {
- "id": "e90ac9094a1db34d",
- "type": "delay",
- "z": "cc77ae9558cee9e4",
- "name": "Own car",
- "pauseType": "rate",
- "timeout": "5",
- "timeoutUnits": "seconds",
- "rate": "1",
- "nbRateUnits": "20",
- "rateUnits": "second",
- "randomFirst": "1",
- "randomLast": "5",
- "randomUnits": "seconds",
- "drop": true,
- "allowrate": false,
- "outputs": 1,
- "x": 1140,
- "y": 110,
- "wires": [
- []
- ]
- },
- {
- "id": "66fdc87ef43c9f00",
- "type": "api-call-service",
- "z": "cc77ae9558cee9e4",
- "name": "Save snapshot",
- "server": "",
- "version": 5,
- "debugenabled": false,
- "domain": "camera",
- "service": "snapshot",
- "areaId": [],
- "deviceId": [],
- "entityId": [
- "camera.indkoersel_snapshots"
- ],
- "data": "{\"filename\":\"/media/LPR_unknown/{{ now().strftime(\\\"%Y_%m_%d_%H.%M.%S\\\") }}.jpg\"}",
- "dataType": "json",
- "mergeContext": "",
- "mustacheAltTags": true,
- "outputProperties": [],
- "queue": "none",
- "output_location": "payload",
- "output_location_type": "none",
- "x": 1620,
- "y": 700,
- "wires": [
- []
- ]
- },
- {
- "id": "ce662893b99d7030",
- "type": "delay",
- "z": "cc77ae9558cee9e4",
- "name": "save max 25 images per day",
- "pauseType": "rate",
- "timeout": "5",
- "timeoutUnits": "seconds",
- "rate": "25",
- "nbRateUnits": "1",
- "rateUnits": "day",
- "randomFirst": "1",
- "randomLast": "5",
- "randomUnits": "seconds",
- "drop": true,
- "allowrate": false,
- "outputs": 1,
- "x": 1400,
- "y": 700,
- "wires": [
- [
- "66fdc87ef43c9f00"
- ]
- ]
- },
- {
- "id": "c124982ce5fe7a31",
- "type": "inject",
- "z": "cc77ae9558cee9e4",
- "name": "test",
- "props": [
- {
- "p": "payload.results.plate",
- "v": "cj35245",
- "vt": "str"
- }
- ],
- "repeat": "",
- "crontab": "",
- "once": false,
- "onceDelay": 0.1,
- "topic": "",
- "x": 620,
- "y": 80,
- "wires": [
- [
- "5804ba4786134b0d"
- ]
- ]
- },
- {
- "id": "5804ba4786134b0d",
- "type": "change",
- "z": "cc77ae9558cee9e4",
- "name": "",
- "rules": [
- {
- "t": "set",
- "p": "payload.platescore",
- "pt": "flow",
- "to": "0.9",
- "tot": "str"
- }
- ],
- "action": "",
- "property": "",
- "from": "",
- "to": "",
- "reg": false,
- "x": 820,
- "y": 80,
- "wires": [
- [
- "d2db4f67b6e2dbfd"
- ]
- ]
- },
- {
- "id": "5a239035bd9f8545",
- "type": "change",
- "z": "cc77ae9558cee9e4",
- "name": "\"Christian",
- "rules": [
- {
- "t": "set",
- "p": "payload",
- "pt": "msg",
- "to": "Christian",
- "tot": "str"
- }
- ],
- "action": "",
- "property": "",
- "from": "",
- "to": "",
- "reg": false,
- "x": 1320,
- "y": 210,
- "wires": [
- [
- "e245538c9cc5949c",
- "4c6ef8b5b5265833"
- ]
- ]
- },
- {
- "id": "d3fe5e99d9c5bfad",
- "type": "server-state-changed",
- "z": "cc77ae9558cee9e4",
- "name": "When LPR is turned on",
- "server": "",
- "version": 4,
- "exposeToHomeAssistant": false,
- "haConfig": [
- {
- "property": "name",
- "value": ""
- },
- {
- "property": "icon",
- "value": ""
- }
- ],
- "entityidfiltertype": "exact",
- "outputinitially": false,
- "state_type": "str",
- "haltifstate": "on",
- "halt_if_type": "str",
- "halt_if_compare": "is",
- "outputs": 2,
- "output_only_on_state_change": true,
- "for": "0",
- "forType": "num",
- "forUnits": "minutes",
- "ignorePrevStateNull": false,
- "ignorePrevStateUnknown": false,
- "ignorePrevStateUnavailable": false,
- "ignoreCurrentStateUnknown": false,
- "ignoreCurrentStateUnavailable": false,
- "outputProperties": [
- {
- "property": "payload",
- "propertyType": "msg",
- "value": "",
- "valueType": "entityState"
- },
- {
- "property": "data",
- "propertyType": "msg",
- "value": "",
- "valueType": "eventData"
- },
- {
- "property": "topic",
- "propertyType": "msg",
- "value": "",
- "valueType": "triggerId"
- }
- ],
- "x": 120,
- "y": 180,
- "wires": [
- [
- "6f0fb4cc19a44786"
- ],
- []
- ]
- },
- {
- "id": "a5c0378d0ba67136",
- "type": "api-call-service",
- "z": "cc77ae9558cee9e4",
- "name": "",
- "server": "",
- "version": 5,
- "debugenabled": false,
- "domain": "notify",
- "service": "google_assistant_sdk",
- "areaId": [],
- "deviceId": [],
- "entityId": [],
- "data": "{\"message\":\"Unknown car with license plate {{payload}} spottet in the driveway\"}",
- "dataType": "json",
- "mergeContext": "",
- "mustacheAltTags": false,
- "outputProperties": [],
- "queue": "none",
- "x": 1400,
- "y": 650,
- "wires": [
- []
- ]
- },
- {
- "id": "e245538c9cc5949c",
- "type": "api-call-service",
- "z": "cc77ae9558cee9e4",
- "name": "'s car is in the driveway\"",
- "server": "",
- "version": 5,
- "debugenabled": false,
- "domain": "notify",
- "service": "google_assistant_sdk",
- "areaId": [],
- "deviceId": [],
- "entityId": [],
- "data": "{\"message\":\"{{payload}}'s car is in the driveway\"}",
- "dataType": "json",
- "mergeContext": "",
- "mustacheAltTags": false,
- "outputProperties": [],
- "queue": "none",
- "x": 1610,
- "y": 320,
- "wires": [
- []
- ]
- },
- {
- "id": "639ec1f3b3adf19f",
- "type": "delay",
- "z": "cc77ae9558cee9e4",
- "name": "",
- "pauseType": "rate",
- "timeout": "5",
- "timeoutUnits": "seconds",
- "rate": "1",
- "nbRateUnits": "12",
- "rateUnits": "hour",
- "randomFirst": "1",
- "randomLast": "5",
- "randomUnits": "seconds",
- "drop": true,
- "allowrate": false,
- "outputs": 1,
- "x": 1160,
- "y": 250,
- "wires": [
- [
- "60d5491cb4eff38b"
- ]
- ]
- },
- {
- "id": "60d5491cb4eff38b",
- "type": "change",
- "z": "cc77ae9558cee9e4",
- "name": "\"Julia",
- "rules": [
- {
- "t": "set",
- "p": "payload",
- "pt": "msg",
- "to": "Julia",
- "tot": "str"
- }
- ],
- "action": "",
- "property": "",
- "from": "",
- "to": "",
- "reg": false,
- "x": 1310,
- "y": 250,
- "wires": [
- [
- "e245538c9cc5949c",
- "4c6ef8b5b5265833"
- ]
- ]
- },
- {
- "id": "db6178b5c2036375",
- "type": "delay",
- "z": "cc77ae9558cee9e4",
- "name": "",
- "pauseType": "rate",
- "timeout": "5",
- "timeoutUnits": "seconds",
- "rate": "1",
- "nbRateUnits": "12",
- "rateUnits": "hour",
- "randomFirst": "1",
- "randomLast": "5",
- "randomUnits": "seconds",
- "drop": true,
- "allowrate": false,
- "outputs": 1,
- "x": 1160,
- "y": 290,
- "wires": [
- [
- "bc1446cb13c16f89"
- ]
- ]
- },
- {
- "id": "bc1446cb13c16f89",
- "type": "change",
- "z": "cc77ae9558cee9e4",
- "name": "\"Luke",
- "rules": [
- {
- "t": "set",
- "p": "payload",
- "pt": "msg",
- "to": "Luke",
- "tot": "str"
- }
- ],
- "action": "",
- "property": "",
- "from": "",
- "to": "",
- "reg": false,
- "x": 1310,
- "y": 290,
- "wires": [
- [
- "e245538c9cc5949c",
- "4c6ef8b5b5265833"
- ]
- ]
- },
- {
- "id": "ea7e6ce1ef215ce9",
- "type": "delay",
- "z": "cc77ae9558cee9e4",
- "name": "",
- "pauseType": "rate",
- "timeout": "5",
- "timeoutUnits": "seconds",
- "rate": "1",
- "nbRateUnits": "12",
- "rateUnits": "hour",
- "randomFirst": "1",
- "randomLast": "5",
- "randomUnits": "seconds",
- "drop": true,
- "allowrate": false,
- "outputs": 1,
- "x": 1160,
- "y": 330,
- "wires": [
- [
- "fbba4a5474775dd8"
- ]
- ]
- },
- {
- "id": "fbba4a5474775dd8",
- "type": "change",
- "z": "cc77ae9558cee9e4",
- "name": "\"Mom",
- "rules": [
- {
- "t": "set",
- "p": "payload",
- "pt": "msg",
- "to": "Mom",
- "tot": "str"
- }
- ],
- "action": "",
- "property": "",
- "from": "",
- "to": "",
- "reg": false,
- "x": 1310,
- "y": 330,
- "wires": [
- [
- "e245538c9cc5949c",
- "4c6ef8b5b5265833"
- ]
- ]
- },
- {
- "id": "6110178ec0e621c3",
- "type": "change",
- "z": "cc77ae9558cee9e4",
- "name": "\"Dad",
- "rules": [
- {
- "t": "set",
- "p": "payload",
- "pt": "msg",
- "to": "Dad",
- "tot": "str"
- }
- ],
- "action": "",
- "property": "",
- "from": "",
- "to": "",
- "reg": false,
- "x": 1310,
- "y": 370,
- "wires": [
- [
- "e245538c9cc5949c",
- "4c6ef8b5b5265833"
- ]
- ]
- },
- {
- "id": "23cd901e843219c3",
- "type": "delay",
- "z": "cc77ae9558cee9e4",
- "name": "",
- "pauseType": "rate",
- "timeout": "5",
- "timeoutUnits": "seconds",
- "rate": "1",
- "nbRateUnits": "12",
- "rateUnits": "hour",
- "randomFirst": "1",
- "randomLast": "5",
- "randomUnits": "seconds",
- "drop": true,
- "allowrate": false,
- "outputs": 1,
- "x": 1160,
- "y": 370,
- "wires": [
- [
- "6110178ec0e621c3"
- ]
- ]
- },
- {
- "id": "4d1f0d1b8438c7f4",
- "type": "delay",
- "z": "cc77ae9558cee9e4",
- "name": "",
- "pauseType": "rate",
- "timeout": "5",
- "timeoutUnits": "seconds",
- "rate": "1",
- "nbRateUnits": "12",
- "rateUnits": "hour",
- "randomFirst": "1",
- "randomLast": "5",
- "randomUnits": "seconds",
- "drop": true,
- "allowrate": false,
- "outputs": 1,
- "x": 1160,
- "y": 410,
- "wires": [
- [
- "82dd721b1da3072a"
- ]
- ]
- },
- {
- "id": "82dd721b1da3072a",
- "type": "change",
- "z": "cc77ae9558cee9e4",
- "name": "\"Stefan",
- "rules": [
- {
- "t": "set",
- "p": "payload",
- "pt": "msg",
- "to": "Stefan",
- "tot": "str"
- }
- ],
- "action": "",
- "property": "",
- "from": "",
- "to": "",
- "reg": false,
- "x": 1320,
- "y": 410,
- "wires": [
- [
- "e245538c9cc5949c",
- "4c6ef8b5b5265833"
- ]
- ]
- },
- {
- "id": "da08e3ec7e4986e1",
- "type": "change",
- "z": "cc77ae9558cee9e4",
- "name": "\"Nanna",
- "rules": [
- {
- "t": "set",
- "p": "payload",
- "pt": "msg",
- "to": "Nanna",
- "tot": "str"
- }
- ],
- "action": "",
- "property": "",
- "from": "",
- "to": "",
- "reg": false,
- "x": 1320,
- "y": 490,
- "wires": [
- [
- "e245538c9cc5949c",
- "4c6ef8b5b5265833"
- ]
- ]
- },
- {
- "id": "3e1abb50a3371c33",
- "type": "change",
- "z": "cc77ae9558cee9e4",
- "name": "\"Brian",
- "rules": [
- {
- "t": "set",
- "p": "payload",
- "pt": "msg",
- "to": "Brian",
- "tot": "str"
- }
- ],
- "action": "",
- "property": "",
- "from": "",
- "to": "",
- "reg": false,
- "x": 1310,
- "y": 570,
- "wires": [
- [
- "e245538c9cc5949c",
- "4c6ef8b5b5265833"
- ]
- ]
- },
- {
- "id": "4c6ef8b5b5265833",
- "type": "api-call-service",
- "z": "cc77ae9558cee9e4",
- "name": "mobile notification with link",
- "server": "",
- "version": 5,
- "debugenabled": false,
- "domain": "notify",
- "service": "mobile_app_iphone_old",
- "areaId": [],
- "deviceId": [],
- "entityId": [],
- "data": "{\"title\":\"License plate recognized\",\"message\":\"{{payload}}'s car is in the driveway\"}",
- "dataType": "json",
- "mergeContext": "",
- "mustacheAltTags": false,
- "outputProperties": [],
- "queue": "none",
- "output_location": "payload",
- "output_location_type": "none",
- "x": 1620,
- "y": 370,
- "wires": [
- []
- ]
- },
- {
- "id": "0d98b62a4dde84f9",
- "type": "comment",
- "z": "cc77ae9558cee9e4",
- "name": "Video of this flow in action can be found here: https://youtu.be/fyAE7fB1u6s?si=nr3IOuo5EVUQ3YBH",
- "info": "",
- "x": 370,
- "y": 30,
- "wires": []
- },
- {
- "id": "093a4b3592131ac9",
- "type": "comment",
- "z": "cc77ae9558cee9e4",
- "name": "https://support.reolink.com/hc/en-us/articles/360007011233-How-to-Capture-Live-JPEG-Image-of-Reolink-Cameras-via-Web-Browsers/",
- "info": "",
- "x": 480,
- "y": 760,
- "wires": []
- }
- ]
Advertisement
Add Comment
Please, Sign In to add comment