(First, a big thanks for your help.)
I created an apps subdirectory, and I put apps.yaml in that subdirectory. Still getting the same error. This is the output to the terminal:
pi@pi-ha:~ $ appdaemon -c /home/pi/conf
Traceback (most recent call last):
File “/usr/local/bin/appdaemon”, line 11, in
sys.exit(main())
File “/usr/local/lib/python3.5/dist-packages/appdaemon/admain.py”, line 365, in main
admain.main()
File “/usr/local/lib/python3.5/dist-packages/appdaemon/admain.py”, line 279, in main
fh = RotatingFileHandler(logfile, maxBytes=log_size, backupCount=log_generations)
File “/usr/lib/python3.5/logging/handlers.py”, line 150, in init
BaseRotatingHandler.init(self, filename, mode, encoding, delay)
File “/usr/lib/python3.5/logging/handlers.py”, line 57, in init
logging.FileHandler.init(self, filename, mode, encoding, delay)
File “/usr/lib/python3.5/logging/init.py”, line 1009, in init
StreamHandler.init(self, self._open())
File “/usr/lib/python3.5/logging/init.py”, line 1038, in _open
return open(self.baseFilename, self.mode, encoding=self.encoding)
IsADirectoryError: [Errno 21] Is a directory: ‘/home/pi/conf’
There is no output to the log file. The last entries to the log file are those from right before I upgraded AppDaemon.
Any idea what “IsADirectoryError” indicates? ‘/home/pi/conf’ is a directory (the error seems to suggest that it is not).
My appdaemon.yaml contains this:
log:
errorfile: /home/pi/conf
logfile: /home/pi/conf
log_generations: 3
log_size: 1000000
appdaemon:
threads: 10
api_port: 5000
plugins:
HASS:
type: hass
ha_url: !secret home_assistant_url
ha_key: !secret http_password