Node Red integration with Blynk App and Server through websockets
Blynk library implementation for Node-RED using WebSockets
What is Blynk?
Blynk is a platform with iOS and Android apps to control Arduino, Raspberry Pi and the likes over the Internet. You can easily build graphic interfaces for all your projects by simply dragging and dropping widgets. If you need more information, please follow these links:
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
- app (connected/disconected)
- sync (virtual/all)
- set property
- styled button
See the changelog for all the details of each releases
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
Use the verbose
-v flag when starting Node-RED to get more information
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.
Implementations for other platforms
The node-red-contrib-blynk-ws was born as a fork of node-red-contrib-blynk-websockets
This project is released under The MIT License (MIT)