I have a question regarding contact sensors and notifications.
I want the Hubitat to send me a notification around 11PM every-night and inform me if some window is already opened in the house. I am using smartthings contact sensors.
I know HSM can notify when the window opens in the night mode, however what about the windows/doors which are already opened during the day and we forgot to close them?
My trigger fires when a specific door (contact sensor) closes.
This particular door opens in the morning, and closes either when we are leaving an empty house, or we are going to bed.
Maybe you have something that can act as a trigger at the end of the day, or you can use Time of day at 11:00 pm as you already do.
This rule runs with a required expression being any of the monitored doors or windows is open. If all of them are closed then it’s not necessary for this rule to run.
Using nested ELSE statements you will not know if there are two doors open -- you will only be notified of the first one the logic finds. Or do you keep opening and closing the trigger door until there are no more alerts?
In this example if it's starts raining or hailing it looks to see if any of the window sensors are open then turns on a virtual switch which triggers Device status announcer to tell me the actual window that is open. When it stops raining it turns the virtual switch off canceling everything, In your case you can adopt this to your bed time. Simply pick certain time as your triggering attribute.