Created At
Sep 07, 2025
Created By Felix Shumelinsky
QuickApp for tracking days off in your country (or any country)
Created At
Sep 07, 2025
Last Update
May 29, 2026
Platforms
HC 3 Lite, Z-box Hub, Yubii Home Pro, Yubii Home, Venture WISE, HC 3
Views
802
Download
48
I needed a way to manage several QA’s, scenes and automation scenarios differently on weekends and public holidays.
For example, my blinds normally open early on weekdays — which quickly became annoying on days off when everyone wanted to sleep longer. Same thing for the coffee maker and several other morning automations...
So I created a simple solution based on a global variable called DayOffToday.
When DayOffToday = YES my scenes can prevent or delay their execution automatically on weekends or public holidays.
Day Off Tracker first identifies your country by geolocating your HC3 box using the Nominatim / OpenStreetMap API.
(You can also manually select your country from a list of more than 100 countries)
The QA then retrieves all public holidays for your country using the Nager.Date API and automatically sets the global variable: DayOffToday = YES when the current day matches a public holiday.
The QuickApp also displays a countdown until the next public holiday.
All your scenes and QA’s simply need to check the value of DayOffToday.
Both of these methods work:
hub.getGlobalVariable("DayOffToday")
or
api.get("/globalVariables/DayOffToday")
The variable value is always either:
YESNO
As for GEA users, the condition to add is the following (use YES or NO depending on your need):
{"Global", "DayOffToday", "YES"}
A new WEEKEND MODE switch button allows you to enable or disable weekends being considered as days off.
The QuickApp icon is installed automatically when importing the .fqa file.
However, the icon is also included separately as a .png file inside the ZIP archive, in case you wish to reassign it manually or customize it later.
After importing the .fqa file, you should provide your email address in the QA variables.
This is recommended in order to comply with the Nominatim / OpenStreetMap usage policy when geolocation requests are performed.
(The QA will still work without it, but good practice is appreciated.)
Also make sure that "Use the new views in mobile application" remains unchecked in the QA Advanced Settings.
| ↑ uncheck this ↑ |
The QA relies on HTML rendering, and enabling this option may break the display inside the mobile apps. A safety routine has been added to automatically force the correct setting whenever possible.
If an update is available, a download link will automatically appear at the bottom of the QuickApp.
I'm not a professional programmer — I created this QuickApp for my own use during my spare time.
There are probably bugs hiding somewhere, and the QA may occasionally crash or behave unexpectedly.
If you'd like to help improve or debug it, you're more than welcome.
And if you enjoy this QA, feel free to leave a rating or a review, and even help me focus while coding by buying me a coffee ♥ ![]()
v2.1 - 28/05/2026
v2.0 - 14/09/2025
v1.0 - 07/09/2025

Merci !

Merci pour ce QA.

Thanks Andrzej, I think I understand what you mean : it would be better to have a QA variable with the value "yes' or 'no' for today's date, so the QA wouldn't need to check the global variable each time? I agree, it will be added to the next release. In my case I needed the value in several other scenes and QA's so I used a Global variable. But both could be definitely used ! thanks

For scene is great to add variable with state for example Holidays and use it on your script to update it status is today is free day or not. You can add info about weekend. Then you will have only one checking is today you can sleep longer and dont open screens not faster then 9
[EN] The new 2.1 version improves readability, installs a new icon, and introduces an automatic update system ! I strongly encourage you to replace your old version. [FR] La nouvelle version 2.1 corrige améliore la lisibilité, installe une nouvelle icône et apporte un système de mise à jour automatique ! Je vous encourage à remplacer votre ancienne version.