AppDaemon Docs

Just wanted to let all you AppDaemon fans know that I have setup AppDaemon documentation on readthedocs. This is cool because it means the docs are available online in a formatted searchable way and will be automatically updated each release. To get the latest follow the link:

http://appdaemon.readthedocs.io/en/latest/

8 Likes

its waaaaaaaay better then trying to find something on github in a md file :wink:

1 Like

Great work! Thanks.

1 Like

Wow. Super slick. HASS might consider switching to this!

2 Likes

Very nice!
This might just be the thing to make me move to AppDaemon and HADashboard rather than continuing to fight with YAML.

Thanks a ton for that!

Sounds good to me :wink:

So, after 4+ hours thatā€™s where I am with my installation following the instructions:

Originally, I tried to install AppDeamon on my Pi3 that I used as a test environment for HA before, running the latest version of HA, i.e. 0.50.2, in a virtual environment.
The final plan is to run HA on one Pi and AppDeamon/HADasboard on another.

As I didnā€™t make much progress due to error messages left, right, and center, I decided to go down a different route:

I downloaded the latest Hassbian image and put it on a new SD card.

After doing the standard ā€˜apt-get updateā€™ and apt-get upgradeā€™ I followed the instruction (ā€˜sudo pip3 install appdaemonā€™) in the install section of the manual. Got more error messages.

Found a hint in the forum and did a ā€˜sudo apt-get install libffi-devā€™.

Still error messages.

Ran ā€˜sudo pip3 install pytzā€™.

Still not error free.

Did a pip3 --upgrade on urllib3 and chardet.

Fewer error messages, still not connecting to my Pi - neither the one that runs HA nor the one AD is installed on.

This is the content of my appdaemon.yaml with the understanding that most everything is optional:

AppDaemon:
  threads: 10

HASS:
  ha_url: http://192.168.7.16:8123/

I tried it with many many other values for each and every single option in the config file.
The IP addess is the one of the Pi AD is installed one.

And here is the error message Iā€™m still getting:

2017-08-12 20:07:06.985269 INFO AppDaemon Version 2.1.0 starting
2017-08-12 20:07:06.985814 INFO Configuration read from: /home/homeassistant/conf/appdaemon.yaml
2017-08-12 20:07:07.009302 WARNING Unable to connect to Home Assistant, retrying in 5 seconds

Please donā€™t get wrong, this is not supposed to be a rant about my difficulties.
Iā€™m just trying to document the issues Iā€™m having trying to get AD to run on a fresh install of Hassbian, which is what I see the last and final resort for me to get it working as a minimum, unspoiled setup.

Final thought:
Maybe I got tripped up by a rights management issue (again), but starting with a fresh Hassbian install I can only log in as user ā€˜piā€™ and create directories files and files (I use nano instead of vi) using ā€˜sudoā€™.

So, I wrote all this up and now its working after all :wink:

And here is the solution:
Remove the ā€˜/ā€™ at the end the string for the ha_url!

Maybe this hint an my other items can go into the documentation - not sure, if they were strictly necessary, but they came up in the error messages I received. Over and Over again.

Thanks for writing your experiences up - the libffi-dev is in the latest version of the docs, and I can add a note not to have a trailing ā€œ/ā€ :slight_smile: