Sure!
[
{
"id": "c6dd49c3.81e468",
"type": "tab",
"label": "Flow 1",
"disabled": false,
"info": ""
},
{
"id": "9e351bee.6ede18",
"type": "ui_template",
"z": "c6dd49c3.81e468",
"group": "aff659f4.4b64b",
"name": "Camera 1",
"order": 2,
"width": "6",
"height": "4",
"format": "<img src=\"data:image/jpg;base64,{{msg.payload}}\" style=\"display: block; width: 100%;\" />",
"storeOutMessages": true,
"fwdInMessages": false,
"resendOnRefresh": false,
"templateScope": "local",
"x": 240,
"y": 120,
"wires": [
[]
]
},
{
"id": "b28e5d43.133d3",
"type": "mqtt in",
"z": "c6dd49c3.81e468",
"name": "Camera 1",
"topic": "cameras/1/capture",
"qos": "2",
"datatype": "auto",
"broker": "e929bd47.f54968",
"x": 80,
"y": 120,
"wires": [
[
"9e351bee.6ede18"
]
]
},
{
"id": "79168c78.2df8e4",
"type": "camerapi-takephoto",
"z": "c6dd49c3.81e468",
"filemode": "0",
"filename": "",
"filedefpath": "1",
"filepath": "",
"fileformat": "jpeg",
"resolution": "2",
"rotation": "180",
"fliph": "0",
"flipv": "0",
"brightness": "50",
"contrast": "0",
"sharpness": "0",
"quality": "",
"imageeffect": "none",
"exposuremode": "auto",
"iso": "0",
"agcwait": "1",
"awb": "auto",
"name": "Action",
"x": 230,
"y": 60,
"wires": [
[
"2eb733dd.94a95c"
]
]
},
{
"id": "2eb733dd.94a95c",
"type": "base64",
"z": "c6dd49c3.81e468",
"name": "",
"x": 380,
"y": 60,
"wires": [
[
"a0c49073.a2b71"
]
]
},
{
"id": "a0c49073.a2b71",
"type": "mqtt out",
"z": "c6dd49c3.81e468",
"name": "MQTT",
"topic": "",
"qos": "",
"retain": "",
"broker": "e929bd47.f54968",
"x": 530,
"y": 60,
"wires": []
},
{
"id": "2568cc5e.548584",
"type": "inject",
"z": "c6dd49c3.81e468",
"name": "Capture",
"props": [
{
"p": "timestamp",
"v": "",
"vt": "date"
},
{
"p": "topic",
"vt": "str"
}
],
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": 0.1,
"topic": "cameras/1/capture",
"payloadType": "str",
"x": 90,
"y": 60,
"wires": [
[
"79168c78.2df8e4"
]
]
},
{
"id": "aff659f4.4b64b",
"type": "ui_group",
"z": "",
"name": "Default",
"tab": "bcbe7bf2.cf94c8",
"order": 2,
"disp": true,
"width": "6",
"collapse": false
},
{
"id": "e929bd47.f54968",
"type": "mqtt-broker",
"z": "",
"broker": "localhost",
"port": "1883",
"clientid": "",
"usetls": false,
"compatmode": true,
"keepalive": "60",
"cleansession": true,
"birthTopic": "",
"birthQos": "0",
"birthPayload": "",
"willTopic": "",
"willQos": "0",
"willPayload": ""
},
{
"id": "bcbe7bf2.cf94c8",
"type": "ui_tab",
"z": "",
"name": "Examples",
"icon": "dashboard",
"order": 1,
"disabled": false,
"hidden": false
}
]