Since google released google-assistants-sdk, now we can use it to have true voice control over anything.
I have seen some solutions using IFTTT or actions on google which are either overkill or too slow ( since are calling more external services than necessary ).
For this guide to work you need to have an aditional raspberry pi you then setup google assistant on top of the pi and go from there.
I have all the code open on github, feel free to take a look and contribute if you have an idea.
I use the google assitant and I watch the speech that it recognizes to run arbitrary scripts with arguments coming from the speech. I have a few scripts that I use daily and now they all work through this voice interface.
- search and play youtube video
- play trending music from youtube
- control playback on kodi
- listen to random interesting ted talks
- run whatever script you have with whatever arguments.
For Quick Start please refer to the repo's readme.