Smick_002_LED_digital

This flow builds a dashboard that contains a switch node to switch on or off the LED. The generated commands are sent to Smick through "dasboard console" flow".

[
    {
        "id": "e192fa90.cfab68",
        "type": "ui_switch",
        "z": "5ce9b4ba.37af7c",
        "name": "",
        "label": "Off/On",
        "group": "5e36b7c5.bef018",
        "order": 1,
        "width": 0,
        "height": 0,
        "passthru": false,
        "topic": "",
        "style": "",
        "onvalue": "d8=0",
        "onvalueType": "str",
        "onicon": "",
        "oncolor": "",
        "offvalue": "d8=1",
        "offvalueType": "str",
        "officon": "",
        "offcolor": "",
        "x": 150,
        "y": 260,
        "wires": [
            [
                "76792d1c.717924"
            ]
        ]
    },
    {
        "id": "76792d1c.717924",
        "type": "link out",
        "z": "5ce9b4ba.37af7c",
        "name": "command",
        "links": [
            "d00f3010.4b85b"
        ],
        "x": 375,
        "y": 260,
        "wires": []
    },
    {
        "id": "bf91673.1e8b498",
        "type": "comment",
        "z": "5ce9b4ba.37af7c",
        "name": "digital output",
        "info": "",
        "x": 150,
        "y": 160,
        "wires": []
    },
    {
        "id": "6eea49a3.ec6ec8",
        "type": "comment",
        "z": "5ce9b4ba.37af7c",
        "name": "Description",
        "info": "Questo flusso costruisce un cruscotto contenente un nodo switch per accendere o spegnere il LED.\nI comandi generati sono inviati a smick tramite il flusso \"dasboard console\".\n\nThis flow builds a dashboard that contains a switch node to switch on or off the LED.\nThe generated commands are sent to Smick through \"dasboard console\" flow\".",
        "x": 150,
        "y": 40,
        "wires": []
    },
    {
        "id": "f627b018.2b69f",
        "type": "comment",
        "z": "5ce9b4ba.37af7c",
        "name": "Licence & History",
        "info": "Package : Smick v.1\nModule  : LED - digital output\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.17  Curci   genesis",
        "x": 320,
        "y": 40,
        "wires": []
    },
    {
        "id": "e6a90fb.c1455f",
        "type": "comment",
        "z": "5ce9b4ba.37af7c",
        "name": "BOM",
        "info": "Bill 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    1 LED connected to smick \n\nHW Connections:\n\n    Device  pin     Smick pin\n    LED     +       3.3V\n    LED     -       D8\n\nFlow Connections:\n\n    Smick_001_console\n\nAccount:\n\n    Wi-Fi credentials\n    MQTT broker\n    FRED\n",
        "x": 470,
        "y": 40,
        "wires": []
    },
    {
        "id": "5e36b7c5.bef018",
        "type": "ui_group",
        "z": "",
        "name": "LED",
        "tab": "9f185bbc.98cc78",
        "order": 1,
        "disp": true,
        "width": "6"
    },
    {
        "id": "9f185bbc.98cc78",
        "type": "ui_tab",
        "z": "",
        "name": "LED",
        "icon": "dashboard",
        "order": 2
    }
]
infosmick

Flow Info

created 3 months, 2 weeks ago

Node Types

Core
  • comment (x4)
Other
  • link out (x1)
  • ui_group (x1)
  • ui_switch (x1)
  • ui_tab (x1)

Tags

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