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.

    Weatherunderground - currently - hourly - daily - configurable

    Scheduled Pinned Locked Moved Troubleshooting
    126 Posts 26 Posters 225.4k Views 13 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.
    • yo-lessY Offline
      yo-less Module Developer
      last edited by

      Quick question. Today I updated my mirror to version 2.0.4 via git pull. Afterwards the umbrella weather icon didn’t work any more as @MichMich has updated the weather font. Is this expected behavior or am I simply not getting another step I should take after updating? I have now manually copied the old files into the vendor/weather-icons folder and now it’s working again, but I suspect this is not what I should be doing ^^.

      1 Reply Last reply Reply Quote 0
      • RedNaxR Offline
        RedNax Module Developer
        last edited by

        Actually the weatherfont update in 2.0.4 is actually my doing… Should nstill work as expected when you’ve pulled the latest Wunderground module… You could also switch to the one in the development branch which takes advantage of having the weathericons now being part of the main framework.

        yo-lessY 1 Reply Last reply Reply Quote 0
        • yo-lessY Offline
          yo-less Module Developer @RedNax
          last edited by

          @RedNax Alright, thanks for the information. I have meddled so much with your code that a fresh pull would reverse all my customizations. But I’ll have a look at the development branch to get the weather module to pull the icons from its own folder.

          Could you explain to me why the new weather fonts include fewer icon definitions?

          RedNaxR 1 Reply Last reply Reply Quote 0
          • RedNaxR Offline
            RedNax Module Developer @yo-less
            last edited by

            @yo-less Do they? They’re taken straight from http://weathericons.io/ which isn’t under my control. What’s missing?

            1 Reply Last reply Reply Quote 0
            • yo-lessY Offline
              yo-less Module Developer
              last edited by

              @RedNax No, it seems they don’t, sorry. I just rechecked and the wi-umbrella definition is there. Strangely, though, when I performed a “git pull” in the MM main folder, my umbrellas in the Weather Underground module disappeared and I had to manually overwrite the css file in the vendor folder with the older version. I must have made some other changes to the folder prior to that, because in the github repository everything seems to be fine.

              RedNaxR 1 Reply Last reply Reply Quote 0
              • RedNaxR Offline
                RedNax Module Developer @yo-less
                last edited by

                @yo-less Did you also pull the MM 2.0.4 main framework? That’s where the icons went… Then again, when you did heavy modding… ;) Care to share screenshots of your version?

                yo-lessY 1 Reply Last reply Reply Quote 0
                • yo-lessY Offline
                  yo-less Module Developer @RedNax
                  last edited by yo-less

                  @RedNax I went to my home/pi/MagicMirror folder and typed in “git pull”, which is when it updated. If there is an additional step to update the main framework, please let me know.

                  Sure, the adjustments I have made so far are mostly based around the idea that information should only be presented if it is relevant (or actually existent at all)

                  • Only show precipitation if the probability for rain and the expected precipitation is above 0 % / mm
                  • Only show the umbrella icon if there is a day with precipitation in the forecast table
                  • Only show windspeed if it is above 0 kph.
                  • I’ve removed the windspeed icon and changed it to a text line like this: 12 km/h + wind direction icon
                  • In the forecast table the forecast temperature for any given day is shown until sunrise of that day (As I have the hourly forecasts I don’t really need the forecast for the day after sunrise, so generally I have my forecast table start the day after today - In the time between midnight and sunrise, this isn’t all that great though as it means that I only see the forecast until, say 10am, shortly after midnight)
                  • I’ve added some spaces to unclutter the layout
                  • I’ve changed the short version of the days to all caps

                  Here’s a screenshot of my layout:

                  0_1471294763580_MM-Wunderground.png

                  What I’m planning to add:

                  • 7am temperature in the forecast table

                  Here’s why: Where I live it can sometimes get pretty cold in the morning, but within hours it’s humid and hot and sometimes it gets cold later in the evening so a simple quote of the daily high and low doesn’t really represent the days all that well. And if you know that it’s mild in the morning and hot in the afternoon you can dress differently than when it’s cold in the morning and then hot for the rest of the day. Not sure if that is all too helpful for others out there ^^.

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

                    @yo-less Your changes look great, would it be possible to provide the code?

                    yo-lessY 1 Reply Last reply Reply Quote 0
                    • yo-lessY Offline
                      yo-less Module Developer @alihallo
                      last edited by

                      @alihallo Sure, just contact me and I can provide you with my modifications.

                      1 Reply Last reply Reply Quote 0
                      • P Offline
                        plumcraft
                        last edited by

                        Good job ! I’m also interested by your changes, let us know where we can find it.

                        Could be nice to add a module parameters like : “light_display : true/false” or something like that ?

                        1 Reply Last reply Reply Quote 0
                        • yo-lessY Offline
                          yo-less Module Developer
                          last edited by yo-less

                          @plumcraft said in Weatherunderground - currently - hourly - daily - configurable:

                          Good job ! I’m also interested by your changes, let us know where we can find it.

                          Could be nice to add a module parameters like : “light_display : true/false” or something like that ?

                          Alright, I’ve forked the main repository and will try to submit a pull request after merging the two versions.
                          I like your light_display idea, let’s see how much time and energy I can muster :)

                          1 Reply Last reply Reply Quote 0
                          • bthuilotB Offline
                            bthuilot
                            last edited by paviro

                            Hey @RedNax I am getting a black screen as well when I set up this module and im trying out all the things posted here and it doesn’t seem to help. I know my api key is good because I have checked it at least 100 times. Here is my config.js:

                             {
                                                    module: 'MMM-WunderGround',
                                                    position: 'top_right',
                                                    config: {
                                                                    apikey: 'XXXXXXXXXXXX ',
                                                                    pws: 'pws:KNYSETAU3',
                                                                    hourly: '1',
                                    fctext: '1',
                                    fcdaycount: "5",
                                    fcdaystart: "0",
                                    hourlyinterval: "3",
                                    hourlycount: "2"
                                                            }
                                            },
                            

                            Note from admin: Please use Markdown on code snippets for easier reading!

                            RedNaxR 1 Reply Last reply Reply Quote 0
                            • RedNaxR Offline
                              RedNax Module Developer @bthuilot
                              last edited by

                              @bthuilot Could you have a look at the log/console? See if there’s anything helpful? This post may assist you: https://forum.magicmirror.builders/topic/86/how-to-troubleshoot

                              1 Reply Last reply Reply Quote 0
                              • bthuilotB Offline
                                bthuilot
                                last edited by paviro

                                @RedNax Edit: okay never mind I messed up lol. But the black screen is back and it is giving me this error message

                                [Warning] Unexpected CSS token: : (font-awesome.min.css, line 4)
                                [Warning] Unexpected CSS token: : (font-awesome.min.css, line 4)
                                [Warning] Unexpected CSS token: : (font-awesome.min.css, line 4)
                                [Warning] Unexpected CSS token: : (font-awesome.min.css, line 4)
                                [Warning] Unexpected CSS token: : (font-awesome.min.css, line 4)
                                [Warning] Invalid CSS property declaration at: * (weather-icons.css, line 44)
                                

                                In Addition to this

                                /modules/MMM-WunderGround//weather-icons-wind.css Failed to load resource: the server responded with a status of 404 (Not Found)


                                Note from admin: Please use Markdown on code snippets for easier reading!

                                1 Reply Last reply Reply Quote 0
                                • RedNaxR Offline
                                  RedNax Module Developer
                                  last edited by

                                  Did you ever update both the MagicMirror and MMM-WunderGround to the latest versions? The weather-icons-wind.css are now part of the MM standard install.

                                  1 Reply Last reply Reply Quote 0
                                  • bthuilotB Offline
                                    bthuilot
                                    last edited by

                                    @RedNax It works now hahaha I feel like an idiot. I had updated MMM-WunderGround like a million times but for some reason never once thought to update the MM its self. But thank you for the help!

                                    1 Reply Last reply Reply Quote 0
                                    • O Offline
                                      ostfilinchen
                                      last edited by

                                      Hi all,

                                      first thanks for this great module. I have an issue to Display the time an days in one orientation.
                                      0_1473321837460_20160907_210833-1.png

                                      Can i Change the Orientation of the first column to flush right?

                                      Thanks
                                      Daniel

                                      RedNaxR 1 Reply Last reply Reply Quote 0
                                      • RedNaxR Offline
                                        RedNax Module Developer @ostfilinchen
                                        last edited by

                                        @ostfilinchen Thanks!

                                        Slight oversight on my part when i added the horizontal layout. Now fixed. Please update MMM-WunderGround.

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

                                          Gettin’ the black screen as well…
                                          I’ve gone to the “post that may assist me” but I can’t seem to find anything from it. When looking at the console tab when F12 is pressed, it has stopped after 3 lines at the “Load script: modules/MMM-WunderGround//MMM-WunderGround.js” Opening that file it has the defaults for the api and pws blank. ok.

                                          Looking at the module coding…

                                          var config = {
                                          port: 8080,

                                          language: 'en',
                                          timeFormat: 12,
                                          units: 'imperial',
                                          
                                          modules: [
                                          	{
                                          		module: 'MMM-WunderGround',
                                          		position: 'top_right',
                                          		config: {
                                          			apikey: 'NUMBERS',
                                          			pws: 'CO/Denver',
                                          			hourly: '1',
                                          			fctext: '1',
                                          			fcdaycount: "5",
                                          			fcdaystart: "0",
                                          			hourlyinterval: "3",
                                          			hourlycount: "2",
                                          			}
                                          	},
                                          	
                                           ]
                                          

                                          };

                                          I can’t seem to find what is wrong. Are you able to spot my error or suggest some help?

                                          S 1 Reply Last reply Reply Quote 0
                                          • S Offline
                                            Shockwave @Crispis
                                            last edited by

                                            @Crispis I’m not sure, but I think you may not need the comma after the ending curly bracket if you only have 1 item in modules. (3rd line from the bottom) I think that might be why config: { } doesn’t get an ending comma.

                                            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
                                            • 3
                                            • 4
                                            • 5
                                            • 6
                                            • 7
                                            • 5 / 7
                                            • 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