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.

    New Weather App (good bye DarkSky) creates config error

    Scheduled Pinned Locked Moved Solved Troubleshooting
    12 Posts 4 Posters 4.7k 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.
    • K Offline
      Kastore @sdetweil
      last edited by

      @sdetweil

      Can you please write me the code? I am seriously going mental over “not having anything loading” to “no config file” to just partially loading things…

      This is really frustrating when you got 0 clue about coding to not figure out where the heck the issue is… ._.

      This code doesnt create a missing config file but doesnt load the module. If i just enter the weather module (without config) it loads but only shows the current weather, but i would like to get the forecast for my region with the current API Version which is apparently 3.0

      {
         		module: "weather",
         			position: "top_right",
         				config: {
           // See 'Configuration options' for more information.
         			type: "forecast",
         			units: "metric",
         			roundTemp: true,
         			degreeLabel: true,
         			showPrecipitationProbability: true,
         			colored: true,
         			apiVersion: 3.0,
         			lat: 123123,
         			lon: 312321,
         			apiKey: "asdasdasd123123asedasd123",
         					},
       },
      
      S 1 Reply Last reply Reply Quote 1
      • S Offline
        sdetweil Admin @Kastore
        last edited by

        @Kastore I used your exact config except my api key(i tried multiple keys) and lat/lon
        I commented out the apiVersion:3.0,
        and it works as expected

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        K 1 Reply Last reply Reply Quote 0
        • K Offline
          Kastore @sdetweil
          last edited by

          @sdetweil
          Hey there,

          so as of today the module is now working . I had to remove the API Version as you mentioned and that helped. However it took another day for the module to work… no clue why it didnt work right away (despite “reboot” and “pm2 restart”)…

          I am currently now trying to figure out how to get one Module working as “current” or “day forecast” so i know what the day brings and another with the “forecast”.

          I am assuming i need to do multiple modules to get that done?

          S 2 Replies Last reply Reply Quote 0
          • S Offline
            sdetweil Admin @Kastore
            last edited by

            @Kastore said in New Weather App (good bye DarkSky) creates config error:

            am assuming i need to do multiple modules to get that done?

            yes, you just configure one instance as current and one as forecast

            also, try this for the slow loading on the forecast instance
            add

            initialLoadDelay: 10, 
            

            to the config parms

            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 Admin @Kastore
              last edited by

              @Kastore said in New Weather App (good bye DarkSky) creates config error:

              However it took another day for the module to work…

              probably cause you were over the limit on number of accesses, free plan is really restrictive

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              L 1 Reply Last reply Reply Quote 0
              • L Offline
                LucilleBlake @sdetweil
                last edited by

                I tried this app and was quite satisfied

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