Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/zix99/ha-adapters
Home assistant MQTT adapters, including Amcrest AD410
https://github.com/zix99/ha-adapters
amcrest dahua home-assistant home-assistant-addons mqtt mqtt-client
Last synced: about 1 month ago
JSON representation
Home assistant MQTT adapters, including Amcrest AD410
- Host: GitHub
- URL: https://github.com/zix99/ha-adapters
- Owner: zix99
- Created: 2023-01-27T01:20:57.000Z (almost 2 years ago)
- Default Branch: master
- Last Pushed: 2024-01-03T01:05:40.000Z (almost 1 year ago)
- Last Synced: 2024-01-03T02:58:53.525Z (almost 1 year ago)
- Topics: amcrest, dahua, home-assistant, home-assistant-addons, mqtt, mqtt-client
- Language: Go
- Homepage:
- Size: 40 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ha-adapters for MQTT
Initially influenced by [https://github.com/dchesterton/amcrest2mqtt/](https://github.com/dchesterton/amcrest2mqtt/), this project is to promote some
better type-safe error handling for longevity and reliability of the integration. Combines key functionality across amcrest2mqtt and python
supporting library.Generally written to be extensible to other devices that may want to publish sensors to MQTT.
## AD410 Doorbell MQTT Adapter
The `AD410` adapter integrates with the Amcrest Doorbell AD410. To use, you need a small set of either environment
or CLI variables:```sh
AD410_URL=http://doorbell-hostname
AD410_USERNAME=admin #almost always 'admin'
AD410_PASSWORD=
MQTT_URI=
#optionally:
MQTT_USERNAME=
MQTT_PASSWORD=
```For example, to run as a docker container:
```sh
docker run -d \
-e AD410_URL=http://doorbell-hostname \
-e AD410_USERNAME=admin \
-e AD410_PASSWORD=password \
-e MQTT_URI=hostname:1883 \
zix99/ha-ad410:latest
```No persistent volumes necessary
# License
Copyright (C) 2023 Christopher LaPointe
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.You should have received a copy of the GNU General Public License
along with this program. If not, see .