Untrack output/zigbee-monitor.json (build artifact)
output/ is in .gitignore but the file was tracked before .gitignore was added. Random uuid ids make every regen produce a new diff, so build artifacts shouldn't live in version control. Regenerate anytime with: just generate
This commit is contained in:
@@ -1,373 +0,0 @@
|
|||||||
[
|
|
||||||
{
|
|
||||||
"id": "brdf4ae094",
|
|
||||||
"type": "mqtt-broker",
|
|
||||||
"name": "mosquitto",
|
|
||||||
"broker": "mosquitto",
|
|
||||||
"port": "1883",
|
|
||||||
"clientid": "",
|
|
||||||
"autoConnect": true,
|
|
||||||
"usetls": false,
|
|
||||||
"protocolVersion": "4",
|
|
||||||
"keepalive": "60",
|
|
||||||
"cleansession": true,
|
|
||||||
"birthTopic": "",
|
|
||||||
"birthQos": "0",
|
|
||||||
"birthPayload": "",
|
|
||||||
"closeTopic": "",
|
|
||||||
"closeQos": "0",
|
|
||||||
"closePayload": "",
|
|
||||||
"willTopic": "",
|
|
||||||
"willQos": "0",
|
|
||||||
"willPayload": ""
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"id": "uib11a5cfce",
|
|
||||||
"type": "ui-base",
|
|
||||||
"name": "Dashboard",
|
|
||||||
"path": "/dashboard",
|
|
||||||
"includeClientData": true,
|
|
||||||
"acceptsClientConfig": [
|
|
||||||
"ui-notification",
|
|
||||||
"ui-control"
|
|
||||||
],
|
|
||||||
"showPathInSidebar": false,
|
|
||||||
"navigationStyle": "default",
|
|
||||||
"titleBarStyle": "default"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"id": "uit87ac5318",
|
|
||||||
"type": "ui-theme",
|
|
||||||
"name": "Default Theme",
|
|
||||||
"colors": {
|
|
||||||
"surface": "#ffffff",
|
|
||||||
"primary": "#0094CE",
|
|
||||||
"bgPage": "#eeeeee",
|
|
||||||
"groupBg": "#ffffff",
|
|
||||||
"groupOutline": "#cccccc"
|
|
||||||
},
|
|
||||||
"sizes": {
|
|
||||||
"pagePadding": "12px",
|
|
||||||
"groupGap": "12px",
|
|
||||||
"groupBorderRadius": "4px",
|
|
||||||
"widgetGap": "12px"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"id": "uip5130977b",
|
|
||||||
"type": "ui-page",
|
|
||||||
"name": "Home",
|
|
||||||
"ui": "uib11a5cfce",
|
|
||||||
"icon": "home",
|
|
||||||
"path": "/home",
|
|
||||||
"theme": "uit87ac5318",
|
|
||||||
"layout": "flex",
|
|
||||||
"order": 0,
|
|
||||||
"className": "",
|
|
||||||
"visible": true,
|
|
||||||
"disabled": false
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"id": "uig5860869f",
|
|
||||||
"type": "ui-group",
|
|
||||||
"name": "Plugs",
|
|
||||||
"page": "uip5130977b",
|
|
||||||
"width": "6",
|
|
||||||
"height": "1",
|
|
||||||
"order": 1,
|
|
||||||
"showTitle": true,
|
|
||||||
"className": "",
|
|
||||||
"visible": true,
|
|
||||||
"disabled": false
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"id": "fbc766ae4",
|
|
||||||
"type": "tab",
|
|
||||||
"label": "Zigbee Monitor",
|
|
||||||
"disabled": false,
|
|
||||||
"info": "Button dispatches single vs hold-release to different plug sets",
|
|
||||||
"env": []
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"id": "zigbee-state-squiggle",
|
|
||||||
"type": "mqtt in",
|
|
||||||
"wires": [
|
|
||||||
[
|
|
||||||
"text-squiggle"
|
|
||||||
]
|
|
||||||
],
|
|
||||||
"name": "",
|
|
||||||
"x": 170,
|
|
||||||
"y": 80,
|
|
||||||
"broker": "brdf4ae094",
|
|
||||||
"topic": "zigbee2mqtt/Squiggle",
|
|
||||||
"qos": "0",
|
|
||||||
"datatype": "auto",
|
|
||||||
"z": "fbc766ae4"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"id": "zigbee-state-sideboard",
|
|
||||||
"type": "mqtt in",
|
|
||||||
"wires": [
|
|
||||||
[
|
|
||||||
"text-sideboard"
|
|
||||||
]
|
|
||||||
],
|
|
||||||
"name": "",
|
|
||||||
"x": 170,
|
|
||||||
"y": 80,
|
|
||||||
"broker": "brdf4ae094",
|
|
||||||
"topic": "zigbee2mqtt/Sideboard Lamp",
|
|
||||||
"qos": "0",
|
|
||||||
"datatype": "auto",
|
|
||||||
"z": "fbc766ae4"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"id": "zigbee-state-bamboo",
|
|
||||||
"type": "mqtt in",
|
|
||||||
"wires": [
|
|
||||||
[
|
|
||||||
"text-bamboo"
|
|
||||||
]
|
|
||||||
],
|
|
||||||
"name": "",
|
|
||||||
"x": 170,
|
|
||||||
"y": 80,
|
|
||||||
"broker": "brdf4ae094",
|
|
||||||
"topic": "zigbee2mqtt/Bamboo Lights",
|
|
||||||
"qos": "0",
|
|
||||||
"datatype": "auto",
|
|
||||||
"z": "fbc766ae4"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"id": "zigbee-state-djbooth",
|
|
||||||
"type": "mqtt in",
|
|
||||||
"wires": [
|
|
||||||
[
|
|
||||||
"text-djbooth"
|
|
||||||
]
|
|
||||||
],
|
|
||||||
"name": "",
|
|
||||||
"x": 170,
|
|
||||||
"y": 220,
|
|
||||||
"broker": "brdf4ae094",
|
|
||||||
"topic": "zigbee2mqtt/DJ Booth",
|
|
||||||
"qos": "0",
|
|
||||||
"datatype": "auto",
|
|
||||||
"z": "fbc766ae4"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"id": "button-in",
|
|
||||||
"type": "mqtt in",
|
|
||||||
"wires": [
|
|
||||||
[
|
|
||||||
"single-filter",
|
|
||||||
"hold-filter"
|
|
||||||
]
|
|
||||||
],
|
|
||||||
"name": "",
|
|
||||||
"x": 170,
|
|
||||||
"y": 220,
|
|
||||||
"broker": "brdf4ae094",
|
|
||||||
"topic": "zigbee2mqtt/Door Button",
|
|
||||||
"qos": "0",
|
|
||||||
"datatype": "auto",
|
|
||||||
"z": "fbc766ae4"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"id": "single-filter",
|
|
||||||
"type": "function",
|
|
||||||
"wires": [
|
|
||||||
[
|
|
||||||
"plug-out-squiggle",
|
|
||||||
"plug-out-sideboard",
|
|
||||||
"plug-out-bamboo"
|
|
||||||
]
|
|
||||||
],
|
|
||||||
"name": "Single click",
|
|
||||||
"x": 450,
|
|
||||||
"y": 220,
|
|
||||||
"func": "try {\n const p = JSON.parse(msg.payload);\n if (p.action === 'single') {\n msg.payload = { state: 'TOGGLE' };\n return msg;\n }\n} catch (e) {}\nreturn null;\n",
|
|
||||||
"outputs": 1,
|
|
||||||
"noerr": 0,
|
|
||||||
"initialize": "",
|
|
||||||
"finalize": "",
|
|
||||||
"libs": [],
|
|
||||||
"z": "fbc766ae4"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"id": "hold-filter",
|
|
||||||
"type": "function",
|
|
||||||
"wires": [
|
|
||||||
[
|
|
||||||
"plug-out-djbooth"
|
|
||||||
]
|
|
||||||
],
|
|
||||||
"name": "Hold release",
|
|
||||||
"x": 450,
|
|
||||||
"y": 360,
|
|
||||||
"func": "try {\n const p = JSON.parse(msg.payload);\n if (p.action === 'release') {\n msg.payload = { state: 'TOGGLE' };\n return msg;\n }\n} catch (e) {}\nreturn null;\n",
|
|
||||||
"outputs": 1,
|
|
||||||
"noerr": 0,
|
|
||||||
"initialize": "",
|
|
||||||
"finalize": "",
|
|
||||||
"libs": [],
|
|
||||||
"z": "fbc766ae4"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"id": "plug-out-squiggle",
|
|
||||||
"type": "mqtt out",
|
|
||||||
"wires": [],
|
|
||||||
"name": "",
|
|
||||||
"x": 770,
|
|
||||||
"y": 360,
|
|
||||||
"broker": "brdf4ae094",
|
|
||||||
"topic": "zigbee2mqtt/Squiggle/set",
|
|
||||||
"qos": "2",
|
|
||||||
"retain": false,
|
|
||||||
"z": "fbc766ae4"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"id": "plug-out-sideboard",
|
|
||||||
"type": "mqtt out",
|
|
||||||
"wires": [],
|
|
||||||
"name": "",
|
|
||||||
"x": 770,
|
|
||||||
"y": 360,
|
|
||||||
"broker": "brdf4ae094",
|
|
||||||
"topic": "zigbee2mqtt/Sideboard Lamp/set",
|
|
||||||
"qos": "2",
|
|
||||||
"retain": false,
|
|
||||||
"z": "fbc766ae4"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"id": "plug-out-bamboo",
|
|
||||||
"type": "mqtt out",
|
|
||||||
"wires": [],
|
|
||||||
"name": "",
|
|
||||||
"x": 770,
|
|
||||||
"y": 500,
|
|
||||||
"broker": "brdf4ae094",
|
|
||||||
"topic": "zigbee2mqtt/Bamboo Lights/set",
|
|
||||||
"qos": "2",
|
|
||||||
"retain": false,
|
|
||||||
"z": "fbc766ae4"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"id": "plug-out-djbooth",
|
|
||||||
"type": "mqtt out",
|
|
||||||
"wires": [],
|
|
||||||
"name": "",
|
|
||||||
"x": 770,
|
|
||||||
"y": 500,
|
|
||||||
"broker": "brdf4ae094",
|
|
||||||
"topic": "zigbee2mqtt/DJ Booth/set",
|
|
||||||
"qos": "2",
|
|
||||||
"retain": false,
|
|
||||||
"z": "fbc766ae4"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"id": "text-squiggle",
|
|
||||||
"type": "ui-text",
|
|
||||||
"wires": [],
|
|
||||||
"name": "Squiggle",
|
|
||||||
"x": 770,
|
|
||||||
"y": 500,
|
|
||||||
"group": "uig5860869f",
|
|
||||||
"width": "6",
|
|
||||||
"height": "2",
|
|
||||||
"order": 1,
|
|
||||||
"label": "Squiggle",
|
|
||||||
"format": "{{msg.payload.state}}",
|
|
||||||
"layout": "row-spread",
|
|
||||||
"className": "",
|
|
||||||
"z": "fbc766ae4"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"id": "text-sideboard",
|
|
||||||
"type": "ui-text",
|
|
||||||
"wires": [],
|
|
||||||
"name": "Sideboard Lamp",
|
|
||||||
"x": 770,
|
|
||||||
"y": 640,
|
|
||||||
"group": "uig5860869f",
|
|
||||||
"width": "6",
|
|
||||||
"height": "2",
|
|
||||||
"order": 2,
|
|
||||||
"label": "Sideboard Lamp",
|
|
||||||
"format": "{{msg.payload.state}}",
|
|
||||||
"layout": "row-spread",
|
|
||||||
"className": "",
|
|
||||||
"z": "fbc766ae4"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"id": "text-bamboo",
|
|
||||||
"type": "ui-text",
|
|
||||||
"wires": [],
|
|
||||||
"name": "Bamboo Lights",
|
|
||||||
"x": 770,
|
|
||||||
"y": 640,
|
|
||||||
"group": "uig5860869f",
|
|
||||||
"width": "6",
|
|
||||||
"height": "2",
|
|
||||||
"order": 3,
|
|
||||||
"label": "Bamboo Lights",
|
|
||||||
"format": "{{msg.payload.state}}",
|
|
||||||
"layout": "row-spread",
|
|
||||||
"className": "",
|
|
||||||
"z": "fbc766ae4"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"id": "text-djbooth",
|
|
||||||
"type": "ui-text",
|
|
||||||
"wires": [],
|
|
||||||
"name": "DJ Booth",
|
|
||||||
"x": 770,
|
|
||||||
"y": 640,
|
|
||||||
"group": "uig5860869f",
|
|
||||||
"width": "6",
|
|
||||||
"height": "2",
|
|
||||||
"order": 4,
|
|
||||||
"label": "DJ Booth",
|
|
||||||
"format": "{{msg.payload.state}}",
|
|
||||||
"layout": "row-spread",
|
|
||||||
"className": "",
|
|
||||||
"z": "fbc766ae4"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"id": "permit-btn",
|
|
||||||
"type": "ui-button",
|
|
||||||
"wires": [
|
|
||||||
[
|
|
||||||
"mqtt-out"
|
|
||||||
]
|
|
||||||
],
|
|
||||||
"name": "Permit Join (60s)",
|
|
||||||
"x": 170,
|
|
||||||
"y": 780,
|
|
||||||
"group": "uig5860869f",
|
|
||||||
"payload": "{\"value\": true, \"time\": 60}",
|
|
||||||
"payloadType": "json",
|
|
||||||
"topic": "zigbee2mqtt/bridge/request/permit_join",
|
|
||||||
"width": "3",
|
|
||||||
"height": "1",
|
|
||||||
"order": 5,
|
|
||||||
"className": "",
|
|
||||||
"z": "fbc766ae4",
|
|
||||||
"icon": "",
|
|
||||||
"label": "Permit Join (60s)"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"id": "mqtt-out",
|
|
||||||
"type": "mqtt out",
|
|
||||||
"wires": [],
|
|
||||||
"name": "",
|
|
||||||
"x": 770,
|
|
||||||
"y": 780,
|
|
||||||
"broker": "brdf4ae094",
|
|
||||||
"topic": "",
|
|
||||||
"qos": "2",
|
|
||||||
"retain": false,
|
|
||||||
"z": "fbc766ae4"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
Reference in New Issue
Block a user