Where to download Blynk local server

Thanks for your prompt reply, Pete.

Running java 1.8.0_212 on Rpi4
Installed through command:

sudo apt install openjdk-8-jdk openjdk-8-jre

The following are the commands I ran on my RPi4:

wget "Release v0.41.16 · Peterkn2001/blynk-server · GitHub"
java -jar server-0.41.16-java8.jar -dataFolder /home/pi/Blynk

However, terminal response is “Invalid or corrupt file”
Am I pasting the wrong link into the wget command?
Thanks

I think the correct command should be…

wget "https://github.com/Peterkn2001/blynk-server/releases/download/v0.41.16/server-0.41.16-java8.jar"

Although on a Pi 4 you should probably be running a later version of Java than v8, and using the server-0.41.16.jar file

Pete.

Your command executed correctly and managed to get the server running. Now it’s time to figure out how to set it up. :slight_smile: I hope I’ll be able to find required documentation online, thanks a lot again Pete!

It’s all here…

Pete.

I must have not slept enough last night, my sight is tricking me. :slight_smile:

Everything is running as expected, just cannot access dashboard admin page, credentials do not seem to be working "username=admin@blynk.cc , password=admin), but devices connect successfully to local server.

Is there any chance to be able to control devices outside the LAN, or the local server just works like this?
(Don’t get me wrong, I’m already super happy to have discovered this feature)

Thanks Pete for your enormous help

read this:

Do you mean that devices are connected to the same LAN as the local server, but you want to control them from anywhere in the world?
If yo then you have two options …

  1. use a DDNS service service such as NoIP or DuckDNS (assuming that you don’t have a static public IP) and a DDNS updater service, plus configuring your router to forward port 9443 to your local server.

  2. use ZeroTier.

There are pros and cons to both approaches, all covered in post on this forum if you search.

If you mean that your devices are located remotely then you need to use port forwarding via a DDNS, and forward port 8080 as well. You then use the DDNS url in your C++ Blynk connection command.

Pete.

1 Like

Thanks Pete for taking the time into replying with all these infos.

I meant exactly case 01 (devices and local server on same LAN but controlled from elsewhere), I’m going to dive into how to set it up. Thanks a lot for sharing this, thanks a lot!

I cannot believe I have already managed to get it working!
Thank you so much for your directions, Pete! You are an angel!

1 Like

I use local server on Windows 11, not on rasp :stuck_out_tongue_winking_eye:

1 Like

Guys, do we have some options to backup last APK version of android program in case it will be deleted from market ?
I don’t use blynk for commercial ways, but i use local server without the internet, and for me it is very important to save this option.

here

2 Likes

Blynk Local Server source code is not longer on GitHub. Will it become proprietary code? if that happens it wont surprise me. Do you guys know where could I get the server source code?

Thanks so much man! I’ve spend quite a bit of time looking for it! much appreciated!

@StarHelix if you read the topic in full then you’ll see that there is a copy here:

I very much doubt it.
The app code is not open source, and it’s not in Blynk’s interest to release it, as they would prefer people to migrate to Blynk 2.0

Some people (like yourself maybe) are migrating to local server to save money or avoid migrating their projects to Blynk 2.0, but personally I think that’s a false economy.
Setting-up, running and maintaining a Blynk local server is fairly expensive in terms of money and time, and it’s only really a stop-gap measure because eventually the apps will stop running on the latest versions of iOS and Android, so you’ll need to keep an old device just to ruin the old Blynk app.

There are some situations where migrating isn’t an option, in particular those where a local server is needed because there is no internet connectivity, which is why i took a copy of the local server repository.

Pete.

To be honest, it’s comments like these that would encourage me to remove the forked server code from GitHub.

Pete.

sorry for that, just frustrating, forget it

As always Peter you are great and you save our legacy local blynk server and I personally want to thank you.
And I have one question, not limited to you but I have a strong feeling that you can help me … !
I am running blynk local server and everything are great. Today I tried to export (from blynk legacy Android app) my super chart values. I selected Export to CSV and little time later I got an email from the local blynk server with subject: “History graph data for project PZEM-004 esp8266” with the links to download the (4) the corresponding XXX.csv.gz files. The problem come up here, when I click to any of these links I get to my browser:

This site can’t be reached

xxx.net unexpectedly closed the connection
Obviously I have something wrong in my configuration, I running Ubuntu 22.04 server with nginx web server. Do you have any idea what to check or what to adjust for proper working of the links?
In addition, When I ssh my server, I found the 4 exported files at /tmp/blynk (I don’t know why they exported there though) …

Thanks and Best Regards,
Mike Kranidis

1 Like

It’s time to get blynk 2.0 Mike :face_with_hand_over_mouth:

No idea I’m afraid Mike. I’ve not run a legacy local server for about 2 years now, and I’ve migrated fully to Blynk IoT.

Pete.

No it’s not the proper time…

1 Like