• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
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 Utilities
182 Posts 47 Posters 343.5k Views 51 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.
  • D Offline
    dialdn
    last edited by Jan 8, 2017, 4:15 PM

    This looks great!

    However, we have a mix of snow and rain at this time. It seems all precipitation is being rendered as mm when it should be cm. For example, we are expecting ~10 cm on Tuesday but it is displaying as 9 mm. Haven’t looked at the API to see how the precipitation type is sent.

    Mike

    D 1 Reply Last reply Jan 8, 2017, 4:42 PM Reply Quote 0
    • D Offline
      dialdn @dialdn
      last edited by Jan 8, 2017, 4:42 PM

      @dialdn

      I see that you are pulling the qpf_allday but in these conditions, I would want to see snow_allday. I would think if snow_allday is >0 it should trump qpf_allday and also display using the units (cm). Not sure how the API looks when we have freezing rain in the forecast. I would assume it shows as rain.

      	"pop":80,
      	"qpf_allday": {
      	"in": 0.37,
      	"mm": 9
      	},
      	"qpf_day": {
      	"in": 0.22,
      	"mm": 6
      	},
      	"qpf_night": {
      	"in": 0.15,
      	"mm": 4
      	},
      	"snow_allday": {
      	"in": 3.7,
      	"cm": 9.4
      	},
      	"snow_day": {
      	"in": 2.4,
      	"cm": 6.1
      	},
      	"snow_night": {
      	"in": 1.3,
      	"cm": 3.3
      	},
      
      R 1 Reply Last reply Jan 23, 2017, 11:02 AM Reply Quote 0
      • P Offline
        PointPubMedia
        last edited by Jan 22, 2017, 8:04 PM

        Also, any way to disable the alert popup completely ?

        R 1 Reply Last reply Jan 23, 2017, 11:09 AM Reply Quote 0
        • R Offline
          RedNax Module Developer @dialdn
          last edited by Jan 23, 2017, 11:02 AM

          @dialdn This is now implemented… just pull the latest master :)

          1 Reply Last reply Reply Quote 0
          • R Offline
            RedNax Module Developer @PointPubMedia
            last edited by Jan 23, 2017, 11:09 AM

            @PointPubMedia You can now disable the popup by adding show_popup: 0 to your config.

            1 Reply Last reply Reply Quote 0
            • P Offline
              PointPubMedia
              last edited by Jan 23, 2017, 11:49 AM

              I’m stilling seeing mm instead of cm when we are having snow… normal ?

              R 1 Reply Last reply Jan 23, 2017, 12:51 PM Reply Quote 0
              • R Offline
                RedNax Module Developer @PointPubMedia
                last edited by Jan 23, 2017, 12:51 PM

                @PointPubMedia Not really… typo in the code. Fixed now… (hopefully)

                1 Reply Last reply Reply Quote 0
                • P Offline
                  PointPubMedia
                  last edited by Jan 23, 2017, 12:55 PM

                  Working now ;)

                  0_1485176117174_2017-01-23 07_54_48-ScreenConnect - rpiHUD - Connected.png

                  1 Reply Last reply Reply Quote 0
                  • O Offline
                    ostfilinchen @anatius
                    last edited by Jan 23, 2017, 1:00 PM

                    @RedNax:
                    @anatius said in Weatherunderground - currently - hourly - daily - configurable:

                    @wjdw87

                    this.forecastText = this.forecastText.replace(/(.*\d+)(C)(.*)/gi, "$1°C$3");
                    around line 937 in MMM-WunderGround.js should do the trick

                    do you have change this also?

                    R 1 Reply Last reply Jan 23, 2017, 1:10 PM Reply Quote 0
                    • R Offline
                      RedNax Module Developer @ostfilinchen
                      last edited by Jan 23, 2017, 1:10 PM

                      @ostfilinchen Now i have, and thanks to @anatius for this!

                      1 Reply Last reply Reply Quote 2
                      • 1
                      • 2
                      • 3
                      • 4
                      • 5
                      • 6
                      • 7
                      • 8
                      • 18
                      • 19
                      • 6 / 19
                      • 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