callHome(bool spiffs)

Calls to check for updates. The setCallHomeInterval() function mentioned above already handles calling home at a certain interval. But if you would like to decide yourself under which circumstances and when to call home. This is for you.

Write whatever conditions you want and simply add the callHome() function.

If spiffs is true, the call also checks if there is a new filesystem image to download.


void loop() {
    if(batLvl >= 20 && lstUpd != today){
        lstUpd = today;


Added by