Announcement: AppDaemon beta 3

Yes, and appdaemon create folder css and javascript but no folder html

in the compiled folder there should be 3 subfolders. js, html and css.
if they are not created create them yourself.

i also saw that the teste dashboard was loaded before appdaemon was started.

best practice to make sure there are no problems after a change or update:

  1. close all dashboards on all devices
  2. clear cash at all devices
  3. close appdaemon
  4. clear the logs
  5. clear the subdirs in compiled (so html, css and js) but leave the structure
  6. to be absolutely sure, restart the device running appdaemon
  7. restart appdaemon in debug mode
  8. load 1 (and only 1) dashboard, preferably with only 1 sensor that changes regularly in chrome
  9. if it still not changes the sensor recheck the logs.

if you leave out 1 of these steps there can be an old problem that you already corrected still bugging you, or something that is changed by an update that doesnt take effect.

1 Like

IN the past this was necessary due to a bug which should be fixed in 3.0, but itā€™s still good advice if you are having issues.

1 Like

Okā€¦ stop service and change port clear folderā€¦ without sucessā€¦ uninstall appdaemon and install again without sucess create a new dash like documentation and the error continues

Feb 28 17:10:18 PiServer appdaemon[553]:   File "/srv/appdaemon/lib/python3.5/site-packages/appdaemon/dashboard.py", line 822, in get_dashboard
Feb 28 17:10:18 PiServer appdaemon[553]:     with open(include_path, "r") as include_file:
Feb 28 17:10:18 PiServer appdaemon[553]: FileNotFoundError: [Errno 2] No such file or directory: '/home/homeassistant/appdaemon/compiled/html/default/daniel_head.html'
Feb 28 17:10:18 PiServer appdaemon[553]: 2018-02-28 17:10:18.271655 WARNING ------------------------------------------------------------
Feb 28 17:10:18 PiServer appdaemon[553]: 2018-02-28 17:10:18.272366 INFO function [get_dashboard] finished in 834 ms
Feb 28 17:10:18 PiServer appdaemon[553]: Error handling request
Feb 28 17:10:18 PiServer appdaemon[553]: Traceback (most recent call last):
Feb 28 17:10:18 PiServer appdaemon[553]:   File "/srv/appdaemon/lib/python3.5/site-packages/aiohttp/web_protocol.py", line 410, in start
Feb 28 17:10:18 PiServer appdaemon[553]:     resp = yield from self._request_handler(request)
Feb 28 17:10:18 PiServer appdaemon[553]:   File "/srv/appdaemon/lib/python3.5/site-packages/aiohttp/web.py", line 325, in _handle
Feb 28 17:10:18 PiServer appdaemon[553]:     resp = yield from handler(request)
Feb 28 17:10:18 PiServer appdaemon[553]:   File "/srv/appdaemon/lib/python3.5/site-packages/aiohttp/web_middlewares.py", line 93, in impl
Feb 28 17:10:18 PiServer appdaemon[553]:     return (yield from handler(request))
Feb 28 17:10:18 PiServer appdaemon[553]:   File "/srv/appdaemon/lib/python3.5/site-packages/appdaemon/rundash.py", line 50, in wrapper
Feb 28 17:10:18 PiServer appdaemon[553]:     return await myfunc(*args)
Feb 28 17:10:18 PiServer appdaemon[553]:   File "/srv/appdaemon/lib/python3.5/site-packages/appdaemon/rundash.py", line 253, in load_dash
Feb 28 17:10:18 PiServer appdaemon[553]:     return web.Response(text=response, content_type="text/html")
Feb 28 17:10:18 PiServer appdaemon[553]:   File "/srv/appdaemon/lib/python3.5/site-packages/aiohttp/web_response.py", line 471, in __init__
Feb 28 17:10:18 PiServer appdaemon[553]:     type(text))
Feb 28 17:10:18 PiServer appdaemon[553]: TypeError: text argument must be str (<class 'dict'>)

if i put the old compile folder the dashboard works but does not reflect the changes

after restarting just created the js and css folder automatic

Does this file actually exist?

Has anyone mentioned an issue with the RSS feeds ā€œentity not foundā€? I get it all the time when starting up HADashboard, it stays that way for a while then sometimes the feed data starts showing, then a refresh or restart of HADashboard causes it to come back. Complicating things further sometimes after restart it shows up without issue. I have double and triple checked my config files and everything seems to be in order.

no the file and folder struc are not created, if you create the folders manually it also does not work

dont replace the old complied folder, but only make sure that those 3 folders exist.
/home/homeassistant/appdaemon/compiled/html
/home/homeassistant/appdaemon/compiled/js
/home/homeassistant/appdaemon/compiled/css
they must all be empty and all must have writing access for the user that you start appdaemon with.

I think Iā€™ve found a bug in the mode widget of HADashboard.

icon_on and icon_off donā€™t seem to work. It still picks up the icon for the input_select from HASS.

Yes, Iā€™ve tried refreshing browser cache and rebooting HASS even. :slight_smile:

Can you post your dashboard please

Sure thing.

Dash excerpt: https://pastebin.com/raw/NXSHEzph

End result: both widgets pick up the same icon i.e. the input selectā€™s icon.

Thanks!

I tried with 2-3 feeds and none worked

Iā€™ll take a look

Closing this thread since I just released beta 4: