My step by step creation of an appdaemon automation

If anyone are interested, I made a step-by-step guide of one of my automations in appdaemon.
Maybe someone can get inspired by that :slight_smile:
Guide is here: https://www.cron.dk/automations-the-programmatic-approach/

Comments are welcome :slight_smile:

Best regards,
Alex

7 Likes

Nice guide, I will have to make some effort to learn python :wink:

Very nicely written up - makes me want to start writing apps too :wink:

2 Likes

Like! I got inspired by the use of sliders. Perhaps I steal that approach to be able to easily play around with the light level that defines when my light should go on…

It’s always nice to read how a problem make someone structure their code.

tried installing appdaemon in virtual environment, and keeps asking me for a password, so I installed it normally. After creating the file appdaemon.service it gives me this error

pi@hassbian:/etc/systemd/system/multi-user.target.wants $ sudo systemctl enable appdaemon.service
Failed to execute operation: No such file or directory

Did you check that you can run the line ExecStart in appdaemon.service by hand?