Community Hass.io Add-on: AppDaemon 3

Maybe i am wierd, but ha and hassio should be glad that there are programms like appdaemon that make it even better.
If hassio starts to make demands for other programs its a downhill slope.
If it goes on like this inthe future it will be
1)hassio with barebone ha or
2) homeassistant without hassio, but with a lot of other options.

@aimc, @frenck and @ReneTode I for one appreciate all of the work and time that you put in to make Home Assistant better (not meant to slight others).

When I get smart enough to help I will. If there is anything I can help with please ask.

I think that many are trying to make Hassio do everything that HA can do but not put any effort into it. That is a good expectation if you are paying for a program, but not for a free, open source program.

Thank you for your efforts.

3 Likes

Is the map_state supported on the sensor widget? I put the following definition for test and map_state doesn’t work but sub_entity_map does.

recu_special_mode:
  widget_type: sensor
  title: Rekuperator
  title2: Tryb pracy
  entity: sensor.rec_special_mode
  map_state:
    0: Harmonogram
    7: Wietrzenie
  sub_entity: sensor.rec_special_mode
  sub_entity_map:
    0: Harmonogram
    7: Wietrzenie

its state_map not map_state :wink:

:tada: Release v0.2.0

This release upgrades AppDaemon3 to v3.0.0 beta 4. It also adds support for the new security layer of Hass.io, in order to guarantee it keeps working now and in the future.

Full Changelog

Added

  • Warns the user when not using the Hass.io Proxy address
  • Adds support for auto configuring Hass.io API security key

