initial commit

This commit is contained in:
John Lancaster
2025-11-14 21:19:38 -06:00
commit 8df03a0200
5 changed files with 43 additions and 0 deletions

6
.gitignore vendored Normal file
View File

@@ -0,0 +1,6 @@
__pycache__
dashboards/
compiled/
namespaces/
www/
secrets.yaml

15
appdaemon.yaml Normal file
View File

@@ -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:

3
apps/apps.yaml Normal file
View File

@@ -0,0 +1,3 @@
hello_world:
module: hello
class: HelloWorld

7
apps/hello.py Executable file
View File

@@ -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!")

12
docker-compose.yml Normal file
View File

@@ -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