Community Hass.io Add-on: AppDaemon 3

This add-on is provided by the Community Hass.io Add-ons project.

GitHub Release GitLab CI Project Stage Project Maintenance

Supports armhf Architecture Supports armv7 Architecture Supports aarch64 Architecture Supports amd64 Architecture Supports i386 Architecture

logo
hadashboard

Deprecation warning


This add-on is in a deprecated state!

This add-on is powered by AppDaemon 3.x, which has been replaced by
AppDaemon 4.x.

Are you looking for installing AppDaemon or upgrading to the new AppDaemon 4.x
add-on?

About


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.

Installation


The installation of this add-on is pretty straightforward and not different in comparison to installing any other Hass.io add-on.

  1. Search for the “AppDaemon3” add-on in the Hass.io add-on store and install it.
  2. Start the “AppDaemon3” add-on
  3. Check the logs of the “AppDaemon3” add-on to see if everything went well.

:books: Please read the documentation for more information about the use and configuration of this add-on.

Support


You can always try to get support from the community here at the Home Assistant community forums, join the conversation!

Questions? You have several options to get them answered:

You could also open an issue on GitHub, in case you ran into a bug, or maybe you have an idea on improving the addon:

:information_source: At this moment our Community Hass.io Add-ons Discord chat server and GitHub are our only official support channels. All others rely on community effort.

Repository on GitHub


Looking for more add-ons?


The primary goal of our add-ons project is to provide you (as an Hassio / Home Assistant user) with additional, high quality, add-ons that allow you to take your automated home to the next level.

Check out some of our other add-ons in our Community Hass.io Add-ons project.

7 Likes

About the author of this add-on

Hi there!

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 :wink:

However, I have a problem… I am an addict. A :coffee: 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! :heart:

Sponsor Frenck via GitHub Sponsors

Support Frenck on Patreon

Enjoy your add-on, while I enjoy the brain juice. :coffee:

Thanks for all the :two_hearts:

…/Frenck

Join our Discord server Follow me on Twitter Flollow me on Instragram Follow me on GitHub Follow me on YouTube Follow me on Twitch patreon-icon

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).

@frenck I just tried to install AppDaemon3, but get a fatal error due to the supervisor version.

2018-01-29_18-36-30

The Supervisor says that 0.84 is the latest version.
2018-01-29_18-40-20

But it does look good!

Supervisor 0.85 is required for the add-on to work.
Hit the reload button, wait a couple of seconds… an update button should appear.
Hit update, wait a couple of minutes, ready, set, go! :rocket:

Thanks for the quick reply. I learning, maybe a slow, but I am learning.

2 Likes

Everybody needs to learn sometime right? :blush:

1 Like

That dashboard was made with HADashboard? Looks awesome!

1 Like

What are the changes from appdaemon2?

Also, should one uninstall appdaemon2 before installing this addon? Will apps be preserved across the uninstall-reinstall?

Good questions @HudsonMC16!

Both add-ons use the same configuration files. So you’d have to choose.
Migrate or start developing on AppDaemon3 or stick with AppDaemon2.

The AppDaemon configuration files are stored in the /config folder. Once files are created there, the add-on will never touch it again. So even on deletion of an add-on, the config (and dashboard/apps) are still there and unharmed.

This also means uninstalling V2 and installing V3 is possible, but V3 will not work, since you’d have to modify/migrate your current configuration.

The reason this add-on is separate, is to enable users to migrate to v3 or stick with v2. Its all about giving the user choices.

Hi,

i just installed v3 right next to v2.
I stoped v2, and started v3.

Now, I get the following error:

ERROR no 'appdaemon' section in /config/appdaemon/appdaemon.yaml

Any idea what to do?
stopping v3 and startvv2 (to continue to use it) is working fine.

Regards

Look here for details on changes Announcement - AppDaemon 3.0 beta 1!

I have appdaemon 2, what is the best way to upgrade, backup and take out existing directories, uninstall previous addon and then install this one?

Or is it possible to keep both?

Agreed, some clear instructions are needed. I removed V2, installed V3 and everything was broken, errors on errors.

upgrading to V3 and its breaking changes can be found here:

and here

the docs for V3 can be found here
http://appdaemon.readthedocs.io/en/latest/index.html
and the docs for V2 can be found here
http://appdaemon.readthedocs.io/en/2.1.12/

and yeah it would be helpfull if the github from the addon would give that information.

1 Like

AppDaemon V3 is still a Beta version, it most likely will have a few issues.

It will take time to finish this release and write the documentation, I am sure help in that area would be appreciated. If nothing else to proof read it. The more we work with it the better (less issues) the finished version will be.

Same. I reverted back to v2

First thing then is to mark the thing as Beta as this is not clear in the Hassio Add-ons, it looks like it’s release.

@anon35356645 and @bucksbass its quite stable and nice as I moved to it fully last night. Had held back for this long as I was scared as I got some “critical” apps running on it (I manage my mother-in-Laws medication remotely with it) so you can imagine.

But once installed, followed up the breaking changes based on what @ReneTode shared and it was all good. Though one thing tripped me off and that was the self.get_state(). now just simply doing something like self.get_state("light.testing","brightness") to get the brightness attributes will break it. Instead one has to specify and that’s by doing self.get_state("light.testing",attributes="brightness").

its all fine there on and its cool so far. The Plugin aspect of it, its awesome to say the least.

Thank you very much this seems really good :))

I just installed it with no apps (just hadashboad panels) and receive this error in log

starting version 3.2.4
[services.d] done.
2018-02-01 17:03:14.893103 INFO AppDaemon Version 3.0.0b2 starting
2018-02-01 17:03:14.893456 INFO Configuration read from: /config/appdaemon/appdaemon.yaml
2018-02-01 17:03:14.895027 INFO AppDaemon: Starting Apps
Traceback (most recent call last):
File “/usr/bin/appdaemon”, line 11, in
sys.exit(main())
File “/usr/lib/python3.6/site-packages/appdaemon/admain.py”, line 341, in main
admain.main()
File “/usr/lib/python3.6/site-packages/appdaemon/admain.py”, line 337, in main
self.run(appdaemon, hadashboard)
File “/usr/lib/python3.6/site-packages/appdaemon/admain.py”, line 59, in run
self.AD = ad.AppDaemon(self.logger, self.error, loop, **appdaemon)
File “/usr/lib/python3.6/site-packages/appdaemon/appdaemon.py”, line 257, in init
basename = self.plugins[name][“type”]
TypeError: ‘NoneType’ object is not subscriptable