Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- module: "MMM-Hotword",
- position: "top_right",
- config: {
- chimeOnFinish: null,
- mic: {
- recordProgram: "arecord",
- device: "plughw:1"
- },
- models: [
- {
- hotwords : "smart_mirror",
- file : "smart_mirror.umdl",
- sensitivity : "0.5",
- },
- ],
- commands: {
- "smart_mirror": {
- notificationExec: {
- notification: "ASSISTANT_ACTIVATE",
- payload: (detected, afterRecord) => {
- return {profile:"default"}
- }
- },
- restart:false,
- afterRecordLimit:0
- }
- }
- }
- },
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement