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.

    Problems With Weather

    Scheduled Pinned Locked Moved Troubleshooting
    41 Posts 6 Posters 11.9k Views 6 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.
    • Mykle1M Offline
      Mykle1 Project Sponsor Module Developer @Wenike
      last edited by Mykle1

      @wenike

      Well, I’m not going to do that because the module is deprecated. Doesn’t make much sense to me. If you feel the need, have at it. :-)

      Create a working config
      How to add modules

      1 Reply Last reply Reply Quote 0
      • Mykle1M Offline
        Mykle1 Project Sponsor Module Developer
        last edited by

        @csoogos said in Problems With Weather:

        How do I run the mirror from within the directory?

        1. Open a terminal
        2. Change directory to MagicMirror. Usually done by cd MagicMirror unless you installed somewhere else.
        3. Then npm start

        Create a working config
        How to add modules

        1 Reply Last reply Reply Quote 0
        • S Offline
          sdetweil
          last edited by sdetweil

          @csoogos

          MagicMirror is a web page (see index.html) loaded by a browser (electron)

          the main core of mm is a JavaScript wrapper around standard dynamic html, which allows api calls to manipulate the web page (DOM) content.

          there are predefined areas (positions) for scripts (modules) to place their content in.
          the mm runtime calls the module to get it’s content contribution. and then puts that content in the position defined for this module (in config.js module entry)

          all content is provided by module entries in config.js otherwise the page is empty ( see index.html)

          some additional functions are provided by the runtime.

          inter module communications, by way of typeless broadcast messages. the receiver must understand and handle the data format of any message it proposes to process.

          due to browser security constraints, a module (running in the browser) cannot access the file system or any hardware.

          so a ‘server’ side module component is launched in the background, ‘node_helper’… which CAN , and communications are supported between the helper and the browser module code, in a similar way as between modules. except the flow is only between the module and ITS helper.

          the implementation of the helper/module communications supports messaging over networks, so the helper is where the ‘server’ is and the browser can be where the user is… the browser can be any es6 or above browser

          electron chrome firefox edge…

          as it’s a web page all the standard css techniques are available to style the content, by module or collectively…

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          1 Reply Last reply Reply Quote 0
          • cowboysdudeC Offline
            cowboysdude Module Developer
            last edited by

            @csoogos Not sure I’ve seen calcium temperature LOL

            Mykle1M 1 Reply Last reply Reply Quote 0
            • Mykle1M Offline
              Mykle1 Project Sponsor Module Developer @cowboysdude
              last edited by

              @cowboysdude

              Rolling

              Create a working config
              How to add modules

              1 Reply Last reply Reply Quote 0
              • 1
              • 2
              • 3
              • 4
              • 5
              • 3 / 5
              • 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