I am having problems with Appdeamon V3, This is the fourth thing to get going now (Homeassistant,Node-red,MQTT) on my NUC Ubuntu 16.04 Docker setup.
My Folder are home/cameron/docker/appdaemon/logs.
Here is the Appdaemon part of the docker_compose.yaml file.
appdaemon:
container_name: appdaemon
restart: always
image: acockburn/appdaemon:latest
volumes:
- /home/cameron/docker/appdaemon:/conf
- /etc/localtime:/etc/localtime:ro
environment:
- HA_URL="http://192.168.85.5:8123"
- HA_KEY="mypass"
- DASH_URL="http://192.168.85.5:5050"
ports:
- "5050:5050"
network_mode: host
And the Appdaemon.yaml file.
appdaemon:
time_zone: GMT+0BST-1,M3.5.0
disable_apps: 0
threads: 10
app_dir: /conf/apps
plugins:
HASS:
type: hass
ha_url: "http://192.168.85.5:8123"
ha_key: "mypass"
log:
accessfile: /conf/logs/access.log
errorfile: /conf/logs/error.log
logfile: /conf/logs/appdaemon.log
log_generations: 3
log_size: 100000
hadashboard:
dash_url: "http://192.168.85.5:5050"
dashboard_dir: /conf/dashboards
And the error i get from Appdaemon in the Portainer logs.
cp: cannot stat ‘/usr/src/app/conf/apps.yaml.example’: No such file or directory
Traceback (most recent call last):
File "/usr/local/bin/appdaemon", line 11, in <module>
load_entry_point('appdaemon==3.0.0', 'console_scripts', 'appdaemon')()
File "/usr/local/lib/python3.6/site-packages/appdaemon/admain.py", line 365, in main
admain.main()
File "/usr/local/lib/python3.6/site-packages/appdaemon/admain.py", line 361, in main
self.run(appdaemon, hadashboard)
File "/usr/local/lib/python3.6/site-packages/appdaemon/admain.py", line 80, in run
loop.run_until_complete(asyncio.gather(*pending))
File "/usr/local/lib/python3.6/asyncio/base_events.py", line 467, in run_until_complete
return future.result()
File "/usr/local/lib/python3.6/site-packages/appdaemon/appdaemon.py", line 1332, in utility
self.init_sun()
File "/usr/local/lib/python3.6/site-packages/appdaemon/appdaemon.py", line 866, in init_sun
self.tz = pytz.timezone(self.time_zone)
File "/usr/local/lib/python3.6/site-packages/pytz/__init__.py", line 180, in timezone
raise UnknownTimeZoneError(zone)
pytz.exceptions.UnknownTimeZoneError: 'GMT+0BST-1,M3.5.0'
Any help on this.