Set up Orange Pi Zero as Blynk Local Server

Change “pi” to your username

#Install Java Development Kit
sudo apt-get install default-jre

sudo apt-get install default-jdk

sudo apt-get install software-properties-common

sudo add-apt-repository "deb xenial main"

sudo apt-get update

sudo apt-get install oracle-java8-installer

sudo apt install oracle-java8-set-default

#Create a directory for the server called Blynk
mkdir /home/pi/Blynk

#Move into the working directory
cd Blynk

#Download the server
wget ""

#Generate self-signed certificates
openssl req -x509 -nodes -days 1825 -newkey rsa:2048 -keyout server.key -out server.crt

#Convert key to pem
openssl pkcs8 -topk8 -inform PEM -outform PEM -in server.key -out server.pem

#Copy the contents from the site given below
#and paste it in
sudo nano

#Change the following lines

#Copy the contents from the site

#and paste it in
sudo nano

#Set Gmail id and password. If you are using two step verification, generate app specific password from google account.

cd ..

#For Autostart on reboot
sudo nano /etc/rc.local

Add the following command mentioned before “exit”

java -jar /home/pi/Blynk/server-0.23.1.jar -dataFolder /home/pi/Blynk -serverConfig /home/pi/Blynk/ -mailConfig /home/pi/Blynk/ &

#Now You can start the server
java -jar /home/pi/Blynk/server-0.23.1.jar -dataFolder /home/pi/Blynk -serverConfig /home/pi/Blynk/ -mailConfig /home/pi/Blynk/


@shivasiddharth nice clear video, thanks for sharing.

Video and text, you are my hero! (I hate video’s, I love text LOL).

Hi shivasiddharth,

Is this guide still applicable to version 0.26.1 of the server?

I have followed exactly (except for downloading the latested server) but I cannot login to the admin web page, upon hitting login (with correct credentials) the page just refreshes with no errors or warnings (just cleared username and password fields.


Check out the new “admin account” change, made around the same time frame.

I just tried this on Chrome (I was using IE and Edge) which works ok.

Console for IE and Edge shows only this error, nothing else:

DOM7011: The code on this page disabled back and forward caching. For more information, see:

Default login name, password admin.

blynk.log just show’s this, no other errors:

21:29:32.228 DEBUG- POST : /admin/login

Login Page:

Anyone else have this issue on IE\Edge?

Others have reported the same.

1 Like

A post was split to a new topic: I have a problem with setup local Blynk server to Orange Pi Zero