Hi there,
I know this topic has been posted before. But all of the posts I read had no clear solution, or they just ended as a stub.
I’ve spent the last two weeks developing an awesome project. Multiple devices, grabbing GPS data from the phone, using bridges to communicate to one another, pulling sensor data and pushing it to the app to be displayed, and even using Webhooks to grab data using RestfulAPI from a few different databases - brilliant stuff, using pretty much all Blynk has to offer.
Blynk has been an amazing tool so far.
About a week later, though, I’ve powered on the devices to delve back into development and they have stopped working.
I am using an iPhone hotspot as my Wi-Fi network, with 2 devices. Both devices connected to the hotspot network fine, but neither was establishing a link to the Blynk app.
They are both ESP32 Modules, using Wi-Fi.
I tried restarting my iPhone several times, closing all active apps, leaving my premises to avoid other networks, using a different module, generating new authentication keys, and even creating an entirely new Blynk app. The only thing I haven’t done is delete Blynk entirely because the app I’ve developed has a fair few hours invested in it.
Because of this, I rolled back to some example projects to investigate. I’ve ended up at a dead-end here, using the Wi-Fi example project:
#define BLYNK_PRINT Serial
#include <WiFi.h>
#include <WiFiClient.h>
#include <BlynkSimpleEsp32.h>
// You should get Auth Token in the Blynk App.
// Go to the Project Settings (nut icon).
char auth[] = "censored";
// Your WiFi credentials.
// Set password to "" for open networks.
char ssid[] = "iPhone";
char pass[] = "password54321";
void setup()
{
// Debug console
Serial.begin(9600);
Blynk.begin(auth, ssid, pass);
}
void loop()
{
Blynk.run();
}
And looking at the serial output:
Which led to my search and the title of this post, but no answers. I know I can use config to maybe try another port - but which port should I try? What ports does blynk-cloud support?
Further to this, even if I do manage to find a solution: I was just about to start doing field trials with this device - but I’m now questioning the reliability of the devices using iPhone hotspot as their connection method, now that this has come up. I plan to move to Bluetooth eventually, but I need webhooks and this isn’t possible through BLE as far as I know. Is there anything I can do to avoid this in future? It’s a bit concerning.
Any help would be appreciated, thanks!