Commit Graph

366 Commits (4d7e630c21d0279d0a28df8b5ca4f49fa3afcb8b)
 

Author SHA1 Message Date
semantic-release-bot 8dbee4d5e1 chore(release): 2.0.2 [skip ci]
## [2.0.2](https://github.com/weirdtangent/amcrest2mqtt/compare/v2.0.1...v2.0.2) (2025-10-29)

### Bug Fixes

* one wrong sensor state topic; allow None (null) value to be sent ([f382513](f38251344e))
3 months ago
Jeff Culverhouse f38251344e fix: one wrong sensor state topic; allow None (null) value to be sent 3 months ago
Jeff Culverhouse 1d52185673 feature: move things around, cleaner code 3 months ago
github-actions[bot] 072afbed68 chore: update VERSION to 2.0.1 3 months ago
semantic-release-bot b9a999c9bd chore(release): 2.0.1 [skip ci]
## [2.0.1](https://github.com/weirdtangent/amcrest2mqtt/compare/v2.0.0...v2.0.1) (2025-10-27)

### Bug Fixes

* when motion goes idle, also clear region ([ec3f096](ec3f096246))
3 months ago
Jeff Culverhouse 9eb890bad8 feature: added media option to store event recordings on filesystem 3 months ago
Jeff Culverhouse 1a4954b647 refactor: change snapshot from camerga to image entity 3 months ago
Jeff Culverhouse ec3f096246 fix: when motion goes idle, also clear region 3 months ago
github-actions[bot] 24d87d63ac chore: update VERSION to 2.0.0 3 months ago
semantic-release-bot 6394240392 chore(release): 2.0.0 [skip ci]
# [2.0.0](https://github.com/weirdtangent/amcrest2mqtt/compare/v1.1.0...v2.0.0) (2025-10-26)

* feat!: complete MQTT and service refactor, add timestamp + event tracking, and new modular mixins ([e230a76](e230a7673f))

### BREAKING CHANGES

* Project layout moved to `src/amcrest2mqtt/`, internal class and import paths changed.
Users must update configs and volumes to the new structure before deploying.
3 months ago
Jeff Culverhouse d74d12ae79 chore: fix duplicate labels in action 3 months ago
Jeff Culverhouse 7fba91a47e chore(ci): trigger deploy after workflow update 3 months ago
Jeff Culverhouse e230a7673f feat!: complete MQTT and service refactor, add timestamp + event tracking, and new modular mixins
- Rewrote MQTT handling with reconnect, structured logging, and Home Assistant re-discovery triggers
- Introduced modular mixins (`helpers`, `mqtt`, `amcrest_api`) for cleaner architecture
- Replaced `util.py` with internal mixin helpers and `to_gb()` conversions
- Added new `event_text` and `event_time` sensors (with `device_class: timestamp`)
- Added support for doorbell and human-detection binary sensors
- Improved reconnect logic, last-will handling, and clean shutdown on signals
- Overhauled device discovery and state publishing to use unified upsert logic
- Simplified event handling and privacy mode inference from motion/human/doorbell events
- Introduced `tools/clear_mqtt.sh` for quick topic cleanup
- Added full pyproject.toml with lint/test/dev config (Black, Ruff, Pytest)
- Embedded full metadata and image labels in Docker build

BREAKING CHANGE:
Project layout moved to `src/amcrest2mqtt/`, internal class and import paths changed.
Users must update configs and volumes to the new structure before deploying.
3 months ago
Jeff Culverhouse acb0b6b4e1 chore(ci): add OCI image metadata and update docker-compose config 4 months ago
semantic-release-bot b1309b570a chore(release): 1.1.0 [skip ci]
# [1.1.0](https://github.com/weirdtangent/amcrest2mqtt/compare/v1.0.2...v1.1.0) (2025-10-10)

### Features

