Je vous ai donner la réponse ici plu haut .
Personne ne m’écoute ?
bla bla!
Si c’est comme cela, Je n’ai plu envie de répondre
Cela fonctione pour moi !
I gave you the answer above.
Is no one listening to me?
Blah blah!
If that’s how it is, I don’t want to answer anymore.
It works for me.
1 Like
What can happen is that motion is detected by Frigate even if the car stands still (stationary object). It then runs through the object detection process again. It then depends if your license plate is clearly visible and detectable. If not it might change its state to unknown.
I had that issue with detecting my car in my carport even if it did not move. That can be avoided with zones. Check “stationary objects” in the Frigate docs.
i solve the problem and now is working with this automation
triggers:
- topic: frigate/tracked_object_update
trigger: mqtt
conditions:
- condition: template
value_template: "{{ trigger.payload_json.type == 'lpr' }}"
- condition: or
conditions:
- condition: template
value_template: "{{ trigger.payload_json.plate != 'xxxxxx' }}"
- condition: template
value_template: "{{ trigger.payload_json.plate != 'xx-xxxx' }}"
- condition: template
value_template: "{{ trigger.payload_json.plate != 'xx-xx-xx' }}"
- condition: template
value_template: "{{ trigger.payload_json.plate != 'XXXXXX' }}"
- type: is_not_open
condition: device
device_id: ff6e2d5aaaae8541dceeabaeb75dee2e
entity_id: be89da71bbe72911372aa274ef073a1f
domain: binary_sensor
actions:
- type: turn_off
device_id: ff6e2d5aaaae8541dceeabaeb75dee2e
entity_id: bf3881e894f6ba57ca0431f82275acae
domain: switch
@neojudgment i tried to search for that but couldn’t understand how to make it work but yeah basically that the solution, thank you.
Thanks to all for the help
1 Like