Hallo, ich möchte den Input Staus vom MCP23017 im dashboard anzeigen lassen (Schloss rot / Schloss grün)
Der MCP23017 liefert den payload true / flase. Leider ändert sich aber an dem Switch Status nichts.
Dann habe ich das mit einem Testschalter simuliert, aber auch da ändert sich nichts.
[
{
“id”: “e37e74df4be06c78”,
“type”: “tab”,
“label”: “Flow 4”,
“disabled”: false,
“info”: “”,
“env”:
},
{
“id”: “e93839d185951512”,
“type”: “mcp23017input”,
“z”: “e37e74df4be06c78”,
“name”: “A0”,
“chip”: “d0707bbb63e29c8f”,
“bitNum”: “0”,
“pullUp”: true,
“invert”: false,
“debounce”: 200,
“onMsg”: true,
“offMsg”: true,
“x”: 430,
“y”: 320,
“wires”: [
[
“f14730cb4d55a370”,
“434493f5c9ac844e”
]
]
},
{
“id”: “3c58c4dee3faca16”,
“type”: “comment”,
“z”: “e37e74df4be06c78”,
“name”: “mcp23017chip IO IN 0x24”,
“info”: “”,
“x”: 370,
“y”: 260,
“wires”:
},
{
“id”: “f14730cb4d55a370”,
“type”: “ui_switch”,
“z”: “e37e74df4be06c78”,
“name”: “”,
“label”: “”,
“tooltip”: “”,
“group”: “5d06e48e7f592bbe”,
“order”: 14,
“width”: 0,
“height”: 0,
“passthru”: true,
“decouple”: “false”,
“topic”: “payload”,
“topicType”: “msg”,
“style”: “”,
“onvalue”: “false”,
“onvalueType”: “bool”,
“onicon”: “fa-lock fa-2x”,
“oncolor”: “green”,
“offvalue”: “true”,
“offvalueType”: “bool”,
“officon”: “fa-unlock fa-2x”,
“offcolor”: “red”,
“animate”: false,
“className”: “”,
“x”: 790,
“y”: 320,
“wires”: [
]
},
{
“id”: “434493f5c9ac844e”,
“type”: “debug”,
“z”: “e37e74df4be06c78”,
“name”: “debug 678”,
“active”: true,
“tosidebar”: true,
“console”: false,
“tostatus”: true,
“complete”: “payload”,
“targetType”: “msg”,
“statusVal”: “payload”,
“statusType”: “auto”,
“x”: 1030,
“y”: 360,
“wires”:
},
{
“id”: “440f8e676336459b”,
“type”: “ui_switch”,
“z”: “e37e74df4be06c78”,
“name”: “”,
“label”: “Test”,
“tooltip”: “”,
“group”: “5d06e48e7f592bbe”,
“order”: 0,
“width”: 0,
“height”: 0,
“passthru”: true,
“decouple”: “false”,
“topic”: “topic”,
“topicType”: “msg”,
“style”: “”,
“onvalue”: “true”,
“onvalueType”: “bool”,
“onicon”: “”,
“oncolor”: “”,
“offvalue”: “false”,
“offvalueType”: “bool”,
“officon”: “”,
“offcolor”: “”,
“animate”: false,
“className”: “”,
“x”: 650,
“y”: 280,
“wires”: [
[
“f14730cb4d55a370”,
“f2ef9e0b666d65c4”
]
]
},
{
“id”: “f2ef9e0b666d65c4”,
“type”: “debug”,
“z”: “e37e74df4be06c78”,
“name”: “debug 679”,
“active”: true,
“tosidebar”: true,
“console”: false,
“tostatus”: true,
“complete”: “payload”,
“targetType”: “msg”,
“statusVal”: “payload”,
“statusType”: “auto”,
“x”: 1070,
“y”: 260,
“wires”:
},
{
“id”: “d0707bbb63e29c8f”,
“type”: “mcp23017chip”,
“addr”: “0x24”,
“interval”: “100”
},
{
“id”: “5d06e48e7f592bbe”,
“type”: “ui_group”,
“name”: “Standard”,
“tab”: “3d43cf437c8276da”,
“order”: 1,
“disp”: true,
“width”: “6”,
“collapse”: false,
“className”: “”
},
{
“id”: “3d43cf437c8276da”,
“type”: “ui_tab”,
“name”: “IO INP”,
“icon”: “dashboard”,
“disabled”: false,
“hidden”: false
}
]