How do I program homey to notify me in the evening if any magnetic contact is not closed?
Without knowing any info about the product you use, what time window you want to use etc. it will be hard to give you a full answer.
But basically you will have to create a flow that looks like the following:
When Magnetic contact = Open
And time is between 1800 and 700
Send message to phone
Or you can switch the When to the time and AND to the magnetic contact, but basically it will do the same.
I’m not sure if there is an “any magnetic contact” option for your specific magnetic contact device
If by magnetic contact you are referring to a door & window (or comparable) sensor, then you might consider using the zone card ‘WHEN the alarm of any device is activated’ as a trigger. The type of alarm is selectable. Choose contact alarm in this case:
When triggered that card provides the name of the device and zone as tags that you can use in subsequent flowcards, e.g. that send a notification.
I thought so homey says for example at 10pm this door magnet is not closed and if all are closed then everything is ok
In that case the trigger is the time check. Homey does not offer zones cards for the AND section that provides details on which doors are open.
You either have to check each individual door/window sensor as part of your flow to determine if the door/window is open, or you can use a HomeyScript that performs that check for all doors/windows. I believe this script might be worth trying: Report any open doors/windows - #2 by Peter_Kawa.
As an open contact activates the zone it is in, and also activate all upper zones, you can do something like:
WHEN it is 22:00
AND home zone is inactive
THEN …….
ELSE send message
