Hi!
I’m new to Blynk, somewhat familiar with Arduino and remember only basics of C++.
With that out of the way I need help with my coal-heater driver, I don’t know its name in English, but it’s one of those: http://regiodom.pl/portal/sites/regiodom/files/images/regiodompl/46/kociol-na-ekogroszek.jpg
I need my program to run even when internet (Blynk Cloud) connection is down. Right now it won’t start doing it’s thing until Blynk connects. I am using Arduino Mega 2560 with Ethernet Shield and Android App (Galaxy S8).
My main program is closed in myTimerEvent
from one of the examples from sketch builder, but I also use some BLYNK_WRITE(pin)
functions.
My loop looks like this:
void loop ()
{
Blynk.run();
timer.run(); // Initiates BlynkTimer
t = rtc.getTime();
int godzina = string.toInt(t.hour);
}
I found only one topic about this, but long and without one, proven and working solution that I would understand.
The place that the driver will be used in is connected to the world by LTE router and I don’t trust it, because it gave us some downtime in the past. The Blynk interface is used only as optional input/output option, so I don’t have to touch my flimsy box with flimsy buttons every time it’s cold