How to reset a variable at a certain time?

Dear Blynkers,
In my project I need to reset a variable at 12.00 am. This variable is related to a MIN/MAX temperature value that I need to reset every day.
I tried with Automation, but it seems that is not possible to manage directly the value af a variable via Blynk.Console.
Thank you

Then why don’t you do it indirectly?
Set-up a virtual datastream and configure it so that it’s visible to automations, and create an automation that triggers the automation at midnight every day.

In the BLYNK_WRITE(vPin) callback for that datastream, set your other variable to whatever value you want it to be.


1 Like