Does anyone know how to include a file in a payload inside a POST call? I read this page and it doesnt seem to have this info. Perhaps Home Assistant api cant do it?
Anyway I can write a python script to do this as a service?
What i need to achieve:
- If motion detected then take a photo
- Make a POST request to my facial recognition service
- Examine the response for names
- Run another task like tell Alexa to say “Good Morning . Heres the weather and commute info”
Im currently stuck at 2