I’m getting different error when I try to run appdaemon after HA 0.53 upgrade:
pi@raspberrypi:~ $ appdaemon -c /home/homeassistant/conf
2017-09-10 11:41:16.410924 INFO AppDaemon Version 2.1.9 starting
2017-09-10 11:41:16.411481 INFO Configuration read from: /home/homeassistant/conf/appdaemon.yaml
Traceback (most recent call last):
File "/usr/local/bin/appdaemon", line 11, in <module>
sys.exit(main())
File "/usr/local/lib/python3.4/dist-packages/appdaemon/admain.py", line 478, in main
conf.app_config_file_modified = os.path.getmtime(conf.app_config_file)
File "/usr/lib/python3.4/genericpath.py", line 55, in getmtime
return os.stat(filename).st_mtime
FileNotFoundError: [Errno 2] No such file or directory: '/home/homeassistant/conf/apps.yaml'
and here my DEBUG output:
pi@raspberrypi:~ $ appdaemon -c /home/homeassistant/conf -D DEBUG
2017-09-10 11:42:57.479949 INFO AppDaemon Version 2.1.9 starting
2017-09-10 11:42:57.480887 INFO Configuration read from: /home/homeassistant/conf/appdaemon.yaml
2017-09-10 11:42:57.481547 DEBUG AppDaemon Section: {'disable_apps': 1, 'errorfile': 'STDERR', 'threads': 10, 'cert_verify': True, 'time_zone': '<time zone>', 'logfile': 'STDOUT'}
2017-09-10 11:42:57.482170 DEBUG Hass Section: {'ha_url': 'http://10.0.0.50:8123'}
2017-09-10 11:42:57.482747 DEBUG HADashboard Section: {'dash_url': 'http://10.0.0.50:5050', 'dash_dir': '/home/homeassistant/.homeassistant/dashboard', 'dash_force_compile': 1}
2017-09-10 11:42:57.483313 DEBUG Calling HA for config with key: and url: http://10.0.0.50:8123
2017-09-10 11:42:57.483862 DEBUG get_ha_config()
2017-09-10 11:42:57.484400 DEBUG get_ha_config: url is http://10.0.0.50:8123/api/config
2017-09-10 11:42:57.516382 DEBUG Success
2017-09-10 11:42:57.517279 DEBUG {'location_name': 'Home', 'version': '0.53.0', 'whitelist_external_dirs': ['/home/homeassistant/.homeassistant/www'], 'longitude': 28.884605, 'latitude': 41.005993, 'config_dir': '/home/homeassistant/.homeassistant', 'time_zone': 'Europe/Istanbul', 'elevation': 0, 'components': ['remote', 'api', 'input_select', 'recorder', 'media_player.plex', 'cover', 'panel_custom', 'camera.generic', 'updater', 'media_player.samsungtv', 'media_player.denonavr', 'light', 'binary_sensor.mqtt', 'sun', 'switch', 'config.script', 'sensor.mqtt', 'sensor.google_geocode', 'config.group', 'shell_command', 'mqtt', 'group', 'sensor.rest', 'script', 'switch.broadlink', 'ifttt2', 'scene', 'input_slider', 'input_boolean', 'scene.homeassistant', 'config', 'sensor.wunderground', 'apple_tv', 'discovery', 'sensor.systemmonitor', 'light.hue', 'notify', 'binary_sensor', 'sensor', 'http', 'media_player.vlc', 'media_player.kodi', 'tts', 'zone', 'ifttt', 'media_player.apple_tv', 'sensor.command_line', 'history', 'config.core', 'websocket_api', 'camera', 'conversation', 'remote.apple_tv', 'automation', 'frontend', 'logbook', 'config.customize', 'sensor.google_travel_time', 'switch.mqtt', 'media_player', 'sensor.broadlink', 'device_tracker', 'sensor.darksky', 'config.automation'], 'unit_system': {'mass': 'g', 'temperature': '°C', 'length': 'km', 'volume': 'L'}}
Traceback (most recent call last):
File "/usr/local/bin/appdaemon", line 11, in <module>
sys.exit(main())
File "/usr/local/lib/python3.4/dist-packages/appdaemon/admain.py", line 478, in main
conf.app_config_file_modified = os.path.getmtime(conf.app_config_file)
File "/usr/lib/python3.4/genericpath.py", line 55, in getmtime
return os.stat(filename).st_mtime
FileNotFoundError: [Errno 2] No such file or directory: '/home/homeassistant/conf/apps.yaml'
Here is my config file:
AppDaemon:
logfile: STDOUT
errorfile: STDERR
threads: 10
# cert_path: <path/to/root/CA/cert>
cert_verify: True
time_zone: <time zone>
disable_apps: 1
# app_dir: /etc/appdaemon/apps
HASS:
ha_url: http://10.0.0.50:8123
# ha_key: <some key>
# Apps
#hello_world:
# module: hello
# class: HelloWorld
HADashboard:
dash_url: http://10.0.0.50:5050
dash_dir: /home/homeassistant/.homeassistant/dashboard
dash_force_compile: 1
any advice?