* **core:** add async process pool, graceful signal handling, and safer config loading ([f025d60](f025d60f75))
4 months ago
Jeff Culverhouse f025d60f75 feat(core): add async process pool, graceful signal handling, and safer config loading
- Added multiprocessing-based connection pooling for faster camera setup
- Implemented robust signal handling (SIGINT/SIGTERM) for graceful shutdown
- Upgraded MQTT client to v5 with improved logging and reconnect behavior
- Added defensive WebRTC config validation to avoid runtime errors
- Introduced unified config loader (`util.load_config`) with boolean coercion
- Improved IP resolution and logging consistency across modules
4 months ago
Jeff Culverhouse a69ffc1667 feature: add REDISCOVER service button 4 months ago
semantic-release-bot ccc368aca1 chore(release): 1.0.2 [skip ci]
## [1.0.2](https://github.com/weirdtangent/amcrest2mqtt/compare/v1.0.1...v1.0.2) (2025-10-09)

### Bug Fixes

* better dns lookup ([172e939](172e939ec0))
4 months ago
Jeff Culverhouse 172e939ec0 fix: better dns lookup 4 months ago
semantic-release-bot ef47e7f7b1 chore(release): 1.0.1 [skip ci]
## [1.0.1](https://github.com/weirdtangent/amcrest2mqtt/compare/v1.0.0...v1.0.1) (2025-10-09)

### Bug Fixes

* tls_set call for ssl mqtt connections ([53ea515](53ea515f00))
4 months ago
Jeff Culverhouse 53ea515f00 fix: tls_set call for ssl mqtt connections 4 months ago
Jeff Culverhouse fd8a8a5e5f chore: normalize github deploy actions 4 months ago
Jeff Culverhouse bbdc623a38 chore: setup monthly docker image rebuild 4 months ago
github-actions[bot] 8ed741e3c9 chore: update VERSION to v1.0.0 4 months ago
Jeff Culverhouse 963f6c3c71 chore: skip invalid PR references 4 months ago
semantic-release-bot ed7df20b9c chore(release): 1.0.0 [skip ci]
# 1.0.0 (2025-10-09)

### Bug Fixes

* ensure entity_id is correct for Storage Used % entity ([f10c04b](f10c04b006))
* fix doorbell entity name when device is called 'Doorbell' ([bd18f74](bd18f74507))
* move to more static Home Assistant topic names ([cfa7b00](cfa7b00135))

### Features

* semantic versioning, github action features, writes a version file, and tags Docker images ([69c4f1a](69c4f1ac57))
4 months ago
Jeff Culverhouse 925ff0c1ba chore: needed to add dev-deps 4 months ago
Jeff Culverhouse 69c4f1ac57 feat: semantic versioning, github action features, writes a version file, and tags Docker images 4 months ago
Jeff Culverhouse 65a3fe5e53 fix config sample, thanks Frank 6 months ago
Jeff Culverhouse 3f080f52e0 feature: lookup camera hostname just once 10 months ago
Jeff Culverhouse 493d3e3878 feature: lookup camera hostname just once 10 months ago
Jeff Culverhouse be99ebe527 ok nevermind 10 months ago
Jeff Culverhouse c50466a3cf how about this way 10 months ago
Jeff Culverhouse 180479cc33 trying again 10 months ago
Jeff Culverhouse 2448176c14 add dns cache to image 10 months ago
Jeff Culverhouse 0aec09ec00 v1.0.0 release 10 months ago
Jeff Culverhouse 517b81ebf1 cleanup docker-compose, this works on my synology 10 months ago
Jeff Culverhouse 3d04b16e28 githib action; cleanup compose 10 months ago
Jeff Culverhouse bfc30f1844 github repo is me, dockerhub is my org 11 months ago
Jeff Culverhouse 9e3f8ef01c send to organization docker hub; README 11 months ago
Jeff Culverhouse c8438581c1 add https apt-get; readme update 11 months ago
Jeff Culverhouse 835fe53c9a fix funding file from fork 11 months ago
Jeff Culverhouse 7ed5e99742 minor docker changes 11 months ago
Jeff Culverhouse 7137ef80f9 use python bookwork instead of alpine 11 months ago
Jeff Culverhouse 33f27af961 Try to get event snapshot to show right last update date/time 11 months ago
Jeff Culverhouse 590f110fbb add retries in a couple places; cleanup; new defaults 11 months ago
Jeff Culverhouse ebdec66335 Ok, back to alipine which has apk 11 months ago
Jeff Culverhouse 5d7f3b583b fall back to stable python3 base image 11 months ago
Jeff Culverhouse 03452091be cleanup some logs 11 months ago
Jeff Culverhouse 445ba9610a added motion_region 11 months ago