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-forecast-io -- Localized up to the minute weather

    Scheduled Pinned Locked Moved Utilities
    127 Posts 36 Posters 201.4k Views 38 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.
    • H Offline
      henryluyu
      last edited by henryluyu

      Hi this is this module in my config.js.
      I simply put the “MMM-forecast-io-master” folder in /modules/default, I have also put my actual api key, latitude and longtitude values also in MMM-forecast-io.js. But no weather is showing, other modules working fine. Can anyone help please?

      	{
                          module: 'MMM-forecast-io',
                          position: 'top_right',  
                          config: {
                                 apiKey: 'MYAPIKEY',
                                 latitude:   53.4839,
                                 longitude:  -2.2446
                          }
                  },
      
      Mykle1M 1 Reply Last reply Reply Quote 0
      • Mykle1M Offline
        Mykle1 Project Sponsor Module Developer @henryluyu
        last edited by

        @henryluyu said in MMM-forecast-io -- Localized up to the minute weather:

        I simply put the “MMM-forecast-io-master” folder in /modules/default

        1. Folder name should just be MMM-forecast-io
        2. Goes in modules folder, not the default folder

        I have also put my actual api key, latitude and longtitude values also in MMM-forecast-io.js.

        That is not recommended. Putting those in your config.js will suffice.

        Create a working config
        How to add modules

        1 Reply Last reply Reply Quote 0
        • F Offline
          Fifin404
          last edited by

          Hi, is possible add “C” in all temperatures? Like 21 °C
          and for wind add “km/h” like 8 km/h

          C 1 Reply Last reply Reply Quote 0
          • C Offline
            code999
            last edited by

            Hey all, anyone know how to get rid of the round bar in between the temps? 0_1574871951039_511494cd-8516-4507-93f2-b773a560930b-image.png

            Thanks in advance.

            morozgrafixM 1 Reply Last reply Reply Quote 0
            • morozgrafixM Offline
              morozgrafix Moderator @code999
              last edited by

              @code999 you can comment out this line forecastBar.appendChild(bar); but it will look kind of bad. Those bars are sort of a default look that you get from darksky/forecast UI.

              C 1 Reply Last reply Reply Quote 0
              • C Offline
                code999 @morozgrafix
                last edited by

                @morozgrafix what file do I edit? I can not find that line to comment it out. Thanks.

                morozgrafixM lavolp3L 2 Replies Last reply Reply Quote 0
                • morozgrafixM Offline
                  morozgrafix Moderator @code999
                  last edited by

                  @code999 it’s line 397 in MMM-fotecast-io.js https://github.com/dmcinnes/MMM-forecast-io/blob/77075e1c9011336f044d35f1c964fc93789a4201/MMM-forecast-io.js#L397

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

                    @code999 it’s in the MMM-forecast-io.js file.

                    You can either try to comment out (//) or delete line 397

                    forecastBar.appendChild(bar);
                    

                    (only the bar)
                    or line 402

                    forecastBarWrapper.appendChild(forecastBar);
                    

                    (with temps)

                    But why are you trying to delete it? It really doesn’t make sense to me and will look kind of ugly I guess.

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

                    C 1 Reply Last reply Reply Quote 1
                    • C Offline
                      code999 @lavolp3
                      last edited by

                      @lavolp3 @morozgrafix Thank you both. I like an even look and the bar IMO is unless. when there is a large difference in temp it looks ridiculous. I might add something between numbers to give it some space and cleaner look. I did it mainly for space. I have it on the right side with my calendar taking up most of the screen. Anyway thanks again.
                      0_1575301420462_79b125bf-5adb-4b86-85f4-71246bef148e-image.png

                      1 Reply Last reply Reply Quote 0
                      • C Offline
                        code999 @Fifin404
                        last edited by

                        @Fifin404 I would like this also. Did you get it to show?

                        F lavolp3L 2 Replies Last reply Reply Quote 0
                        • 1
                        • 2
                        • 9
                        • 10
                        • 11
                        • 12
                        • 13
                        • 12 / 13
                        • 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