Open SweeneyToddTheDemonBarber opened 8 years ago
+1
The problem is that PIAUISuite is great at performing a specific action when give a specific command.
So what you have at the moment (I am guessing some playback controls that don't require reading the library?) is probably the best you are going to get.
The processing of the library and the interpretation of the intent of your command is quite complicated.
If you have a couple of hours spare then pop a new SD card into your Pi and experiment. It is the best way to learn and understand how it all works.
Follow the tutorial for kodi-alexa http://www.howtogeek.com/249336/how-to-control-your-kodi-media-center-with-an-amazon-echo/ and you can test using the web based Echo https://echosim.io/ It will be easier for you to get that working than trying to create your own application based on Steven's scripts.
If you have an Android device the Kodi remote app "Yatse" has voice control.
You can also get Alexa running on the Pi by slightly adapting this tutorial. https://www.hackster.io/fcooper27/beaglealexa-56f174 It goes through the process of seting up an offline "always listening" keyword detection, then once keyword is detected it will record and transmit to wit.ai for processing. If nothing on wit then it hands the request to Alexa.
Results will not be perfect, the technology just isn't quite there and whilst it is very cool to be able to say "Alexa, tell kodi to play a random episode of Bob's Burgers" the process of activating Alexa by button or voice, then waiting for the command to be sent to Amazon and processed (around 10-15 seconds). If you are lucky it works, if you are not then you have to repeat the steps again. The cool factor quickly vanishes when having to repeat yourself and getting interrupted mid sentance.
You will quickly realise a few clicks with your thumb on a remote really isn't that bad after all :)
Hey guys, I got my PiAUISuite working about a month ago and have been loving it. I have another Pi running OSMC (Kodi or XBMC) so I decided I could use this to make the programme even better. I can at the moment send some commands to Kodi using xbmc-send. But it is very limited. I found this https://github.com/m0ngr31/kodi-alexa/blob/master/kodi.py which is an excellent program that has all the commands available and is already working with some sort of voice command programme. Is there any way to be able to do something with or like that? Thanks