initial commit connected to mosquitto

This commit is contained in:
root
2023-12-06 22:22:29 -06:00
commit 8fe4f70c08
3 changed files with 49 additions and 0 deletions

3
.gitignore vendored Normal file
View File

@@ -0,0 +1,3 @@
__pycache__
*.example
secrets.yaml

24
appdaemon.yaml Normal file
View File

@@ -0,0 +1,24 @@
appdaemon:
latitude: 32.991129
longitude: -96.841910
elevation: 30
time_zone: America/Chicago
plugins:
# HASS:
# type: hass
# ha_url: http://homeassistant:8123
# token: !secret ha_token
# cert_verify:
mqtt:
type: mqtt
namespace: mqtt
client_host: mqtt
client_user: homeassistant
client_password: !secret mqtt_password
client_topics:
- zigbee2mqtt/#
http:
url: http://0.0.0.0:5050
admin:
api:
hadashboard:

22
docker-compose.yml Normal file
View File

@@ -0,0 +1,22 @@
version: '3.8'
services:
appdaemon:
container_name: appdaemon
image: acockburn/appdaemon:dev
volumes:
- /etc/localtime:/etc/localtime:ro
- /etc/timezone:/etc/timezone:ro
- config:/conf
ports:
- 5050:5050
restart: unless-stopped
tty: true
volumes:
config:
driver: local
driver_opts:
o: bind
type: none
device: ./