Time-Limits to use push "ON" button in blynk-app

I have an ESP8266 relay board with a simple sketch Blynk-blink.
I have just 1 Push-button on my GSM-app to switch on the light, but I 'd like to make some conditions in my BLYNK-app.
The “BUTTON” should be limited to give signal ( to myGPIO4) only between 17-22:30 u …any suggestions?

Use eventor widget, when 17:00 set a virtual pin high, when 22:30 set virtual pin low.
Check in sketch, state of virtual pin to allow button press or not

2 Likes

“Event wizard” I tried, but do I really need to to flash a a expliciet sketch ?
I hoped that the Blynk-app on my GSM could determinate if it is between 17 and 22:30 u

@Karel The example sketch you are using only allows limited functions. That is, basic manipulation of GPIO pins. You could add a timer to turn the pin/light on and off at certain times, but to make it so it can only be controlled at certain times will involve some programming. You may even be able to modify a different example sketch and achieve your goal with minimal effort.