I’m having an issue where the Blynk App (iOS) says that {{projectname}} is offline. Details are below on my devices and setup.
Any help here would be greatly appreciated. I’m very green on networking and web servers.
-running local server (0.41.8) on a Raspberry Pi
-running Blynk App on iOS
-running LED connected to digital pin 2 on Arduino Uno, with Ethernet Shield attached.
-Blynk library is v0.6.1
–Raspberry Pi is connected to home router via WIRED
–iPhone is running WIRELESS on home router
–Uno w/ ethernet shield is connected to home router via WIRED
—local server is running and can be pinged by other devices on home router
—Blynk app is running and has created a user account on the web server
—I have made a new project (name: “secondLED”) on the App. “Button” --> “D2” {0-1} --> “Push”
—When I go to run the project, a message at the top of the screen (just under the main green bar) shows “secondLED is offline”
—I have placed my code, but without the authorization token.
#define BLYNK_PRINT Serial
#include <SPI.h>
#include <Ethernet.h>
#include <BlynkSimpleEthernet.h>
// You should get Auth Token in the Blynk App.
// Go to the Project Settings (nut icon).
char auth[] = ""; //"YourAuthToken";
#define W5100_CS 10
#define SDCARD_CS 4
void setup()
{
// Debug console
Serial.begin(9600);
pinMode(SDCARD_CS, OUTPUT);
digitalWrite(SDCARD_CS, HIGH); // Deselect the SD card
//Blynk.begin(auth); //originally uncommented
// You can also specify server:
//Blynk.begin(auth, "blynk-cloud.com", 80);
//Blynk.begin(auth, IPAddress(192,168,1,100), 8080);
Blynk.begin(auth, IPAddress(192,168,1,26),9443); //added by GMC 20190803
// For more options, see Boards_Ethernet/Arduino_Ethernet_Manual example
}
void loop()
{
Blynk.run();
}