blynk.io
Resources
GitHub
Search…
Introduction
Getting Started
Quickstart
Developer Mode
Device Activation Methods
Template Quick Setup
Control Devices (GPIOs and beyond)
Send Data From Hardware To Blynk
Events
Notifications (Alerts)
Manage Notifications
OTA: Firmware Over-The-Air updates
Metadata Tutorial
Sign Up / Sign In
Platform overview
Blynk Products and Services
Products
Services
General Concepts
Device
Device Template
Users
Organizations
Multi-tenancy
Downloads
Blynk Mobile Apps
Blynk.Edgent
Blynk.Console
Overview
Search Data
Devices
Locations
Organizations
Users
Device Templates
Widgets (Console)
Blynk.Air
Settings
User Profile
Limits
Blynk.Apps
Overview
Mobile Dashboard Editor
Pages
Widgets (app)
Main Menu
Devices
Groups
Automations
Notifications
Blynk.Edgent
Firmware API
Installation
Supported Boards
Main Operations
Blynk Protocol
BLYNK.CLOUD (HTTPS API)
HTTPs REST API
Get Datastream Value
Get Multiple Datastream Values
Update Datastream Value
Update Multiple Datastreams Simultaneously
Upload a Set of Timestamped Data
Update Widget/Datastream Property
Send/Log An Event
Get Device History Data
Get Device Metadata Value
Is Device Connected
HTTPS API Troubleshooting
Security
Troubleshooting
General Issues
Developer Mode
Changes from Blynk 0.1
Glossary
Links
Commercial Use
Deploying Products With Dynamic AuthTokens
Deploying Products With Static Tokens
Supported topologies
Business Plan (White Label Solution)
Legacy Platform Help Articles
Legacy articles
What is Virtual Pins
Keep your void loop() clean
How to control anything with Blynk app
Install ESP8266 core for Arduino IDE
NodeMCU
ESP8266 standalone
Particle Electron
ESP8266 with AT firmware
Bluetooth (2.0 SPP, 4.0 LE)
USB Serial
Raspberry Pi and Blynk
BBC micro:bit + Arduino IDE
Blynk and Raspberry Pi: Tips & Tricks
How to install Node.js library on Linux
Node.js vs. C++ library
Implementing a Blynk client (library)
Export Project made with Blynk into a standalone app
Updating the apps made with Blynk
App and board logs. How to send application and board logs correctly
Blynk Android permissions explained
How to find code for my hardware?
How to install Blynk Library for Arduino IDE
Powered By
GitBook
Blynk and Raspberry Pi: Tips & Tricks
Autostart
To enable Blynk autostart for Pi, find
/etc/rc.local
file and add there:
1
node full_path_to_your_script.js <YourAuthToken> &
Copied!
Run forever
Use
forever
utility to auto-restart your script.
1
npm install -g forever
Copied!
Run external scripts/utilities from Blynk
You can run external python, batch, or just anything executable from Node.js using
child_process
module:
1
var exec = require('child_process').exec;
2
exec('command', function callback(error, stdout, stderr){
3
// result
4
});
Copied!
PiBakery
​
PiBakery
allows you to pre-configure Raspberry Pi, while creating SD Card.
Previous
BBC micro:bit + Arduino IDE
Next
How to install Node.js library on Linux
Last modified
9mo ago
Copy link
Contents