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.

    Magic Mirror Default Weather Module

    Scheduled Pinned Locked Moved Solved Troubleshooting
    6 Posts 2 Posters 2.5k 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.
    • S Offline
      sdetweil @bicolorbore586
      last edited by

      @bicolorbore586 do not edit the base source files, all configuration is done in config.js

      remove the API base and endpoint, don’t need to set them, the code does that

      set the provider and type
      (use the lastest release, 2.21, as we fixed a couple configs to always use the type)

      also set the initialLoadDelay:1

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      B 1 Reply Last reply Reply Quote 0
      • B Offline
        bicolorbore586 @sdetweil
        last edited by

        @sdetweil Hi Sam, I’m probably not following this correctly, but I appear to be in a worse position than before in the fact that none of my modules now load.

        S 2 Replies Last reply Reply Quote 1
        • S Offline
          sdetweil @bicolorbore586
          last edited by

          @bicolorbore586 eh? sounds like a typo in the config

          in the MagicMirror folder do

          npm run config:check
          

          Sam

          How to add modules

          learning how to use browser developers window for css changes

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

            @bicolorbore586 mine looks like

            		{
            			module:"weather",
            			position: "top_left",
            			config:{
            				type:"current",
            				weatherProvider:"weatherbit",
            				lat:30.956,
            				lon:-97.435,
            				initialLoadDelay:1,
                                            units:'imperial',
            				apiKey:"your key"
            			}
            		},
            

            both type:“current” and type:“forecast” work

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            B 1 Reply Last reply Reply Quote 0
            • B Offline
              bicolorbore586 @sdetweil
              last edited by

              @sdetweil all sorted now, I took the config out and put it back in fresh as I couldn’t work out where the typo/formatting error was. All tickety-boo now. Thanks for your help!

              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