Hi Everyone,
I need some help so I can test out a possible solution to us being able to use the Amazon Echo and Echo Dot Microphones for use with Vox.
It will basically work by scraping the voice recording history page where everything said to an echo device you own is stored in text.
So the idea is to scrape the text and then have it passed to vox as a command, the only problem for now is I will need to name my vox Alexa or have one of it's activation words be Alexa at least since the history text contains the ACTIVATION WORD and then what was said after it.
The url that the information needs pulling from is:
http://alexa.amazon.co.uk/spa/index.html?#settings/dialogsIt updates in real time after saying anything to the Echo device, so if someone can whip up some code to test it that would be great.
I will just have my robo browser login info saved so I can go straight to
http://alexa.amazon.co.uk/spa/index.html?#settings/dialogsThe thing I can't work out from the code I scraped to find where the text I say appears is how to get vox to find the most recent version / command I have said as the span number in code will change as new commands come in and there will be multiple commands on a page, so how to get vox to pull just the most recent history event text.
Maybe have the robo b page maximise and then use the coordinates of the variable "dd-title d-dialog-title" to scan just that bit of text.
If you have any ideas or suggestions or can help with some code to pull the spoken command text and then have it input to vox that would be great.
Thanks in advance for any help.
Sim
P.S: Span Class= is "dd-title d-dialog-title" >whatever my command I said was goes here</span>