Jeff Culverhouse
b3fe517158
refactor: Dockerfile updates
3 months ago
Jeff Culverhouse
bb6acf4074
chore: sync to lowercase logged messages
3 months ago
Jeff Culverhouse
693eb1c542
refactor: use new BaseMqttMixin from mqtt_helper
3 months ago
Jeff Culverhouse
8a9602af3b
refactor: pass default quos and retain
3 months ago
Jeff Culverhouse
9b064b2ec8
chore: upgrade packages
3 months ago
Jeff Culverhouse
366ef61544
refactor: simplify device setup; just use cmps instead of modes
3 months ago
Jeff Culverhouse
07b81abecf
feature: add 'version' to logged messages; upgrade packages
3 months ago
github-actions[bot]
ae7c8d3245
chore: update VERSION to v2.2.2
3 months ago
semantic-release-bot
724e30d41e
chore(release): 2.2.2 [skip ci]
...
## [2.2.2](https://github.com/weirdtangent/amcrest2mqtt/compare/v2.2.1...v2.2.2 ) (2025-11-10)
### Bug Fixes
* save recording path as a string not Pathlib path; upgrade packages ([1231871 ](1231871ba7 ))
3 months ago
Jeff Culverhouse
1231871ba7
fix: save recording path as a string not Pathlib path; upgrade packages
3 months ago
Jeff Culverhouse
de3022b920
chore: fix type, upgrade packages
3 months ago
Jeff Culverhouse
fac83349da
Add build and quality status section to README
...
Updated the README to include build and quality status badges.
3 months ago
Jeff Culverhouse
396e8b131e
chore: more python support; build tests
3 months ago
Jeff Culverhouse
1315c70805
chore: log changes to intervals
3 months ago
github-actions[bot]
26c83ff55f
chore: update VERSION to v2.2.1
3 months ago
semantic-release-bot
2dec9d2849
chore(release): 2.2.1 [skip ci]
...
## [2.2.1](https://github.com/weirdtangent/amcrest2mqtt/compare/v2.2.0...v2.2.1 ) (2025-11-09)
### Bug Fixes
* fix interval setting ([165d0c7 ](165d0c723f ))
3 months ago
Jeff Culverhouse
165d0c723f
fix: fix interval setting
3 months ago
Jeff Culverhouse
259d2d2475
chore: upgrade deps
3 months ago
Jeff Culverhouse
8e1cdb313d
chore: minor fixes
3 months ago
github-actions[bot]
3ff272ebe8
chore: update VERSION to v2.2.0
3 months ago
semantic-release-bot
1efc3c0255
chore(release): 2.2.0 [skip ci]
...
# [2.2.0](https://github.com/weirdtangent/amcrest2mqtt/compare/v2.1.0...v2.2.0 ) (2025-11-08)
### Features
* **discovery:** unify service and camera discovery to new HA device schema ([8c7bfd2 ](8c7bfd2b9e ))
3 months ago
Jeff Culverhouse
8c7bfd2b9e
feat(discovery): unify service and camera discovery to new HA device schema
...
* Reworked publish.py and amcrest.py to emit single-payload MQTT device discovery blocks using "platform": "mqtt" and nested "cmps" for entities
* Simplified service entity publication (publish_service_discovery) into unified "device" payload
* Replaced component_type with platform throughout topics and interface definitions
* Refactored build_camera() to generate full per-camera device definition including all sensors, switches, and media links
* Updated publish_device_state() to support targeted subject/sub publishing
* Increased snapshot timeout and backoff (20s, 8s) for better camera stability
* Updated type handling in amcrest_api for network config parsing (cast from tuple or str)
* Bumped coverage dependency → 7.11.2 and refreshed json-logging-graystorm SHA
3 months ago
Jeff Culverhouse
94a4297665
refactor: fully async device setup and improved SDK value handling
...
- Converted device initialization and state building to async coroutines
- Parallelized Amcrest camera connections using asyncio.gather
- Added clean_value() helper for tuple/list/string SDK outputs
- Added fallback for missing DefaultInterface in network config
- Improved error handling, timeouts, and type annotations
- Verified code quality (ruff, black, mypy all passing)
3 months ago
github-actions[bot]
8780d542eb
chore: update VERSION to v2.1.0
3 months ago
semantic-release-bot
3d2ce375e8
chore(release): 2.1.0 [skip ci]
...
# [2.1.0](https://github.com/weirdtangent/amcrest2mqtt/compare/v2.0.12...v2.1.0 ) (2025-11-07)
### Features
* added save recordings and reboot button ([9b4338b ](9b4338b13b ))
3 months ago
Jeff Culverhouse
9b4338b13b
feat: added save recordings and reboot button
3 months ago
Jeff Culverhouse
a6aee2159d
feature: add reboot button, fix other switches
3 months ago
Jeff Culverhouse
1d8c622603
feature: added max_size (MB) to 'media' config section
3 months ago
Jeff Culverhouse
8e12793ae0
refactor: only record specific events as events, not snapshots for example
3 months ago
Jeff Culverhouse
114073e465
feature: add api_call counter, save/restore state to /config dir; simplify getting class vars
3 months ago
github-actions[bot]
f244b55898
chore: update VERSION to v2.0.12
3 months ago
semantic-release-bot
8ac2f13c70
chore(release): 2.0.12 [skip ci]
...
## [2.0.12](https://github.com/weirdtangent/amcrest2mqtt/compare/v2.0.11...v2.0.12 ) (2025-11-06)
### Bug Fixes
* simply event for reporting to HA ([8a58519 ](8a585191a6 ))
3 months ago
Jeff Culverhouse
8a585191a6
fix: simply event for reporting to HA
3 months ago
github-actions[bot]
7867c4864e
chore: update VERSION to v2.0.11
3 months ago
semantic-release-bot
e92bfe79e4
chore(release): 2.0.11 [skip ci]
...
## [2.0.11](https://github.com/weirdtangent/amcrest2mqtt/compare/v2.0.10...v2.0.11 ) (2025-11-06)
### Bug Fixes
* always setup defaults for all states expected at init time ([ee05312 ](ee053122bd ))
3 months ago
Jeff Culverhouse
ee053122bd
fix: always setup defaults for all states expected at init time
3 months ago
github-actions[bot]
9411c279e8
chore: update VERSION to v2.0.10
3 months ago
semantic-release-bot
208e2ea897
chore(release): 2.0.10 [skip ci]
...
## [2.0.10](https://github.com/weirdtangent/amcrest2mqtt/compare/v2.0.9...v2.0.10 ) (2025-11-05)
### Bug Fixes
* return last known state if we fail to get current state, so upsert just works ([2ca75d4 ](2ca75d4128 ))
3 months ago
Jeff Culverhouse
2ca75d4128
fix: return last known state if we fail to get current state, so upsert just works
3 months ago
Jeff Culverhouse
40e235c2df
chore: no need for timezone in config, just set in ENV; update sample files and README
3 months ago
Jeff Culverhouse
9856760cd4
chore: one more note in README about /media files
3 months ago
Jeff Culverhouse
e6e1f67ee7
chore: add README section on /media permissions with Synology
3 months ago
github-actions[bot]
03f09a8a75
chore: update VERSION to v2.0.9
3 months ago
semantic-release-bot
2c7db9feee
chore(release): 2.0.9 [skip ci]
...
## [2.0.9](https://github.com/weirdtangent/amcrest2mqtt/compare/v2.0.8...v2.0.9 ) (2025-11-05)
### Bug Fixes
* more generic Dockerfile; remove old/; better logging for failed /media writes ([33ab975 ](33ab97597f ))
3 months ago
Jeff Culverhouse
33ab97597f
fix: more generic Dockerfile; remove old/; better logging for failed /media writes
3 months ago
github-actions[bot]
50140a8cbd
chore: update VERSION to v2.0.8
3 months ago
semantic-release-bot
a035310481
chore(release): 2.0.8 [skip ci]
...
## [2.0.8](https://github.com/weirdtangent/amcrest2mqtt/compare/v2.0.7...v2.0.8 ) (2025-11-04)
### Bug Fixes
* mkdir /media to prep for mounted volume ([da46ee1 ](da46ee102d ))
3 months ago
Jeff Culverhouse
da46ee102d
fix: mkdir /media to prep for mounted volume
3 months ago
github-actions[bot]
7e37abc4d8
chore: update VERSION to v2.0.7
3 months ago
semantic-release-bot
157bb60e76
chore(release): 2.0.7 [skip ci]
...
## [2.0.7](https://github.com/weirdtangent/amcrest2mqtt/compare/v2.0.6...v2.0.7 ) (2025-11-04)
### Bug Fixes
* add last_device_check sensor; fix service status; only post messages on changes ([1b111b8 ](1b111b8a4f ))
3 months ago