initial commit
This commit is contained in:
6
.gitignore
vendored
Normal file
6
.gitignore
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
__pycache__
|
||||
dashboards/
|
||||
compiled/
|
||||
namespaces/
|
||||
www/
|
||||
secrets.yaml
|
||||
15
appdaemon.yaml
Normal file
15
appdaemon.yaml
Normal 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
3
apps/apps.yaml
Normal file
@@ -0,0 +1,3 @@
|
||||
hello_world:
|
||||
module: hello
|
||||
class: HelloWorld
|
||||
7
apps/hello.py
Executable file
7
apps/hello.py
Executable 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
12
docker-compose.yml
Normal 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
|
||||
Reference in New Issue
Block a user