Your command executed correctly and managed to get the server running. Now it’s time to figure out how to set it up. I hope I’ll be able to find required documentation online, thanks a lot again Pete!
I must have not slept enough last night, my sight is tricking me.
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)
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 …
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.
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.
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!
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.
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?
@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.