commit 8df03a0200e3961411e3806b24f79685d4bd2b80 Author: John Lancaster <32917998+jsl12@users.noreply.github.com> Date: Fri Nov 14 21:19:38 2025 -0600 initial commit diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..e87773c --- /dev/null +++ b/.gitignore @@ -0,0 +1,6 @@ +__pycache__ +dashboards/ +compiled/ +namespaces/ +www/ +secrets.yaml \ No newline at end of file diff --git a/appdaemon.yaml b/appdaemon.yaml new file mode 100644 index 0000000..d947ec9 --- /dev/null +++ b/appdaemon.yaml @@ -0,0 +1,15 @@ +appdaemon: + latitude: 0 + longitude: 0 + elevation: 30 + time_zone: US/Central + plugins: + HASS: + type: hass + ha_url: https://platform.john-stream.com + token: !secret long_lived_token +http: + url: http://0.0.0.0:5050 +admin: +api: +hadashboard: diff --git a/apps/apps.yaml b/apps/apps.yaml new file mode 100644 index 0000000..4c84034 --- /dev/null +++ b/apps/apps.yaml @@ -0,0 +1,3 @@ +hello_world: + module: hello + class: HelloWorld diff --git a/apps/hello.py b/apps/hello.py new file mode 100755 index 0000000..4076766 --- /dev/null +++ b/apps/hello.py @@ -0,0 +1,7 @@ +from appdaemon.adapi import ADAPI + + +class HelloWorld(ADAPI): + def initialize(self): + self.log("Hello from AppDaemon") + self.log("You are now ready to run Apps!") diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..83fbf26 --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,12 @@ +services: + appdaemon: + container_name: appdaemon + image: acockburn/appdaemon:dev + restart: unless-stopped + tty: true + volumes: + - /etc/localtime:/etc/localtime:ro + - /etc/timezone:/etc/timezone:ro + - ./:/conf + ports: + - 5050:5050