Official action code for Snips Voice Interaction Development Kit.
💡 Controlling a connected device
"Hey snips, please turn on my light"
"Hey snips, please turn off my light"
⛄️ Asking for temperature
"Hey snips, please tell me the current temperature?"
🎍 Asking for humidity
"Hey snips, what's the humidity in the room?"
Please make sure that
_snips-skills user has permission to access
To grant this permission, run the following command on Raspberry Pi:
sudo usermod -a -G i2c,spi,gpio,audio _snips-skills
If install to a satellite device, please make sure it has
snips-skill-server installed first.
sudo apt-get install snips-skill-server
With Assistant (Recommend)
- Create a Snips account here
- Create an assistant in Snips Console
- Add Voice Interaction Dev Kit App to your assistant
- Deploy assistant by executing the provided command on your laptop
Only action code
sam to fetch the content of this repo on your laptop
sam install actions -g https://github.com/snipsco/snips-demo-dev-kit.git
- Clone the content of this repo to local:
git clone https://github.com/snipsco/snips-demo-dev-kit.git
cd snips-demo-dev-kit/ ./setup.sh
- Activate virtual environment:
- Run the action code:
||MQTT host name||
||MQTT port number||
||Snips device ID||Refering to the actual
‼️ If this skill is installed on a satellite device, please change the
site_id to the one set for satellite, and change
mqtt_host connecting to master device.
||The tts language||
NOTE: Japanese text-to-speech is not yet supported, which means that adding Japanese translation will block
Relay GPIO pin
||The BCM GPIO number||Available BCM pin number||
||The unit applied to temperature||
Please see the Contribution Guidelines.