#Help with condition in automation Frigate, motion sensor and Frigate person count

1 messages · Page 1 of 1 (latest)

vapid marsh
#

Question regarding my automation and why it doesn't work as intended. Here it is: ```alias: "Motion sensor last person detected - test "
description: ""
triggers:

  • trigger: state
    entity_id:
    • binary_sensor.blabla_occupancy
      to: "on"
      conditions:
  • condition: numeric_state
    entity_id: sensor.vhodnavrata_person_count
    above: 0
    actions:
  • action: notify.mobile_app_vog_l29
    metadata: {}
    data:
    title: Last person detected
    message: Motion
    data:
    image: /api/image_proxy/image.vhodnavrata_person
    mode: single
dusky grove
#

you're gonna need to provide more info than that

#

your audience is people who have no idea what you're trying to do or what the problem is

vapid marsh
#

Basically when someone comes to my front door and my motion sensor detects it i'd like it to send the notification with a picture attached, with the condition that the cameras also detect the person

#

I tried different things with the frigate entity but I can't get it working

dusky grove
#

still, what part of it isn't working and how isn't it working?

#

did you confirm that that sensor is reporting greater than 0 when you want the condition to pass?

#

"can't get it working" isn't enough

vapid marsh
#

Haven't confirmed

#

The automation is not firing reliably and basically the condition is to blame

#

While if i just use the motion trigger i get "ghost" events

dusky grove
#

so you need to confirm

#

that's the entire problem here

vapid marsh
#

I was thinking if someone know the right entity to use as a condition

#

Maybe the person count one isn't the right one

vapid marsh
#

@dusky grove do you have any experience with the Frigate integration and can help me out with the entity?

vapid marsh
#

Both the sensors that i tried seem to work reliably

#

But the automation doesn't