I have somnotification I need to distribute across my Family.
I would like to be sure that only family member at home and an ntfy server resceive the message.
At home is:
Any familymember connected to WLan. If no member is connected, notify member which where connected in the last 90min.
Notify all if non of this condition are true.
Yes, it is possible to create an automation or script that will do that… but it’s may require some helper entities and/or notification groups.
What is device or integration is providing the device tracker entities you will be using? If you are using a stationary tracker, like one coming from your router, you should be able to use the data contained in its state object as the source for both the “are they home?” condition as well as “who was home within 90 minutes?” condition.
What integration will you be using for notifications?
How are you planning to connect the two logically? For example, do they share a naming convention or are you using Labels? There is a custom integration, NotifyHelper that can help link person entities to notification actions.