Smick_002_LED_dgital_v4

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 "console" flow.

[
    {
        "id": "f23f4fc9.6a061",
        "type": "ui_switch",
        "z": "d90580ea.d1f88",
        "name": "",
        "label": "Off/On",
        "group": "bb1c62d4.4be11",
        "order": 1,
        "width": 0,
        "height": 0,
        "passthru": false,
        "topic": "",
        "style": "",
        "onvalue": "D3=1",
        "onvalueType": "str",
        "onicon": "",
        "oncolor": "",
        "offvalue": "D3=0",
        "offvalueType": "str",
        "officon": "",
        "offcolor": "",
        "x": 170,
        "y": 240,
        "wires": [
            [
                "d8150a81.1ad1b8"
            ]
        ]
    },
    {
        "id": "d8150a81.1ad1b8",
        "type": "link out",
        "z": "d90580ea.d1f88",
        "name": "command",
        "links": [
            "3fc9a886.164328"
        ],
        "x": 395,
        "y": 240,
        "wires": []
    },
    {
        "id": "2a69668b.2c194a",
        "type": "comment",
        "z": "d90580ea.d1f88",
        "name": "digital output",
        "info": "",
        "x": 170,
        "y": 140,
        "wires": []
    },
    {
        "id": "8d8fe775.4e4d98",
        "type": "comment",
        "z": "d90580ea.d1f88",
        "name": "Description",
        "info": "Smick_002_LED_dgital\n_______________________________________________________________________________\nPackage : Smick v.1\nModule  : LED digital\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\n_______________________________________________________________________________\n\nDescription\n\nQuesto flow costruisce un cruscotto contenente un nodo switch per accendere o spegnere il LED.\nI comandi generati sono inviati a smick tramite il flow \"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 \"console\" flow.\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    1 LED connected to smick \n\nHW Connections:\n\n    Device  pin     Smick pin\n    LED     +       D3\n    LED     -       GND\n\nFlow Connections:\n\n    Smick_001_console\n\nAccount:\n\n    Wi-Fi router\n    MQTT broker\n    FRED\n",
        "x": 160,
        "y": 80,
        "wires": []
    },
    {
        "id": "bb1c62d4.4be11",
        "type": "ui_group",
        "z": "",
        "name": "LED",
        "tab": "7d2c5b9c.e03864",
        "order": 1,
        "disp": true,
        "width": "6"
    },
    {
        "id": "7d2c5b9c.e03864",
        "type": "ui_tab",
        "z": "",
        "name": "LED",
        "icon": "dashboard",
        "order": 2
    }
]
infosmick

Flow Info

created 6 months, 2 weeks ago

Node Types

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

Tags

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