#BlueIris Webhook to HA for plate recognizer

1 messages · Page 1 of 1 (latest)

uneven steeple
#

Morning peeps, I have BlueIris setup to fire an alert webhook to HA (used as a trigger) with some Json data.

Ii have blue Irish working using platerecognizer (PR) and in my PR dashboard i see a valid image with a recognised plate.

The thing I'm struggling with is the automation in HA when the webhook is sent to trigger my automation.

So things my setup.

BlueIris -> motion from.zone A to B -> setup with PR and alert webhook -> homeassistanturl/api/webhook/blueirisplate (with json payload "&PLATE"

HA -> automation trigger using webhook with ID blueirisplate

I'm then using a template to check the plate against 2 values. If true then send noti based on the value recognised

When I manually trigger in HA it works and I get a noti. But when BlueIris is triggered with a vehicle, I don't get anything?

This is my automation when non of the two plates are recognised

=====

alias: AI - Drive Blue Iris NOT RECOGNISED
description: ""
triggers:

  • allowed_methods:
    • POST
    • PUT
    • GET
    • HEAD
      local_only: false
      webhook_id: blueiris_plate_trigger
      trigger: webhook
      conditions:
  • alias: Not recognised plate
    condition: template
    value_template: |
    {{ trigger.json['&PLATE'] not in ['S15MFY', 'WG15LLX'] }}
    actions:
  • data:
    title: Unknown Plate Detected
    message: |
    {% if trigger.payload_json is defined %}
    Unrecognized plate: {{ trigger.payload_json['plate'] }}
    {% else %}
    Unrecognized plate detected, but plate number was unavailable.
    {% endif %}
    action: notify.mobile_app_Scottsphome
    alias: Send Noti Unrecognised car
    mode: single

=======

uneven steeple
#

this is my Config for Blue Iris:

uneven steeple
#

im seeing the number plates captured by PlateRecognizer in the dashboard

uneven steeple
#

Has anyone got this working 💪

uneven steeple
#

I've got the plates being recognised via the platerecognizer website and integration from BlueIris... but I'm struggling to figure out the payload to check the plate and in turn, send a notification to my phone

#

And this is my automation. I've added both the webhook and the mqtt as triggers to try and get anything of them working