TPsys : Supervision salle système

... nécessaire à la superivision : procéder un système à la fois avec un test pour chaque. Vous pouvez vous inspirer des flows partiels : node-red_flowcomplet.txt.
249KB taille 1 téléchargements 109 vues
TPSYS : SUPERVISION SALLE SYSTÈME 1. Cahier des charges On souhaite superviser les systèmes de l asalle EN3 : I4R : module ADAM6017 et6060 + switch + routeur RHO : modules ADAM 6017 (piscine) + switch + NAS + routeur AS : TCW122 mesures tension et courant batterie et panneau solaire

2. Travail à faire 1. Installer node-red sur un PC relié au réseau stssn 2. Configurer les agents snmp en mode v1 et communauté : 'stssn' . 3. Créer les flows nécessaire à la superivision : procéder un système à la fois avec un test pour chaque. Vous pouvez vous inspirer des flows partiels : node-red_flowcomplet.txt. (importer les flows et les adapter.

3. Exemple d'IHM

1/17

TPsys : Supervision salle système

4. Code node-red exemple [

"out": [] { "id": "4bd6edc.b932e94",

"base-color": {

},

"default": "#097479",

{

"value": "#097479",

"type": "tab",

"id": "eb12ac52.0cf168",

"label": "HTTPpost"

"type": "subflow",

},

"edited": false },

"name": "Subflow 2",

{

"info": "", "id": "a77fd05.fb89c3",

"in": [],

"type": "tab",

"out": []

"label": "snmp" },

"value": "#097479", "edited": false },

},

"page-backgroundColor": {

{

{

"page-titlebarbackgroundColor": {

"value": "#111111",

"id": "f585f91f.c70798", "id": "9290e703.664668",

"type": "ui_base",

"type": "tab",

"theme": {

"label": "TCW122" },

"name": "theme-dark", "lightTheme": {

{

"edited": false }, backgroundColor": { "value": "#000000",

"default": "#0094CE", "id": "1d2d640b.e1b26c",

"baseColor": "#0094CE",

"type": "tab",

"baseFont": "Helvetica Neue",

"label": "I4R1"

"edited": true,

},

"edited": false }, "group-textColor": { "value": "#10cfd8",

"reset": false

{

}, "id": "353bbb03.56833c",

"darkTheme": {

"type": "tab",

"default": "#097479",

"label": "RHO1"

"baseColor": "#097479",

},

"baseFont": "Helvetica Neue",

{

"edited": true, "id": "e4a967c.dc7d018",

"reset": false

"type": "tab",

},

"label": "AS1"

"customTheme": {

},

"name": "",

{

"default": "#4B7930", "id": "a5983dd4.8d71b8",

"baseColor": "#4B7930",

"type": "subflow",

"baseFont": "Helvetica Neue",

"name": "Subflow 1",

"reset": false

"info": "",

},

"in": [],

"themeState": {

2/17

"page-sidebar-

"edited": false }, "group-borderColor": { "value": "#555555", "edited": false }, "group-backgroundColor": { "value": "#333333", "edited": false }, "widget-textColor": { "value": "#eeeeee", "edited": false }, "widget-backgroundColor": { "value": "#097479",

TPsys : Supervision salle système "edited": false },

},

"tab": "ff97139e.5fbf38",

{

"order": 1,

"widget-borderColor": {

"id": "63d02393.425e24",

"disp": true,

"value": "#333333",

"type": "ui_group",

"width": "6"

"edited": false

"z": "",

},

"name": "snmp",

{

} }

"tab": "82010e55.935928",

"id": "103756c7.9c94c1",

},

"order": 2,

"type": "ui_group",

"site": {

"disp": true,

"z": "",

"width": "6"

"name": "I4R2",

"name": "Node-RED Dashboard", "hideToolbar": "false",

},

"tab": "ff97139e.5fbf38",

"allowSwipe": "true",

{

"order": 2,

"dateFormat": "DD/MM/YYYY",

"id": "82010e55.935928",

"disp": true,

"sizes": {

"type": "ui_tab",

"width": "6"

"sx": 48,

"z": "",

},

"sy": 48,

"name": "TCW122",

{

"gx": 6,

"icon": "dashboard"

"id": "a7b61c53.3d61f8",

"gy": 6,

},

"type": "ui_group",

"cx": 6,

{

"z": "",

"cy": 6,

"id": "3e3f872e.15df28",

"name": "RHO1",

"px": 0,

"type": "MySQLdatabase",

"tab": "ff97139e.5fbf38",

"py": 0

"z": "",

"order": 3,

"host": "127.0.0.1",

"disp": true,

"port": "3306",

"width": "6"

} } },

"db": "db_voteurwifi",

},

