For some time now I’m working on a chatbot integration for homeassistant.
Originally the project started as a whatsapp/signal chatbot that I used to transcribe and summarize voice messages because some friends of mine thought sending a 2 minute voice message is better than sending a short text with the most important information.
However, with the new voice APIs I figured I could also use it to send commands to homeassistant without exposing homeassistant via vpn or other solutions.
I created a group with myself and the bot and the bot processes all voice messages in the group via homeassistant. When I have a visitor I add him or her to the same group and they can use it to open the door without a key for example.
The voice transcription functionality is still there though:
The whole thing works with Whatsapp using wpp-connect server, Signal Messenger using signal-cli-web api and telegram. Telegram support is still limited though as it does not fulfill my security or privacy needs due to Telegram only having limited encryption possibilities.
Project: GitHub - peteh/smrt-chatbot: Chatbot with voice transcription and Homeassistant integration