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

Type Quick App

Day Off Tracker

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.

 


How it works

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.

 


Using the global variable

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:

  • YES
  • NO

 

As for GEA users, the condition to add is the following (use YES or NO depending on your need):

{"Global", "DayOffToday", "YES"}

 


Weekend Mode

A new WEEKEND MODE switch button allows you to enable or disable weekends being considered as days off.

 


QA Icon

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.

 


Important setup notes

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 applicationremains 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.

 


Final note

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 ♥ 

 


Changelog 

 

 v2.1 - 28/05/2026 

  • Updated QuickApp icon + automatic icon installation
  • Added version check mechanism
  • 123 countries support from Nager.Date API
  • Improved UI color scheme for better dark/light theme integration

 

 v2.0 - 14/09/2025 

  • Added Weekend Mode switch
  • Forced 'Use the new views in mobile application' property
  • Added Next Day Off countdown display
  • Improved layout and overall UI structure

 

v1.0 - 07/09/2025 

  • Initial release
  • Email validation check
  • Auto-reload if no country or invalid country is set
  • 117 countries support from Nager.Date API

 


 

Credits

 

 

5 Comments,  Want to add comment please login
Aaf050f45cc3555e138555bf4d917215

[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.

E9862c25c571a56dee01529fc0164e3e

Merci !

49beff881f63ad5f1c6cdf160eba9031

Merci pour ce QA.

Aaf050f45cc3555e138555bf4d917215

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

A76a3a4e1774cd33f5471b7ec24d0d428

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

Load more comments
© 2024. Nice-Polska Sp. z o.o.Privacy policyTerms & ConditionsFeedback