{

"tz": ""

{

"id": "7f5c0141.f59128",

},

"id": "fa14a663.80584",

"type": "ui_tab",

{

"type": "ui_group",

"z": "",

"id": "ff97139e.5fbf38",

"z": "",

"name": "Home",

"type": "ui_tab",

"name": "RHO2",

"icon": "dashboard"

"z": "",

"tab": "ff97139e.5fbf38",

},

"name": "Salle SYSTEMES",

"order": 4,

{

"icon": "dashboard",

"disp": true,

"order": 3

"width": "6"

"id": "3a6a3755.1dadc", "type": "ui_group",

},

},

"z": "",

{

{

"name": "Default",

"id": "9b894161.3b67f",

"id": "3a095a8a.ac432e",

"tab": "7f5c0141.f59128",

"type": "ui_group",

"type": "ui_group",

"disp": true,

"z": "",

"z": "",

"width": "6"

"name": "I4R1",

"name": "AS1",

3/17

TPsys : Supervision salle système "tab": "ff97139e.5fbf38",

"id": "a1336003.5059a",

"stateLogEnabled": false,

"order": 5,

"type": "ui_group",

"tcpHost": "172.19.3.31",

"disp": true,

"z": "",

"tcpPort": "502",

"width": "6"

"name": "ADAM",

"tcpType": "DEFAULT",

},

"tab": "",

"serialPort": "/dev/ttyUSB",

{

"order": 1,

"serialType": "RTU-BUFFERD",

"id": "71205970.bf10c",

"disp": true,

"serialBaudrate": "9600",

"type": "ui_group",

"width": "6"

"serialDatabits": "8",

"z": "",

},

"serialStopbits": "1",

"name": "AS2",

{

"serialParity": "none",

"tab": "ff97139e.5fbf38",

"id": "c51f0c90.e383d",

"serialConnectionDelay": "100",

"order": 6,

"type": "modbus-client",

"unit_id": 1,

"disp": true,

"z": "",

"commandDelay": 1,

"width": "6"

"name": "ADAM6060

"clientTimeout": 1000,

192.168.1.98",

},

"clienttype": "tcp",

{

"bufferCommands": true,

"id": "56eb6147.6af538",

"stateLogEnabled": false,

"type": "modbus-client",

}, { "id": "401a8fa9.124c18",

"tcpHost": "192.168.1.98",

"z": "", 192.168.1.98",

"reconnectTimeout": 2000

"type": "ui_group",

"tcpPort": "502",

"name": "ADAM6060

"z": "",

"tcpType": "DEFAULT",

"clienttype": "tcp",

"serialPort": "/dev/ttyUSB",

"bufferCommands": true,

"serialType": "RTU-BUFFERD",

"stateLogEnabled": false,

"serialBaudrate": "9600",

"tcpHost": "192.168.1.98",

"serialDatabits": "8",

"tcpPort": "502",

"serialStopbits": "1",

"tcpType": "DEFAULT",

"serialParity": "none",

"serialPort": "/dev/ttyUSB",

"serialConnectionDelay": "100",

"serialType": "RTU-BUFFERD",

"unit_id": "1",

"serialBaudrate": "9600",

"commandDelay": "1",

"serialDatabits": "8",

"clientTimeout": "1000",

"serialStopbits": "1",

"reconnectTimeout": "2000"

"serialParity": "none",

},

"serialConnectionDelay": "100",

{

"name": "ADAM", "tab": "", "order": 1, "disp": true, "width": "6" }, { "id": "7df76aa3.e68de4", "type": "http in", "z": "4bd6edc.b932e94", "name": "httpPOST", "url": "/essaiPOST", "method": "post", "swaggerDoc": "",

"unit_id": "1",

"id": "c50618d.bc316e8",

"commandDelay": "1",

"type": "modbus-client",

"clientTimeout": "1000",

"z": "",

"reconnectTimeout": "2000"

"name": "ADAM6017 172.19.3.31",

"x": 149.49998474121094, "y": 157, "wires": [

},

"clienttype": "tcp",

{

"bufferCommands": true,

4/17

[ "3094b9f4.d764ae", "de6fcb49.a3d8",

TPsys : Supervision salle système "bcfa2c14.d40458"

"active": false,

] ]

"wires": []

"console": "false",

},

"complete": "false",

{

},

"x": 729,

"id": "2a75d015.d08258",

{

"y": 180.49996948242188,

"type": "snmp",

"wires": []

"z": "a77fd05.fb89c3",

"id": "3094b9f4.d764ae", "type": "debug",

},

"host": "10.90.90.90:161",

"z": "4bd6edc.b932e94",

{

"community": "public",

"name": "",

"id": "21b82694.b1f31a",

"version": "1",

"active": false,

"type": "ui_gauge",

"oids": "1.3.6.1.2.1.2.1.0",

"console": "false",

"z": "4bd6edc.b932e94",

"timeout": 5,

"complete": "false",

"name": "",

"name": "NOMBRE DE PORT",

"x": 396.49998474121094,

"group": "3a6a3755.1dadc",

"x": 373.4999694824219,

"y": 156.1999969482422,

"order": 1,

"y": 163.1999969482422,

"wires": []

"width": 0,

"wires": [

},

"height": 0,

{

"gtype": "gage",

"ce5ecbd4.c9209",

"id": "de6fcb49.a3d8",

"title": "Gauge HTTP POST",

"88be2022.9ee4c"

"type": "function",

"label": "units",

"z": "4bd6edc.b932e94",

"format": "{{value}}",

"name": "extraitdata",

"min": 0,

},

"max": 10,

{

"func": "msg.payload=msg.payload.e;\nreturn msg;", "noerr": 0, "x": 396.75, "y": 207.5, "wires": [ [ "21b82694.b1f31a", "4886d44.4df78ac" ] ] }, { "id": "46364b47.3e3b7c", "type": "debug",

] ]

"colors": [

"outputs": 1,

"46364b47.3e3b7c",

[

"id": "ce5ecbd4.c9209",

"#00b500",

"type": "debug",

"#e6e600",

"z": "a77fd05.fb89c3",

"#ca3838"

"name": "",

],

"active": false,

"x": 711.6666870117188,

"console": "true",

"y": 228.2999725341797,

"complete": "true",

"wires": []

"x": 501.5,

},

"y": 70.59999084472656,

{

"wires": [] "id": "8090309a.526548",

},

"type": "comment",

{

"z": "4bd6edc.b932e94",

"id": "c82325fe.3b536",

"name": "A lire : POST",

"type": "ui_gauge",

"info": "A l'aide de HTTPclient : \nEnvoyer un POST /essaiPost\navec comme body : \ne=5",

"z": "4bd6edc.b932e94",

"x": 326.49993896484375,

"name": "",

"y": 279.4999694824219,

5/17

"z": "a77fd05.fb89c3", "name": "", "group": "3a6a3755.1dadc", "order": 1,

TPsys : Supervision salle système "width": 0,

"name": "",

"id": "414fc51b.011424",

"height": 0,

"splt": "\\n",

"type": "debug",

"gtype": "gage",

"x": 542.449951171875,

"z": "a77fd05.fb89c3",

"title": "Nb PORT",

"y": 130.4833526611328,

"name": "",

"label": "units",

"wires": [

"active": false,

"format": "{{value}}",

[

"console": "true",

"min": 0,

"c56c49f5.36b628",

"complete": "payload",

"max": "10",

"414fc51b.011424"

"x": 709.449951171875,

"colors": [

]

"#00b500",

"y": 95.91668701171875,

]

"wires": []

"#e6e600",

},

},

"#ca3838"

{

{

],

"id": "c56c49f5.36b628",

"id": "46d0d2fa.86b43c",

"x": 937.833251953125,

"type": "change",

"type": "debug",

"y": 47.46669006347656,

"z": "a77fd05.fb89c3",

"z": "a77fd05.fb89c3",

"wires": []

"name": "",

"name": "",

"rules": [

"active": false,

}, {

{

"console": "true",

"id": "2d5b7db1.204222",

"t": "move",

"complete": "payload",

"type": "inject",

"p": "payload.value",

"x": 921.449951171875,

"z": "a77fd05.fb89c3",

"pt": "msg",

"y": 86.91668701171875,

"name": "",

"to": "payload",

"wires": []

"topic": "",

"tot": "msg"

"payload": "",

}

}, {

"payloadType": "date",

],

"id": "cf4013a2.546f1",

"repeat": "10",

"action": "",

"type": "snmp set",

"crontab": "",

"property": "",

"z": "9290e703.664668",

"once": false,

"from": "",

"host": "192.168.1.2:161",

"x": 137,

"to": "",

"community": "sbsnmp",

"y": 165.01666259765625,

"reg": false,

"version": "1",

"wires": [

"x": 691.4500122070312,

[

"y": 176.8500213623047, "2a75d015.d08258"

"wires": [

]

"varbinds": "[\n{\n\"oid\": \"1.3.6.1.4.1.38783.3.3.0 \",\n\"type\": \"Integer\",\n\"value\":1\ n}\n]",

[

] }, {

"timeout": "1", "c82325fe.3b536",

"name": "TCW122 : Set Relais1 à 1",

"46d0d2fa.86b43c"

"x": 555,

] "id": "88be2022.9ee4c",

"y": 94,

]

"wires": []

"type": "split",

},

},

