I allready created the www folder in my Home Assistant directory. That is also the directory where I store my contact pictures which I refer to in known_devices.yaml. Those pictures show up in my frontend. The path I use there is:
xxxxxxxxxx:
hide_if_away: false
mac: xx:xx:xx:xx:xx:xx
name: John Doe
picture: /local/test.jpg
track: true
I’m sorry that I wasn’t clearer on my post; I thought that you would see it as an example and instead replace that with the actual folder you were using.
17-01-16 20:30:30 aiohttp.server: Error handling request
Traceback (most recent call last):
File "/home/pi/.homeassistant/deps/aiohttp/web_server.py", line 61, in handle_request
resp = yield from self._handler(request)
File "/home/pi/.homeassistant/deps/aiohttp/web.py", line 249, in _handle
resp = yield from handler(request)
File "/usr/lib/python3.4/asyncio/coroutines.py", line 143, in coro
res = yield from res
File "/usr/lib/python3.4/asyncio/coroutines.py", line 143, in coro
res = yield from res
File "/usr/local/lib/python3.4/dist-packages/homeassistant/components/http/static.py", line 62, in static_middleware_handler
resp = yield from handler(request)
File "/home/pi/.homeassistant/deps/aiohttp/web_urldispatcher.py", line 486, in _handle
ret = yield from self._file_sender.send(request, filepath)
File "/home/pi/.homeassistant/deps/aiohttp/file_sender.py", line 201, in send
yield from self._sendfile(request, resp, f, count)
File "/usr/local/lib/python3.4/dist-packages/homeassistant/components/http/static.py", line 30, in sendfile
yield from orig_sendfile(request, resp, fobj, count)
File "/home/pi/.homeassistant/deps/aiohttp/file_sender.py", line 108, in _sendfile_system
yield from fut
File "/usr/lib/python3.4/asyncio/futures.py", line 388, in __iter__
yield self # This tells Task to wait for completion.
File "/usr/lib/python3.4/asyncio/tasks.py", line 286, in _wakeup
value = future.result()
File "/usr/lib/python3.4/asyncio/futures.py", line 269, in result
raise CancelledError
concurrent.futures._base.CancelledError