Skip to content

small example how to control 4 port power relay with raspberry pi and blynk-mobile app

Notifications You must be signed in to change notification settings

RafalSladek/4relays

Repository files navigation

blynk app for control 4x power relays

How to install all needed dependencies

npm i

How to setup token (put this line into your .bashrc or other profile file depends on your shell)

export BLYNK_TOKEN=<YOUR_BLYNK_TOKEN_HERE>

How to run manualy

node index.js -t $BLYNK_TOKEN

How to install blynk app as a service

sudo cp blynkApp.service /etc/systemd/system/blynkApp.service
sudo systemctl daemon-reload
sleep 3
sudo systemctl start blynkApp.service
sudo systemctl enable blynkApp.service >/dev/null 2>&1
sudo systemctl status blynkApp.service

About

small example how to control 4 port power relay with raspberry pi and blynk-mobile app

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published