Thatâs bad, I am sure you have backups? Get rid of that Pi for a NUC, best thing I ever did.
No faults and colour is working great, I only have it set up for one person so will add a few more and report back asap.
Thatâs bad, I am sure you have backups? Get rid of that Pi for a NUC, best thing I ever did.
No faults and colour is working great, I only have it set up for one person so will add a few more and report back asap.
Thanks for your feedback.
Yes, I purchased a nuc like mini-pc with an intel n100 (TDP: 6 Watts). I am I little courious about it.
Mine is on a celeron nuc with 4gb ram and 128gb ssd and has been solid since (been running about 3 yrs now), the re-use market is great. I also now have a Lenovo Thinkcentre i5 running proxmox for a homelab with 2 x nas servers for my media etc. You wonât look back.
As for the blueprint, excellent thank you, working as expected.
Hi. Still kind of new to HA and just discovered your blueprint. Looks great. However, I was not able to test is, with your instructions (set status Karin from not_home to zone.sint_augustinus).
This is how it looks in my HA:
Thx for your feedback. Greetings from Belgium.
Hey! Thanks for your feedback! Just set it to the friendly name. Not the entity id zone.sint_augustinus but the human readable name you gave.
That was quick, Hans. Many thanks.
Zones are now:
zones:
Still no luck with the test.
(Strange that I had to change the zone into the friendly name. In the many examples you give throughout the posts/replies, you never mentioned this.)
Can you just provide your trace log after changing the state of the person?
Hi panhans,
That would be:
Many thanks.
Update:
Thinking I may have misunderstood, I change the status of person.karin into Sint-Augustinus (using the friendly name). And set the zone back to the entity_id in your blueprint. Iâll check that:-).
After trying: no good either. This is the related trace.
Sorry for the trouble.
(Thought I would think your UI is so convenient that you miss. Where it refers to the zone, the UI presents the entity id, not the friendly name.)
There is something wrong with your zones. Seems they dont have friendly names.
Check them in your developer options. Did you define them over ui (map) or yaml? If yaml then add a friendly_name.
Here is how it looks when you specified in using the build in map:
That works. Thank you so much. Can I buy you a coffee?
Wanted to show off to my wife and it didnât work.
Let me summarize your feedback:
editable: true
id: karin
latitude: 27.140311910796107
longitude: 33.83025689053706
gps_accuracy: 8.690756394656912
source: device_tracker.karin_iphone
user_id: 536573ee05f84290819db1e842dc51e9
device_trackers:
- device_tracker.karin_iphone
friendly_name: Karin
Friendly name in the code being my wifes name. Then I get this error:
Executed: 21 oktober 2023 om 17:17:10
Error: UndefinedError: âdict objectâ has no attribute âentity_idâ
Hey, here is how you edit/add zones: Zone - Home Assistant
In the developer menu you can check your zones by filtering with âzone.â
Or just have a look on your map (you can find it in the menu bar).
Add your zones and persons you want using this blueprint to your automation.
Once you did this. Everything is setup.
For testing:
Explanation: If you enter a zone in real life the state of the person will be set to the friendly name of the zone. That will trigger the automation and the notification. If you have trouble please share your trace log again.
Iâm trying but I donât see any mistakes.
â Person is added: person.karin with friendly name Karin
â zones are added: zone.sint-augustinus with friendly name Sint-Augustinus
â set state of person.karin/Karin to Sint-Augustinus (see screenshot)
This is the status code:
latitude: 51.17459973293442
longitude: 4.417934383994718
radius: 139.53221380348157
passive: false
persons:
- person.karin
editable: true
icon: mdi:map-marker
friendly_name: Karin
The automation is set to send a notification when my wife enters or leaves that zone.
Yaml config is checked and restarted.
This is the code again.
(Two coffees?)
Could you double check the trace log again? Itâs cut off. (select all text â ctrl/cmd + A (if you donât know otherwise: sorry ))
This should be it. Looks the same, though.
Oh, sry. Seems Home Assistant has a bug. It cut offs the log when converting the color for notification. Will see if I could fix this with a test version of the blueprint.
Ok. And thatâs why the automation doesnât run? Or does this bug only affect the log?
For me the blueprint works fawlessly. Just want to figure out whats wrong with your configuration or maybe there is a unknown bug in my blueprint.
This version should generate a complete log. Coloring for notificatons donât work with this one. I will open an issue in the home assistant repository. For some reason trace logs will cut off if there is a hashtag in a string. Everything after is handles like a comment.
Please try this version and share the trace again, thank you!
This should be it: