I do not have a static IP
Question is it possible to run blynk as local server at my home network without having a static IP ?
Of cause I can not connect to my local server if I am outside my network
I do not have a static IP
Yes it will all run on your LAN without internet access.
Thank you for your quick response
Shall I skip the step 10- Blynk App from 3G/4G and Create New Account ?
May I use my already existing account ?
What should I do instead ?
You can skip step 10 but your new Pi server doesn’t know anything about your accounts on Blynk servers around the world. So you will have to create a new account. You can clone projects from the Blynk server to your local server if you don’t want to create them again.
I am a little confused. may be I am wrong with:
because I do not have an static IP address I entered my local IP address of the raspberry at step 10
must I add some information’s to the following lines ?
And what to add ?
#address to bind to. by default bounded to all interfaces listen.address= #by default server uses embedded in jar cert to simplify local server installation. #WARNNING DO NOT USE THIS CERTIFICATES ON PRODUCTION OR IN WHERE ENVIRNOMENTS REAL SECURITY REQUIRED. #provide either full path to files either use '.' for specifying current directory. For instance "./myfile.crt" server.ssl.cert= server.ssl.key= server.ssl.key.pass= #by default System.getProperty("java.io.tmpdir")/blynk used data.folder=
I finally got it to run the server
but there is a warning and I do not know how to proceed with it.
pi@raspberrypi:~/Blynk $ java -jar server-0.26.2.jar -dataFolder /home/pi/Blynk Java HotSpot(TM) Client VM warning: You have loaded library /tmp/libnetty-transport-native-epoll8349522589992915587.so which might have disabled stack guard. The VM will try to fix the stack guard now. It's highly recommended that you fix the library with 'execstack -c <libfile>', or link it with '-z noexecstack'.
@Brummer hello. What OS do you have and what java version on your raspberry?
I use the debian coming with pi 3
java version “1.8.0_65”
Java™ SE Runtime Environment (build 1.8.0_65-b17)
Java HotSpot™ Client VM (build 25.65-b01, mixed mode)
Is it 64-bit or 32?
oh sorry I do not know how to find this out
uname –a or
pi@raspberrypi:~ $ uname -a
Linux raspberrypi 4.9.28-v7+ #998 SMP Mon May 15 16:55:39 BST 2017 armv7l GNU/Linux
pi@raspberrypi:~ $ arch
I have one additional question:
I placed the files to a folder named Blynk
If I change the directory to:
I can start the server and it is running with the error message as posted above.
if I added the line to crontab:
@reboot java -jar /home/pi/server-0.26.2.jar -dataFolder /home/pi/Blynk &
The server does not start
What have I to correct ?
Is Blynk server working? Or it is stops after warning?
the server runs
and I can connect with the App
Ok. Thanks. I’ll check when have time.
VM warning: You have loaded library /tmp/libnetty-transport-native-epoll6180147343470801760.so which might have disabled stack guard. The VM will try to fix the stack guard now.
It’s highly recommended that you fix the library with 'execstack -c ', or link it with ‘-z noexecstack’.
Blynk Server 0.26.2 successfully started.
All server output is stored in folder ‘/home/pi/Blynk/logs’ file.
So it runs but I do not know if I can ignore the warning.
And my second question is what I should fix for autostart
I also get the “VM Warning” error when starting server 0.26.2 on my Pi 2 (latest updates installed and Java v1.8.0_40).
This is not the critical issue. For now you may just ignore it. This will be fixed in next versions.
Can also report this.