How to Create a Blynk Local Server

43,338

56

31

Introduction: How to Create a Blynk Local Server

About: DIY Enthusiast

Blynk is a software/app allows a user to control arduino devices from a smartphone or tablet. This can be done by using the company's Blynk server or the user can host their own Blynk server. This Instructable shows you as to how the user can create their local Blynk Server.

The Files required for the process can be downloaded from the links below.

Blynk Server File: http://www.mediafire.com/download/8pyk6eg0gp5q6l2...

JavaJDK 8.77

32Bit: http://www.mediafire.com/download/72y69zvenhc10my...

64Bit: http://www.mediafire.com/download/72y69zvenhc10my...

Server Properties File: http://www.mediafire.com/download/1uxkg9jkwwmxcb3...

Mail Properties FIle: http://www.mediafire.com/download/1uxkg9jkwwmxcb3...

OpenSSL Installation Files

32Bit: http://www.mediafire.com/download/ae66hxukjp4fvax...

64Bit: http://www.mediafire.com/download/ae66hxukjp4fvax...

SSL Commands File: http://www.mediafire.com/download/ae66hxukjp4fvax...

Blynk Aurdino Library Files: http://www.mediafire.com/download/saccgzz86yeaqvf...

Step 1: The Actual Process

The actual process of creating a Blynk server has been clearly demonstrated in the video.

Be the First to Share

    Recommendations

    • Make it Glow Contest

      Make it Glow Contest
    • First Time Author Contest

      First Time Author Contest
    • PCB Challenge

      PCB Challenge

    31 Discussions

    0
    NickM312
    NickM312

    3 years ago

    Hello,

    These are the errors I get after I have done the certificates and restarted the server.

    Do you have any idea of what I should do next?

    I followed your video exactly so far. Running Win7

    Thank you

    error.PNG
    0
    klalan1234
    klalan1234

    Reply 10 months ago

    same problem , finding solution , plzz reply if u finf the sol

    0
    songthamduangjit
    songthamduangjit

    Reply 6 months ago

    Please fill you Encryption password in file "server.properties"
    server.host=
    server.ssl.cert=./server_embedded.crt
    server.ssl.key=./server_embedded.pem
    server.ssl.key.pass=Fill you Encrytion Password heare <<====
    #Blynk server allows to use 2 hosts for same IP, below properties for second host
    server2.host=
    server2.ssl.cert=./server_embedded.crt
    server2.ssl.key=./server_embedded.pem
    server2.ssl.key.pass=Fill you Encrytion Password here<<====
    client.ssl.cert=
    client.ssl.key=

    Annotation 2020-07-16 180943.pngAnnotation 2020-07-16 181025.pngAnnotation 2020-07-16 181013.png
    0
    klalan1234
    klalan1234

    Reply 6 months ago

    thanks a lot man , i did solve it before , but thanks 💚
    i just copied the .key file (rsa private key ) to.
    the .pem file
    so the rsa private key of .pem file matched with the rsa private key of .key file
    n that's it , it worked ,
    idk but the rsa private key of both the files previously was different ,
    now its the same n working

    0
    blynk2u
    blynk2u

    Question 1 year ago

    hi...
    i try to setup a blynk server, and following your instruction in the video but i stuck at the command prompt: wait too long but nothing happen.. can you help me?

    blynkServerSetup.jpg
    0
    klalan1234
    klalan1234

    Answer 10 months ago

    press control+c

    0
    ShehabT
    ShehabT

    Answer 1 year ago

    I'm trying to being nice and to help you


    i see no problem in your picture
    your blynk server just started successfully as i see in your picture
    if you see

    Blynk server successfully started.
    it means that tells you have a working local blynk server to confirm that, open up your browser and nether visit localhost:9443/admin, 127.0.0.1:9443/admin, your ip address:9443/admin, or your public ip address:9443/admin
    if your browser cannot connect and you tryed localhost:9443/admin, 127.0.0.1:9443/admin, your ip address:9443/admin, and/or your public ip address:9443/admin
    this means you had a real problem.

    you can view the log which appears on cmd
    for example, it should be
    All server output is stored in folder 'C:\path\to\path\.\.logs' file.
    in your picture
    All server output is stored in folder 'D:\Blynk Server\.\.logs' file.

    you can contact me with email "shehabtweel@gmail.com"
    For further help.
    -- Shehab Ali Tweel

    0
    klalan1234
    klalan1234

    Question 10 months ago

    after getting the certificates , i run the server to check , i get error

    error.JPG
    0
    klalan1234
    klalan1234

    Question 10 months ago

    i did all the 4 commands given to create certificates , now when i check my server.properties file , it is same as before , it has not changed ,
    plzzzzzzz helppppppp

    0
    LienSnik
    LienSnik

    1 year ago

    The server file is a zip file????
    Do i unzip, if so where to???

    0
    imrdnck
    imrdnck

    3 years ago

    Hello,

    I am getting the same error:

    Error Message: 'openss1 is not recognised as an internal or external command, operable program or batch file'.

    I have tried entering it manually nothing helped.

    0
    Muhammad Uimer Idrees
    Muhammad Uimer Idrees

    Reply 1 year ago


    Well at the place of openssl ... you have to put actually the path to your openssl folder that you have downloaded. Your actual command should look like

    `C:\OpenSSL-Win64\bin\openssl.exe genrsa -out server_embedded.key 2048`
    It works
    Screenshot (22).png
    0
    anup.
    anup.

    Question 2 years ago

    sir , recently i started a new iot project which uses NodeMcu and blynk app. in blynk app i require more widgets and so more energy. hence i searched in web and found your video. i just followed your steps. and took 5 days to host it successfully. NOw the blynk app connects to my local server and i can access free energy. But now the problem is , the Nodemcu is not coming online in my blynk app. in app it shows "device is not online yet". but it will be connect to mobile wifi. and even i can acces my admin account also. so i request you to give me solution. as soon as possible . looking forward for your answer. thank you

    0
    NKI_BS
    NKI_BS

    2 years ago

    hi, I have made it. but just wonder why there are many warnings??

    warnings:

    1. an illegal reflective access operation has occurred.


    2. illegal reflective access by io.netty.util.internal.platformdependent0 (-folder path-/server-0.15.2.jar) to field java.nio.buffer.address

    3. please consider reporting this to the maintainers of io.netty.util.internal.platformdependent0

    4. use --illegal-access=warn to enable warnings of further illegal reflective access operations

    5. all illegal access operations will be denied in a future release.

    question: 1. does the connected device is connecting to the local machine hotspot or both were connecting to a local network or both?

    Capture.PNG
    0
    DimitrisM29
    DimitrisM29

    3 years ago

    first you must see your Raspberry pi IP and put it in your scetch.. after that you must make a port to your router (8443) i your android blynk use this port.. (in the mail.properties text file you must put your email and pass).In the blynk app put the switch in private server and IP (raspberry pi IP) and port 8443..If anyone have some problem P.M me

    0
    camblonie
    camblonie

    4 years ago

    where's the video?

    0
    ssiddharth
    ssiddharth

    Reply 4 years ago

    in step 1

    0
    leventt2
    leventt2

    Reply 3 years ago

    on the internet everybody shows how to connect the application to the server but nobody explains how to connect hardware to the local server how would you prevent your arduino getting connected to bylnk.cc servers instead of your local blynk server

    0
    leventt2
    leventt2

    Reply 3 years ago

    Blynk.begin(auth, IPAddress(192,168,1,100), 8442)

    this command does not work with all the hardware setups