Community Hass.io Add-on: AppDaemon 3

In essence the app monitors the state of device (e.g. sensor) and once triggered (e.g. motion detected) a certain action (e.g. lights on) needs to be executed if a condition (e.g. dusk sensor is on) is met. The ‘trick’ here is that after the action is performed, the previous condition needs to be restored.

Below a link to my app:

answered you in that topic, because your app is wrongly build, which causes that your app initialises, but never starts the listen_state.

Thanks! :slight_smile:

:tada: Release v1.7.0

Full Changelog

This release adds a workaround for a long time ongoing issue with using secrets in the AppDaemon configuration file. The automatic token update behavior can now be disabled using the add-on configuration.

Changed

  • Configure Renovate (#33)
  • Updates maintenance year to 2019
  • Removes BountySource links
  • Removes Anchore.io links
  • Refactor of GitLab CI
  • Moves Python requirements out of the Dockerfile
  • Replaces add-on link with GitHub link
  • Python PIP to 18.1
  • Fixes spelling error in Dockerfile
  • Adds option to disable auto token update
  • Upgrades add-on base image to 2.3.2

Questions? Join our Discord server! https://discord.me/hassioaddons
Enjoying my add-ons? Consider supporting my work: https://patreon.com/frenck

Just did a update to Home Assistant 0.90.0 and i get this in my log at home assistant startup.

api_password is going to deprecate. You need to use a bearer token to access /api/ from 172.30.32.2
api_password is going to deprecate. You need to use a bearer token to access /api/config from 172.30.32.2
api_password is going to deprecate. You need to use a bearer token to access /api/states from 172.30.32.2

appdeamon.yaml

secrets: /config/secrets.yaml
log:
  logfile: STDOUT
  errorfile: STDERR
appdaemon:
  threads: 10
  app_dir: /config/appdaemon/apps
  plugins:
    HASS:
      type: hass
      ha_url: http://hassio/homeassistant
      token: 575e8951e0501ed14d0e7e41742772ecc51e95fa713bb1b15d1aa009ed1b4dd2
hadashboard:
  dash_url: http://192.168.50.92:5050
  dash_dir: /config/appdaemon/dashboards

Figured out it was appdeamon after deactivating it i get no warning at home assistant startup

:tada: Release v2.0.0

Full Changelog

Changed

  • :arrow_up: Upgrades add-on base image to 3.0.1
  • :sparkles: Adds ARMv7 support
  • :fire: Removes custom log format override
  • :hammer: Makes log_level optional
  • :arrow_up: Upgrades gcc to 8.2.0-r2
  • :arrow_up: Upgrades libffi to 3.2.1-r6
  • :arrow_up: Upgrades Python to 3.6.8-r1
  • :arrow_up: Upgrades Python PIP to 19.0.3
  • :hammer: Rewrite add-on onto Bashio
  • :ambulance: Fixes old library call

Questions? Join our Discord server! https://discord.me/hassioaddons
Enjoying my add-ons? Consider supporting my work: https://patreon.com/frenck

Hi there
I’m just starting to look into this, it’s very interesting, and I really hope I can make some good use of my lowly old tablet.
I’m trying to get different things shown on it, it’s a bit difficult to get cool stuff like satelite weather images, as I’m in Denmark and a decent weather prediction (I’m using SMHI), but I’ve gotten a few other things in it.
I don’t get that % settings for lights in a group doesn’t work.
Another thing is with my nest videodoorbell.
I would love to have the camera shown on the tablet, it is shown in the HA, so I guess it’s possible, but so far I’ve not been able to get it shown. Anybody that has an idea on how to get that working?
I also have some switches from fritz that measure temperature, and I would like to show the temperature from them, but so far I just get a NaN shown, and the temperature is shown below with a + and -. I would of course like to show the real temperature instead of NaN, and then nothing betwen the + and -.

:tada: Release v2.0.1

Full Changelog

Changed

  • :ambulance: Fixes incorrect exit code when auto token is disabled

Questions? Join our Discord server! https://discord.me/hassioaddons
Enjoying my add-ons? Consider supporting my work: https://patreon.com/frenck

hello, someone install the new 2.0.1 version? after that my appdaemon won’t start…

2019-04-02 08:06:18.483523 INFO AppDaemon Version 3.0.2 starting
2019-04-02 08:06:18.484520 INFO Configuration read from: /config/appdaemon/appdaemon.yaml
2019-04-02 08:06:18.490103 INFO AppDaemon: Starting Apps
2019-04-02 08:06:18.503257 INFO AppDaemon: Loading Plugin HASS using class HassPlugin from module hassplugin
2019-04-02 08:06:18.868299 INFO AppDaemon: HASS: HASS Plugin Initializing
2019-04-02 08:06:18.870215 INFO AppDaemon: HASS: HASS Plugin initialization complete
2019-04-02 08:06:18.871775 INFO Starting Dashboards
2019-04-02 08:06:18.902663 INFO API is disabled
2019-04-02 08:06:18.928922 INFO AppDaemon: HASS: Connected to Home Assistant 0.90.2
2019-04-02 08:06:19.389395 INFO AppDaemon: Got initial state from namespace default
2019-04-02 08:06:20.607871 INFO HADashboard: New dashboard connected: Main Panel
2019-04-02 08:06:21.197695 INFO AppDaemon: Reading config
2019-04-02 08:06:21.219554 INFO AppDaemon: /config/appdaemon/apps/apps.yaml added or modified
2019-04-02 08:06:21.220853 INFO AppDaemon: /config/appdaemon/apps/apps.yaml added or modified
2019-04-02 08:06:21.221780 INFO HADashboard: New dashboard connected: Main Panel
2019-04-02 08:06:21.222434 INFO AppDaemon: App 'hello_world' added
2019-04-02 08:06:21.224141 INFO AppDaemon: Adding /config/appdaemon/apps to module import path
2019-04-02 08:06:21.225831 INFO AppDaemon: Loading App Module: /config/appdaemon/apps/hello.py
2019-04-02 08:06:21.261369 INFO AppDaemon: Initializing app hello_world using class HelloWorld from module hello
2019-04-02 08:06:21.388596 INFO HADashboard: New dashboard connected: Main Panel
2019-04-02 08:06:21.404584 INFO HADashboard: New dashboard connected: Main Panel
[08:06:21] INFO: Starting AppDaemon...
[08:06:22] INFO: Starting AppDaemon...
[08:06:23] INFO: Starting AppDaemon...
[08:06:24] INFO: Starting AppDaemon...
[08:06:25] INFO: Starting AppDaemon...
[08:06:26] INFO: Starting AppDaemon...
[08:06:27] INFO: Starting AppDaemon...
[08:06:28] INFO: Starting AppDaemon...
[08:06:29] INFO: Starting AppDaemon...
[08:06:30] INFO: Starting AppDaemon...
[08:06:31] INFO: Starting AppDaemon...

Same for me. I’m running HA v0.90.2 plus the default config and I get that INFO: Starting AppDaemon... message for as long as I am prepared to sit there tapping refresh. It won’t start!

Also tried a complete uninstall, deleted my appdaemon folder in config, then installed v2.0.1 from scratch. Still no joy.

SHould be fixed now - there was an issue with one of the AppDaemon libraries so I forced it to use an earlier known good version. This should have propagated through to the hass.io addon by now.

Great! So does this fix mean I should see a version higher than v2.0.1 ? Not sure if time zones affect update availability. I’m in Australia, can only see 2.0.1 still, did the update anyway in case your fix was embedded somehow. But still dont have a working AppDaemon. Hope it flows through soon. Thanks again.

In Italy same thing, only 2.0.1. Probably we must only wait!

:tada: Release v2.0.2

Full Changelog

Changed

  • :arrow_up: Updates appdaemon to v3.0.3 (#40)

Questions? Join our Discord server! https://discord.me/hassioaddons
Enjoying my add-ons? Consider supporting my work: https://patreon.com/frenck

Hi Frenck. Thanks for the update. I was hoping a new version + the change that @aimc applied would help with AppDaemon’s failure to start.

With v2.0.2, I’m still getting INFO: Starting AppDaemon... over and over.

and over and over and over :smiley:

I’ve had to go back to v1.7.0

Is it possible?? how??

You’ll need to have made a Snapshot from when you had a working version like v1.7.0. You can do a quick and easy restore of just AppDaemon. Un-check all the checkboxes other than AppDaemon in the restore window. Once restored, disable the auto-update in the add-on until we get some encouraging news here.

1 Like

thanks, next time I made snapshot BEFORE upgrade… :sweat_smile: