MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.

    My first module

    Scheduled Pinned Locked Moved Development
    10 Posts 2 Posters 5.8k Views 2 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • G Offline
      gismo2006
      last edited by

      Ok I will do what you say.

      Ok I have done

      I have found the Problem. the dev consoles says

      Sounds.js:15 Uncaught ReferenceError: exec is not defined.

      Can i delete the word exec? But I think I have to use it to run the script, right?

      greets gismo

      strawberry 3.141S 1 Reply Last reply Reply Quote 0
      • strawberry 3.141S Offline
        strawberry 3.141 Project Sponsor Module Developer @gismo2006
        last edited by strawberry 3.141

        @gismo2006 yeah you have to create a node_helper to run the script and send a socketnotification t the node_helper and there you can run the script

        Please create a github issue if you need help, so I can keep track

        1 Reply Last reply Reply Quote 0
        • G Offline
          gismo2006
          last edited by

          Ok, Thank you for your help. I will try myself to go this next step…

          strawberry 3.141S 1 Reply Last reply Reply Quote 1
          • strawberry 3.141S Offline
            strawberry 3.141 Project Sponsor Module Developer @gismo2006
            last edited by

            @gismo2006 https://github.com/fewieden/MMM-voice/blob/f9eb4cd4bde5c64ef894e8625250c4092aa0d4a7/node_helper.js

            line 10, 23-31, 213 will help you

            Please create a github issue if you need help, so I can keep track

            1 Reply Last reply Reply Quote 0
            • G Offline
              gismo2006
              last edited by

              Thank you I have looked in the notification Node_helper.js code which was posted in the Voicecontrol post from @tyho. And it works now fine. Now I can learning something new. To grow up my modul and finding a really reason for my module :-D

              But I like to say Thank you. You helped me a lot. :-)

              greets gismo

              strawberry 3.141S 1 Reply Last reply Reply Quote 0
              • strawberry 3.141S Offline
                strawberry 3.141 Project Sponsor Module Developer @gismo2006
                last edited by

                @gismo2006 no worries, if you come up with more questions don’t hesitate to ask

                Please create a github issue if you need help, so I can keep track

                1 Reply Last reply Reply Quote 1
                • 1 / 1
                • First post
                  Last post
                Enjoying MagicMirror? Please consider a donation!
                MagicMirror created by Michael Teeuw.
                Forum managed by Sam, technical setup by Karsten.
                This forum is using NodeBB as its core | Contributors
                Contact | Privacy Policy