BLYNK
HOME       📲 GETTING STARTED       📗 DOCS       ❓HELP CENTER       👉 SKETCH BUILDER

Controlling Blynk with Node-RED and vice versa { DEMO }

node-red

#1

Control Blynk with Node-RED

blynk%20demo

[
    {
        "id": "701b52.5a1454b",
        "type": "ui_slider",
        "z": "a14b80b4.d813",
        "name": "",
        "label": "Slider",
        "group": "f8d995.22561668",
        "order": 1,
        "width": "6",
        "height": "1",
        "passthru": true,
        "outs": "all",
        "topic": "",
        "min": 0,
        "max": "100",
        "step": 1,
        "x": 350,
        "y": 220,
        "wires": [
            [
                "e97b1aa9.a43038",
                "ca06e8b5.666068"
            ]
        ]
    },
    {
        "id": "85032336.30d03",
        "type": "ui_switch",
        "z": "a14b80b4.d813",
        "name": "",
        "label": "LED 1",
        "group": "73ce4f22.05854",
        "order": 1,
        "width": "6",
        "height": "1",
        "passthru": true,
        "decouple": "false",
        "topic": "",
        "style": "",
        "onvalue": "1",
        "onvalueType": "str",
        "onicon": "",
        "oncolor": "",
        "offvalue": "0",
        "offvalueType": "str",
        "officon": "",
        "offcolor": "",
        "x": 350,
        "y": 40,
        "wires": [
            [
                "a3a886fb.a3e3e8"
            ]
        ]
    },
    {
        "id": "ca06e8b5.666068",
        "type": "ui_text",
        "z": "a14b80b4.d813",
        "group": "f8d995.22561668",
        "order": 2,
        "width": 0,
        "height": 0,
        "name": "Slider",
        "label": "Slider :",
        "format": "{{msg.payload}}",
        "layout": "row-center",
        "x": 570,
        "y": 280,
        "wires": []
    },
    {
        "id": "83f90803.178f38",
        "type": "ui_button",
        "z": "a14b80b4.d813",
        "name": "",
        "group": "d71d0ea4.12585",
        "order": 4,
        "width": 0,
        "height": 0,
        "passthru": false,
        "label": "Notify",
        "color": "",
        "bgcolor": "",
        "icon": "",
        "payload": "Hello Blynkers",
        "payloadType": "str",
        "topic": "",
        "x": 350,
        "y": 480,
        "wires": [
            [
                "b9fc19ad.40ec68"
            ]
        ]
    },
    {
        "id": "257c303.51e2dd",
        "type": "ui_numeric",
        "z": "a14b80b4.d813",
        "name": "",
        "label": "Input Sensor",
        "group": "e13edb2e.3aa3b8",
        "order": 2,
        "width": "6",
        "height": "1",
        "passthru": true,
        "topic": "",
        "format": "{{value}}",
        "min": 0,
        "max": "100",
        "step": ".1",
        "x": 370,
        "y": 400,
        "wires": [
            [
                "73e159a5.bfd658",
                "eb4a25ae.f11ee8",
                "6f7ccaff.afc4a4"
            ]
        ]
    },
    {
        "id": "6f7ccaff.afc4a4",
        "type": "ui_slider",
        "z": "a14b80b4.d813",
        "name": "",
        "label": "Sensor",
        "group": "e13edb2e.3aa3b8",
        "order": 1,
        "width": "6",
        "height": "1",
        "passthru": true,
        "outs": "all",
        "topic": "",
        "min": 0,
        "max": "100",
        "step": ".1",
        "x": 360,
        "y": 340,
        "wires": [
            [
                "eb4a25ae.f11ee8",
                "73e159a5.bfd658",
                "257c303.51e2dd"
            ]
        ]
    },
    {
        "id": "e97b1aa9.a43038",
        "type": "blynk-ws-out-write",
        "z": "a14b80b4.d813",
        "name": "Slider - V3",
        "pin": "3",
        "pinmode": 0,
        "client": "189291a1.d1446e",
        "x": 590,
        "y": 220,
        "wires": []
    },
    {
        "id": "eb4a25ae.f11ee8",
        "type": "blynk-ws-out-write",
        "z": "a14b80b4.d813",
        "name": "Value slider - V4",
        "pin": "4",
        "pinmode": 0,
        "client": "189291a1.d1446e",
        "x": 600,
        "y": 340,
        "wires": []
    },
    {
        "id": "b9fc19ad.40ec68",
        "type": "blynk-ws-out-notify",
        "z": "a14b80b4.d813",
        "name": "",
        "client": "189291a1.d1446e",
        "queue": false,
        "rate": 5,
        "x": 570,
        "y": 480,
        "wires": []
    },
    {
        "id": "73e159a5.bfd658",
        "type": "ui_text",
        "z": "a14b80b4.d813",
        "group": "e13edb2e.3aa3b8",
        "order": 3,
        "width": "6",
        "height": "1",
        "name": "",
        "label": "Sensor :",
        "format": "{{msg.payload}}",
        "layout": "row-center",
        "x": 580,
        "y": 400,
        "wires": []
    },
    {
        "id": "91a875dd.41c558",
        "type": "ui_switch",
        "z": "a14b80b4.d813",
        "name": "",
        "label": "LED 2",
        "group": "73ce4f22.05854",
        "order": 2,
        "width": "6",
        "height": "1",
        "passthru": true,
        "decouple": "false",
        "topic": "",
        "style": "",
        "onvalue": "1",
        "onvalueType": "str",
        "onicon": "",
        "oncolor": "",
        "offvalue": "0",
        "offvalueType": "str",
        "officon": "",
        "offcolor": "",
        "x": 350,
        "y": 120,
        "wires": [
            [
                "4d77e20d.e2780c"
            ]
        ]
    },
    {
        "id": "4d77e20d.e2780c",
        "type": "blynk-ws-out-write",
        "z": "a14b80b4.d813",
        "name": "Button 2 - V2",
        "pin": "2",
        "pinmode": 0,
        "client": "189291a1.d1446e",
        "x": 590,
        "y": 120,
        "wires": []
    },
    {
        "id": "42d3d69b.35b9c8",
        "type": "blynk-ws-in-write",
        "z": "a14b80b4.d813",
        "name": "Value slider - V4",
        "pin": "4",
        "pin_all": 0,
        "client": "189291a1.d1446e",
        "x": 140,
        "y": 340,
        "wires": [
            [
                "6f7ccaff.afc4a4"
            ]
        ]
    },
    {
        "id": "a5138efa.c786e",
        "type": "blynk-ws-in-write",
        "z": "a14b80b4.d813",
        "name": "Button 1 - V1",
        "pin": "1",
        "pin_all": 0,
        "client": "189291a1.d1446e",
        "x": 130,
        "y": 40,
        "wires": [
            [
                "85032336.30d03"
            ]
        ]
    },
    {
        "id": "42664708.536ed8",
        "type": "blynk-ws-in-write",
        "z": "a14b80b4.d813",
        "name": "Button 2 - V2",
        "pin": "2",
        "pin_all": 0,
        "client": "189291a1.d1446e",
        "x": 130,
        "y": 120,
        "wires": [
            [
                "91a875dd.41c558"
            ]
        ]
    },
    {
        "id": "a3a886fb.a3e3e8",
        "type": "blynk-ws-out-write",
        "z": "a14b80b4.d813",
        "name": "Button 1 - V1",
        "pin": "1",
        "pinmode": 0,
        "client": "189291a1.d1446e",
        "x": 590,
        "y": 40,
        "wires": []
    },
    {
        "id": "4208c7fb.d33878",
        "type": "blynk-ws-in-write",
        "z": "a14b80b4.d813",
        "name": "Slider - V3",
        "pin": "3",
        "pin_all": 0,
        "client": "189291a1.d1446e",
        "x": 120,
        "y": 220,
        "wires": [
            [
                "701b52.5a1454b"
            ]
        ]
    },
    {
        "id": "f8d995.22561668",
        "type": "ui_group",
        "z": "",
        "name": "Slider",
        "tab": "da9fe531.af0fd8",
        "order": 2,
        "disp": true,
        "width": "6",
        "collapse": false
    },
    {
        "id": "73ce4f22.05854",
        "type": "ui_group",
        "z": "",
        "name": "Button",
        "tab": "da9fe531.af0fd8",
        "order": 1,
        "disp": true,
        "width": "6",
        "collapse": false
    },
    {
        "id": "d71d0ea4.12585",
        "type": "ui_group",
        "z": "",
        "name": "Notify",
        "tab": "da9fe531.af0fd8",
        "order": 4,
        "disp": true,
        "width": "6",
        "collapse": false
    },
    {
        "id": "e13edb2e.3aa3b8",
        "type": "ui_group",
        "z": "",
        "name": "Value",
        "tab": "da9fe531.af0fd8",
        "order": 3,
        "disp": true,
        "width": "6",
        "collapse": false
    },
    {
        "id": "189291a1.d1446e",
        "type": "blynk-ws-client",
        "z": "",
        "name": "Blynk Demo",
        "path": "ws://xxx.xxx.xxx.xxx/websockets",
        "key": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxx4d4ce",
        "dbg_all": false,
        "dbg_read": false,
        "dbg_write": false,
        "dbg_notify": false,
        "dbg_mail": false,
        "dbg_prop": false,
        "dbg_sync": false,
        "dbg_bridge": false,
        "dbg_low": false,
        "dbg_pins": "",
        "multi_cmd": false,
        "proxy_type": "no",
        "proxy_url": ""
    },
    {
        "id": "da9fe531.af0fd8",
        "type": "ui_tab",
        "z": "",
        "name": "BLYNK",
        "icon": "dashboard",
        "order": 3
    }
]

#2

Blynk - Read data to Node-Red (Ex: Temperature & Humidity )


#3

BLYNK controlling WeMo (Belkin)

No software, no sketch, just a graphical representation.

what I couldn’t do in the past without using IFTTT now I can do it directly with Blynk.

You just add a Push Button [ex: here V10] in the application that’s all.

wemo

I am adding here Alexa controlling Fan or Light.

command : Alexa Turn On FAN
Alexa answer : OK

Alexa%20turn%20on%20Fan

command : Alexa Turn On Workshop
Alexa answer : OK


#4

We :heart::heart::heart: Node-Red and Blynk

Pete.