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ā¦
@Costas
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 ?
Thanks
Hi mate,
Can you summarise the corrections you are taking about?
hi sir, i want to ask you a question⦠if i want to change the output from the lamp into buzzer, means that i want to make an alarm clock instead⦠how can i do that which line should i change or i need to add another code for that to set the buzzer as the output⦠i know we need to determine(select) which pin we connect the buzzer(in the coding) but i do not know where in your coding sir all i see is the virtual pin⦠btw iām using nodemcu ESP-12E module as the microcontroller
thank you for your reply, iām a newbies in this advanced coding but iām ready to learn
sorry for my poor English hope you can understand @psoro @Costas
hi sir, if not disturbing you⦠can i know where i can get the sketch 'TestLED" i already search it in example(arduino IDE), github i donāt know which one⦠if i can get the link is also excellent⦠i will try to understand the code first
Tq sir @Costas
TestLED isnāt a sketch, itās a variable within the sketch used for this project - see post #1 in the topicā¦
Pete.