Skip to content

Commit

Permalink
Add Connect Life API Connector
Browse files Browse the repository at this point in the history
  • Loading branch information
marcocunha committed Mar 26, 2024
1 parent 07de4ef commit 4d26b6b
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 1 deletion.
13 changes: 12 additions & 1 deletion .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,15 @@ DIUN_WATCH_WORKERS=20
DIUN_WATCH_JITTER=30s
DIUN_PROVIDERS_DOCKER=true
DIUN_PROVIDERS_DOCKER_WATCHBYDEFAULT=true
DIUN_NOTIF_SLACK_WEBHOOKURL=<SLACK_WEBHOOK_URL_HERE>
DIUN_NOTIF_SLACK_WEBHOOKURL=<SLACK_WEBHOOK_URL_HERE>

# CONNECTLIFE API CONNECTOR
CONNECTLIFE_LOGIN=''
CONNECTLIFE_PASSWORD=''
LOG_LEVEL=info
MQTT_HOST=192.168.1.120
MQTT_USER=''
MQTT_PASSWORD=''
MQTT_PORT=1883
MQTT_SSL=false
BEEPING=true
14 changes: 14 additions & 0 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -249,3 +249,17 @@ services:
- "LOG_LEVEL=info"
- "LOG_JSON=false"
restart: always

# HA Connect Life API Connector
# Connectlife API proxy / MQTT Home Assistant integration
# The add-on utilizes the API acquired through reverse engineering from the Connectlife mobile app to control AC devices and integrates seamlessly with Home Assistant through MQTT, leveraging its discovery feature.
# The reason for the add-on was the lack of official support for device integration.
# https://github.com/Bilan/connectlife-api-connector
ha-connectlife-addon:
container_name: ha-connectlife-addon
image: ha-connectlife-addon
command: /bin/ash -c 'php artisan app:mqtt-loop'
env_file:
- .env
restart: always

0 comments on commit 4d26b6b

Please sign in to comment.