First things first: Running Hassio with HA 0.64.3 on RPi3 with frenck’s add-on AppDaemon2.
Since yesterday, when i upgraded HA and AppDaemon to latest versions, my dashboards stopped updating the entity states and when i switch a lamp, or anything else, nothing happens but the icon appear as on.
When i open a page on the dashboard and look at the log, there are warnings about a “robots.txt” file not found and an unexpected error during DASH creation…
There is also an error about API disabled but i don’t think this has anything to do with it.
2018-03-07 13:18:09.859898 INFO AppDaemon Version 2.1.12 starting
2018-03-07 13:18:09.862045 INFO Configuration read from: /config/appdaemon/appdaemon.yaml
2018-03-07 13:18:11.105779 INFO Starting Apps
2018-03-07 13:18:11.875186 INFO Got initial state
2018-03-07 13:18:11.879330 INFO Loading Module: /config/appdaemon/apps/hello.py
2018-03-07 13:18:11.884242 INFO Loading Object hello_world using class HelloWorld from module hello
2018-03-07 13:18:12.624241 INFO hello_world: Hello from AppDaemon
2018-03-07 13:18:12.634465 INFO hello_world: You are now ready to run Apps!
2018-03-07 13:18:12.635373 INFO App initialization complete
2018-03-07 13:18:12.637409 INFO Starting dashboard
2018-03-07 13:18:12.672190 INFO API is disabled
2018-03-07 13:18:12.703656 INFO Connected to Home Assistant 0.64.3
2018-03-07 13:18:13.468404 INFO New dashboard connected: Lights
2018-03-07 13:18:15.370781 INFO New dashboard connected: Energy
Opening the dashboard with Google Chrome, there are no errors on the console when opening any page.
This is driving me crazy, can someone help please?
appdaemon.yaml
AppDaemon:
logfile: STDOUT
errorfile: STDERR
threads: '10'
app_dir: /config/appdaemon/apps
disable_apps: 1
HASS:
ha_url: http://hassio/homeassistant
ha_key: <redacted>
HADashboard:
dash_url: http://192.168.1.200:5050
dash_dir: /config/appdaemon/dashboards
hello_world:
module: hello
class: HelloWorld
Hassio addon config:
{
"log_level": "info",
"commtype": "websockets",
"system_packages": [],
"python_packages": []
}
Hassio addon log:
2018-03-07 12:53:43.240091 INFO Loading custom skin 'default'
2018-03-07 12:53:43.265413 INFO Loading custom skin 'default'
2018-03-07 12:53:43.314751 INFO Compiling dashboard 'robots.txt'
2018-03-07 12:53:44.222108 INFO function [get_dashboard] finished in 982 ms
2018-03-07 12:53:44.256228 INFO Dashboard disconnected
2018-03-07 12:53:45.589367 WARNING Dashboard 'robots.txt' not found
2018-03-07 12:53:45.602206 WARNING ------------------------------------------------------------
2018-03-07 12:53:45.605616 WARNING Unexpected error during DASH creation
2018-03-07 12:53:45.607475 WARNING ------------------------------------------------------------
2018-03-07 12:53:45.610184 WARNING Traceback (most recent call last):
File "/usr/lib/python3.6/site-packages/appdaemon/dashboard.py", line 803, in get_dashboard
with open(include_path, "r") as include_file:
FileNotFoundError: [Errno 2] No such file or directory: '/config/appdaemon/compiled/html/default/robots.txt_head.html'
2018-03-07 12:53:45.611171 WARNING ------------------------------------------------------------
2018-03-07 12:53:45.612740 INFO function [get_dashboard] finished in 2347 ms
Error handling request
Traceback (most recent call last):
File "/usr/lib/python3.6/site-packages/aiohttp/web_protocol.py", line 381, in start
resp = await self._request_handler(request)
File "/usr/lib/python3.6/site-packages/aiohttp/web_app.py", line 310, in _handle
resp = await handler(request)
File "/usr/lib/python3.6/asyncio/coroutines.py", line 213, in coro
res = yield from res
File "/usr/lib/python3.6/site-packages/appdaemon/rundash.py", line 130, in load_dash
return web.Response(text=response, content_type="text/html")
File "/usr/lib/python3.6/site-packages/aiohttp/web_response.py", line 463, in __init__
type(text))
TypeError: text argument must be str (<class 'dict'>)
2018-03-07 12:53:45.782602 INFO Loading custom skin 'default'
2018-03-07 12:53:45.819381 INFO Compiling dashboard 'robots.txt'
2018-03-07 12:53:46.204118 INFO New dashboard connected: Temperatures
2018-03-07 12:53:46.985613 WARNING Dashboard 'robots.txt' not found
2018-03-07 12:53:46.987933 WARNING ------------------------------------------------------------
2018-03-07 12:53:46.988889 WARNING Unexpected error during DASH creation
2018-03-07 12:53:46.989732 WARNING ------------------------------------------------------------
2018-03-07 12:53:46.991438 WARNING Traceback (most recent call last):
File "/usr/lib/python3.6/site-packages/appdaemon/dashboard.py", line 803, in get_dashboard
with open(include_path, "r") as include_file:
FileNotFoundError: [Errno 2] No such file or directory: '/config/appdaemon/compiled/html/default/robots.txt_head.html'
2018-03-07 12:53:46.992377 WARNING ------------------------------------------------------------
2018-03-07 12:53:46.993412 INFO function [get_dashboard] finished in 1211 ms
Error handling request
Traceback (most recent call last):
File "/usr/lib/python3.6/site-packages/aiohttp/web_protocol.py", line 381, in start
resp = await self._request_handler(request)
File "/usr/lib/python3.6/site-packages/aiohttp/web_app.py", line 310, in _handle
resp = await handler(request)
File "/usr/lib/python3.6/asyncio/coroutines.py", line 213, in coro
res = yield from res
File "/usr/lib/python3.6/site-packages/appdaemon/rundash.py", line 130, in load_dash
return web.Response(text=response, content_type="text/html")
File "/usr/lib/python3.6/site-packages/aiohttp/web_response.py", line 463, in __init__
type(text))
TypeError: text argument must be str (<class 'dict'>)