When I set up my device, the HTTP RESTful API was failing from the browser with an error msg “Invalid token”. Then open the Blynk app and click the run button. Precisely the reason. I’m going to have devices in different places and am thinking of building a product. Click the custom option and enter the IP address of your raspberry Pi. Please find the links for the files below. Inside the setup function, start the serial monitor at a baud rate of 9600, and then be sure to comment out the default server connection line as we need to add the local server IP address as shown in the below code. In my case the IP of my Raspberry Pi on the local LAN, 192.168.1.16: Click the custom option and enter the IP address of your raspberry Pi. It should be. Static/Fixed IP Address Sketch. I think it does from memory. The following software can be “installed” and run on a Raspberry Pi, as well as on a Windows or Mac, and even on a NAS. // Set password to "" for open networks. #include Then, provide a valid email address and enter a password to create an account on your local server. Previously, we used the Blynk app with Arduino to control a WS2812B RGB LED Matrix. Proceed as before for selecting the server and entering the IP address of the BeagleBone. IP address of the Raspberry Pi and then click OK. On the next screen, enter a valid email and password to create an account on your local server. `Multiple Blynk Credentials (Server, Token) and system will autoconnect to the available Blynk Servers.` With version `v1.0.5` or later, you now can configure: 1. Well if that is the case, then a little Googling later and I found this program will show the resolved address of blynk-cloud.com for my region. 192.168.1.26 is the IP address of the BeagleBone and 8443 is the default port of the Blynk server. That’s all ... On the Server Settings, select Custom and enter the IP Address of the server. Check the IP address of you Pi and put it in a browser of your laptop or mobile. Second, download the server. I started without it and it took forever to connect as I have blynk.run() within anif(Blynk.connected()) statement in the loop(). Please pardon this. #define BLYNK_PRINT Serial Blynk app opens mutual ssl/tls connection to Blynk Cloud on port 443 (9443 for local servers). Don’t forget to add your Email id and Password in the last two lines. The Blynk server is developed in Java so the first thing to do is to check that Java 8 is installed on your Raspberry Pi using the below command: If it is not installed then run the following command to install Java 8. For that, open the Arduino IDE and go to Sketch < Include Library < Manage Libraries. The serial output only shows server name but not IP. Important: You MUST use the DuckDNS address as the server [] value when using SSL. You can tell that there is a valid connection because the device is shown as being online in the app, so it’s not really a big deal, especially if you’re not monitoring the serial output or redirecting it to a terminal widget. b) When you do get a Blynk connection you don’t get the normal Blynk logo on the serial monitor. { There’s probably a way around this using a while loop to keep calling. Setting up a simple app on a phone to alert a message when a face is recognised using the ESP-WHO library. You have to use the local IP address (for example: 192.168.0.105) of the server and port 9443 and the Custom Server settings in the APP.   Serial.begin(9600); That can be done by running the following command: Then add the below lines in the mail.properties file. Enter the IP address of the local Blynk server i.e. It’s not exactly the same as finding which IP address the MCU actually connected to at boot-up, but for most purposes it’s probably the same thing. 192.168.1.40) for local connections, or the DuckDNS address. If the transmission was successful, we receive the following message: From now on, the module has a local … Blynk.config(auth, Blynk_Server_IP, 8442); This does work, but I ran into a couple of snags: a) Sometimes this bit of code returns an IP of “0.0.0.0” as the Blynk_Server_IP and when this happens you obviously don’t get a Blynk connection when you use this as a parameter in the Blynk.config() call. Hi, Anyone can help me how can i block local server ip address in WAP321? Config Portal Static IP address, Name and Password.   //Blynk.begin(auth, ssid, pass); Reboot the Pi using the below command: Now download the Blynk app from Play Store or App Store and click on create a new account option. Having said that, it seems highly likely that it will be the same server. Tap on Log in. I have flashed similar code to my WeMos at least a dozen times today and it always picks up the correct IP. Enter a username and password. void setup() voltage of 650 V & 1200 V, BKZ Series DC power jacks from Switchcraft have an easy twist-lock feature. Complete code and working video are given below. Save the changes by typing CTRL+X, then Y, then pressing the ENTER key. Why he’d need this info is still a mystery, unless he was having geo DNS issues and wants to know if a ping from his mobile device resolved the same IP as the server his MCU has connected to. Sample code: It’s not exactly the same as finding which IP address the MCU actually connected to at boot-up, It is if you use the same variable for both the Blynk connection and the whatever it is that does the ping stuff. The javascript code can be run on the Blynk server. Peter. This kind of hit and miss is not something good. This problem can be solved by using a Blynk local server. A current Java version is required. Local Server How to install, configure and use Blynk Local Server. 192.168.1.26 is the IP address of the BeagleBone and 8443 is the default port of the Blynk server. As has been pointed out before, this isn’t necessarily the same IP address that has been used to establish the connection from the device to the Blynk cloud server. Sample code: