Would love to see a TTS implementation

@frenck Can correct me, but although the API is in 2.1.12, I don’t believe the hass.io supports it until the appdaemon3 addon.

3.0 is now out of beta, so it’s a good time to upgrade :slight_smile:

The latest version of the AppDaemon2 add-on for Hass.io contains AppDaemon 2.1.12 and supports the API of AppDaemon.

IT’S WORKING.

After shelving this project for a while out of frustration, I revisited it today and finally figured it out. What I needed to fix:

  1. Changing the api_port to 5050. It seems to be a hass.io limitation that only one open port is supported, as outlined here by @Mark_Boss. I don’t currently use the Dashboard anyway so I disabled it and hijacked port 5050.

  2. Adding {} to the Data/File section of my Tasker task (or if using curl, -d ‘{}’

  3. Switching /appdaemon/api for /api/appdaemon

So the final command that got it working was:

curl -i -X POST -H "Content-Type: application/json" http://myaddress:5050/api/appdaemon/endpointname?api_password=mypassword -d '{}'
1 Like