node-red-contrib-blynk-ws 0.8.0

Node Red integration with Blynk App and Server through websockets

npm install node-red-contrib-blynk-ws

Information Panel\ Blynk library implementation for Node-RED using WebSockets

npm version Npm download GitHub stars GitHub issues License

NPM


Node-RED blynk Websockets version

This library supports both SSL (wss://) and non secure (ws://) connection to local server and Blynk cloud server. For local server, wss:// works only if you ve got a certificate installed. For Blynk cloud server, you can use ws://blynk-cloud.com/websockets or with SSL wss://blynk-cloud.com/websockets as the server url.

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

Supported events, commands and widgets

Events: read, write, app (connected/disconected)\ Commands: write, bridge, sync (virtual/all), set property\ Widgets: emails, notify, LCD, table, zeRGBa, styled button, image gallery

Changelog

See the changelog for all the details of each releases

Node-RED palette

Available Nodes

Blynk App Settings

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

How to use

See information panel on every nodes

Information Panel

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

Log settings

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.

What is Blynk?

Blynk provides iOS and Android apps to control any hardware over the Internet or directly using Bluetooth. You can easily build graphic interfaces for all your projects by simply dragging and dropping widgets, right on your smartphone. Blynk is the most popular IoT platform used by design studios, makers, educators, and equipment vendors all over the world.

Download

Blynk Arduino Library

Blynk App: Google Play | App Store

Blynk Server

Documentation

Social: Webpage / Facebook / Twitter / Kickstarter
Help Center: http://help.blynk.cc
Documentation: http://docs.blynk.cc/#blynk-firmware
Community Forum: http://community.blynk.cc
Examples Browser: http://examples.blynk.cc
Blynk for Business: http://www.blynk.io

Quickstart: Arduino + Ethernet shield

  • Download the Blynk app (App Store, Google Play)
  • Get the Auth Token from the app
  • Import this library to Arduino IDE. Guide here
  • In Arduino IDE, select File -> Examples -> Blynk -> Boards_Ethernet -> Arduino_Ethernet
  • Update Auth Token in the sketch and upload it to Arduino
  • Connect your Arduino with Ethernet shield to the internet

Please find examples on how to use different types of connections (transports) and how to do make something great with Blynk. You can easily apply any type of board/connection to all examples.


Implementations for other platforms

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

License

This project is released under The MIT License (MIT)

Node Info

Version: 0.8.0
Updated 2 weeks, 2 days ago
License: MIT
Rating:

Downloads

40 in the last day
192 in the last week
776 in the last month

Nodes

  • blynk-ws-client
  • blynk-ws-in-app
  • blynk-ws-in-read
  • blynk-ws-in-write
  • blynk-ws-out-write
  • blynk-ws-out-set-property
  • blynk-ws-out-sync
  • blynk-ws-out-bridge
  • blynk-ws-out-email
  • blynk-ws-out-lcd
  • blynk-ws-out-notify
  • blynk-ws-out-table
  • blynk-ws-zergba
  • blynk-ws-style-btn
  • blynk-ws-image-gallery

Keywords

  • node-red
  • blynk
  • iot
  • websockets

Maintainers

  • gablau