Hi everyone,
I’d like to leverage Intent Script functionality in HA but I canno find the simples example just showing me what’s the kind of REST call that HA is expecting to receive to forward the invocation the a corresponding Intent handler.
Does anyone have such example or could point me to a doc page showing me that?
thank you
paolo
I don’t know if this is exactly what your looking for but I use some (what I’m sure is primitive use of based on my knowledge) curl commands in my HA. Brief background so these lines of code make more sense. I built a solar powered blinds tilt system using Moteino’s and Arduino. To keep the battery consumption extremely low they use RFM69HW chips to communicate with a WeMos wearing a RFM69HW shield. The Wemos was setup with a Arduino basic interface and relays commands to the Moteino’s by parsing web strings. This project was originally started when I was running on Smartthings and I’ve adapted it to work with HA.
With that said I created 2 covers in my configuration.yaml (one for each of my blinds).
cover:
- platform: command_line
covers:
curtain:
command_open: "/usr/bin/curl -X GET http://192.1.1.125/Blind/ID=1/level=080"
command_close: "/usr/bin/curl -X GET http://192.1.1.125/Blind/ID=1/level=001"
command_state: state_command curtain
value_template: >
{% if value == 'open' %}
080
{% elif value == 'closed' %}
001
{% endif %}
friendly_name: Blinds - Right
- platform: command_line
covers:
curtain:
command_open: "/usr/bin/curl -X GET http://192.1.1.125/Blind/ID=2/level=080"
command_close: "/usr/bin/curl -X GET http://192.1.1.125/Blind/ID=2/level=001"
command_state: state_command curtain
value_template: >
{% if value == 'open' %}
080
{% elif value == 'closed' %}
001
{% endif %}
friendly_name: Blinds - Left
I then added an entities card in LoveLace one for cover.blinds_left & cover.blinds_right. This gives me what essentially act like garage door openers for my blinds. I’ve also added those covers to daily automatons opening and closing on a schedule.
Again not sure this is what you were looking for but maybe it’ll get you in the right direction or know which direction you don’t want to go in 
Additional: If you get some good info on how to accept responses from the web get please pass it along. My devices were designed to accept the requests from the WeMos and respond with each request with status, battery level and charging status among a couple others but my limited knowledge stopped me from implementing this response feature.