3 ms·
YO. This is super-nice. Is anyone aware of people using this with bash shell scripts, which are my bread and butter? Offhand, I can't think of why this should
by jrm4 4y ago
YO. This is super-nice. Is anyone aware of people using this with bash shell scripts, which are my bread and butter?
Offhand, I can't think of why this should be too hard, if it generates JSON or whatnot I can set up a watch folder or something?
- rft 4y agoYou can set Intent Handling to a local command (instead of Home Assistant in my example) [1]. I never tried that, but according to the docs you get JSON on stdin and output JSON on stdout. From that you should be able to hack in any pipeline you need. [1] https://rhasspy.readthedocs.io/en/latest/intent-handling/#command https://rhasspy.readthedocs.io/en/latest/intent-handling/#co...
- synesthesiam 4y agoThis was the reason I designed voice2json [1] :) [1] https://voice2json.org/ https://voice2json.org/
- jrm4 4y agoYup, I remember seeing this as well. I'm trying to determine the major differences between Rhasspy and this?
- synesthesiam 4y agoThey share a lot of the same pieces, but voice2json is meant to work in Unix-style pipelines. Rhasspy has MQTT/HTTP/Websocket APIs instead.
- lukifer 4y agoRhasspy is a more powerful general-purpose application and GUI; voice2json is more like a library or micro-service that does exactly one thing: convert a speech waveform to JSON. They share some DNA though (same syntax for defining vocabulary). I used voice2json to build a voice-controlled car audio player, it works amazingly well: https://github.com/lukifer/voicetunes https://github.com/lukifer/voicetunes
- thinkingcow 4y agoI've written some Rhasspy bash scripts for managing timers, doing units conversions (for cooking), and interfacing with mpd for music control. see https://github.com/thinkingcow/homeassistant https://github.com/thinkingcow/homeassistant