From 8fe4f70c08ebf5146d63a63613187f615446a86e Mon Sep 17 00:00:00 2001 From: root Date: Wed, 6 Dec 2023 22:22:29 -0600 Subject: [PATCH] initial commit connected to mosquitto --- .gitignore | 3 +++ appdaemon.yaml | 24 ++++++++++++++++++++++++ docker-compose.yml | 22 ++++++++++++++++++++++ 3 files changed, 49 insertions(+) create mode 100644 .gitignore create mode 100644 appdaemon.yaml create mode 100644 docker-compose.yml diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..305dc95 --- /dev/null +++ b/.gitignore @@ -0,0 +1,3 @@ +__pycache__ +*.example +secrets.yaml \ No newline at end of file diff --git a/appdaemon.yaml b/appdaemon.yaml new file mode 100644 index 0000000..92fb6da --- /dev/null +++ b/appdaemon.yaml @@ -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: diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..dd710ee --- /dev/null +++ b/docker-compose.yml @@ -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: ./