"z": "a77fd05.fb89c3",

{

{

6/17

TPsys : Supervision salle système "id": "a63d3b35.6bf508",

},

"type": "ui_switch",

"name": "si inter à 1 alors relais à 1",

{

"z": "9290e703.664668",

"t": "eq",

"name": "",

"v": "0",

"label": "switch",

"vt": "str"

"group": "63d02393.425e24",

"info": "", "x": 257, "y": 87, "wires": []

} },

"order": 0,

],

"width": 0,

"checkall": "true",

"height": 0,

"outputs": 2,

"passthru": true,

"x": 303,

"topic": "",

"y": 136,

"style": "",

"wires": [

"onvalue": "true",

"id": "655b0221.dcc0dc", "type": "comment", "z": "9290e703.664668", "name": "si relais à 0 alors relais à 0",

[

"onvalueType": "bool",

{

"info": "",

"cf4013a2.546f1"

"onicon": "",

],

"oncolor": "",

[

"offvalue": "false",

"y": 192, "64bc5dc2.de0adc"

"offvalueType": "bool",

]

"officon": "", },

"x": 150,

{

}, "id": "9be2f5aa.355bc", "type": "inject",

"y": 138,

"id": "64bc5dc2.de0adc",

"wires": [

"type": "snmp set",

[

"wires": [] {

]

"offcolor": "",

"x": 259,

"z": "9290e703.664668", "name": "", "topic": "",

"z": "9290e703.664668", "acdddb10.f04b88"

"payload": "",

"host": "192.168.1.2:161",

]

"payloadType": "date",

"community": "sbsnmp",

]

"repeat": "10",

"version": "1",

}, { "id": "acdddb10.f04b88", "type": "switch",

"timeout": "1",

"z": "9290e703.664668",

"name": "TCW122 : Set Relais1 à 0",

"name": "",

"x": 555,

"property": "payload",

"y": 172,

"propertyType": "msg",

"wires": []

"rules": [ {

"crontab": "",

"varbinds": "[\n{\n\"oid\": \"1.3.6.1.4.1.38783.3.3.0 \",\n\"type\": \"Integer\",\n\"value\":0\ n}\n]",

"once": false, "x": 192, "y": 311, "wires": [ [ "45fdd838.b75df", "cf5e4474.b5c438" ]

},

]

{ "t": "eq",

"id": "3628c00c.0d25e8",

"v": "1",

"type": "comment",

"vt": "num"

"z": "9290e703.664668",

7/17

}, { "id": "45fdd838.b75df", "type": "snmp",

TPsys : Supervision salle système "z": "9290e703.664668",

"tot": "msg"

"host": "192.168.1.2:161",

{

}

"id": "fe16206e.ac41a",

"community": "sbsnmp",

],

"type": "comment",

"version": "1",

"action": "",

"z": "9290e703.664668",

"oids": "1.3.6.1.4.1.38783.3.3.0",

"property": "",

"name": "Commande RELAIS1",

"timeout": "1",

"from": "",

"info": "",

"name": "TCW122 : Etat relais 1",

"to": "",

"x": 185,

"x": 403.0832824707031,

"reg": false,

"y": 34,

"y": 315.67779541015625,

"x": 753.8111470540366,

"wires": []

"wires": [

"y": 317.2277832031251,

},

"wires": [

{

[ "67a841fe.7bdb78"

[

]

"id": "400e5b15.6ab62c", "db23930e.f6e6b"

]

"type": "comment",

]

},

"z": "9290e703.664668",

]

{ "id": "67a841fe.7bdb78",

"name": "Lecture état RELAIS1",

},

"info": "",

{

"x": 183,

"type": "split",

"id": "db23930e.f6e6b",

"y": 250,

"z": "9290e703.664668",

"type": "ui_gauge",

"wires": []

"name": "",

"z": "9290e703.664668",

},

"splt": "\\n",

"name": "",

{

"x": 585.9999898274741,

"group": "63d02393.425e24",

"id": "cb87a81b.00348",

"y": 324.98333740234386,

"order": 0,

"type": "comment",

"wires": [

"width": "2",

"z": "9290e703.664668",

"height": "2",

"name": "Lecture AnalogHyst",

"gtype": "wave",

"info": "",

"title": "Relais1",

"x": 171,

"label": "units",

"y": 382,

},

"format": "{{value}}",

"wires": []

{

"min": 0,

},

"id": "43506bc4.d7f7ec",

"max": "1",

{

"type": "change",

"colors": [

[ "43506bc4.d7f7ec" ] ]

"id": "cf5e4474.b5c438",

"z": "9290e703.664668",

"#00b500",

"type": "snmp",

"name": "",

"#e6e600",

"z": "9290e703.664668",

"rules": [

"#ca3838"

"host": "192.168.1.2:161",

{

],

"community": "sbsnmp",

"t": "move",

"x": 946.999979654948,

"version": "1",

"p": "payload.value",

"y": 323.9833374023438,

"pt": "msg",

"wires": []

"to": "payload",

"1.3.6.1.4.1.38783.2.7.1.3.0", "timeout": "1",

},

8/17

"oids":

TPsys : Supervision salle système "name": "TCW122 : 2.7.1.3.0 analog hyst", "x": 251,

"property": "",

"name": "extrait oid",

"from": "",

"rules": [

"to": "",

"y": 428, "wires": [ [ "d4e20f04.4f41b"

{

"reg": false,

"t": "move",

"x": 550.5999603271484,

"p": "payload.oid",

"y": 447.20001220703125,

"pt": "msg",

"wires": [

"to": "payload",

]

[

]

"tot": "msg" "734a5dc9.d66d2c"

},

}

]

{

],

] "id": "d4e20f04.4f41b", "type": "split", "z": "9290e703.664668",

},

"property": "",

{

"from": "",

"name": "", "splt": "\\n", "x": 381.78880310058594, "y": 479.95556640625, "wires": [

"id": "734a5dc9.d66d2c",

"to": "",

"type": "ui_gauge",

"reg": false,

"z": "9290e703.664668",

"x": 534.5,

"name": "",

"y": 507.4000244140625,

"group": "63d02393.425e24",

"wires": [

"order": 5,

[

] }, { "id": "c3b776ed.0ee99", "type": "change", "z": "9290e703.664668",

},

"label": "units",

{

"format": "{{value}}",

"id": "9b30305f.b1a008",

"min": 0,

"type": "ui_text",

"max": "20",

"z": "9290e703.664668",

"colors": [

"group": "63d02393.425e24",

"rules": [ { "t": "move", "p": "payload.value", "pt": "msg",

"action": "",

]

"title": "Analog. Hyst",

"name": "",

],

]

"gtype": "gage",

]

}

"9b30305f.b1a008"

"height": 0,

"26775b8b.4d0d04"

"tot": "msg"

[

"width": 0, "c3b776ed.0ee99",

"to": "payload",

"action": "",

"#00b500",

"order": 0,

"#e6e600",

"width": 0,

"#ca3838"

"height": 0,

],

"name": "",

"x": 765.9999847412109,

"label": "OID",

"y": 447,

"format": "{{msg.payload}}",

"wires": []

"layout": "row-spread",

},

"x": 680.5,

{

"y": 505.20001220703125, "id": "26775b8b.4d0d04",

"wires": []

"type": "change",

},

"z": "9290e703.664668",

{

9/17

TPsys : Supervision salle système "id": "acd1ee7e.54ff18",

"removeOlder": 1,

]

"type": "mysql",

"removeOlderPoints": "10",

},

"z": "4bd6edc.b932e94",

"removeOlderUnit": "60",

{

"mydb": "3e3f872e.15df28",

"cutout": 0,

"id": "bcec7642.761008",

"name": "",

"colors": [

"type": "comment",

"x": 760.5,

"#1f77b4",

"z": "4bd6edc.b932e94",

"y": 481.8499755859375,

"#aec7e8",

"name": "POST vers DB",

"wires": [

"#ff7f0e",

"info": "",

"#2ca02c",

"x": 320.6249809265137,

"#98df8a",

"y": 528.5000038146973,

},

"#d62728",

"wires": []

{

"#ff9896",

},

"id": "5537f07.901561",

"#9467bd",

{

"type": "debug",

"#c5b0d5"

[] ]

"id": "3594c6e9.ea3d9a",

"z": "4bd6edc.b932e94",

],

"type": "ui_gauge",

"name": "",

"x": 719,

"z": "1d2d640b.e1b26c",

"active": true,

"y": 272.90003967285156,

"name": "",

"console": "false",

"wires": [

"group": "9b894161.3b67f",

"complete": "false",

[],

"order": 0,

"x": 593,

[]

"width": "3",

"y": 424.9499816894531, "wires": [] }, {

]

"height": "3",

},

"gtype": "wave",

{

"title": "Cuve Heau", "id": "bcfa2c14.d40458",

"label": "m3",

"id": "4886d44.4df78ac",

"type": "function",

"format": "{{value}}",

"type": "ui_chart",

"z": "4bd6edc.b932e94",

"min": 0,

"z": "4bd6edc.b932e94",

"name": "prepareRequeteInsert",

"max": "100000",

"name": "valeur vote", "group": "3a6a3755.1dadc", "order": 0, "width": 0, "height": 0, "label": "valeur vote", "chartType": "line", "legend": "true", "xformat": "HH:mm:ss", "interpolate": "linear", "nodata": "",

"func": "msg.payload=msg.payload.e;\n\nvar query;\nquery = \"INSERT INTO table_vote (val_vote,num_voteur) VALUES (\"+msg.payload+\", 44);\"; \nmsg.topic=query;\nreturn msg;",

"#00b500", "#e6e600", "#ca3838" ],

"outputs": 1,

"x": 556.8749694824219,

"noerr": 0,

"y": 88.75,

"x": 303.7499694824219, "y": 477.1500244140625, "wires": [

"wires": [] }, {

[ "acd1ee7e.54ff18",

"ymin": "", "ymax": "",

"colors": [

"5537f07.901561" ]

10/17

"id": "9ba406eb.635078", "type": "ui_gauge", "z": "1d2d640b.e1b26c",

TPsys : Supervision salle système "name": "",

[]

"group": "9b894161.3b67f",

"offcolor": "",

]

"x": 540.1250305175781,

"order": 0,

},

"y": 331.29998779296875,

"width": "0",

{

"wires": [

"height": "0",

"id": "21a5289f.fc08b",

"gtype": "gage",

"type": "function",

"title": "Temp eau",

"z": "1d2d640b.e1b26c",

"label": "°C",

"name": "extraitDonnée vanne1",

"format": "{{value}}", "min": 0, "max": "100000",

"57a35cee.cc0d24" ] ]

"func": }, "msg.payload=(msg.payload[0]);\nretur { n msg;", "outputs": 1,

"colors": [

"z": "1d2d640b.e1b26c",

"x": 346.75006103515625,

"#e6e600",

"name": "ADAM OUT",

"y": 326.99998474121094,

"#ca3838"

"showStatusActivities": false,

"wires": [

],

"showErrors": false,

[

"x": 564.3749809265137,

"unitid": "",

"486ab241.109514"

"y": 152.5,

"dataType": "Coil",

]

"wires": []

"adr": "16",

]

"quantity": "1",

},

{ "id": "1f70b871.fa126", "type": "modbus-read", "z": "1d2d640b.e1b26c", "name": "ADAM6017 DO0", "showStatusActivities": true, "showErrors": false, "unitid": "", "dataType": "Coil", "adr": "16", "quantity": "1", "rate": "1", "rateUnit": "s", "server": "c50618d.bc316e8", "x": 160.25, "y": 324, "wires": [ [ "21a5289f.fc08b" ],

"id": "57a35cee.cc0d24", "type": "modbus-write",

"noerr": 0,

"#00b500",

},

[

"server": "c50618d.bc316e8",

{

"x": 753.8750305175781,

"id": "486ab241.109514",

"y": 331.0499725341797,

"type": "ui_switch",

"wires": [

"z": "1d2d640b.e1b26c",

[],

"name": "Vanne1",

[]

"label": "Vanne 1", "group": "9b894161.3b67f", "order": 0, "width": "4", "height": "1", "passthru": false, "topic": "",

] }, { "id": "ab420ca9.f31db", "type": "function", "z": "1d2d640b.e1b26c", "name": "extraitDonnée vanne2",

"style": "", "onvalue": "true", "onvalueType": "bool",

"func": "msg.payload=(msg.payload[0]);\nretur n msg;",

"onicon": "",

"outputs": 1,

"oncolor": "",

"noerr": 0,

"offvalue": "false",

"x": 350.50006103515625,

"offvalueType": "bool",

"y": 400.74998474121094,

"officon": "",

"wires": [

11/17

TPsys : Supervision salle système [

"showErrors": false,

"name": "ADAM6017 10",

"unitid": "",

"showStatusActivities": true,

"dataType": "Coil",

"showErrors": false,

"adr": "17",

"unitid": "",

},

"quantity": "1",

"dataType": "InputRegister",

{

"server": "c50618d.bc316e8",

"adr": "0",

"id": "fc46953.9d2a468",

"x": 757.6250305175781,

"quantity": "8",

"type": "ui_switch",

"y": 404.7999725341797,

"rate": "1",

"z": "1d2d640b.e1b26c",

"wires": [

"rateUnit": "s",

"fc46953.9d2a468" ] ]

"name": "Vanne2",

[],

"server": "c50618d.bc316e8",

"label": "Vanne 2",

[]

"x": 191.5,

"group": "9b894161.3b67f",

]

"order": 0,

},

"width": "4",

{

"y": 94, "wires": [ [

"height": "1",

"id": "50adfd89.7ede14",

"d8d5b859.ff7f3",

"passthru": false,

"type": "modbus-read",

"4fd50aa8.2ae05c"

"topic": "",

"z": "1d2d640b.e1b26c",

],

"style": "",

"name": "ADAM6017 DO1",

[]

"onvalue": "true",

"showStatusActivities": true,

"onvalueType": "bool",

"showErrors": false,

},

"onicon": "",

"unitid": "",

{

"oncolor": "",

"dataType": "Coil",

"id": "45717468.ac091c",

"offvalue": "false",

"adr": "17",

"type": "ui_gauge",

"offvalueType": "bool",

"quantity": "1",

"z": "353bbb03.56833c",

"officon": "",

"rate": "1",

"name": "",

"offcolor": "",

"rateUnit": "s",

"group": "a7b61c53.3d61f8",

"x": 543.8750305175781,

"server": "c50618d.bc316e8",

"order": 0,

"y": 405.04998779296875,

"x": 147.75,

"width": 0,

"wires": [

"y": 400.25,

"height": 0,

"wires": [

"gtype": "gage",

[ "307fedcd.90ca8a"

[

]

"title": "Temp. piscine", "ab420ca9.f31db"

] }, { },

"type": "modbus-write",

{

"label": "°C",

],

"format": "{{value}}",

[]

"min": 0,

] "id": "307fedcd.90ca8a",

]

"max": "40", "colors": [ "#00b500",

"z": "1d2d640b.e1b26c",

"id": "47e800ef.b7b8a8",

"#e6e600",

"name": "ADAM OUT",

"type": "modbus-read",

"#ca3838"

"showStatusActivities": false,

"z": "1d2d640b.e1b26c",

12/17

],

TPsys : Supervision salle système "x": 570.6249694824219,

[]

"y": 147.25, "wires": [] },

"height": "3",

]

"gtype": "gage",

},

