MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord

    Advice on learning to write modules??

    General Discussion
    4
    4
    433
    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
      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
        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

        Create a working config
        How to add modules

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

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

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

            Create a working config
            How to add modules

            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 Paul-Vincent Roll and Rodrigo Ramírez Norambuena.
            This forum is using NodeBB as its core | Contributors
            Contact | Privacy Policy