Good day all i am new to this and hope someone can help me set this up i have done a basic setup for 2 switches. I am trying to make it work like a 2 way switch with the ui i get it right so that they work at the same time but when i fiscally press the buttons nothing happens only one switch on any help would be appreciated. Fyi this is my 1st nodered project
[
{
"id": "8765833d3a37a777",
"type": "tab",
"label": "Flow 1",
"disabled": false,
"info": "",
"env":
},
{
"id": "ea9bd8bf5edb84af",
"type": "mqtt-broker",
"name": "Home",
"broker": "localhost",
"port": "1883",
"clientid": "",
"autoConnect": true,
"usetls": false,
"protocolVersion": "4",
"keepalive": "60",
"cleansession": true,
"autoUnsubscribe": true,
"birthTopic": "",
"birthQos": "0",
"birthRetain": "false",
"birthPayload": "",
"birthMsg": {},
"closeTopic": "",
"closeQos": "0",
"closeRetain": "false",
"closePayload": "",
"closeMsg": {},
"willTopic": "",
"willQos": "0",
"willRetain": "false",
"willPayload": "",
"willMsg": {},
"userProps": "",
"sessionExpiry": ""
},
{
"id": "4a49fd29f6334af2",
"type": "ui_tab",
"name": "Home",
"icon": "dashboard",
"disabled": false,
"hidden": false
},
{
"id": "61d2850bbd4d5909",
"type": "ui_base",
"theme": {
"name": "theme-light",
"lightTheme": {
"default": "#0094CE",
"baseColor": "#0094CE",
"baseFont": "-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif",
"edited": true,
"reset": false
},
"darkTheme": {
"default": "#097479",
"baseColor": "#097479",
"baseFont": "-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif",
"edited": false
},
"customTheme": {
"name": "Untitled Theme 1",
"default": "#4B7930",
"baseColor": "#4B7930",
"baseFont": "-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif"
},
"themeState": {
"base-color": {
"default": "#0094CE",
"value": "#0094CE",
"edited": false
},
"page-titlebar-backgroundColor": {
"value": "#0094CE",
"edited": false
},
"page-backgroundColor": {
"value": "#fafafa",
"edited": false
},
"page-sidebar-backgroundColor": {
"value": "#ffffff",
"edited": false
},
"group-textColor": {
"value": "#1bbfff",
"edited": false
},
"group-borderColor": {
"value": "#ffffff",
"edited": false
},
"group-backgroundColor": {
"value": "#ffffff",
"edited": false
},
"widget-textColor": {
"value": "#111111",
"edited": false
},
"widget-backgroundColor": {
"value": "#0094ce",
"edited": false
},
"widget-borderColor": {
"value": "#ffffff",
"edited": false
},
"base-font": {
"value": "-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif"
}
},
"angularTheme": {
"primary": "indigo",
"accents": "blue",
"warn": "red",
"background": "grey",
"palette": "light"
}
},
"site": {
"name": "Node-RED Dashboard",
"hideToolbar": "false",
"allowSwipe": "false",
"lockMenu": "false",
"allowTempTheme": "true",
"dateFormat": "DD/MM/YYYY",
"sizes": {
"sx": 48,
"sy": 48,
"gx": 6,
"gy": 6,
"cx": 6,
"cy": 6,
"px": 0,
"py": 0
}
}
},
{
"id": "f8ebd8f9631165f5",
"type": "ui_group",
"name": "Passage",
"tab": "4a49fd29f6334af2",
"order": 1,
"disp": true,
"width": "6",
"collapse": false,
"className": ""
},
{
"id": "e65585610fa56181",
"type": "mqtt out",
"z": "8765833d3a37a777",
"name": "PassageLight",
"topic": "cmnd/PassageSW1/POWER1",
"qos": "2",
"retain": "",
"respTopic": "",
"contentType": "",
"userProps": "",
"correl": "",
"expiry": "",
"broker": "ea9bd8bf5edb84af",
"x": 480,
"y": 200,
"wires":
},
{
"id": "e3d71b49883c2338",
"type": "mqtt in",
"z": "8765833d3a37a777",
"name": "PassageLight",
"topic": "stat/PassageSW1/POWER1/",
"qos": "2",
"datatype": "auto-detect",
"broker": "ea9bd8bf5edb84af",
"nl": false,
"rap": true,
"rh": 0,
"inputs": 0,
"x": 70,
"y": 200,
"wires": [
[
"784e0420709ba160"
]
]
},
{
"id": "784e0420709ba160",
"type": "ui_switch",
"z": "8765833d3a37a777",
"name": "PassageLight",
"label": "switch",
"tooltip": "",
"group": "f8ebd8f9631165f5",
"order": 0,
"width": 0,
"height": 0,
"passthru": false,
"decouple": "false",
"topic": "topic",
"topicType": "msg",
"style": "",
"onvalue": "ON",
"onvalueType": "str",
"onicon": "",
"oncolor": "",
"offvalue": "OFF",
"offvalueType": "str",
"officon": "",
"offcolor": "",
"animate": false,
"className": "",
"x": 260,
"y": 280,
"wires": [
[
"e65585610fa56181",
"8fc424ada7396103"
]
]
},
{
"id": "8fc424ada7396103",
"type": "mqtt out",
"z": "8765833d3a37a777",
"name": "PassageLight",
"topic": "cmnd/PassageSW2/POWER1",
"qos": "2",
"retain": "",
"respTopic": "",
"contentType": "",
"userProps": "",
"correl": "",
"expiry": "",
"broker": "ea9bd8bf5edb84af",
"x": 480,
"y": 380,
"wires":
},
{
"id": "b84e91c4453f903d",
"type": "mqtt in",
"z": "8765833d3a37a777",
"name": "PassageLight",
"topic": "stat/PassageSW2/POWER1",
"qos": "2",
"datatype": "auto-detect",
"broker": "ea9bd8bf5edb84af",
"nl": false,
"rap": true,
"rh": 0,
"inputs": 0,
"x": 70,
"y": 360,
"wires": [
[
"784e0420709ba160"
]
]
}
]