Skip to content

Instantly share code, notes, and snippets.

@sktaylortrash
Created November 23, 2018 18:35
Show Gist options
  • Save sktaylortrash/b01ab3a510c74715c7ada0f32071cf6f to your computer and use it in GitHub Desktop.
Save sktaylortrash/b01ab3a510c74715c7ada0f32071cf6f to your computer and use it in GitHub Desktop.
Node-Red Dashboard UI
[
{
"id": "634e2c66.f68494",
"type": "ui_switch",
"z": "793266b3.2f9258",
"name": "MasterLamp",
"label": "Master Lamp",
"group": "3be5ed33.ae46d2",
"order": 0,
"width": 0,
"height": 0,
"passthru": false,
"decouple": "false",
"topic": "",
"style": "",
"onvalue": "1",
"onvalueType": "str",
"onicon": "lightbulb_outline",
"oncolor": "#FFFF00",
"offvalue": "0",
"offvalueType": "str",
"officon": "lightbulb_outline",
"offcolor": "#919191",
"x": 390,
"y": 40,
"wires": [
[
"9fdfda90.e384a8"
]
]
},
{
"id": "9fdfda90.e384a8",
"type": "mqtt out",
"z": "793266b3.2f9258",
"name": "Master Lamp On/Off",
"topic": "light/MasterBedroom/Lamp/216773570733536747/switch",
"qos": "0",
"retain": "false",
"broker": "79ae0f24.e78a8",
"x": 640,
"y": 40,
"wires": []
},
{
"id": "96d7d28e.3d5a6",
"type": "mqtt in",
"z": "793266b3.2f9258",
"name": "Master Lamp Status",
"topic": "light/MasterBedroom/Lamp/216773570733536747/status",
"qos": "0",
"broker": "79ae0f24.e78a8",
"x": 150,
"y": 40,
"wires": [
[
"634e2c66.f68494"
]
]
},
{
"id": "b3b02202.892e1",
"type": "ui_slider",
"z": "793266b3.2f9258",
"name": "Master Lamp Bright",
"label": "",
"group": "3be5ed33.ae46d2",
"order": 0,
"width": 0,
"height": 0,
"passthru": false,
"topic": "",
"min": "1",
"max": "100",
"step": "5",
"x": 410,
"y": 100,
"wires": [
[
"b56d8e4e.b3cd6"
]
]
},
{
"id": "b56d8e4e.b3cd6",
"type": "mqtt out",
"z": "793266b3.2f9258",
"name": "Master Lamp Brightness",
"topic": "light/MasterBedroom/Lamp/216773570733536747/brightness/set",
"qos": "0",
"retain": "false",
"broker": "79ae0f24.e78a8",
"x": 650,
"y": 100,
"wires": []
},
{
"id": "fda87660.0cbbe8",
"type": "mqtt in",
"z": "793266b3.2f9258",
"name": "Master Lamp Brightness",
"topic": "light/MasterBedroom/Lamp/216773570733536747/brightness",
"qos": "2",
"broker": "79ae0f24.e78a8",
"x": 170,
"y": 100,
"wires": [
[
"b3b02202.892e1"
]
]
},
{
"id": "3be5ed33.ae46d2",
"type": "ui_group",
"z": "",
"name": "Master Bedroom",
"tab": "ec36ff39.9b749",
"order": 1,
"disp": true,
"width": "6",
"collapse": false
},
{
"id": "79ae0f24.e78a8",
"type": "mqtt-broker",
"z": "",
"name": "",
"broker": "localhost",
"port": "1883",
"clientid": "",
"usetls": false,
"compatmode": true,
"keepalive": "15",
"cleansession": true,
"birthTopic": "",
"birthQos": "0",
"birthPayload": "",
"closeTopic": "",
"closePayload": "",
"willTopic": "",
"willQos": "0",
"willPayload": ""
},
{
"id": "ec36ff39.9b749",
"type": "ui_tab",
"z": "",
"name": "Home",
"icon": "dashboard",
"order": 1
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment