This package allows you to determine the remaining number of days for a specific date, yearly or set number of days. This may be useful for recurring events such as bin days, birthdays or anniversaries. Each event has its own virtual device generated which shows the number of days remaining. This can be used to trigger Homeseer events as necessary. Also included is a number of major pre-programmed public holidays for UK, USA & Canada together with their Daylight Savings Time Start/Finish dates.
Recurring/Rollover periods with X number of days from a date is also supported.
A second set of virtual devices is also created which show the number of days since the event date calculated. This may be useful to trigger events after a configured date. This becomes more difficult with the remaining number of days if we consider leap years.
For example, if we wanted to trigger on the next day (Friday) after Thanksgiving, using a DaysTill device, it would show either 364 or 365 days (depending on a leap year). With the DaysSince device, we can always trigger on 1 since this is 1 day after Thanksgiving.
Just run once a day just after midnight to update the virtual devices. You can then trigger any events when you want during the day.
Setup is via a web configuration page.
Related: Jon00 Quick Reminders
As always, you can download from my website (click on my banner below).
Please post any comments, suggestion here!
(No Banner seen?- check your Forum Settings - User Settings, Account, Tick 'Show Signature')
Recurring/Rollover periods with X number of days from a date is also supported.
A second set of virtual devices is also created which show the number of days since the event date calculated. This may be useful to trigger events after a configured date. This becomes more difficult with the remaining number of days if we consider leap years.
For example, if we wanted to trigger on the next day (Friday) after Thanksgiving, using a DaysTill device, it would show either 364 or 365 days (depending on a leap year). With the DaysSince device, we can always trigger on 1 since this is 1 day after Thanksgiving.
Just run once a day just after midnight to update the virtual devices. You can then trigger any events when you want during the day.
Setup is via a web configuration page.
Related: Jon00 Quick Reminders
As always, you can download from my website (click on my banner below).
Please post any comments, suggestion here!
(No Banner seen?- check your Forum Settings - User Settings, Account, Tick 'Show Signature')
Comment