AppDaemon API

I’m confused about what the API is as mentioned in the configuration section of the docs. These are listed as optional (api_port, api_key, etc), but isn’t this how appdaemon can interface with home assistant?

I suspect that this is a very dumb question, but y’all are here to help. :stuck_out_tongue:

Those are specifically for the AppDaemon api if you would like to interface with AppDaemon from a third party tool/application like IFTTT. The HA setup is done under HASS like so:

HASS:
  ha_key: ha_password
  ha_url: http://192.168.1.18:8123
3 Likes

I gotcha! I was clear on the HASS part, but didn’t understand what the api was for. Thank you!

I hadn’t even thought of that as an application for the API - does it work?

Haven’t tried it yet, either. :slight_smile: was the most universal use case I could think of to help answer the question.

2 Likes

you could actually say that the appdaemon API makes appdaemon the most general component from HA.

android app > AD> some calculation > HA
IOS app > AD> some calculation > HA
MQTT > AD> some calculation > HA
IFTTT > AD> some calculation > HA
any kind of sensor > AD> some calculation > HA
any kind of switch > AD> some calculation > HA
any kind of camera > AD> some calculation > HA
any other kind of input > AD> some calculation > HA

you can translate EVERY component from HA to an app, change the output and use it as input for HA