I need experienced eyes to look at this for me. I am trying to install hassbian (done), and appdaemon (done). I am confused about how to set up the directory structure when appdaemon is in a virtual environment. I have looked at the appdaemon docs but I am confused. I am getting thus error:
(appdaemon) homeassistant@hassbian:/home/pi $ appdaemon -c /home/homeassistant/appdaemon/
/srv/appdaemon/lib/python3.5/site-packages/appdaemon/admain.py:184: YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the default Loader is unsafe. Please read https://msg.pyyaml.org/load for full details.
config = yaml.load(config_file_contents)
ERROR Error loading configuration
ERROR parser says
ERROR in "<unicode string>", line 28, column 13:
dash_key: !secret home_assistant_password
^
ERROR could not determine a constructor for the tag '!secret'
Here is my directory structure where the secrets file resides:
Here is my directory structure where the appdaemon.yaml file resides:
Here is my appdaemon.yaml file contents:
secrets: /home/homeassistant/.homeassistant/secrets.yaml
log:
accessfile: /home/homeassistant/conf/access.log
errorfile: /home/homeassistant/conf/error.log
logfile: /home/homeassistant/conf/appdaemon.log
log_generations: 3
log_size: 1000000
appdaemon:
threads: 10
api_port: 5000
latitude: 38.68301
longitude: -121.044264
# Impacts weather/sunrise data (altitude above sea level in meters)
elevation: 338
# metric for Metric, imperial for Imperial
unit_system: imperial
# Pick yours from here: http://en.wikipedia.org/wiki/List_of_tz_database_time_zones
time_zone: America/Los_Angeles
app_dir: /home/homeassistant/conf/apps
plugins:
HASS:
type: hass
ha_url: http://192.168.1.29:8123
ha_key: !secret home_assistant_password
token: !secret my-token
hadashboard:
dash_url: http://192.168.1.29:5050
dash_key: !secret home_assistant_password
I am not confident of my directory structure. In my last iteration I did not use virtural environments and it seemed a little more straightforward, to me, at least.
Any help would be much appreciated.