I'm running the node on a Banana Pi M64 with the following system specifications:
- Operating System: Ubuntu 22.04.3 LTS
- Kernel Version: 4.4.89
- Node.js Version: v20.6.1
- npm Version: 10.1.0
- Node-RED Version: 3.1.0
Regarding the node, I can confirm that the "node-red-contrib-mcp23017chip" from WillHey is working perfectly for my setup. If you have any further questions or need more details, please feel free to ask.
[
{
"id": "8be4f97c44d81f4c",
"type": "tab",
"label": "test",
"disabled": false,
"info": "",
"env": []
},
{
"id": "4b2f28abdf25c766",
"type": "mcp pcf chip",
"chipType": "MCP23017",
"busNum": "1",
"addr": "0X20",
"mcpInputOverride": true,
"interval": "100",
"startAllHIGH": false
},
{
"id": "ffc5d87038a814b5",
"type": "mcp pcf out",
"z": "8be4f97c44d81f4c",
"name": "relay_00",
"chip": "4b2f28abdf25c766",
"bitNum": "0",
"invert": false,
"legacy": false,
"x": 440,
"y": 80,
"wires": []
},
{
"id": "2aafa068b494d3e8",
"type": "mcp pcf out",
"z": "8be4f97c44d81f4c",
"name": "relay_01",
"chip": "4b2f28abdf25c766",
"bitNum": "1",
"invert": false,
"legacy": false,
"x": 440,
"y": 120,
"wires": []
},
{
"id": "896f2b37003e192e",
"type": "inject",
"z": "8be4f97c44d81f4c",
"name": "on_relay_00",
"props": [
{
"p": "payload"
},
{
"p": "topic",
"vt": "str"
}
],
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": 0.1,
"topic": "",
"payload": "true",
"payloadType": "bool",
"x": 150,
"y": 80,
"wires": [
[
"77f0a5fe2e7e547e"
]
]
},
{
"id": "f5f152ce9b21d8f1",
"type": "inject",
"z": "8be4f97c44d81f4c",
"name": "off_relay_00",
"props": [
{
"p": "payload"
},
{
"p": "topic",
"vt": "str"
}
],
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": 0.1,
"topic": "",
"payload": "false",
"payloadType": "bool",
"x": 150,
"y": 120,
"wires": [
[
"68a8b15105aed91e"
]
]
},
{
"id": "68a545d60ab4f464",
"type": "inject",
"z": "8be4f97c44d81f4c",
"name": "on_relay_01",
"props": [
{
"p": "payload"
},
{
"p": "topic",
"vt": "str"
}
],
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": 0.1,
"topic": "",
"payload": "true",
"payloadType": "bool",
"x": 150,
"y": 180,
"wires": [
[
"f79d083d88911e7d"
]
]
},
{
"id": "0d39391d1c479958",
"type": "inject",
"z": "8be4f97c44d81f4c",
"name": "off_relay_01",
"props": [
{
"p": "payload"
},
{
"p": "topic",
"vt": "str"
}
],
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": 0.1,
"topic": "",
"payload": "false",
"payloadType": "bool",
"x": 150,
"y": 220,
"wires": [
[
"44b01d0b0392d001"
]
]
},
{
"id": "77f0a5fe2e7e547e",
"type": "link out",
"z": "8be4f97c44d81f4c",
"name": "relay_00",
"mode": "link",
"links": [
"9068ab90c322961f"
],
"x": 255,
"y": 80,
"wires": []
},
{
"id": "9068ab90c322961f",
"type": "link in",
"z": "8be4f97c44d81f4c",
"name": "relay_01",
"links": [
"68a8b15105aed91e",
"77f0a5fe2e7e547e"
],
"x": 345,
"y": 80,
"wires": [
[
"ffc5d87038a814b5"
]
]
},
{
"id": "68a8b15105aed91e",
"type": "link out",
"z": "8be4f97c44d81f4c",
"name": "relay_00",
"mode": "link",
"links": [
"9068ab90c322961f"
],
"x": 255,
"y": 120,
"wires": []
},
{
"id": "f79d083d88911e7d",
"type": "link out",
"z": "8be4f97c44d81f4c",
"name": "relay_01",
"mode": "link",
"links": [
"01bea90b9fa4d014"
],
"x": 255,
"y": 180,
"wires": []
},
{
"id": "01bea90b9fa4d014",
"type": "link in",
"z": "8be4f97c44d81f4c",
"name": "relay_01",
"links": [
"f79d083d88911e7d",
"44b01d0b0392d001"
],
"x": 345,
"y": 120,
"wires": [
[
"2aafa068b494d3e8"
]
]
},
{
"id": "44b01d0b0392d001",
"type": "link out",
"z": "8be4f97c44d81f4c",
"name": "relay_01",
"mode": "link",
"links": [
"01bea90b9fa4d014"
],
"x": 255,
"y": 220,
"wires": []
}
]