News for hackers. Stuff that matters.
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!