I dont have alexa. Only google here.
You give up on that part?
For the previous program, looking forward to.
Greetings
I dont have alexa. Only google here.
You give up on that part?
For the previous program, looking forward to.
Greetings
I didn’t completly give up, but need more time to find other free solutions.
Yes the program I’ll share it ASAP, just need to find my other Nest hubs and check with them. I have shift into a new house so lot of my things are still packed in boxes.
After a long time on this post I come back with a little update. With this update you will be able use the person location automation but with any Google nest hub screen.
Also please note that, all the codes given here is a new way of doing this, so you don’t need to go back and check upper posts or even the PDF. If you have followed the previous posts, I advise to recreate new automations and scripts following this current post. Disable the previous automations / scripts, do this one and once everything is working, if you want you can delete the old stuff.
As you know, we don’t have a direct way to identify to which google we are talking to. We have to find an alternative way. The only known way is to play a music on it.
So, the first thing to do is to create an automation on your google home app. Here the things you need to include:
Automation in Google home App:
Trigger:
When I say to assistant:
“Hey Google where is Person X”
Action:
1- Set the media volum: 70% (this is just my preference)
2- Read sounds for sleep (I have choosen here “rain”)
Now back to home assistant automation page and here you have to create automations as much as devices you have. In my case I have 2 nest hubs, so I will create 2 automations. The goal of these automations are just to call a script (as you guess there will also be 2 scripts, one for each).
Automation 1 for device 1:
alias: Google Nest Hub 1 ID check
description: ""
trigger:
- platform: state
entity_id:
- media_player.nest_hub_1
attribute: media_title
to: Noise of the rain
condition: []
action:
- service: script.toggle
data: {}
target:
entity_id: script.where_is_person_x_nest_hub_1
mode: single
Automation 2 for device 2:
alias: Google Nest Hub 2 ID check
description: ""
trigger:
- platform: state
entity_id:
- media_player.nest_hub_2
attribute: media_title
to: Noise of the rain
condition: []
action:
- service: script.toggle
data: {}
target:
entity_id: script.where_is_person_x_nest_hub_2
mode: single
Here below is the script 1 :
alias: Where is person x - Nest hub 1
sequence:
- if:
- condition: state
entity_id: person.x
state: not_home
then:
- service: tts.cloud_say
data:
entity_id: media_player.nest_hub_1
message: >-
Person x is outside the localized areas, but I'll project a map with his
location in a moment.
- delay:
hours: 0
minutes: 0
seconds: 6
milliseconds: 0
- service: cast.show_lovelace_view
data:
entity_id: media_player.nest_hub_1
dashboard_path: lovelace
view_path: personxmap
- delay:
hours: 0
minutes: 1
seconds: 10
milliseconds: 0
- service: media_player.turn_off
data: {}
target:
device_id: 82c4023ee_your_device1_id
else:
- service: tts.cloud_say
data:
entity_id: media_player.nest_hub_1
message: Person x is near by {{ states('person.x')}}
- delay:
hours: 0
minutes: 0
seconds: 6
milliseconds: 0
- service: cast.show_lovelace_view
data:
entity_id: media_player.nest_hub_1
dashboard_path: lovelace
view_path: personxmap
- delay:
hours: 0
minutes: 1
seconds: 10
milliseconds: 0
- service: media_player.turn_off
data: {}
target:
device_id: 82c4023ee_your_device1_id
mode: single
Here below is the script 2 :
alias: Where is person x - Nest hub 2
sequence:
- if:
- condition: state
entity_id: person.x
state: not_home
then:
- service: tts.cloud_say
data:
entity_id: media_player.nest_hub_2
message: >-
Person x is outside the localized areas, but I'll project a map with his
location in a moment.
- delay:
hours: 0
minutes: 0
seconds: 6
milliseconds: 0
- service: cast.show_lovelace_view
data:
entity_id: media_player.nest_hub_2
dashboard_path: lovelace
view_path: personxmap
- delay:
hours: 0
minutes: 1
seconds: 10
milliseconds: 0
- service: media_player.turn_off
data: {}
target:
device_id: 82c4023ee_your_device2_id
else:
- service: tts.cloud_say
data:
entity_id: media_player.nest_hub_2
message: Person x is near by {{ states('person.x')}}
- delay:
hours: 0
minutes: 0
seconds: 6
milliseconds: 0
- service: cast.show_lovelace_view
data:
entity_id: media_player.nest_hub_2
dashboard_path: lovelace
view_path: personxmap
- delay:
hours: 0
minutes: 1
seconds: 10
milliseconds: 0
- service: media_player.turn_off
data: {}
target:
device_id: 82c4023ee_your_device2_id
mode: single
And so on… I hope this will help who are interested in.
Hi
Great, although i only want to see the result on the device i asked…
So the old way is still good enough?
Any advance on the actionable notifications?
Hi Skank,
Happy to hear that it’s still working for you. Just in case if one day you want it on several devices you have the method here above. As I think we must be the only 2 guys interested with this routine
For the actionable notifications notification I still didn’t find a godd way with Google. Let you know here once I find a way so let’s keep in touch.
Superb! Thx a lot !
Strange we are the only 2 here
You are rigth, very strange. Even on Youtube, google etc… I can’t find anything in french or english. Maybe we have some with other laguages, but I can only speak 3 languages Let’s keep in touch. By the way send me your email in a private message so it’s easy to keep in touch (if you like only).
just pm me here, if u want, i receiver an email then