Smick_02_status

Connection status group

[
    {
        "id": "31e0a7cd.fa3838",
        "type": "tab",
        "label": "status"
    },
    {
        "id": "429b7532.4537cc",
        "type": "ui_text",
        "z": "31e0a7cd.fa3838",
        "group": "8557c687.af1ee8",
        "order": 1,
        "width": 0,
        "height": 0,
        "name": "",
        "label": "",
        "format": "{{msg.payload}}",
        "layout": "row-center",
        "x": 990,
        "y": 240,
        "wires": []
    },
    {
        "id": "6a993042.d9618",
        "type": "switch",
        "z": "31e0a7cd.fa3838",
        "name": "",
        "property": "payload",
        "propertyType": "msg",
        "rules": [
            {
                "t": "eq",
                "v": "DISC",
                "vt": "str"
            },
            {
                "t": "else"
            }
        ],
        "checkall": "true",
        "outputs": 2,
        "x": 350,
        "y": 180,
        "wires": [
            [
                "f02fa603.561938",
                "48210721.75ecf8"
            ],
            [
                "d85aa277.4e1b6"
            ]
        ]
    },
    {
        "id": "f02fa603.561938",
        "type": "change",
        "z": "31e0a7cd.fa3838",
        "name": "PING",
        "rules": [
            {
                "t": "set",
                "p": "payload",
                "pt": "msg",
                "to": "PING",
                "tot": "str"
            }
        ],
        "action": "",
        "property": "",
        "from": "",
        "to": "",
        "reg": false,
        "x": 530,
        "y": 120,
        "wires": [
            [
                "881b41f1.88da6"
            ]
        ]
    },
    {
        "id": "593d4ddb.8b7894",
        "type": "link in",
        "z": "31e0a7cd.fa3838",
        "name": "event",
        "links": [
            "ca2d688.4211598"
        ],
        "x": 195,
        "y": 180,
        "wires": [
            [
                "6a993042.d9618"
            ]
        ]
    },
    {
        "id": "881b41f1.88da6",
        "type": "link out",
        "z": "31e0a7cd.fa3838",
        "name": "command",
        "links": [
            "1096456f.bfc93b"
        ],
        "x": 675,
        "y": 120,
        "wires": []
    },
    {
        "id": "48210721.75ecf8",
        "type": "change",
        "z": "31e0a7cd.fa3838",
        "name": "false",
        "rules": [
            {
                "t": "set",
                "p": "payload",
                "pt": "msg",
                "to": "0",
                "tot": "num"
            }
        ],
        "action": "",
        "property": "",
        "from": "",
        "to": "",
        "reg": false,
        "x": 530,
        "y": 180,
        "wires": [
            [
                "f68197e2.9304b8",
                "25efac71.08d344"
            ]
        ]
    },
    {
        "id": "d85aa277.4e1b6",
        "type": "change",
        "z": "31e0a7cd.fa3838",
        "name": "true",
        "rules": [
            {
                "t": "set",
                "p": "payload",
                "pt": "msg",
                "to": "1",
                "tot": "num"
            }
        ],
        "action": "",
        "property": "",
        "from": "",
        "to": "",
        "reg": false,
        "x": 530,
        "y": 240,
        "wires": [
            [
                "f68197e2.9304b8",
                "25efac71.08d344"
            ]
        ]
    },
    {
        "id": "f68197e2.9304b8",
        "type": "link out",
        "z": "31e0a7cd.fa3838",
        "name": "status",
        "links": [
            "a4004f39.36b74"
        ],
        "x": 675,
        "y": 180,
        "wires": []
    },
    {
        "id": "25efac71.08d344",
        "type": "change",
        "z": "31e0a7cd.fa3838",
        "name": "connected/disconnected",
        "rules": [
            {
                "t": "change",
                "p": "payload",
                "pt": "msg",
                "from": "1",
                "fromt": "num",
                "to": "connected",
                "tot": "str"
            },
            {
                "t": "change",
                "p": "payload",
                "pt": "msg",
                "from": "0",
                "fromt": "num",
                "to": "disconnected",
                "tot": "str"
            }
        ],
        "action": "",
        "property": "",
        "from": "",
        "to": "",
        "reg": false,
        "x": 770,
        "y": 240,
        "wires": [
            [
                "429b7532.4537cc"
            ]
        ]
    },
    {
        "id": "f5d2f0c4.a111f",
        "type": "comment",
        "z": "31e0a7cd.fa3838",
        "name": "Description",
        "info": "Smick_002_status_v20\n_______________________________________________________________________________\nPackage : Smick v.1\nModule  : status\nAuthor  : Curci\nLicence : (CC) BY-NC-SA\n\nThis work is licensed under a Creative Commons \nAttribution-NonCommercial-ShareAlike \n4.0 International License.\n\nHistory\n\nDate        Author  Description\n2016.12.26  Curci   genesis\n_______________________________________________________________________________\n\nDescription\n\ntodo\n\n_______________________________________________________________________________\n\nBill Of Material\n\nHardware:\n\n    1 Human internet terminal (PC, tablet or smartphone) connected to the internet\n    1 Smick Wi-Fi connected to the internet\n\nHW Connections:\n\n    None.\n\nFlow Connections:\n\n    console\n\nAccount:\n\n    Wi-Fi router\n    MQTT broker\n    FRED\n",
        "x": 140,
        "y": 60,
        "wires": []
    },
    {
        "id": "772a2c1a.7cc8a4",
        "type": "ui_button",
        "z": "31e0a7cd.fa3838",
        "name": "",
        "group": "8557c687.af1ee8",
        "order": 2,
        "width": 0,
        "height": 0,
        "label": "reset",
        "color": "",
        "icon": "",
        "payload": "RESET",
        "payloadType": "str",
        "topic": "",
        "x": 530,
        "y": 40,
        "wires": [
            [
                "881b41f1.88da6"
            ]
        ]
    },
    {
        "id": "8557c687.af1ee8",
        "type": "ui_group",
        "z": "",
        "name": "status",
        "tab": "f142a68c.ec9b78",
        "order": 1,
        "disp": true,
        "width": "6"
    },
    {
        "id": "f142a68c.ec9b78",
        "type": "ui_tab",
        "z": "",
        "name": "Output",
        "icon": "dashboard",
        "order": 2
    }
]
infosmick

Flow Info

created 7 months, 2 weeks ago

Node Types

Core
  • change (x4)
  • comment (x1)
  • switch (x1)
Other
  • link in (x1)
  • link out (x2)
  • tab (x1)
  • ui_button (x1)
  • ui_group (x1)
  • ui_tab (x1)
  • ui_text (x1)

Tags

Copy this flow JSON to your clipboard and then import into Node-RED using the Import From > Clipboard (Ctrl-I) menu option