Thanks for the reply,
I am using Snap-pac R2 with firmware version R9.5G and node-red version 0.18.7 (Epic PR1 latest firmware)
These things are making me more efficient grabbing data and sharpening my JS skills.
[
{
"id": "d255dab4.99e188",
"type": "inject",
"z": "e7fdcfec.2e6f5",
"name": "Get Local Data",
"topic": "",
"payload": "",
"payloadType": "date",
"repeat": "3",
"crontab": "",
"once": true,
"onceDelay": 0.1,
"x": 103.5714225769043,
"y": 373.99999046325684,
"wires": [
[
"697f9c81.dc65c4",
"87dbe5ea.febc78",
"432fe65c.1a5618"
]
]
},
{
"id": "432fe65c.1a5618",
"type": "pac-read",
"z": "e7fdcfec.2e6f5",
"device": "2c250c1b.4828f4",
"dataType": "int32-table",
"tagName": "slave_enabled",
"tableStartIndex": "",
"tableLength": "",
"value": "",
"valueType": "msg.payload",
"topic": "",
"topicType": "none",
"name": "",
"x": 102.71427917480469,
"y": 421.71430587768555,
"wires": [
[
"48215924.93f948"
]
]
},
{
"id": "48215924.93f948",
"type": "change",
"z": "e7fdcfec.2e6f5",
"name": "",
"rules": [
{
"t": "set",
"p": "payload.Value",
"pt": "msg",
"to": "msg.payload",
"tot": "str"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 121.85713195800781,
"y": 469.2857360839844,
"wires": [
[
"dfc41dea.bd283"
]
]
},
{
"id": "dfc41dea.bd283",
"type": "split",
"z": "e7fdcfec.2e6f5",
"name": "",
"splt": "\\n",
"spltType": "str",
"arraySplt": 1,
"arraySpltType": "len",
"stream": false,
"addname": "",
"x": 74.71427154541016,
"y": 514.2857398986816,
"wires": [
[
"9b12f0b7.8e1d6"
]
]
},
{
"id": "9b12f0b7.8e1d6",
"type": "switch",
"z": "e7fdcfec.2e6f5",
"name": "",
"property": "parts.index",
"propertyType": "msg",
"rules": [
{
"t": "eq",
"v": "1",
"vt": "str"
},
{
"t": "eq",
"v": "2",
"vt": "str"
},
{
"t": "eq",
"v": "3",
"vt": "str"
},
{
"t": "eq",
"v": "4",
"vt": "str"
},
{
"t": "eq",
"v": "5",
"vt": "str"
},
{
"t": "eq",
"v": "6",
"vt": "str"
}
],
"checkall": "true",
"repair": false,
"outputs": 6,
"x": 328.71428298950195,
"y": 441.7857093811035,
"wires": [
[
"dd6ddcbc.85b95"
],
[
"c903c6f2.3380e8"
],
[
"d8b012f0.42ded"
],
[
"934eebfa.82cd08"
],
[
"8b1eca1c.1deb28"
],
[
"3c6121bc.26169e"
]
]
},
{
"id": "2c250c1b.4828f4",
"type": "pac-device",
"z": "",
"address": "10.100.100.15",
"protocol": "http"
}
]