Commit Graph

9 Commits (de3b0deaa78f176c6c95595029a5e7d81360a864)

Author SHA1 Message Date
Jeff Culverhouse c16680bd04 chore: add clear.sh tool for clearing retained messages in MQTT broker 3 months ago
Jeff Culverhouse 8a9602af3b refactor: pass default quos and retain 3 months ago
Jeff Culverhouse 1d52185673 feature: move things around, cleaner code 3 months ago
Jeff Culverhouse 9eb890bad8 feature: added media option to store event recordings on filesystem 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 69c4f1ac57 feat: semantic versioning, github action features, writes a version file, and tags Docker images 4 months ago
Jeff Culverhouse 9ffed93fac lots of change, config changes, added snapshots and webrtc link capability 11 months ago
Jeff Culverhouse a551bd80a6 add support for config.yaml; sample config; revamp config 12 months ago
Daniel Chesterton 138d731260 Initial commit 5 years ago