Re:Show HN: Snips is a AI Voice Assistant platform 100% on-d...
by jhewitt123 on Thursday June 15, 2017 @08:35AM
(#14559778)
Cool, I have been experimenting with Google's VoiceHAT board, and the Picroft open source voice control from Mycroft which runs on Pi, both of which are fairly straightforward to set up to control real world devices. How does one do this in Snips?
[ Parent
| on HN ]
Re:Show HN: Snips is a AI Voice Assistant platform 100% on-d...
by oulipo on Thursday June 15, 2017 @08:44AM
(#14559829)
You can code any handler you want using your favorite language, the output of the Natural Language Understanding is sent on a MQTT bus
you need to add a MQTT listener in your code (there are many libraries in many languages), you can see an example on the documentation https://github.com/snipsco/snips-platform-documentation/wiki...
Re:Show HN: Snips is a AI Voice Assistant platform 100% on-d...
by jhewitt123 on Thursday June 15, 2017 @08:59AM
(#14559940)
Not very familiar with MQTTother then that a few micro boards I use like the ESP8266 can comeready for it. I mean just set up a voice key word to toggle a pin on the raspberry Pi to control a relay. With the VoiceHAT you just setup a word in a Python program, simple. In Picroft, you do a similar thing. Here I toggle an LED with the VoiceHAT; for example, https://plus.google.com/115226830543207487087
Re:Show HN: Snips is a AI Voice Assistant platform 100% on-d...
by wiml on Thursday June 15, 2017 @12:51PM
(#14562074)
MQTT is a simple protocol for publishing/subscribing to events (over a network if you like). The Python clients on https://github.com/mqtt/mqtt.github.io/wiki/libraries look like they all have examples of a simple "run this python function whenever XYZ message happens" program.
Re:Show HN: Snips is a AI Voice Assistant platform 100% on-d...
by oulipo on Thursday June 15, 2017 @09:22AM
(#14560107)
It is the same with our platform, you can bind to the "hotword detected" message and run the code you want
Re:Show HN: Snips is a AI Voice Assistant platform 100% on-d...
by jhewitt123 on Thursday June 15, 2017 @11:22AM
(#14561217)
I'd love to try it out, just don;t know how to doit honesty, nor how to add an MQTT handlerfor that matter. I can install and run programs on the Pi, and wire relays to pins, that's about it.
Re:Show HN: Snips is a AI Voice Assistant platform 100% on-d...
by oulipo on Thursday June 15, 2017 @03:06PM
(#14563432)
Take a look at https://github.com/snipsco/snips-platform-documentation/tree..., it is as simple as
pip install paho-mqtt
and writing a dozen line of Python!
Re:Show HN: Snips is a AI Voice Assistant platform 100% on-d...
by JshWright on Thursday June 15, 2017 @01:33PM
(#14562460)
I already run an MQTT broker for home automation stuff. How hard would it be to tell Snips to talk to that?
Re:Show HN: Snips is a AI Voice Assistant platform 100% on-d...
by oulipo on Thursday June 15, 2017 @03:05PM
(#14563423)
It is actually configurable, and as the platform is open and extensible it won't be too hard. For now you can have your broker send some messages on our MQTT bus, but later we will make this fully configurable
Re:Show HN: Snips is a AI Voice Assistant platform 100% on-d...
by rcarmo on Thursday June 15, 2017 @09:24AM
(#14560118)
I've been trying to get a VoiceHAT. Any pointers on buying one without the magazine?
Re:Show HN: Snips is a AI Voice Assistant platform 100% on-d...
by jhewitt123 on Thursday June 15, 2017 @09:33AM
(#14560177)
That is a tough one. It was difficult for me to even get the outsput schematic on the voice HAT to control hardware. Working with a guy named Shabazz eventually figured out a presumptive mosFET circuit google must be using. The best teardown guide I have seen is here: http://hackaday.com/2017/05/30/diy-google-aiy/ with some more history on the outputs here: https://www.element14.com/community/community/raspberry-pi/b...