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

Automation. Please add "duration" to the conditions

Please add “duration” to the conditions! For example, I have a smart lamp on ws2812b. The FASTLED library allows me to get current power consumption data. In dynamic effects, it varies from 0 to 30W. and it never heats up the lamp more than 40C. But if you turn on the static white for more than 5-10 minutes, the temperature will creep up to 60C. With the help of automation, I could reduce the brightness if the current consumed above a certain value persists for more than 5 minutes.
Perhaps it is easier to do this through a sequence of conditions. A condition has occurred - a delay of 5 minutes is expected - we check the condition again and if it is still valid, the action is performed.