MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    1. Home
    2. LincolnClay
    3. Topics
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.
    L
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 4
    • Posts 11
    • Groups 0

    Topics

    • L

      Voicecontrol interaction with compliments

      Watching Ignoring Scheduled Pinned Locked Moved Troubleshooting
      1
      0 Votes
      1 Posts
      1k Views
      L
      Hi, I am using the voicecontrol by alexya and I am trying to display a message on the mirror after saying a hotword. Because this is a one-time thing, I figured I could use the compliments module to display the message. I have downloaded the .pmdl file from Snowboy, but I still struggle to implement the code in the compliments module. This is how my config file looks like: { module: 'voicecontrol', position: 'bottom_left', config: { models: [ { keyword: "Test", // keyword description: "Say 'Test", file: "Test.pmdl", // trained model file name message: "PLAY_MUSIC" // notification message that's broadcast in the MagicMirror app }, ] } }, Obvously I know PLAY_MUSIC is incorrect, but I still havent found out what the correct command would be to display the message in the compliments module. Also if I understood it correctly the following code is suppsoed to go within the compliments.js file. notificationReceived: function(notification, payload, sender) { if (notification === "Test"){ this.media.play(); } }, What should I replace with PLAY_MUSIC and this.media.play(); to display a message from the compliments module ? And how do I specify what kind of message that get displayed?
    • L

      Settings in config.js aren't loaded after reboot of RasPi

      Watching Ignoring Scheduled Pinned Locked Moved Solved Troubleshooting
      6
      0 Votes
      6 Posts
      3k Views
      morozgrafixM
      cool, glad you managed to get it resolved and up and running.
    • 1 / 1