Sry, I totally missed your message. Is that still an issue? I just had a look into the code and I think this is fixed now.
Try zne-{{person}} for the tag. There is a typo in the description.
Sry, I totally missed your message. Is that still an issue? I just had a look into the code and I think this is fixed now.
Try zne-{{person}} for the tag. There is a typo in the description.
Hi,
the blueprint is worth its weight in gold and works great. However, there is one small thing that I am missing or I donāt know how it works exactly. Can I, or rather how can I add a tag to the notification when arriving or leaving the zone?
Normally this is done using the data field and then tag: xxx
Then it is possible to delete these messages automatically, for example after a certain time.
Many thanks in advance.
Ok last question , I am very close to having this set up perfectly. I am trying to use a simple custom condition using input boolean to have certain zones only trigger once per day. I am having trouble getting it working though , itās not preventing the notification. Here is my custom conditionā¦
Both the zone and boolean are referenced correctly
Try this:
{{ not (state_attr('zone.husky','friendly_name') == zone and is_state('input_boolean.husky_notified', 'on')) }}
Is it correct that you want to block the notification if the input boolean is on? If not just delete the not at the beginning of the expression.
Yeah thatās what Iām trying exactly. For some reason I cant get it to block the notification even with your template thoughā¦seems pretty straightforward too. Maybe I am trying to do this the wrong way
Could you share your automation configuration in yaml?
Sure!
alias: Zone Notification Extended
description: ""
use_blueprint:
path: panhans/zone_notification_extended.yaml
input:
notify_group: all_devices
persons:
- person.travis
- person.wife
zones_leaving:
- zone.home
- zone.local
- zone.work
zones:
- zone.home
- zone.fred_meyer
- zone.husky
- zone.local
- zone.gpa
- zone.pgate
- zone.salon
- zone.safeway
- zone.sisters
- zone.school
custom_conditions: []
title_arriving: "{{ person }}"
message_arriving: "{{ person }} is at {{ zone }}."
title_leaving: "{{ person }}"
message_leaving: "{{ person }} left {{ zone }}."
tag: zne-{{person}}
critical_notification: true
custom_conditions_arriving:
- condition: template
value_template: >-
{{ not (state_attr('zone.husky','friendly_name') == zone and
is_state('input_boolean.husky_notified', 'on')) }}
I have moved the template from custom conditions to arriving conditions and back a few times testing it. Neither way results in the notification not being sent. I have separate automations for triggering and resetting my boolean and theyāre working properly.
I didnāt change anything but it seems like it started working now
Edit: still not working
Ok, try this. Works for me:
{{ not (state_attr('zone.husky','friendly_name') | trim == zone_to | trim and is_state('input_boolean.husky_notified', 'on')) }}
Hi, nice work there.
One suggestion though: Could you add option for android auto?
car_ui: true/false
It would be nice to see notification on my car display if Iām near store and have items in shopping list. This works fine be me on phone.
I am using the Life360 integration for presence. It provides the state ādrivingā. Problem is, this integration sees ādrivingā as a zone, so it is sending me messages that the person āhas arrived at drivingā. I donāt want that. How can I exclude ādrivingā as a zone in the automation?
First off, thank you so much for this blueprint. I am very new to Home Assistant in general, and even newer to the concept of blueprints.
Iāve read through the entire ZNE topic/thread. Would it be possible to elaborate at a basic level the Notification Group setting? I looked at the ZNE FAQ and didnāt find any beginner level information on being able to send a notification to both the HA Personās phone, and the spouse of the HA Personās phone.
When I was working, many things were more intuitively obvious to me. Having been retired for over a decade, I sadly am finding less and less intuitively obvious. If someone were willing to be more āstep by stepā I would be quite appreciative. I hope someday I will get to the state where HA things are more obvious to me but unfortunately for me, (and for my wifeās andriod notifications) I am not there yet.
Thank you again for the work youāve done on the blueprint, and the time youāve spent reading this.
Hi gar.nelson,
Welcome to the forum. Letās see if I can be of any assistance.
Your best bet would be to look at the Blueprints Exchange - Home Assistant Community category and find a blueprint that one of the community members has written that will help you with this. I believe there are several. I have one that doesnāt do exactly that but similar as well.
If you are looking for tips on other things, The Home Assistant Cookbook - Index might be able to help there.
Thank you for your response. As I wrote earlier, Iām specifically trying to get Zome Notification Extended notifications to go to both my phone, and my wifeās phone. That is why I commented in this Zone Notification Extended comment area. My guess is that it would be a fairly common procedure to get notifications to two parties living in the same household, and thought it might appear as part of the FAQ. I know there is some sort of edit to a yaml file that I would guess many, many, many people have already doneāI just donāt āgetā yaml files yet. Thatās why I posted here, specifically looking for a solution to a shortcoming I have with Zone Notification Extended notifications specifically due to my current lack of Home Assistant yaml programming knowledge.
Yeah youāll need to create a notification group in your configuration.yaml file. Did you get it figured out?
Not yet. I learn more every day, but I havenāt learned that yet. I havenāt given up though, so Iāll get it at some point and my phone will not be the only notification device.
Thank you for an outstanding blueprint. I am trying to apply waze travel time but for the sensor in your example wont work since each zone has it own sensor to home. I would appreciate if you can explain how to achieve that with an example code.
I didnāt use waze travel time. But it seems there are several sensors for the one integration that directs to the home zone?
I am not aware of that! But I would appreciate it if anyone can share their experience with waze using this blueprint.
@panhans First of all big thanks for the blueprint.
I set ip up so when I arrive home that he send me a notification, so far so good it worked fine. But I want to add another condition before the action part should be triggered, I donāt want to receive a notification outside the house, I want to just receive it when I open the door, and here comes the problem, if I add a Custom Condition like this:
condition: state
entity_id: binary_sensor.maximinos_door_sensor
state: "on"
when it detects that Iām home, the door sensor is not open yet, so it returns false and donāt send the notification. Is it possible to do what I want?
Thanks.