"title": "Tension batterie 1",

{

"label": "V",

{

"id": "5e3d05e4.098744",

"format": "{{value}}",

"id": "91954b58.2a6e08",

"type": "ui_switch",

"min": 0,

"type": "ui_chart",

"z": "353bbb03.56833c",

"max": "200",

"z": "353bbb03.56833c",

"name": "",

"colors": [

"name": "Temp piscine history",

"label": "piscine Lampe",

"#00b500",

"group": "a7b61c53.3d61f8",

"group": "a7b61c53.3d61f8",

"#e6e600",

"order": 0,

"order": 0,

"#ca3838"

"width": 0,

"width": 0,

],

"height": 0,

"height": 0,

"x": 1080.625,

"label": "Temp piscine history",

"passthru": true,

"y": 138.75,

"chartType": "line",

"topic": "",

"wires": []

"legend": "false",

"style": "",

},

"xformat": "HH:mm:ss",

"onvalue": "true",

{

"interpolate": "linear",

"onvalueType": "bool",

"id": "3864a2ae.6d0dde",

"nodata": "",

"onicon": "",

"type": "ui_gauge",

"ymin": "",

"oncolor": "",

"z": "e4a967c.dc7d018",

"ymax": "",

"offvalue": "false",

"name": "Tension solaire",

"removeOlder": 1,

"offvalueType": "bool",

"group": "3a095a8a.ac432e",

"removeOlderPoints": "",

"officon": "",

"order": 0,

"removeOlderUnit": "1",

"offcolor": "",

"width": "3",

"cutout": 0,

"x": 555.6249694824219,

"height": "3",

"colors": [

"y": 298.99999237060547,

"gtype": "gage",

"wires": [

"title": "Tension solaire",

"#1f77b4", "#aec7e8",

[

"#ff7f0e",

"label": "V", "a11c2536.aa3b08"

"#2ca02c",

"format": "{{value}}",

]

"#98df8a",

"min": 0,

]

"#d62728",

},

"#ff9896",

{

"max": "200", "colors": [ "#00b500",

"#9467bd",

"id": "aafb7ad0.fa6578",

"#e6e600",

"#c5b0d5"

"type": "ui_gauge",

"#ca3838"

],

"z": "e4a967c.dc7d018",

],

"x": 575.6249694824219,

"name": "Tension batterie 1",

"x": 1085.625,

"y": 206.7499885559082,

"group": "3a095a8a.ac432e",

"y": 215,

"wires": [

"order": 0,

"wires": []

[],

"width": "3",

13/17

},

TPsys : Supervision salle système {

"colors": [

"wires": [

"id": "f85c27a0.f5b56",

"#00b500",

[

"type": "ui_gauge",

"#e6e600",

"f85c27a0.f5b56",

"z": "e4a967c.dc7d018",

"#ca3838"

"ca9cc7d4.3d5398"

"name": "Courant moteur rotation",

],

]

"group": "3a095a8a.ac432e",

"x": 1086.875,

"order": 0,

"y": 322.25006103515625,

},

"width": "3",

"wires": []

{

]

"height": "3",

},

"id": "25a221cb.b718f6",

"gtype": "gage",

{

"type": "modbus-read",

"title": "Courant moteur rotation",

"id": "b40329c0.c6fcf",

"z": "353bbb03.56833c",

"label": "A",

"type": "snmp",

"name": "ADAM6017 03",

"format": "{{value}}",

"z": "e4a967c.dc7d018",

"showStatusActivities": true,

"min": 0,

"host": "172.19.3.72:161",

"showErrors": false,

"max": "2",

"community": "stssn",

"unitid": "",

"colors": [

"version": "1",

"dataType": "Coil",

"#00b500",

"oids": "1.3.6.1.4.1.38783.3.4.0",

"adr": "16",

"#e6e600",

"timeout": "1",

"quantity": "1",

"#ca3838"

"name":

"rate": "1",

"TCW112_EN3_07_a_valAIx10",

],

"rateUnit": "s",

"x": 454.6249694824219,

"x": 1081.875,

"server": "c50618d.bc316e8",

"y": 200.50001525878906,

"y": 273.5000305175781,

"x": 265.00001525878906,

"wires": [

"wires": []

"y": 298.25001525878906,

[

},

"wires": [ "2b751d43.10760a"

{ "id": "ca9cc7d4.3d5398",

"name": "Courant moteur elevation",

"5e3d05e4.098744"

]

"type": "ui_gauge", "z": "e4a967c.dc7d018",

[

]

],

},

[]

{

] "id": "8be79d56.3dd2d",

"group": "3a095a8a.ac432e",

"type": "snmp",

"order": 0,

"z": "e4a967c.dc7d018",

"width": "3",

"host": "172.19.3.72",

"height": "3",

"community": "stssn",

"gtype": "gage",

"version": "1",

"title": "Courant moteur elevation",

"oids": "",

"label": "A",

"timeout": "1",

"format": "{{value}}",

"name": "TCW122_EN3_07_b",

"min": 0,

"x": 434.75,

"max": "2",

"y": 264.7500305175781,

}, { "id": "a11c2536.aa3b08", "type": "modbus-write", "z": "353bbb03.56833c", "name": "ADAM OUT", "showStatusActivities": false, "showErrors": false, "unitid": "", "dataType": "Coil",

14/17

"adr": "16",

TPsys : Supervision salle système "quantity": "1",

"9ba406eb.635078"

"server": "c50618d.bc316e8",

"y": 61.649993896484375,

]

"x": 809.25,

"wires": [

]

[

"y": 314.75,

},

"b40329c0.c6fcf",

"wires": [

{

"8be79d56.3dd2d"

[],

"id": "3c8e255e.f99a8a",

[]

"type": "modbus-read",

]

] ]

"z": "353bbb03.56833c",

},

},

