How can I change the timezone ?
For Time Input the procedure is normally to simply click on the widget whilst the project is running and you should see TZ. If it’s not there stop the project, click the widget and scroll to the bottom of the options and add TZ feature.
YES, I saw that and took few minutes to get synced.
Thanks for the reply.
Two problems I faced
When the display/buttons show “Device is ON”, the relay will be OFF.
If it shows “Device is off”, the relay will be on…
How to fix this ?
If the board gets restarted (due to power failure), the relay stays in ON position, how to fix this ? I will have to use the app to turn it off . It happens even if an active timer is running. For example, if the timer is set to turn off the relay now, if the board gets restarted, the relay will stay ON!!
The code will need to be modified by you.
What is your level of experience with C++?
NO experience!!! I will try…
I dont need this much functions.
Can you suggest me any alternative method to set timer (which works even after restarting) ?
There are lots of free online resources to help you learn C++
There are also lots of freelance C++ coders available if you don’t want to learn the language.
Time Input is the most powerful scheduler available, but it does require the Blynk project developer to have an understanding of C++.
if your relay has three connectors you can simply swap the wiring and it will work as intended. If it has two connectors you need to go into the code, but its not that hard. HIGH is used to send a signal and is usually associated with ON (e.g. connect an LED and it wil turn on) however relays work the other way round and are thus OFF. so swap the HIGH and LOWs in the code where it concerns the relays and your golden.
…well…better late then never…
I got it.
The timer wil not run right way because the line code, it’s mistake.
nowseconds = ((hour() * 3600) + (minute() * 60) + second());
It mus be changed like the right one:
nowseconds = long(hour() * 3600L) + long(minute() * 60L) + long(second());
Timer using Time Input Widgets will be awesome!
Thank you for useful application on Blynk.
Dear all, where I can find the last version of code ?
The one in the first post includes all corrections ?
Can you summarise the corrections you are taking about?