AppDaemon is a loosely coupled, multithreaded, sandboxed python execution environment for writing automation apps for Home Assistant home automation software. It also provides a configurable dashboard (HADashboard) suitable for wall mounted tablets.
This add-on runs the AppDaemon v2.x.x branch.
The v2.x.x version is not backward compatible with the AppDaemon v3.x.x branch.
Installation
The installation of this add-on is pretty straightforward and not different in comparison to installing any other Hass.io add-on.
Check the logs of the āAppDaemon2ā add-on to see if everything went well.
Please read the documentation for more information about the use and configuration of this add-on.
Contributing
This is an active open-source project. We are always open to people who want to use the code or contribute to it. Weāve set up a separate document for our contribution guidelines.
Thank you for being involved!
Support
You can always get support here at the Home Assistant community forums, join the conversation!
You have several options to get them answered:
The Home Assistant Discord Chat Server for general Home Assistant discussions and questions.
The primary goal of our add-ons project is to provide you (as a Hassio / Home Assistant user) with additional, high quality, add-ons that allow you to take your automated home to the next level.
I am Franck Nijhof, and I have 30 years of programming experience, in many languages. I am using this experience to work on the Home Assistant project by giving back my knowledge and time to the open source community.
The add-on you are currently looking at right now was developed/packaged by me. It is not the only add-on I have created; there are many many more
However, I have a problemā¦ I am an addict. A addict that is. Lucky for you, I turn that C8H10N4O2 (caffeine molecule) into code (and add-ons)!
If you want to show your appreciation, consider supporting me for buying a cup of high octane wakey juice via one of the platforms below!
Enjoy your add-on, while I enjoy the brain juice.
Thanks for all the
ā¦/Frenck
P.S.: In case you want to ask me a question: AMA (Ask Me Anything). Most of the time I am online at the Discord chat. (I go by @Frenck in there as well).
AppDaemon is a loosely coupled, multithreaded, sandboxed python execution environment for writing automation apps for Home Assistant home automation software. It also provides a configurable dashboard (HADashboard) suitable for wall mounted tablets.
Added
Initial release
Since this is the first release of this add-on, Iām looking forward to your feedback!
im getting an internal 500 error when connecting to the dashboard
2017-10-30 17:48:57.426694 WARNING ------------------------------------------------------------
2017-10-30 17:48:57.427253 WARNING Unexpected error during loading of ._hello.py:
2017-10-30 17:48:57.427783 WARNING ------------------------------------------------------------
2017-10-30 17:48:57.430018 WARNING Traceback (most recent call last):
File "/usr/lib/python3.6/site-packages/appdaemon/appdaemon.py", line 901, in read_app
conf.modules[module_name] = importlib.import_module(module_name)
File "/usr/lib/python3.6/importlib/__init__.py", line 121, in import_module
raise TypeError(msg.format(name))
TypeError: the 'package' argument is required to perform a relative import for '._hello'
2017-10-30 17:48:57.430572 WARNING ------------------------------------------------------------
2017-10-30 17:48:57.431102 INFO App initialization complete
2017-10-30 17:48:57.432356 INFO Starting dashboard
2017-10-30 17:48:57.449068 INFO API is disabled
2017-10-30 17:48:57.464436 INFO Connected to Home Assistant 0.56.2
Error handling request
Traceback (most recent call last):
File "/usr/lib/python3.6/site-packages/aiohttp/web_protocol.py", line 416, in start
resp = yield from self._request_handler(request)
File "/usr/lib/python3.6/site-packages/aiohttp/web.py", line 329, in _handle
[middleware for middleware in app.middlewares
AssertionError: Handler <function secure.<locals>.wrapper at 0x7534c0c0> should return response instance, got <class 'dict'> [middlewares []]
yeah tried ip, tried hassio nothing worked sadly. did fresh install. same thing. it starts up. apps running fine. connects to hassio no issues but 500 each time. tried different ports. still nothing.
However, the path use by the image look for appdaemon.yaml inside /config/appdaemon instead of /config/hadaemon like it is right now ā¦ therefore, it creates the folder and default file (which is ok).
So people that use my image or vkorn image should be aware of this change when using the new image.
After that the only change I had to made was to add the port :5050 in my dash_url to make it work.
I added this to hass.io via the community repo and am getting the following:
[services.d] starting services
starting version 3.2.2
[services.d] done.
2017-11-28 19:55:13.699833 INFO AppDaemon Version 2.1.12 starting
2017-11-28 19:55:13.701145 INFO Configuration read from: /config/appdaemon/appdaemon.yaml
2017-11-28 19:55:13.977231 WARNING Unable to connect to Home Assistant, retrying in 5 seconds
2017-11-28 19:55:19.256719 WARNING Unable to connect to Home Assistant, retrying in 5 seconds
One noteā¦ The Open Web UI button opens http and not https even though dash_url has https. Does this need to be set by an option in the add-onās Options panel?
This is unfortunately not fixable. The the āIs this add-on running on SSL?ā question/setting is not managed by Hass.io itself, but by the AppDaemon. There is no way for Hass.io to detect the correct setting in this case.
So I choose it to have the ādefault-out-of-the-boxā setting, non-ssl.
Sorry for this, but I have no way of making it work correctly at this moment.