Quantcast
Channel: Configuration - Home Assistant Community
Viewing all articles
Browse latest Browse all 95919

Presence detection not triggering automation

$
0
0

@D34DC3N73R wrote:

I’m new to home assistant and I’m having trouble getting some automations to work. I installed via docker and went through the initial setup. For presence detection, I’m using asuswrt. This is what I have in my configuation.yaml

asuswrt:
  host: 192.168.0.1
  username: admin
  ssh_key: /config/id_rsa
  port: 22
  sensors:
    - upload
    - download
    - upload_speed
    - download_speed

I see devices listed as home or away correctly, and have added relevant devices to the appropriate persons, which also show home or away correctly.

I set up automations through the gui, and can trigger the actions manually. The following is an example of an automation that doesn’t trigger when my device gets home.

- id: '1576998215828'
  alias: Say Hi
  description: custom greetings from google home
  trigger:
  - entity_id: person.me
    event: enter
    platform: zone
    zone: zone.home
  condition: []
  action:
  - data_template:
      message: '{{ (''Welcome home. Its good to see you.'', ''Whats shakin-bacon'', ''whats-up... buttercup'' )|random }}'
    entity_id: media_player.google_home
    service: tts.google_say

In the logbook, I can see people set to away when they leave, and home when they arrive, but there isn’t any reference to the automations. Can anyone point me in the right direction to see why these aren’t working?

Posts: 10

Participants: 3

Read full topic


Viewing all articles
Browse latest Browse all 95919

Trending Articles