OpenALPR Local

OpenALPR integration for Home Assistant allows you to process licences plates from a camera. You can use them to open a garage door or trigger any other automation.

For using inside automation look on component page.

Local installation

If you want process all data locally, you need version 2.3.1 or higher of the alpr commandline tool.

If you don’t find binaries for your distribution you can compile from source. Documentation of how to build OpenALPR is found here.

On a Debian system you can use this cmake command to build only the command line tool:


For other operating system please refer to the OpenALPR wiki.

Verify your alpr installation with:

$ wget -O- -q | alpr -

Configuration Home Assistant

# Example configuration.yaml entry
 - platform: openalpr_local
   region: eu
    - entity_id: camera.garage

Configuration variables:

  • region (Required): Country or region. List of supported values.
  • alpr_bin (Optional): The command line tool alpr from OpenALPR software for local processing. Defaults to alpr.
  • confidence (Optional): The minimum of confidence in percent to process with Home Assistant. Defaults to 80.
  • source array (Required): List of image sources.
    • entities (Required): A list of devices to add in Home Assistant.
    • name (Optional): This parameter allows you to override the name of your OpenALPR entity.