Commit Graph

63 Commits (94a42976655267af04ac11137b15eb185e87eda3)

Author SHA1 Message Date
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 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 346fa9cc7e fix github action; fix README 11 months ago
Daniel Chesterton 948a8b565d
Merge pull request #62 from dchesterton/dependabot/github_actions/actions/checkout-3
[ci skip]: Bump actions/checkout from 2.4.0 to 3
4 years ago
Daniel Chesterton 479bd008b6
Merge pull request #61 from dchesterton/dependabot/github_actions/docker/login-action-1.14.1
[ci skip]: Bump docker/login-action from 1.12.0 to 1.14.1
4 years ago
dependabot[bot] 9950622314
[ci skip]: Bump docker/build-push-action from 2.7.0 to 2.10.0
Bumps [docker/build-push-action](https://github.com/docker/build-push-action) from 2.7.0 to 2.10.0.
- [Release notes](https://github.com/docker/build-push-action/releases)
- [Commits](https://github.com/docker/build-push-action/compare/v2.7.0...v2.10.0)

---
updated-dependencies:
- dependency-name: docker/build-push-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
4 years ago
dependabot[bot] 5623e60da7
[ci skip]: Bump actions/checkout from 2.4.0 to 3
Bumps [actions/checkout](https://github.com/actions/checkout) from 2.4.0 to 3.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v2.4.0...v3)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
4 years ago
dependabot[bot] 93f239feeb
[ci skip]: Bump docker/login-action from 1.12.0 to 1.14.1
Bumps [docker/login-action](https://github.com/docker/login-action) from 1.12.0 to 1.14.1.
- [Release notes](https://github.com/docker/login-action/releases)
- [Commits](https://github.com/docker/login-action/compare/v1.12.0...v1.14.1)

---
updated-dependencies:
- dependency-name: docker/login-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
4 years ago
Daniel Chesterton fd2123535d Switch action for bump-version 4 years ago
Daniel Chesterton 477aa89606
Merge pull request #52 from dchesterton/dependabot/github_actions/docker/login-action-1.12.0
[ci skip]: Bump docker/login-action from 1.10.0 to 1.12.0
4 years ago
dependabot[bot] afaef732c5
[ci skip]: Bump docker/login-action from 1.10.0 to 1.12.0
Bumps [docker/login-action](https://github.com/docker/login-action) from 1.10.0 to 1.12.0.
- [Release notes](https://github.com/docker/login-action/releases)
- [Commits](https://github.com/docker/login-action/compare/v1.10.0...v1.12.0)

---
updated-dependencies:
- dependency-name: docker/login-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
4 years ago
dependabot[bot] 4cd3b1add8
[ci skip]: Bump actions/checkout from 2.3.5 to 2.4.0
Bumps [actions/checkout](https://github.com/actions/checkout) from 2.3.5 to 2.4.0.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v2.3.5...v2.4.0)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
4 years ago
Daniel Chesterton 2886e5c1ca
Merge pull request #36 from dchesterton/dependabot/github_actions/docker/build-push-action-2.7.0
[ci skip]: Bump docker/build-push-action from 2.6.1 to 2.7.0
4 years ago
Daniel Chesterton 9ba2544237
Merge pull request #39 from dchesterton/dependabot/github_actions/docker/setup-buildx-action-1.6.0
[ci skip]: Bump docker/setup-buildx-action from 1.5.1 to 1.6.0
4 years ago
Daniel Chesterton ed38b86eb6 Change bump-version 4 years ago
dependabot[bot] 781becf0d0
[ci skip]: Bump actions/checkout from 2.3.4 to 2.3.5
Bumps [actions/checkout](https://github.com/actions/checkout) from 2.3.4 to 2.3.5.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v2.3.4...v2.3.5)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
4 years ago
dependabot[bot] 65623b45a2
[ci skip]: Bump docker/setup-buildx-action from 1.5.1 to 1.6.0
Bumps [docker/setup-buildx-action](https://github.com/docker/setup-buildx-action) from 1.5.1 to 1.6.0.
- [Release notes](https://github.com/docker/setup-buildx-action/releases)
- [Commits](https://github.com/docker/setup-buildx-action/compare/v1.5.1...v1.6.0)

---
updated-dependencies:
- dependency-name: docker/setup-buildx-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
4 years ago
dependabot[bot] 4af6eac710
[ci skip]: Bump docker/build-push-action from 2.6.1 to 2.7.0
Bumps [docker/build-push-action](https://github.com/docker/build-push-action) from 2.6.1 to 2.7.0.
- [Release notes](https://github.com/docker/build-push-action/releases)
- [Commits](https://github.com/docker/build-push-action/compare/v2.6.1...v2.7.0)

---
updated-dependencies:
- dependency-name: docker/build-push-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
5 years ago
Daniel Chesterton d7e52c0843 Add STORAGE_POLL_INTERVAL environment variable 5 years ago
Daniel Chesterton dc6b6c0149
Merge pull request #21 from dchesterton/dependabot/github_actions/docker/login-action-1.10.0
[ci skip]: Bump docker/login-action from 1.9.0 to 1.10.0
5 years ago
Daniel Chesterton 2687358810
Merge pull request #25 from dchesterton/dependabot/github_actions/docker/build-push-action-2.6.1
[ci skip]: Bump docker/build-push-action from 2.5.0 to 2.6.1
5 years ago
dependabot[bot] 3ee2a7bf64
[ci skip]: Bump docker/setup-buildx-action from 1.3.0 to 1.5.1
Bumps [docker/setup-buildx-action](https://github.com/docker/setup-buildx-action) from 1.3.0 to 1.5.1.
- [Release notes](https://github.com/docker/setup-buildx-action/releases)
- [Commits](https://github.com/docker/setup-buildx-action/compare/v1.3.0...v1.5.1)

---
updated-dependencies:
- dependency-name: docker/setup-buildx-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
5 years ago
dependabot[bot] 441905c91f
[ci skip]: Bump docker/build-push-action from 2.5.0 to 2.6.1
Bumps [docker/build-push-action](https://github.com/docker/build-push-action) from 2.5.0 to 2.6.1.
- [Release notes](https://github.com/docker/build-push-action/releases)
- [Commits](https://github.com/docker/build-push-action/compare/v2.5.0...v2.6.1)

---
updated-dependencies:
- dependency-name: docker/build-push-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
5 years ago
dependabot[bot] a5a9383ad4
[ci skip]: Bump docker/login-action from 1.9.0 to 1.10.0
Bumps [docker/login-action](https://github.com/docker/login-action) from 1.9.0 to 1.10.0.
- [Release notes](https://github.com/docker/login-action/releases)
- [Commits](https://github.com/docker/login-action/compare/v1.9.0...v1.10.0)

---
updated-dependencies:
- dependency-name: docker/login-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
5 years ago
Daniel Chesterton 1b85a28e01 Fix workflow 5 years ago
Daniel Chesterton 2a683fefc8 Fix workflow 5 years ago
Daniel Chesterton afb215850c Fix workflow 5 years ago
Daniel Chesterton bb3e636119 Fix workflow 5 years ago
Daniel Chesterton f814b9dd3c Fix workflow 5 years ago
Daniel Chesterton 1661d85b48 Fix workflow 5 years ago
Daniel Chesterton 2e3e3afc4d Add support for human detection on AD410 and add versioning 5 years ago
Daniel Chesterton 0407bca341
Merge pull request #15 from dchesterton/dependabot/github_actions/docker/build-push-action-2.5.0
[ci skip]: Bump docker/build-push-action from 2.4.0 to 2.5.0
5 years ago
dependabot[bot] 43be1e057d
[ci skip]: Bump docker/build-push-action from 2.4.0 to 2.5.0
Bumps [docker/build-push-action](https://github.com/docker/build-push-action) from 2.4.0 to 2.5.0.
- [Release notes](https://github.com/docker/build-push-action/releases)
- [Commits](https://github.com/docker/build-push-action/compare/v2.4.0...v2.5.0)

Signed-off-by: dependabot[bot] <support@github.com>
5 years ago
dependabot[bot] 4f02c1c573
[ci skip]: Bump docker/setup-qemu-action from 1.1.0 to 1.2.0
Bumps [docker/setup-qemu-action](https://github.com/docker/setup-qemu-action) from 1.1.0 to 1.2.0.
- [Release notes](https://github.com/docker/setup-qemu-action/releases)
- [Commits](https://github.com/docker/setup-qemu-action/compare/v1.1.0...v1.2.0)

Signed-off-by: dependabot[bot] <support@github.com>
5 years ago
Daniel Chesterton 9208383938
Merge pull request #8 from dchesterton/dependabot/github_actions/docker/setup-buildx-action-1.3.0
Bump docker/setup-buildx-action from 1 to 1.3.0
5 years ago
Daniel Chesterton d7d30b10a6
Merge pull request #9 from dchesterton/dependabot/github_actions/docker/setup-qemu-action-1.1.0
Bump docker/setup-qemu-action from 1 to 1.1.0
5 years ago