Community Hass.io Add-on: AppDaemon 3

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.

When I check the files via samba /config/appdaemon/ exists but nothing shows within the folder/directory which appears empty. I just tried reinstalling with nothing still showing and same log as above.

like i said it could be that reinstalling gives trouble.
you could try to create the needed files and directory structure yourselve.

Thanks, I will try that. I’ll do some research in doing that. I cann’t fully remember what should be there.