Updated NPM.
New feature:
direct msg
control for Out Node is finished.
Nobody voted. Choosed : msg.payload = -1
Example:
[
{
"id": "cdb554694af63c0b",
"type": "inject",
"z": "04823d5afca6d208",
"name": "",
"props": [
{
"p": "payload"
},
{
"p": "topic",
"vt": "str"
}
],
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": 0.1,
"topic": "",
"payload": "true",
"payloadType": "bool",
"x": 550,
"y": 160,
"wires": [
[
"c97d62672d3eb61e"
]
]
},
{
"id": "83cfcef10524acd0",
"type": "inject",
"z": "04823d5afca6d208",
"name": "",
"props": [
{
"p": "payload"
},
{
"p": "topic",
"vt": "str"
}
],
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": 0.1,
"topic": "",
"payload": "false",
"payloadType": "bool",
"x": 550,
"y": 200,
"wires": [
[
"c97d62672d3eb61e"
]
]
},
{
"id": "b29818dfe5fa6d8c",
"type": "inject",
"z": "04823d5afca6d208",
"name": "",
"props": [
{
"p": "payload"
},
{
"p": "topic",
"vt": "str"
}
],
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": 0.1,
"topic": "",
"payload": "All0",
"payloadType": "str",
"x": 550,
"y": 60,
"wires": [
[
"c97d62672d3eb61e"
]
]
},
{
"id": "489cc4c35bb3839b",
"type": "inject",
"z": "04823d5afca6d208",
"name": "",
"props": [
{
"p": "payload"
},
{
"p": "topic",
"vt": "str"
}
],
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": 0.1,
"topic": "",
"payload": "All1",
"payloadType": "str",
"x": 550,
"y": 100,
"wires": [
[
"c97d62672d3eb61e"
]
]
},
{
"id": "c97d62672d3eb61e",
"type": "MCP PCF Out",
"z": "04823d5afca6d208",
"name": "MCP-23-5",
"chip": "ad16f0140a10887d",
"bitNum": "1",
"invert": true,
"x": 760,
"y": 180,
"wires": []
},
{
"id": "997bc22c57525541",
"type": "inject",
"z": "04823d5afca6d208",
"name": "Set-2-On",
"props": [
{
"p": "payload"
},
{
"p": "Pin",
"v": "2",
"vt": "num"
},
{
"p": "State",
"v": "true",
"vt": "bool"
}
],
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": 0.1,
"topic": "",
"payload": "-1",
"payloadType": "str",
"x": 500,
"y": 260,
"wires": [
[
"c97d62672d3eb61e"
]
]
},
{
"id": "437dc37a9faf8f09",
"type": "inject",
"z": "04823d5afca6d208",
"name": "Set-2-Off",
"props": [
{
"p": "payload"
},
{
"p": "Pin",
"v": "2",
"vt": "num"
},
{
"p": "State",
"v": "false",
"vt": "bool"
}
],
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": 0.1,
"topic": "",
"payload": "-1",
"payloadType": "str",
"x": 500,
"y": 300,
"wires": [
[
"c97d62672d3eb61e"
]
]
},
{
"id": "ad16f0140a10887d",
"type": "mcp_pcf_chip",
"busNum": "22",
"addr": "0x23",
"interval": "0",
"startAllHIGH": true
}
]