This is just for testing:
[
{
"id": "ee93fd72.2eee9",
"type": "i2c out",
"z": "6df5275a.e143f8",
"name": "",
"i2cdevice": "be40c2b9.13854",
"address": "4",
"command": "",
"payload": "",
"count": "3",
"x": 480,
"y": 240,
"wires": []
},
{
"id": "85b1ee2f.c212c",
"type": "inject",
"z": "6df5275a.e143f8",
"name": "",
"topic": "",
"payload": "",
"payloadType": "date",
"repeat": "",
"crontab": "",
"once": false,
"x": 120,
"y": 240,
"wires": [
[
"bd3261a9.7decd"
]
]
},
{
"id": "bd3261a9.7decd",
"type": "function",
"z": "6df5275a.e143f8",
"name": "",
"func": "msg.payload=[56,69];\nmsg.command=100;\nmsg.test=200;\nreturn msg;",
"outputs": "2",
"noerr": 0,
"x": 290,
"y": 240,
"wires": [
[
"ee93fd72.2eee9",
"ab6a7236.1ac89"
],
[]
]
},
{
"id": "ab6a7236.1ac89",
"type": "debug",
"z": "6df5275a.e143f8",
"name": "",
"active": true,
"console": "false",
"complete": "true",
"x": 460,
"y": 300,
"wires": []
},
{
"id": "be40c2b9.13854",
"type": "i2c-device",
"z": "",
"device": "/dev/i2c-1",
"address": "8"
}
]
The i2c node was installed via palette. This is the link: