How to Create a Blynk Local Server

20,396

46

22

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.

Share

    Recommendations

    • Make it Glow Contest 2018

      Make it Glow Contest 2018
    • PCB Contest

      PCB Contest
    • Toys Contest

      Toys Contest

    22 Discussions

    0
    None
    anup.

    Question 2 months 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
    None
    NKI_BS

    6 months 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
    None
    imrdnck

    1 year 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.

    2 replies
    0
    None
    DimitrisM29

    1 year 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
    None
    leventt2ssiddharth

    Reply 1 year 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
    None
    leventt2leventt2

    Reply 1 year ago

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

    this command does not work with all the hardware setups

    0
    None
    leventt2leventt2

    Reply 1 year ago

    you have to change something in your blynk libraries but what ?

    0
    None
    NickM312

    1 year 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
    None
    VicenteG16

    1 year ago

    I find the video very well and I suspect it describes well the steps to take, however, in my case, I see a lack of a text file describing the same steps, for people who for whatever reason do not have the option of Language with which the video was made.

    On the other hand, I must say and say that, it does not seem very friendly (easy) to perform a server for the Blynk, for a neophyte.

    This is my view point.

    (In Spanish)

    Me parece muy bien el vídeo y sospecho que describe bien los pasos a dar, sin embargo, en mi caso, veo una falta de un archivo de texto que describa los mismos pasos, para las personas que por cualquier razón no tienen la opción de la lengua con la que se ha realizado el vídeo.

    Por otra parte, debo decir y digo que, no parece muy amigable (fácil) realizar un servidor para el Blynk, por un neofito.

    Este es mi punto de vista.

    0
    None
    jmscnny.

    2 years ago

    Holy crap. Do these people want us to actually use their product?
    This is an excellent instructable, Siddharth. There is no way I would have been able to stumble through a setup of this complexity on my own.
    I just have to reconsider if it is actually worth the effort. I just wanted to take the application for a joy ride, not marry it.

    0
    None
    h4fod

    2 years ago

    Hi

    Downloaded and decompressed the Blynk server file via your first link but the folder files do not correspond with those in your video. Is the link correct. A very detailed video on installation and configuration but I need to access the correct files to progress. Many thanks.

    5 replies
    0
    None
    ssiddharthh4fod

    Reply 2 years ago

    hi,

    you should not decompress the file. it is a java executable. you just need to download and copy it to the blynk server folder.

    regards

    0
    None
    h4fodssiddharth

    Reply 2 years ago

    Hi ssiddharth

    Thanks for your prompt reply. I misunderstood the fact that the files you refer to in the opening part of your video was in fact the list of files you downloaded separately from the links you kindly provided and, not the files of a decompressed folder. An excellent tutorial overall - extremely detailed. I have yet to finalise my setup - but is progressing well. May need to get back if I have any unresolved issues. Thanks again.

    0
    None
    ssiddharthh4fod

    Reply 2 years ago

    Hi,

    Thanks for your feedback. Please feel free to post your issues. All the best with your work.

    Regards

    0
    None
    h4fodssiddharth

    Reply 2 years ago

    Hi

    Almost success! At the stage where you are required to enter text from the text file 'SSL cmd comands' file, an error occurs when the first line is transferred into the Windows Console running in Admin Mode and in the Blynk server directory.

    Error Message: 'openss1 is not recognised as an internal or external command, operable program or batch file'. I have re checked the path in the System Variables and this is correct (created on 'Open SSL' program installation - 64 bit version - didn't need to create it manually). Also rebooted the PC and re checked program installation config settings too. The Java server would be running because it is in the start up batch file, and the brief command dialog confirms this at Windows (7) start up.

    Do you have any ideas on this issue ssidharth?

    0
    None
    ssiddharthh4fod

    Reply 2 years ago

    Hi,

    Can you please share with me the screenshot of the error. I think what would have happened is, windows 7 would not allow pasting in command prompt, so you would have entered the command manually, i presume. If that is the case, the correct syntax is "openssl" and not "openss1". God only knows why notepad makes lower case "l" and "1" look alike..

    Kindly get back to me on this.

    regards