Virtual Pin Read on startup

Hi,

I could make the vPins be read by my nodemcu when I connected to a slider, using the included BLYNK_WRITE(Vn) method. However, I want to enable an alarm (and an app notification) if temperature reaches a determined level. How can I read the Virtual Pin on setup()?

For my code to work i have to disable the alarm and enable it again everytime the nodemcu restarts.

Thanks

Https://docs.blynk.cc search for sync