node-red-contrib-blynk-ws 0.2.0

Node Red integration with Blynk App and Server through websockets

npm install node-red-contrib-blynk-ws

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://blynk-cloud.com:8080/websockets or with SSL wss://blynk-cloud.com:9443/websockets 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

Changelog

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

Debug

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

Compatibility

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.

Attributions

The node-red-contrib-blynk-ws was born as a fork of node-red-contrib-blynk-websockets https://github.com/tzapu/node-red-contrib-blynk-websockets
Some javascripts code was derived from blynk-library-js:
https://github.com/vshymanskyy/blynk-library-js
MIT licence

Node Info

Version: 0.2.0
Updated 1 month ago
License: MIT

Downloads

25 in the last day
46 in the last week
140 in the last month

Nodes

  • blynk-ws-client
  • blynk-ws-in-read
  • blynk-ws-in-write
  • blynk-ws-in-app
  • blynk-ws-out-write
  • blynk-ws-out-set-property
  • blynk-ws-out-email
  • blynk-ws-out-lcd
  • blynk-ws-out-notify
  • blynk-ws-out-table

Keywords

  • node-red
  • blynk
  • iot
  • websockets

Maintainers

  • gablau