Hello!
I’m currently planning my future smart home and some python AI behind it.
Currently I’m building a smart voice assistant using python and chatterbot, it can already perform tasks like:
- Full AIMP music control, including playing songs by name and translating song names
- Telling time and date
- Math calculations
- Checking social network messages and reading them if asked
- performing book-search on multiple sites by book’s name, and building a list of available links and downloading closest match if the book is available for free
- using multiple voice-recognition services for best results and fail-safe (google, bing, yandex and sphinx)
- groundwork for future command-processing
- Chatting with a self-learning chat bot
- Shutting PC down and rebooting
- Checking PC status
And I have a lot more stuff in mind.
So, thats basically a back-end right now, and I’m thinking about how to make it’s front end and integration with Home Assistant. Usually I go for PySide\PyQT GUI, but I think that for this task it would be better to have an app running on the server, and accessible from any device from inside the local network and outside of it too. Like just picking up your phone, openning it’s url and talking to it, sending data to the server, processing, responding, etc.
Sending commands to HA seems pretty straight forward,using it’s Python API.
So, I’d like to hear any thoughts about that. But I have one question right away:
Is it possible (and how if it is) to use HA’s voice recording\recognition to send commands to some other python app running on the same machine or something? What would be the easiest way to do it?
Basically, I don’t want to dig into HA development, at all if possible, or at least not much, just somehow building my ‘AI’ around HA. Since I basically only need to have ability to input voice commands using multiple devices through web interface, I thought that using HA’s already working UI seems logical.
If not, I will dig into web-ui development, to build my own web ui for my Voice Assistant, while only using HA to access smart-home features (lights, sensors, etc).
Thank you for any help and advice.
Cheers.