"name": "ADAM AI",

{

{

"showStatusActivities": true,

"id": "2b751d43.10760a",

"id": "d8d5b859.ff7f3",

"showErrors": false,

"type": "split",

"type": "function",

"unitid": "",

"z": "e4a967c.dc7d018",

"z": "1d2d640b.e1b26c",

"dataType": "InputRegister",

"name": "",

"name": "extraitAI0",

"adr": "0",

"splt": "\\n",

"quantity": "8",

"x": 669.5000610351562,

"rate": "1",

"y": 201.5,

"rateUnit": "s",

"wires": [

"func": "msg.payload=(msg.payload[6]);\nretur n msg;", "outputs": 1,

"server": "c50618d.bc316e8",

"noerr": 0,

"x": 269.5000305175781,

"x": 380.49998474121094,

]

[

[

}, "45717468.ac091c",

"3594c6e9.ea3d9a"

"91954b58.2a6e08"

] ] },

"z": "1d2d640b.e1b26c", "name": "extraitAI1", "func": "msg.payload=(msg.payload[7]);\nretur n msg;", "outputs": 1, "noerr": 0, "x": 375.6000061035156, "y": 142.1999969482422, "wires": [ [

{ "id": "3044fec8.a1577a",

],

"type": "change",

[]

"z": "e4a967c.dc7d018",

]

"type": "function",

]

"wires": [

"wires": [

"id": "4fd50aa8.2ae05c",

"3044fec8.a1577a"

"y": 103.59999084472656,

"y": 90.39999389648438,

{

[

"name": "",

},

"rules": [

{

{ "id": "f6194c70.9ad468",

"t": "move",

"type": "inject",

"p": "payload.value",

"z": "e4a967c.dc7d018",

"pt": "msg",

"name": "",

"to": "payload",

"topic": "",

"tot": "msg"

"payload": "",

}

"payloadType": "date",

],

"repeat": "1",

"action": "",

"crontab": "",

"property": "",

"once": false,

"from": "",

"x": 337.25,

"to": "",

15/17

TPsys : Supervision salle système "reg": false,

[

]

"x": 850.8114013671875,

"aafb7ad0.fa6578",

"y": 202.49444580078125,

"3864a2ae.6d0dde"

"wires": [

]

16/17

} ]

TPsys : Supervision salle système

17/17