February 6, 2026
I like fresh air, but if the windows are open for too long, I'm wasting energy because my HVAC is heating up the rooms for nothing.
Good ventilation is essential for a healthy home. Ideally, I should open my windows for 15 minutes a day. This will bring fresh air into my bedroom, but if you’re like me, you sometimes forget to close the windows on winter days before starting to work.
I also had this problem with my garage door. If I accidentally left it open, cold air got into my house and I was wasting energy.
Therefore I created a Door/Window Notifier Quick App for my FIBARO Home Center 3.
This QuickApp allows you to monitor a selection of doors and windows and receive a notification if they remain open longer than a predefined period.
The QuickApp has easy configuration options in the Yubii App or Web GUI, allowing you to toggle sensors on and off without diving into the variables or code.
Multi-Device Selection: Easily select which windows and doors you want to monitor directly from the Yubii Home App.
Configurable Timeouts: Set different "maximum open times" for windows and doors (e.g., 15 minutes for a window, but maybe only 5 minutes for a door).
Notifications: Get alerted immediately when a threshold is exceeded, so you can take action.
Download the .fqa file from my GitHub Account.
Log in to your Home Center 3.
Navigate to Settings > Devices.
Click the + icon and select Add Device.
Choose Other Device > Upload File and select the downloaded QuickApp.
Once installed, you’ll find two main configuration sections when you select the device within your Yubii Home or HC3 dashboard:
The Select Windows to Monitor and Select Doors to Monitor dropdowns will automatically populate with your available sensors. Simply check the boxes for the specific rooms or windows (e.g., Bedroom) you want the QuickApp to track.
You can customize exactly how long a sensor is allowed to be breached before an alert is triggered:
Windows: Generally set between 15 minutes and an hour to allow for proper ventilation.
Doors: Usually set to a shorter interval for better climate control or security.
Simply use the dropdown menu to select your preferred timeout.
The QuickApp automatically discovers the devices in your HC3 matching the type com.fibaro.doorSensor and com.fibaro.windowSensor. Once active it runs a background process that monitors the status of the selected devices.
The moment a sensor state changes to breached, a timer starts. If the sensor remains open for the full duration of your maximum open time, the QuickApp triggers a notification. If the door or window is closed before the timer hits zero, the process is immediately reset.
By default, the QuickApp is set up to notify the primary user (id:2), which is typically the account created during the initial setup of your HC3.
Since I’ve kept the QuickApp code open source, you can easily tweak this behavior. I’ve placed the logic right at the top of the Lua file.
Below is an example of how you can customize the code. This snippet ensures that a notification is only sent if someone is actually at home (based on a Global Variable or geofencing) and suppresses alerts between 22:00 and 06:00:
Note: In this example, I am assuming you have two Global Variables that track whether Sarah or Max are at home, which are updated via your own geofencing method.
function QuickApp:sendPush(message)
-- Example: Defining nighttime window
local currentTime = os.date("%H:%M")
local isNight = (currentTime >= "22:00" or currentTime < "06:00")
-- Example: Check global variables for presence
local aliceIsAway = hub:getGlobalValue("AliceStatus") == "Away"
local bobIsAway = hub:getGlobalValue("BobStatus") == "Away"
-- Example: Alice has user id: 21
if not isNight and not aliceIsAway then
self:trace("Send a window/door notification to: Alice")
hub.alert("push", { [1] = 21 }, message)
end
-- Example: Bob has user id: 2
if not isNight and not bobIsAway then
self:trace("Send a window/door notification to: Bob")
hub.alert("push", { [1] = 2 }, message)
end
end
This QuickApp is build to be a set it and forget it solution. No more windows or garage door that stays open to long when it’s cold winter weather. Your HC3 will let you know when action is needed!
You can find the Window/Door Notifier QuickApp in on my GitHub Account.