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.

    MMM-DarkSkyForecast - Yet ANOTHER weather module

    Scheduled Pinned Locked Moved Utilities
    334 Posts 67 Posters 835.2k Views 74 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.
    • R Offline
      robiv8 @lavolp3
      last edited by

      @lavolp3
      this little peace of code where be very nice ;-)

      1 Reply Last reply Reply Quote 0
      • N Offline
        nobita @Mykle1
        last edited by

        This post is deleted!
        1 Reply Last reply Reply Quote 0
        • N Offline
          nobita
          last edited by

          This post is deleted!
          1 Reply Last reply Reply Quote 0
          • N Offline
            nobita @Mykle1
            last edited by

            @mykle1 ,What happen after install DarkSkyForecast (as config below)
            only “Loading…” display

            My config
            {
            module: “MMM-DarkSkyForecast”,
            header: “Weather”,
            position: “middle_center”,
            classes: “default everyone”,
            disabled: false,
            config: {
            apikey: “xxxxxxxxxxxxxxxxxxxx”,
            latitude: “13.756331”,
            longitude: “100.501762”,
            iconset: “4c”,
            concise: false,
            forecastLayout: “table”
            }
            },

            Thanks for your help

            J 1 Reply Last reply Reply Quote 0
            • C Offline
              codenamegopher @michael5r
              last edited by

              This post is deleted!
              1 Reply Last reply Reply Quote 0
              • M Offline
                motdog
                last edited by

                This post is deleted!
                1 Reply Last reply Reply Quote 0
                • J Offline
                  j.e.f.f Project Sponsor Module Developer @nobita
                  last edited by

                  @nobita said in MMM-DarkSkyForecast - Yet ANOTHER weather module:

                  @mykle1 ,What happen after install DarkSkyForecast (as config below)
                  only “Loading…” display

                  My config
                  {
                  module: “MMM-DarkSkyForecast”,
                  header: “Weather”,
                  position: “middle_center”,
                  classes: “default everyone”,
                  disabled: false,
                  config: {
                  apikey: “xxxxxxxxxxxxxxxxxxxx”,
                  latitude: “13.756331”,
                  longitude: “100.501762”,
                  iconset: “4c”,
                  concise: false,
                  forecastLayout: “table”
                  }
                  },

                  Thanks for your help

                  I just tested with your config, and it works for me. All I did was changed the curly quotes to straight quotes and put in my api key, but otherwise i left everything else the same. Do you see anything errors in the either Electron’s console or MagicMirror’s server-side error log?

                  N 1 Reply Last reply Reply Quote 0
                  • N Offline
                    nobita @j.e.f.f
                    last edited by

                    @j-e-f-f Thanks for your hint ,I think I will new install MagicMirror and Darkskyforecast again

                    1 Reply Last reply Reply Quote 0
                    • lavolp3L Offline
                      lavolp3 Module Developer
                      last edited by

                      @nobita @j-e-f-f did not advise that. With the current information, I don’t think that helps.
                      You need to check the error logs as jeff hinted at by one of the ways described here in the forum several times.
                      One quick way is running the mirror with the command

                      npm start dev
                      

                      and looking if there is an error message showing up on your console or in the browser if you access the mirror from another computer.

                      How to troubleshoot modules
                      MMM-soccer v2, MMM-AVStock

                      1 Reply Last reply Reply Quote 0
                      • M Offline
                        motdog
                        last edited by

                        dumb question I’m sure but when placing this in the config.js I should get rid of the default weather program, right?

                        S J 2 Replies Last reply Reply Quote 0
                        • S Offline
                          sdetweil @motdog
                          last edited by

                          @motdog you could leave them both in for a little while to check that they both say the same thing!

                          Sam

                          How to add modules

                          learning how to use browser developers window for css changes

                          M 1 Reply Last reply Reply Quote 0
                          • M Offline
                            motdog @sdetweil
                            last edited by

                            @sdetweil I tried that & could not get dark sky to show up at all. That’s why I am confused

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

                              @motdog me too… can u open the developers console, and see if there are any errors?

                              either ctrl-shift-i (letter i) while MM is running,
                              or

                              npm start dev
                              

                              to start with the dev console…

                              then select the console tab in the right handle white pane. scroll up to find any errors… in red text usually

                              Sam

                              How to add modules

                              learning how to use browser developers window for css changes

                              1 Reply Last reply Reply Quote 0
                              • J Offline
                                j.e.f.f Project Sponsor Module Developer @motdog
                                last edited by

                                @motdog said in MMM-DarkSkyForecast - Yet ANOTHER weather module:

                                dumb question I’m sure but when placing this in the config.js I should get rid of the default weather program, right?

                                You don’t have to. It will just mean you’ll have weather information from two sources. But one wouldn’t (shouldn’t ?) conflict with the other.

                                M 1 Reply Last reply Reply Quote 0
                                • M Offline
                                  motdog @j.e.f.f
                                  last edited by

                                  @j-e-f-f thats what I thought. Im just having all sorts of weird issues with both weather modules. I may just need to redo them

                                  1 Reply Last reply Reply Quote 0
                                  • M Offline
                                    motdog
                                    last edited by motdog

                                    Ive got it up but when I change “table” to “tiled” I get a config error when I restart.

                                    When I add units: us I get an error. Ugh.

                                    This works```
                                    //your cod {
                                    module: “MMM-DarkSkyForecast”,
                                    header: “Weather”,
                                    position: “top_right”,
                                    classes: “default everyone”,
                                    disabled: false,
                                    config: {
                                    apikey: “*********”,
                                    latitude: “38.751389”,
                                    longitude: “-90.565948”,
                                    iconset: “4c”,
                                    concise: true,
                                    forecastLayout: “table”
                                    }
                                    },e here

                                    
                                    this doesnt 
                                    
                                    

                                    {
                                    module: “MMM-DarkSkyForecast”,
                                    header: “Weather”,
                                    position: “top_right”,
                                    classes: “default everyone”,
                                    disabled: false,
                                    config: {
                                    apikey: “*******”,
                                    latitude: “38.751389”,
                                    longitude: “-90.565948”,
                                    iconset: “4c”,
                                    concise: true,
                                    units: us,
                                    forecastLayout: “table”
                                    }
                                    },

                                    S J 2 Replies Last reply Reply Quote 0
                                    • S Offline
                                      sdetweil @motdog
                                      last edited by

                                      @motdog always hide your apikey values. with ***

                                      Sam

                                      How to add modules

                                      learning how to use browser developers window for css changes

                                      M 1 Reply Last reply Reply Quote 0
                                      • M Offline
                                        motdog @sdetweil
                                        last edited by

                                        @sdetweil thanks. I finally got this module the way I wanted. On to the next one!

                                        1 Reply Last reply Reply Quote 0
                                        • J Offline
                                          j.e.f.f Project Sponsor Module Developer @motdog
                                          last edited by

                                          @motdog You have specified units without quotes. need to write it like this:

                                          units: "us",
                                          
                                          Cr4z33C M 2 Replies Last reply Reply Quote 0
                                          • Cr4z33C Offline
                                            Cr4z33 @j.e.f.f
                                            last edited by

                                            @j-e-f-f I don’t know why, but when I use your module after a while MM becomes all dark although modules keep working (ie. MMM-AssistantMk2).

                                            There’s no specific timing for the issue to appear (it can be after 1 hour or after 15 mins, etc.).

                                            Modules won’t appear again until I restart MM.

                                            This is my current module config:

                                            		{
                                            			module: "MMM-DarkSkyForecast",
                                            			header: "Meteo",
                                            			position: "top_right",
                                            			classes: "default everyone",
                                            			disabled: false,
                                            			config: {
                                            					apikey: "***",
                                            					latitude: "***",
                                            					longitude: "***",
                                            					language: "it",
                                            					forecastHeaderText: "***",
                                            					label_timeFormat: "hh:mm",
                                            					iconset: "4c",
                                            					concise: false,
                                            					showSummary: false,
                                            					forecastLayout: "table"
                                            				}
                                            		}
                                            
                                            Cr4z33C 1 Reply Last reply Reply Quote 0

                                            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                            With your input, this post could be even better 💗

                                            Register Login
                                            • 1
                                            • 2
                                            • 5
                                            • 6
                                            • 7
                                            • 8
                                            • 9
                                            • 16
                                            • 17
                                            • 7 / 17
                                            • 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