Commit Graph

15 Commits (41ec32af471c25e4e65451363e09c83099956140)

Author SHA1 Message Date
Jeff Culverhouse 396e8b131e chore: more python support; build tests 3 months ago
Jeff Culverhouse 1b111b8a4f fix: add last_device_check sensor; fix service status; only post messages on changes 3 months ago
Jeff Culverhouse 35c8486b96 chore: std Dockerfile and docker-compose, plus a few other fixes 3 months ago
Jeff Culverhouse 7e83bda129 ci: allow schedule to build and deploy 3 months ago
Jeff Culverhouse 0d7e8d9cb7 ci: allow schedule to build and deploy; add healthcheck to sample docker-compose 3 months ago
Jeff Culverhouse 1d52185673 feature: move things around, cleaner code 3 months ago
Jeff Culverhouse d74d12ae79 chore: fix duplicate labels in action 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
Jeff Culverhouse fd8a8a5e5f chore: normalize github deploy actions 4 months ago
Jeff Culverhouse bbdc623a38 chore: setup monthly docker image rebuild 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 3d04b16e28 githib action; cleanup compose 10 months ago
Jeff Culverhouse 9e3f8ef01c send to organization docker hub; README 11 months ago
Jeff Culverhouse 346fa9cc7e fix github action; fix README 11 months ago