ATTENTION: The adapter is no longer being developed or maintained because Sonos bought Snips and the free platform was be discontinued on 02/01/2020. The adapter and installed snips devices will still work.
Requires node.js 6.0 or higher and Admin v3!
The adapter communicates with Snips hardware by MQTT.The text2command adapter is required to execute the commands.
Snips Url: https://makers.snips.ai/
For Snips under Debian Stretch (x86), Raspbian / Armbian Stretch (RPI3, Odroid) please install the following packages:
lsb-release apt-transport-https ca-certificates systemd systemd-sysv libttspico-utils alsa-utils dirmngr mosquitto snips-asr snips-audio-server snips-dialogue snips-hotword snips-nlu snips-tts snips-injection
Depending on your hardware and Linux distribution, you may already have packages installed.
Installation instructions and configuration for Raspian / Armbian: https://snips.gitbook.io/documentation/installing-snips/on-a-raspberry-pi
Installation instructions and configuration for Debian: sudo nano /etc/apt/sources.list Attach "non-free" in each line, otherwise you can not install the package "libttspico-utils". https://snips.gitbook.io/documentation/advanced-configuration/advanced-solutions
Log in to https://console.snips.ai and add a new wizard. Add an app, above the check mark "only show apps with actions" and search for iobroker and select. When you're done, press Deploy Assistant to download the ZIP file. The zipfile is unpacked on the snips machine under "/ usr / share / snips", then reboot.
Snips should work before we continue here:
Url : Address of the Snips-MQTT-Servers Port : Port of the Snips-MQTT-Servers Instanz : Text2Command-Instanz (for example 0) Filter : for example understand ClientID : ID (for example 0)
Insert in the config of the Text2Command adapter under Answer in ID snips.X.devices.all.send.say.text.
Unknown words can be learned under snips.0.send.inject.room or device. ATTENTION: inject service has to be installed on the device/server sudo apt-get install -y snips-injection
- (unltdnetworx) new adapter testing and security update
- (unltdnetworx) removal of language support, may come back
- (unltdnetworx) multilingualism support for german and english
- (unltdnetworx) add multilingual blinds/switch-rule
- (unltdnetworx) preparation for multilingualism support
- (unltdnetworx) bugfix for multiple devices in stellite's room
- (unltdnetworx) possibility to enforce the room for a satellite
- (unltdnetworx) security update because of vulnerability in pulled by mqtt-dependency mqtt-package
- (unltdnetworx) activation/deactivation of hotword recognition for each satellite (mute)
- (unltdnetworx) bugfixes for adapter-testing
- (unltdnetworx) control soundfeedback for every satellite
- (unltdnetworx) delete states after session ended
- (unltdnetworx) create satellites manually
- (apollon77) Update CI testing
- (unltdnetworx) support for satellites
- (wal) bugfix memoryleak
- (wal) stable version
- (unltdnetworx) bugfix for not recognized slots
- (unltdnetworx) slots reduced to two
- (unltdnetworx) slot setBoolean changed to setDevice
- (unltdnetworx) slot-type names converted to singular
- (unltdnetworx) support for compact-mode added
- (unltdnetworx) 2 new slots added incl. injection
- (wal) add soundfeedback
- (unltdnetworx) testadapter and slots added
- (wal) adaptation for new snips version
- (wal) file corrupt
- (wal) add receive.text
- (wal) bugfix injection
- (wal) add hotword recognize
- (wal) add filter and text2command_Instanz
- (wal) first working adapter
- (wal) initial release
The MIT License (MIT)
Copyright (c) 2020 Michael Schuster development@unltd-networx.de & Walter Zengel w.zengel@gmx.de
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.