Hi all,
I am trying to run the AppDaemon test as recommended in the document but it keeps on going in loop and doesn’t do anything. Below is the debug output. Don’t know what is wrong.
Setup:
Ubuntu 17.10
Docker + HA
NGINX Reverse Proxy + SSL Certs.
rahul@RahulThakkar-PC:~/Documents/HA$ sudo docker run --rm -it -p 5050:5050 \
> -e HA_URL="http://192.168.15.123:8123" \
> -e HA_KEY="********" \
> -e EXTRA_CMD="-D DEBUG" \
> -e DASH_URL="http://$HOSTNAME:5050" \
> acockburn/appdaemon:latest
cp: cannot stat ‘/usr/src/app/conf/apps.yaml.example’: No such file or directory
2018-03-23 23:14:58.141553 INFO AppDaemon Version 3.0.0b5 starting
2018-03-23 23:14:58.141776 INFO Configuration read from: /conf/appdaemon.yaml
2018-03-23 23:14:58.141958 DEBUG AppDaemon Section: None
2018-03-23 23:14:58.142146 DEBUG HADashboard Section: None
2018-03-23 23:14:58.144126 INFO AppDaemon: Starting Apps
2018-03-23 23:14:58.144422 DEBUG AppDaemon: Creating worker threads ...
2018-03-23 23:14:58.148133 DEBUG AppDaemon: Done
2018-03-23 23:14:58.148275 DEBUG AppDaemon: Entering run()
2018-03-23 23:14:58.148587 INFO AppDaemon: Loading Plugin HASS using class HassPlugin from module hassplugin
2018-03-23 23:14:58.180260 INFO AppDaemon: HASS: HASS Plugin Initializing
2018-03-23 23:14:58.180655 INFO AppDaemon: HASS: HASS Plugin initialization complete
2018-03-23 23:14:58.180911 DEBUG AppDaemon: Starting utility loop
2018-03-23 23:14:58.181128 INFO Dashboards are disabled
2018-03-23 23:14:58.181290 INFO API is disabled
2018-03-23 23:14:58.181467 DEBUG Start Loop
2018-03-23 23:14:58.189777 INFO AppDaemon: HASS: Connected to Home Assistant 0.64.2
2018-03-23 23:14:58.194183 DEBUG AppDaemon: HASS: get_ha_config()
2018-03-23 23:14:58.194391 DEBUG AppDaemon: HASS: get_ha_config: url is http://192.168.15.123:8123/api/config
2018-03-23 23:14:58.200644 DEBUG AppDaemon: HASS: get_ha_state: url is http://192.168.15.123:8123/api/states
2018-03-23 23:14:58.211511 DEBUG AppDaemon: HASS: Got state
2018-03-23 23:14:58.212360 INFO AppDaemon: Got initial state from namespace default
2018-03-23 23:15:00.296219 DEBUG AppDaemon: Starting timer loop
2018-03-23 23:15:00.296439 DEBUG AppDaemon: Reading Apps
2018-03-23 23:15:00.298024 INFO AppDaemon: Adding /conf/apps to module import path
2018-03-23 23:15:00.298467 DEBUG AppDaemon: Found module /conf/apps/hello.py
2018-03-23 23:15:00.298760 WARNING AppDaemon: No app description found for: /conf/apps/hello.py - ignoring
2018-03-23 23:15:00.299506 INFO AppDaemon: App initialization complete
2018-03-23 23:15:00.301708 DEBUG AppDaemon: Util loop compute time: 1.0ms
2018-03-23 23:15:01.004887 DEBUG AppDaemon: Scheduler loop compute time: 1.0ms
2018-03-23 23:15:01.306202 DEBUG AppDaemon: Util loop compute time: 2.0ms
2018-03-23 23:15:02.004602 DEBUG AppDaemon: Scheduler loop compute time: 1.0ms
2018-03-23 23:15:02.311470 DEBUG AppDaemon: Util loop compute time: 3.0ms
2018-03-23 23:15:03.004026 DEBUG AppDaemon: Scheduler loop compute time: 1.0ms
2018-03-23 23:15:03.316346 DEBUG AppDaemon: Util loop compute time: 2.0ms
2018-03-23 23:15:04.003259 DEBUG AppDaemon: Scheduler loop compute time: 1.0ms
2018-03-23 23:15:04.320477 DEBUG AppDaemon: Util loop compute time: 2.0ms
2018-03-23 23:15:05.002785 DEBUG AppDaemon: Scheduler loop compute time: 0.0ms
2018-03-23 23:15:05.324500 DEBUG AppDaemon: Util loop compute time: 2.0ms
2018-03-23 23:15:06.003912 DEBUG AppDaemon: Scheduler loop compute time: 1.0ms
2018-03-23 23:15:06.328497 DEBUG AppDaemon: Util loop compute time: 2.0ms
2018-03-23 23:15:07.003576 DEBUG AppDaemon: Scheduler loop compute time: 1.0ms
2018-03-23 23:15:07.332520 DEBUG AppDaemon: Util loop compute time: 2.0ms
2018-03-23 23:15:08.005203 DEBUG AppDaemon: Scheduler loop compute time: 2.0ms
2018-03-23 23:15:08.336888 DEBUG AppDaemon: Util loop compute time: 2.0ms
2018-03-23 23:15:09.003968 DEBUG AppDaemon: Scheduler loop compute time: 2.0ms
2018-03-23 23:15:09.340331 DEBUG AppDaemon: Util loop compute time: 2.0ms
2018-03-23 23:15:10.003647 DEBUG AppDaemon: Scheduler loop compute time: 1.0ms
2018-03-23 23:15:10.344937 DEBUG AppDaemon: Util loop compute time: 2.0ms
2018-03-23 23:15:11.003241 DEBUG AppDaemon: Scheduler loop compute time: 1.0ms
2018-03-23 23:15:11.349315 DEBUG AppDaemon: Util loop compute time: 2.0ms
Please help. Thanks in advance.