Hi all, I'm trying to work out how to get Home Assistant to log reg plates from a Unifi protect camera.
I think I will need to do this with webhooks that the camera is able to POST.
But I am.uncertain how to get HA to log this info into a file or even display it on a dash.
I have tried this but I think I'm getting some thing wrong
alias: "Log Data from ANPR Webhook"
description: "Logs incoming data from the ANPR webhook for debugging purposes"
trigger:
- platform: webhook
webhook_id: "anpr_webhook"
action: - service: persistent_notification.create
data:
message: "{{ trigger.json | tojson }}"
title: "ANPR Webhook Data"
mode: single