Really like the Zone Notifications Extended Blueprint!
Is it possible to make finer steps in Duration? I have experienced WiFi glitches that trigger a zone automation, but only last a short time. There are some correct zone changes that open my garage door for instance that 1 minute could be longer than desired. Maybe 30 sec steps for Durations?
Iāve got basic notifications set up for entering/leaving a zone. I wanted to add a button for viewing my map for each notification but I cant get this working.
Hello, Iāve been trying to diagnose a issue, itās not working for my ios device, but on Android is working. All type of notifications are enabled in the settings, tried using the notify group and also selected the device to be notified in the ui. Other integrations can send messages to the same device.
I remember iOS notification had this issue when the tag wasnāt set. (I may need to find a default. For android it works flawlessly) Could you test it out? You also can trigger the automation just for your iOS device and share the trace log with me.
I may not have understood your response, but I reloaded the Extended Blueprint (shows version 3.5.2) but the slider is still 1 min steps. I thought I would see a duration to specify min, sec etc.
Should I be doing something different to get the 30 sec duration?
Could you give an example on how you should do that inside the UI or YAML-code?
I canāt seem to grasp it, and would like to experiment with thisā¦
Scenario:
If user is in a zone for 30 sec => Notification "{{user}} arrived at zone {{zone}};
If user !== in a zone for 30 sec => Notification ā{{user}} passed through {{zone}}ā
If user left the zone after more than 30 sec => "{{user}} left zone {{zone}} "
Could you please give me some directions, or give a hand in this?
Iām getting an the following error when using the new blueprint: Fout: UndefinedError: 'dict object' has no attribute 'entity_id'"
There are no other errors shown. (Could be the above error is because I was manually triggering the automation instead of the normal way)
Which is strange, because the blueprint worked perfectly before.
I do not recieve any notifications at all anymore, and Iām sure the zone is for the tracked person is updated properly (checked using the entity status of the tracked person)
Iām using iOS notifications, but nothing is recieved/sent.
Whe I go to developer tools, and change the current zone to another using the entity status editor, I also do not receive any notification on my iPhone.
@panhans Any idea whatās wrong? Could I share some code with you so it could be fixed? I think there is a bug in the updated code unfortunatelyā¦
After a restart of HA the error disappears, although the notifications are not being sent out or recieved on my iPhone.
@panhans:
The logbook of HA itself (inside system => logbook) says:
Logger: homeassistant.helpers.template
Bron: helpers/template.py:2613
Eerst voorgekomen: 11:14:17 (1 gebeurtenissen)
Laatst gelogd: 11:14:17
Template variable warning: 'tag' is undefined when rendering '{{ iif(tag != '', tag, 'zne'+(range(1, 99999) | random | string)) }}'
And 1 second after that the following error is there in the system logbook:
Logger: homeassistant.components.mobile_app.notify
Bron: components/mobile_app/notify.py:199
integratie: Mobiele app (documentatie, problemen)
Eerst voorgekomen: 11:14:17 (2 gebeurtenissen)
Laatst gelogd: 11:14:18
[apns-collapse-id] header cannot be empty. This message is generated externally to Home Assistant.
Hello!! I love this notification setup, I just had a quick question. I am using it to track two people, and I would like to just have one notification per person, that replace each when the location is updated. Iāve tried using āpersonā as the tag but it doesnāt appear to work as I was hoping.
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.
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ā¦
condition: template
value_template: >-
{% if zone == āzone.huskyā and
is_state(āinput_boolean.husky_notifiedā, āonā) %}
false
{% else %}
true
{% endif %}
Both the zone and boolean are referenced correctly