Advertisement
Guest User

Untitled

a guest
Sep 3rd, 2019
147
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.58 KB | None | 0 0
  1. module: "MMM-Hotword",
  2. position: "top_right",
  3. config: {
  4. chimeOnFinish: null,
  5. mic: {
  6. recordProgram: "arecord",
  7. device: "plughw:1"
  8. },
  9. models: [
  10. {
  11. hotwords : "smart_mirror",
  12. file : "smart_mirror.umdl",
  13. sensitivity : "0.5",
  14. },
  15. ],
  16. commands: {
  17. "smart_mirror": {
  18. notificationExec: {
  19. notification: "ASSISTANT_ACTIVATE",
  20. payload: (detected, afterRecord) => {
  21. return {profile:"default"}
  22. }
  23. },
  24. restart:false,
  25. afterRecordLimit:0
  26. }
  27. }
  28. }
  29. },
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement