Blynk app integration with Node Red using WebSockets protocol
Switch branches/tags
Nothing to show
Clone or download
Pull request Compare This branch is 24 commits behind gablau:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.


Blynk app integration with Node Red using WebSockets protocol

NPM npm version

Websockets version

This works for both local and cloud Blynk servers. For local, wss:// works if you ve got a certificate installed on Blynk cloud server. For Blynk cloud server, you can use ws:// or with SSL wss:// as the server url.

If you installed Node Red globally use this command to install npm install --global node-red-contrib-blynk-ws

Supports both SSL wss:// and non secure ws:// connection to local server and Blynk cloud server.

Supported events and widgets

  • read event
  • write event
  • app event
  • write command
  • set property
  • emails
  • notify
  • LCD widget
  • Table widget


Detailed changelog

Blynk App Settings

Use Raspberry PI as hardware to access 128 virtual pins or Generic Board for 32.

How to use

See help of every nodes


Use the verbose -v flag when starting Node-Red to get more information or use node-red-log and enable log on Configuration Node as needed


This library is retrocompatible and can replace node-red-contrib-blynk-websockets. To do this:

  • stop node-red
  • install node-red-contrib-blynk-ws npm install node-red-contrib-blynk-ws
  • remove node-red-contrib-blynk-websockets npm uninstall node-red-contrib-blynk-websockets
  • edit your flow file eg: "my-flows.js" search for 'blynk-websockets-' and replace with 'blynk-ws-'
  • start node-red.


The node-red-contrib-blynk-ws was born as a fork of node-red-contrib-blynk-websockets
Some javascripts code was derived from blynk-library-js:
MIT licence