hi
i have a server running on RPI zero which has an wifi dongle and successfully running on and app connected to it , also admin page working fine.
trouble shoot i have done
- my hardware is connected to the WIFI and has taken an IP
- my server is running as my app connected to it also admin page working fine from my laptop.
- my RPI server has ports (22 , 5900) for ssh and vnc , (8080 , 8443) for Blynk exposed.
my sketch is
Downloads, docs, tutorials: http://www.blynk.cc
Sketch generator: http://examples.blynk.cc
Blynk community: http://community.blynk.cc
Follow us: http://www.fb.com/blynkapp
http://twitter.com/blynk_app
Blynk library is licensed under MIT license
This example code is in public domain.
*************************************************************
This sketch shows how to read values from Virtual Pins
App project setup:
Slider widget (0...100) on Virtual Pin V1
*************************************************************/
/* Comment this out to disable prints and save space */
#define BLYNK_PRINT Serial
#include <ESP8266WiFi.h>
#include <BlynkSimpleEsp8266.h>
// You should get Auth Token in the Blynk App.
// Go to the Project Settings (nut icon).
char auth[] = "6c4c75ae3ca341efb931c70e457fb0ef";
// Your WiFi credentials.
// Set password to "" for open networks.
char ssid[] = "HomeWifi";
char pass[] = "a123456789";
// This function will be called every time Slider Widget
// in Blynk app writes values to the Virtual Pin V1
void setup()
{
// Debug console
Serial.begin(9600);
//Blynk.begin(auth, ssid, pass);
// You can also specify server:
//Blynk.begin(auth, ssid, pass, "blynk-cloud.com", 8442);
Blynk.begin(auth, ssid, pass, IPAddress(192,168,0,222));
}
void loop()
{
Blynk.run();
}
i have tried to change blynk.befin with port 8443 also not work and my my serial monitor is just showing Connecting to HomeWifi
is any change to the sketch or settings on the server required ?
thanks in advance