Skip to content

Commit 54ea7df

Browse files
mathewpetersonfabaff
authored andcommitted
Fix/openalpr docs (home-assistant#1790)
* Fixes image_processing.openalpr_cloud.markdown Fixes image_processing.openalpr_cloud.markdown with correct configuration variables * Fixes image_processing.openalpr_local.markdown Fixes image_processing.openalpr_local.markdown with correct configuration variables
1 parent 9f5b997 commit 54ea7df

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed

source/_components/image_processing.openalpr_cloud.markdown

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,15 +21,16 @@ ha_release: 0.36
2121
# Example configuration.yaml entry
2222
image_processing:
2323
- platform: openalpr_cloud
24+
api_key: 'sk_abcxyz123456'
2425
region: eu
2526
source:
2627
- entity_id: camera.garage
2728
```
2829
Configuration variables:
2930
3031
- **region** (*Required*): Country or region. List of supported [values](https://github.com/openalpr/openalpr/tree/master/runtime_data/config).
31-
- **alpr_bin** (*Optional*): The command line tool alpr from OpenALPR software for local processing. Defaults to `alpr`.
32-
- **confidence** (*Optional*): The minimum of confidence in percent to process with Home Assistant. Defaults to 80.
32+
- **api_key** (*Required*): You need an API key from [OpenALPR Cloud](https://cloud.openalpr.com/).
33+
- **confidence** (*Optional*): The minimum of confidence in percent to process with Home Assistant. Defaults to 80.
3334
- **source** array (*Required*): List of image sources.
3435
- **entities** (*Required*): A list of devices to add in Home Assistant.
3536
- **name** (*Optional*): This parameter allows you to override the name of your OpenALPR entity.

source/_components/image_processing.openalpr_local.markdown

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,20 +35,20 @@ $ wget -O- -q http://plates.openalpr.com/h786poj.jpg | alpr -
3535

3636
### {% linkable_title Configuration Home Assistant %}
3737

38+
3839
```yaml
3940
# Example configuration.yaml entry
4041
image_processing:
41-
- platform: openalpr_cloud
42-
api_key: 'sk_abcxyz123456'
42+
- platform: openalpr_local
4343
region: eu
4444
source:
4545
- entity_id: camera.garage
4646
```
4747
Configuration variables:
4848
4949
- **region** (*Required*): Country or region. List of supported [values](https://github.com/openalpr/openalpr/tree/master/runtime_data/config).
50-
- **api_key** (*Required*): You need an API key from [OpenALPR Cloud](https://cloud.openalpr.com/).
51-
- **confidence** (*Optional*): The minimum of confidence in percent to process with Home Assistant. Defaults to 80.
50+
- **alpr_bin** (*Optional*): The command line tool alpr from OpenALPR software for local processing. Defaults to `alpr`.
51+
- **confidence** (*Optional*): The minimum of confidence in percent to process with Home Assistant. Defaults to 80.
5252
- **source** array (*Required*): List of image sources.
5353
- **entities** (*Required*): A list of devices to add in Home Assistant.
5454
- **name** (*Optional*): This parameter allows you to override the name of your OpenALPR entity.

0 commit comments

Comments
 (0)