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.

    Where to begin for module making?

    Scheduled Pinned Locked Moved Development
    5 Posts 3 Posters 2.1k Views 3 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.
    • T Offline
      Terrence
      last edited by

      Good Morning All.

      I have recently started with MagicMirror, set up a few things… edited a couple of modules, just having fun with it you know.
      Now I would like to make my own module as what I want doesn’t exist.

      Firstly my question then I will explain what the module must do…
      So where would one start to make a module and in what language would you code?

      Now what must it do you ask?
      Well…
      Play music.
      But I would like it to have a “play this folder” option and to be controlled by an apple remote (which is already setup).
      So basically I will have a few folders which will work as playlists.

      Thank you so much for any help that you can provide.

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

        @Terrence you’re probably interested in this https://forum.magicmirror.builders/topic/4232/so-then-what-languages-to-learn

        and https://github.com/MichMich/MagicMirror/blob/master/modules/README.md

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

        1 Reply Last reply Reply Quote 0
        • T Offline
          Terrence
          last edited by

          That is perfect. Thank you very much strawberry!

          1 Reply Last reply Reply Quote 0
          • SvenSommerS Offline
            SvenSommer
            last edited by

            I can highly recommend to use the MagicMirror-Module-Template. It has already build in some of the most common features modules need.
            There samples of code for:

            • External request
            • Config parameters
            • Custom URL path route
            • Passing of messages (NOTIFICATIONS)

            In addition it’s builds the framework for your module by running a script.

            Looking for some building inspiration?
            Check out my large, thin and metal framed mirror on robstechlog.com.

            Modules released:
            MMM-GoogleAnalytics
            MMM-GrafanaChart
            MMM-GrafanaGauges

            1 Reply Last reply Reply Quote 0
            • T Offline
              Terrence
              last edited by

              Excellent. Thank you SvenSommer. I will definitely use that to help.

              I love your build. Very stunning!

              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