Hi Guys. I have one question. In my project iam using BLE connection to my ESP32. When i have internet connection everything working fine. But when i go offline i can recieve data from my device to my phone with:
Blynk.virtualWrite(V1, temperature);
but i cannot set anything for example:
BLYNK_WRITE(V2)
{
int val = param.asInt();
thermostatON = val;
}
when i have internet connection i can set thermostatON without problem .
Search and you shall find BT/BLE and it’s still relevant need for Internet has been discussed many times in this forum.
Blynk is not a standalone App, it uses a server system: APP <-Network-> SERVER <-Network-> MCU
With BT/BLE the App also acts like a go between from the MCU and the Server: MCU <- BT/BLE -> APP <- Network -> SERVER
Thus some form of connection between the Phone (APP) and the Server (Cloud or Local) is still needed… No Server No Service!
When dealing with the Cloud, that is via the Internet
When dealing with a Local Server, that you have setup yourself, that could be as simple as a adhoc WiFi link, or full home network link, between the Phone and something running the Server, like a Raspberry Pi or PC