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.

    Advice on learning to write modules??

    Scheduled Pinned Locked Moved General Discussion
    4 Posts 4 Posters 811 Views 4 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
      GoodWillGustin
      last edited by

      I posted this in Modules/Development, but I will post here also in case I was in the wrong place:

      I want to learn to write my own modules and I’m wondering where to start. Should I be looking to learn about writing node.js for this?

      My work has a Udemy business account, so I can check out basically any course I want for free. There are a few courses I saw there about node.js and I’m wondering if that’s the right direction to take. Any insight would be a huge help. Thanks!

      S 1 Reply Last reply Reply Quote 0
      • S Away
        sdetweil @GoodWillGustin
        last edited by

        @GoodWillGustin there really isn’t a lot of node specific work for a module. most of that work is done already…

        read the guide in the readme doc.
        I have a sample module with all the parts
        https://github.com/sdetweil/SampleModule
        no templates, which are just text replacement models,
        they don’t help you get the data to use for the replacement).

        the built in sample, helloworld (template) really wasn’t helpful to me, with lots of systems and app development experience

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        G 1 Reply Last reply Reply Quote 1
        • G Offline
          GoodWillGustin @sdetweil
          last edited by

          @sdetweil hmm ok thanks, I will check it out!

          S 1 Reply Last reply Reply Quote 0
          • S Away
            sdetweil @GoodWillGustin
            last edited by

            @GoodWillGustin most of the services or apis u might use to access data somewhere are asynchronous. Meaning they will call u back later when they finish or fail.

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            1 Reply Last reply Reply Quote 0
            • 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