ioBroker.countdown
This adapter uses Sentry libraries to automatically report exceptions and code errors to the developers. For more details and for information how to disable the error reporting see Sentry-Plugin Documentation! Sentry reporting is used starting with js-controller 3.0.
Countdown Adapter for ioBroker
The goal of the adapter is to provide you a possibility to run countdowns for future events, with years, months, days, hours and minutes. It will provide you each of those valies seperately, and also two strings with a short and long version of the date.
How to use it
English description
Deutsche Anleitung
Features to add
- Possibility to add a script as a parameter and start it when countdown ends
- Possibility to use plus and minus in addminutes and the other add functions
Changelog
2.3.0 (2024-09-20)
- (jack-blackson) Compatibility for js-controller 7
- (jack-blackson/bagsik) Added new object fullJSON with all objects included - thanks to bagsik who had the idea and created the code!
2.2.1 (2024-09-14)
- (jack-blackson) Additional check to avoid not allowed signs in countdown name
- (jack-blackson) Updated dependencies
- (jack-blackson) Small adjustments in package files
2.2.0 (2023-08-25)
- (jack-blackson) Added ability to maintain, adjust and delete countdowns in adapter settings
- (jack-blackson) Bugfix with incorrect spaces as first character in "in words long" and "in words short"
- (jack-blackson) Bugfix incorrect calculation totalYears
- (bagsik) added "totalJSON" object in each countdown
2.1.0 (2023-07-22)
- (jack-blackson) Ability to use the countdown "backwards" - e.g. for calculating age of a baby
- (jack-blackson) Adjustments for "in words" -> fixed year/years and adjusted which detail level is shown at which point of time
2.0.2 (2023-07-16)
- (jack-blackson) Bugfix month calculation
2.0.1 (2023-05-24)
- (jack-blackson) Added objects for total number of months and years
2.0.0 (2023-05-07)
- (jack-blackson) Reworked adapter due to wrong process layout
- (jack-blackson) Added headers for HTML and JSON
1.3.1 (2023-05-01)
- (jack-blackson) Bugfix date calculation (thanks to Lueghi for the hint)
1.3.0 (2023-02-22)
- (jack-blackson) Updates for dependencies
1.2.5 (2021-06-16)
- (jack-blackson) Bugfix to delete countdown with sendto
1.2.4 (2021-06-09)
- (jack-blackson) Small bugfixes, translations
1.2.3 (2021-05-27)
- (jack-blackson) Small bugfixes, translations
1.2.2 (2021-05-25)
- (jack-blackson) Small bugfixes, added weblate for translations
1.2.1 (2021-05-09)
- (jack-blackson) Small Bugfixes
1.2.0 (2021-05-09)
- (jack-blackson) Updated packages, added Sentry
- (jack-blackson) Fixes for JS-controller 3.3
- (jack-blackson) Fix that countdowns are created immediatly
1.1.0 (2020-04-02)
- (jack-blackson) bugfix Read-Me link
- (jack-blackson) bugfix repeatCycle
1.0.9 (2020-03-31)
- (jack-blackson) Bugfix log messages
1.0.8 (2020-03-31)
- (jack-blackson) Repeat countdown in defined period (e.g. every year)
1.0.7 (2020-03-30)
- (jack-blackson) Added new date-type for settings: YYYY-MM-DD
- (jack-blackson) Add countdown directly in adapter settings
1.0.6 (2020-03-20)
- (DutchmanNL) Fixed adapter type
1.0.5 (2020-02-05)
- (jack-blackson) Bugfix for alarm at midnight -> thanks to @Lueghi
1.0.4 (2019-08-25)
- (jack-blackson) Reordered release infos
1.0.3 (2019-08-10)
- (jack-blackson) Changes for Compact Mode
- (jack-blackson) Various bugfixes
- (jack-blackson) Having multiple instances of the adapater are now possible
1.0.2 (2019-07-22)
- (jack-blackson) Release version
0.7.0 (2019-07-07)
- (jack-blackson) Bugfixes
- (jack-blackson) addminutes and addhours are now also possible
- (jack-blackson) datapoint in setup is now editable
- (jack-blackson) added total no. of weeks
0.6.0 (2019-07-06)
- (jack-blackson) adjustable date format for input and output
- (jack-blackson) delete countdowns with sendto
- (jack-blackson) ability to add countdowns by "days/months/weeks from now)
0.5.0 (2019-07-04)
- (jack-blackson) adjust the data in the table
- (jack-blackson) bugfix date import
0.4.0 (2019-06-04)
- (jack-blackson) restructuring - creation of alarms with sendto or manually with datapoint is now possible
0.3.0 (2019-05-24)
- (jack-blackson) added total No. of days and hours
0.2.0 (2019-05-21)
- (jack-blackson) adjusted packages
0.1.0 (2019-04-29)
- (jack-blackson) initial version
License
The MIT License (MIT)
Copyright (c) 2019-2024 jack-blackson blacksonj7@gmail.com
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.