Releases: rhizomatics/anpr2mqtt
Releases · rhizomatics/anpr2mqtt
v1.0.0-beta2
1.0.0
Known Targets Configuration
- Restructured from 2 fixed groups ("known" and "dangerous") to a flexible groups structure, so any number of groups can be created, for example "family","postman","delivery","utility"
- Groups can have an
icon,entity_idandpriority, targets will inherit these if they don't have their own, or leave empty at group level and populate only on group members - Existing config using
knownordangerouswill be translated at runtime to new structure
- Groups can have an
correctionlists of patterns or strings can now be added directly to targetauto_match_tolerancenow moved to Event config- API lookup can be configured at target or group level, defaults to off, since vehicles already known
Target specific sensors in Home Assistant
- Groups and individual targets can be given an
entity_idand a sensor will be created in Home Assistant using MQTT discovery- State for the sensor will be timestamp of last sighting, and combined past history will be attributes
- Any number of vehicles can be combined in a single sensor, so for example see last post vehicle detected, even if several come to the property
- Targets can now be more than a simple string - currently
descriptionandentity_idsupported
Time Analysis
- Previous sightings now have a richer set of analysis, with histogram data by visit hour of day, earliest/latest times
Home Assistant
- Improved example automation
- Icon now configurable in the Event config, previously fixed at
mdi:car-back
Internals and Fixes
- Corrected example configurations
- Refactored internally to a
Sightingclass and a more completeTargetdefinition, replacing ad hoc dicts
Full Changelog: v0.10.2...v1.0.0-beta2
v0.10.2
v0.10.1
0.10.1
- Update Home Assistant example to display a history summary, use the new
spoken_messagefeature of Supernotify, and checkevent_image_urlexisting - Now warns at start up if
image_base_urlhas a trailing slash - Always send a
historyvalue, defaulting to empty dict, to simplify HA templates - Added pypi publishing
What's Changed
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci[bot] in #32
Full Changelog: v0.10.0...v0.10.1
v0.10.0
0.10.0
- Auto match plates with potential errors to known plates, using Levenshtein algorithm, and controlled via new
auto_match_tolerancesetting - Historical analysis now provides a count of times vehicle previously seen
by hour of the day, the earliest and latest time of day ever seen, and if the current visit is within that range
What's Changed
- Update uv-build requirement from <0.12.0,>=0.9.18 to >=0.11.3,<0.12.0 by @dependabot[bot] in #31
Full Changelog: v0.9.2...v0.10.0
v0.9.2
0.9.1
- Fixes for API Client caching and logging
- Report % saved on image compression
- Option to specify a
verify_plateto check the DVLA API at startup
Full Changelog: v0.9.0...v0.9.2
v0.9.0
0.9.0
- Replaced the now doubtfully maintained httpx with niquests, and hishel with requests-cache
- Settings now has configuration for
cache_dirand to choosecache_typebetweenFILEorMEMORY - Add DVLA lookup to the CLI tools
uv run tools dvla_lookup MAG1C --dvla.api_key <my_api_key>
What's Changed
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci[bot] in #24
- Bump actions/attest-build-provenance from 3 to 4 by @dependabot[bot] in #25
- Bump docker/login-action from 3.7.0 to 4.0.0 by @dependabot[bot] in #26
- Bump docker/build-push-action from 6.19.2 to 7.0.0 by @dependabot[bot] in #27
- Bump docker/metadata-action from 5.10.0 to 6.0.0 by @dependabot[bot] in #28
- Bump docker/setup-qemu-action from 3.7.0 to 4.0.0 by @dependabot[bot] in #29
- Update uv-build requirement from <0.11.0,>=0.9.18 to >=0.9.18,<0.12.0 by @dependabot[bot] in #30
Full Changelog: v0.8.0...v0.9.0
v0.8.0
0.8.0
- Autoclear to optionally reset state after period of time
- Validate all regular expressions at startup
What's Changed
- Bump docker/build-push-action from 8c1e8f8e5bf845ba3773a14f3967965548a2341e to 10e90e3645eae34f1e60eeb005ba3a3d33f178e8 by @dependabot[bot] in #16
- Bump astral-sh/ruff-action from 3.5.1 to 3.6.1 by @dependabot[bot] in #15
- Bump docker/login-action from 3.6.0 to 3.7.0 by @dependabot[bot] in #14
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci[bot] in #13
- Bump mkdocs-minify-html-plugin from 0.3.9 to 0.3.10 by @dependabot[bot] in #21
- Bump mkdocs-material from 9.7.4 to 9.7.5 by @dependabot[bot] in #19
- Bump ruff from 0.15.5 to 0.15.6 by @dependabot[bot] in #20
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci[bot] in #18
- Bump cairosvg from 2.8.2 to 2.9.0 by @dependabot[bot] in #22
Full Changelog: v0.7.1...v0.8.0
v0.7.1
0.7.1
Home Assistant Integration
- Now subscribes to the HA 'birth' and 'last will' messages to re-publish on HA restart
- State always published at startup
- Camera settings can be added, to add
areaandlive_urlto the message - Camera Entity can now be added, and option to switch this and/or the Image entity creation
Directory Scanning
watch_treecan be set to recursively watch all subdirectories belowwatch_path
MQTT
- MQTT protocol can now be set up to v5 or down to v3, defaults to v3.11
v0.6.0
0.6.0
- Multiple events now supported, e.g. face detection or line crossing
- OCR field definitions can be reused across events, or different crop definitions for the same value
- For example,
vehicle_directioncould have different bounding boxes, or even values, on different cameras
- For example,
- Suggested area provided for Home Assistant Device if configured
Full Changelog: v0.5.0...v0.6.0
v0.5.0
0.5.0
- Home Assistant Device creation optional
- Simplified OCR coordinates
- Flexible OCR field capture
Full Changelog: v0.4.1...v0.5.0