BLYNK
BLYNK.IO       📲 GETTING STARTED       📗 DOCS       👉 SKETCH BUILDER

Multiple conditions for same EVENT

Hello!
I’m looking to create a notification/task system with a button to quickly activate/deactivate the event.
More exactly an alarm system with a virtual button for arming/disarming. I already have the sensors monitored inside the app and I want to enable/disable the notifications but an arm/disarm button created inside the app without any extra code on the hardware.

I couldn’t add more conditions to the event. Is there any way I can do it and I don’t see it?

if (V0 = 1) and (V1 = 1) do (notification) and (extra something etc.)

I think it would be very helpful to have that feature.

Of course.

Create 2 global variables, then assign values in VIRTUAL_WRITES, then compare them.