Changed

  • Updates base image to v1.3.3
  • Optimizes images in this repository
  • Upgrades AppDaemon version to 3.0b4 (#7) (@acockburn)
3 Likes

Great, is the icon fixed?

No, I was only made aware of that issue this morning - it is fixed in the next version.

:tada: Release v0.3.0

Full Changelog

Changed

  • Updates AppDaemon to version 3.0.0b5 (#8) (@acockburn)

Rene, thanks for looking into it. My bad. I was trying both map_state and state_map and eventually pasted map_state config to the thread. None of them works anyway. The reason I was also trying map_state is because I saw somewhere in the code the property name self.map_state and wanted to try this one as well. No success so far. It looks like for sensor widget type, there is no map_state implemented at all. Funny, sub_entity_map works fine.

i did take a quick look in the code and it seems like that the sensor widget isnt the same as the others.
it seems that you can use “state_text” instead of “state_map”

@aimc if i am correct, then please change it in the code or in the docs

:tada: Release v1.0.0

First stable release containing the first AppDaemon 3.0.0 stable release!
Thanks to @aimc for all his hard work on this!

Full Changelog

Changed

  • Updates AppDaemon to version 3.0.0 (#9) (@acockburn)
2 Likes

Just updated from 0.3.0 to 1.0.0

Everything is working fine so far! Thank you.

@frenck, you full change log link is pointing to the wrong place…

Euhm no, it is not. This topic is about the add-on, the changelog links to the add-on changelog… Seems legit :sunny:

Sorry, i was expecting a list of new or changed stuff like you have on your fist post.

what you were looking for is here:

this topic is about the addon, which is the connection between hassio and appdaemon.

1 Like

That’s it! Thank you.

1 Like

Hi everyone!

Is there anyway to use “Time Travel” feature of AppDaemon3 with this Add-on?

Working with a lot of sunset/sunrise automations, and waking up at 7am just to check my scripts is maybe not the most flexible option :joy:

Thanks for your help !

if i am correct then its not possible to start appdaemon from the commandline in a terminal with hassio.
hassio is created to have a simple environment with a lot of options, but off course when you choose such a thing you also get some disadvantages.

Hi,
Since the announcement that Appdaemon 3 was out and Version 2 was depreciated I have spent many hours installing and uninstalling to try and get it to work. I am using the latest updated version of Hassio . At first I could see folders within the AppDaemon folder but since tonight there is nothing there. So, please can I check if the sub folders appear in the AppDaemon folder (in the config main folder) when I install the add-on or I have to add them myself. This may seem a damn question but I would like to ask it before I scream. I have done searches over the past couple of weeks to get this to work. From the pictures I’ve seen this looks great.

Here is the log with errors from restarting hassio
admain.main()
File “/usr/lib/python3.6/site-packages/appdaemon/admain.py”, line 154, in main
with open(config_file_yaml, ‘r’) as yamlfd:
FileNotFoundError: [Errno 2] No such file or directory: ‘/config/appdaemon/appdaemon.yaml’
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 365, in main
admain.main()
File “/usr/lib/python3.6/site-packages/appdaemon/admain.py”, line 154, in main
with open(config_file_yaml, ‘r’) as yamlfd:
FileNotFoundError: [Errno 2] No such file or directory: ‘/config/appdaemon/appdaemon.yaml’
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 365, in main
admain.main()
File “/usr/lib/python3.6/site-packages/appdaemon/admain.py”, line 154, in main
with open(config_file_yaml, ‘r’) as yamlfd:
FileNotFoundError: [Errno 2] No such file or directory: ‘/config/appdaemon/appdaemon.yaml’
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 365, in main
admain.main()
File “/usr/lib/python3.6/site-packages/appdaemon/admain.py”, line 154, in main
with open(config_file_yaml, ‘r’) as yamlfd:
FileNotFoundError: [Errno 2] No such file or directory: ‘/config/appdaemon/appdaemon.yaml’
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 365, in main
admain.main()
File “/usr/lib/python3.6/site-packages/appdaemon/admain.py”, line 154, in main
with open(config_file_yaml, ‘r’) as yamlfd:
FileNotFoundError: [Errno 2] No such file or directory: ‘/config/appdaemon/appdaemon.yaml’
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 365, in main
admain.main()
File “/usr/lib/python3.6/site-packages/appdaemon/admain.py”, line 154, in main
with open(config_file_yaml, ‘r’) as yamlfd:
FileNotFoundError: [Errno 2] No such file or directory: ‘/config/appdaemon/appdaemon.yaml’
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 365, in main
admain.main()
File “/usr/lib/python3.6/site-packages/appdaemon/admain.py”, line 154, in main
with open(config_file_yaml, ‘r’) as yamlfd:
FileNotFoundError: [Errno 2] No such file or directory: ‘/config/appdaemon/appdaemon.yaml’
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 365, in main
admain.main()
File “/usr/lib/python3.6/site-packages/appdaemon/admain.py”, line 154, in main
with open(config_file_yaml, ‘r’) as yamlfd:
FileNotFoundError: [Errno 2] No such file or directory: ‘/config/appdaemon/appdaemon.yaml’
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 365, in main
admain.main()
File “/usr/lib/python3.6/site-packages/appdaemon/admain.py”, line 154, in main
with open(config_file_yaml, ‘r’) as yamlfd:
FileNotFoundError: [Errno 2] No such file or directory: ‘/config/appdaemon/appdaemon.yaml’
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 365, in main
admain.main()
File “/usr/lib/python3.6/site-packages/appdaemon/admain.py”, line 154, in main
with open(config_file_yaml, ‘r’) as yamlfd:
FileNotFoundError: [Errno 2] No such file or directory: ‘/config/appdaemon/appdaemon.yaml’
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 365, in main
admain.main()
File “/usr/lib/python3.6/site-packages/appdaemon/admain.py”, line 154, in main
with open(config_file_yaml, ‘r’) as yamlfd:
FileNotFoundError: [Errno 2] No such file or directory: ‘/config/appdaemon/appdaemon.yaml’
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 365, in main
admain.main()
File “/usr/lib/python3.6/site-packages/appdaemon/admain.py”, line 154, in main
with open(config_file_yaml, ‘r’) as yamlfd:
FileNotFoundError: [Errno 2] No such file or directory: ‘/config/appdaemon/appdaemon.yaml’
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 365, in main
admain.main()
File “/usr/lib/python3.6/site-packages/appdaemon/admain.py”, line 154, in main
with open(config_file_yaml, ‘r’) as yamlfd:
FileNotFoundError: [Errno 2] No such file or directory: ‘/config/appdaemon/appdaemon.yaml’

Thanks

with a first install the files are probably created, but reinstalling is always tricky.

at least make sure that this /config/appdaemon/appdaemon.yaml file exist and has the right configuration.