Is there any way to give text commands to Assist, other than via compagnon for Android wear or the Assist button in the browser or app. I would like to implement my own solution for the mobile phone, for example with Tasker in connection with Telegram or mqtt. But so far I have not been able to find anything. As a service, event, url handler, etc., Assist is apparently not accessible.
OR is there any way to give a command with e.g. conversation.process? And whow?
Yeah, it really works with Tasker!
HTTP Requests: POST
URL: http://192.168.1XX.XX:8123/api/conversation/process
Header:
Content-Type: application/json
Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9..... (Token)
Body:
{
"text": "Jalousie rechts hoch",
"language": "en"
}
So far, this works quite well at home in the network, for example with Google voice input and a signal word, everything managed by Tasker. But is there also an internal command to send text to the Assist? I would like to be able to control the Assist while on the move, for example with a Telegram Bot.
The POST command can also be published and evaluated directly by Home Assistant in the same way, so this also works via Telegram, ntfy or similar. My problem with Telegram now, however, is that I can apparently only post as a bot via Tasker, but Telegram has not yet reacted to these messages as an event. If I send the command directly via the Telegram app in the same chat, it works. But that is a different question.