I’ve created a Voice Assistant for Asterisk server which is integrated with Home Assistant, so I am posting it here to show off my work and help anyone who might be interested.
I am using Google for Speech Recognition and Text-to-Speech, so internet is required to run it.
Everything else is offline, so no credentials are exposed to the internet.
The project is split into three parts:
- Speech Recognition which records the speaker and outputs the text he said
- TTS which gets a string and converts it into a audio file to play
- Intent which matches the sentence of the user with the predefined sentences and executes the action
You can download and read more on this project at Asterisk Assistant.