Hi,
Do I need a network connection to use Blynk local server or wifi hotspot without internet connection will do?
Thanks in advance. Update:
I agree with @PeteKnight, this post ain’t related to my question, so I decided to reform my question to be more clear and precise. I know that a clear and detailed question is a compromise plan and time saving for either Blynk users and agents as well.
So I promise that this will be my last unqualified post.
My problem: I can’t connect in Blynk app using AP that has no internet connection.
Steps to reproduce:
Download and install Java 11.0.7
Set Java as a system path
Download server-0.41.13.jar from Github
Create a new folder and put server-0.41.13.jar in it.
Run CMD and run the following command: java -jar server-0.41.13.jar -dataFolder C:\MyBlynkServer\MyPath, or simply double click on the Jar file and the server will run on the background.
As a result I got : C:\MyBlynkServer>java -jar server-0.41.13.jar -dataFolder C:\MyBlynkServer\MyPath Blynk Server 0.41.13 successfully started. All server output is stored in folder 'C:\MyBlynkServer\.\logs' file.
I made a new Access point from my phone that is running out from credit, and named it “AP no internet access” and make it open without any password.
Run ipconfig in the CMD to figure out your local ip address.
Connect my tablet that has Blynk app installed in it to “AP no internet access”.
Run Blynk app, Click on create new account and change the server settings from cloud to custom and write down the following: Ip: 192,168,2,20 Port:9443
Hit sign up, and as a result I got: Sorry, app couldn’t initialize connection to the server. and then: Reconnecting to the server. What I expected:
A successful connection to the local Blynk server from the app using “AP no internet connection” More details:
-Blynk_Release_v0.6.1
-OS: windows 10 x64
-Samsung tablet SMT-280 Again, I apologize to waste your time, and I hope you accept it.
It doesn’t necessarily have to be a Pi, but it does need to be a device capable of running the Java server software. This could be a Windows device, and recently there was someone who’d done this on an Android phone - but that seemed like hard work compared to doing it on a Pi or PC.
@PeteKnight, I think my question wasn’t clear enough.
I’m on blynk local server already running on windows 10.
I’ve read this post also: ESP8266 as access point and it’s just what I wanted.
I want to Blynk offline.
My main problem after a successful starting of a local server is that I couldn’t login using the Blynk app in my Android device connected to the same AP that my esp connected to.
Don’t you think it would have been better to say that in your initial post, rather than a one sentence riddle that makes no reference to that actual issue?
Without knowing more about your setup it’s difficult to answer your question, but my guess is that either Windows firewall is blocking whatever port you’ve specified for app to server communication, or (if you’re using a router) then you have some routing/port forwarding issues.
Somewhere in your system you need a device that is capable of routing network data packets to the correct device. I’m an iPhone user, so don’t know whet the “Access Point” capabilities of an Android phone are (I’m assuming that’s what you’re using, as I’m pretty sure you would have said ‘Hotspot’ if you were using iOS), but if you are using an Access Point app on your phone which has routing capabilities then you’d need to configure this correctly.
Your computer would need to be connected to the same Access Point (it might be, but you skipped that bit) and the firewall turned off or configured to allow the appropriate traffic through.
By far the simplest way of dealing with this no internet scenario is to use an old router instead of your phone. It’s what they are designed to do, and it makes like much simpler.
I’m also a bit confused by this bit. Don’t you first of all have to connect to the server (custom or cloud) then create the account t?
I don’t think so because the ‘Create new account’ option is in the main UI. So you have to hit it and then fill out the new account and the server info.
I meant by ‘Create new account’ the option and not the button that has the ability to signing up.