I was looking at functionality provided by Timer widget. As per my understanding, timer widget give ON and OFF signal based on perticular time entered in widget. But when I run the project I can not update it. Hence to update, I need to stop it and change it. I am not sure how it will work in business mode. i.e. when the app will be given to end user how user will be able to enter time in that.
@Dmitriy it’s not really clear from @bhavsak1’s post whether he wants end users to be able to change the time or not and if he wants to stop the project to change the time.
End user should be able to change the time on run time. Currently when I use stop the project only then it allows me to change start and end time.
I am looking to publish the app (business mode). In that end user should be able to change start time and end time as they want in run mode. I also have similar questions for other widgets like email, rtc ect. where I can change properties when I stop project but not when project is running. I am not sure how these widgets works in business mode.
Hope I am clear. Let me know if more clarification required.
Thanks @Costas. Just a question, from where I can check version of Blynk app . Also from where I can download latest libraries from Github. From Githun I can see latest library is 0.3.8 which I am using right now.
Are you using Android or iOS?
Go to Google Play on an Android phone, enter Blynk and it will indicate if you need an update.
Last update was within the last 24 hours so unless you have auto updates set on your phone it will be out of date.
The latest features are not in the official release of 0.3.8 you need to use the latest master branch from https://github.com/blynkkk/blynk-library
Thanks @Costas. I got my android app upgraded and also the libraries. So I can control one virtual pin by one Time widget. For another virtual pin I need to add one more time widget. Corret ? It is not something similar to Menu or any other widget where you can kee padding multiple things.
As I need to add separate Time widget for each pin, that can not be given in business mode as users will not flexibility to select different pins.
@bhavsak1 you can control up to 128 virtual pins with one timer.
Some hardware defaults to 128 virtual pins (decent ESP’s) and some hardware you have to force 32 pins up to 128 pins.
Depends what you want to do but basically once the timer activates a virtual pin that virtual pin can call the other 127 into action.
@bhavsak1 using timers is not a blynk issue at all. The app would respond to whatever you configure it to do as long as your three tier network (hardware + server + app) is responsive.
If I were you, I would’ve implemented those timers on Arduino side with simple timer(s) library which can be configured using virtual pins if needed on runtime.
Just pay attention to send massive data to your server to avoid data loss.
Sorry I guess I was not able to put my question correctly.
Say for example, the fan should be on from 2 pm to 4 pm. As user should be able to change time from app, I will add a time widget so user can select whatever time he wants the appliance start.
Also if I want to keep light on from 6 pm to 10 pm I will have to add another time widget. For another appliance I will need to add one more time widget and keep adding.
So what I am thinking here, for each condition I will have to keep adding time widgets. Please correct me if my understanding of widget is wrong here.
I guess I understood your need. However, pay attention that your app may be generic at certain points. I recommend you commence by having an app with limited number of timers to be managed easily in your code. Then you can release different versions with variable prices.
Just one worthy point. How are you going to fetch the current time?
It has always been that way. In fact it can create problems if your Smartphone time is “wrong” i.e. fast or slow compared with real time on the server.
Hi Costas,
it is means that the Timer Widget now can be change from the hardware? Or I should use RTC widget?
is there any example sketch for that?
TIA