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-WunderGround-PWS-Observations

    Scheduled Pinned Locked Moved Utilities
    20 Posts 5 Posters 9.1k Views 9 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.
    • S Offline
      Saabman Project Sponsor
      last edited by

      Ive just put together a basic module to display PWS data from Weather Underground since API’s are now only available for free to PWS owners.

      https://github.com/saabman/MMM-WunderGround-PWS-Observations/

      It just displays the current data from a specified PWS and you can select what data is displayed.

      alt text

      S cowboysdudeC 2 Replies Last reply Reply Quote 1
      • S Offline
        Saabman Project Sponsor @Saabman
        last edited by

        Hmm not sure what went wrong with the first post but here is a screen shot.

        Screen Shot 2021-01-17 at 22.32.06.png

        1 Reply Last reply Reply Quote 0
        • cowboysdudeC Offline
          cowboysdude Module Developer @Saabman
          last edited by

          @saabman It’s a great start!!!

          S 1 Reply Last reply Reply Quote 0
          • S Offline
            Saabman Project Sponsor @cowboysdude
            last edited by

            @cowboysdude Thankyou.
            Ive started looking at adding horizontal display of data - so hopefully there wil lbe an update coming soon.
            Its a good learning experience

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

              @Saabman

              First, thanks for updating this. The local darksky api pulls never get the actual temp at the house correct and I have this nice PWS just churning away on the deck that I can access again. A few questions/observations if you are hopefully still looking at this.

              1. When used with other modules in the column, it does not seem to close out the module end like others do and bleeds into the next one. Not sure what causes it, but you can see the header and temp from your module in use here with Weatherunderground feed followed by the other module I use for weather from darksky. That weather is supposed to be pushed to the right and was before I added this one to the top of the column. It’s almost like in needs a line break at the end. Weather.jpg

              2, What are the custom.CSS items to change the text and icon size? I’ve adjusted some of them but the line there never seems to change for me. Ultimately, I’d really like to get rid of that 35 and just have a larger one from your module as my current temp.

              Thanks again.

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

                I found the sizing finally, but that line break at the end is still causing problems with follow on modules, even impacting their header if I add one there.

                V 1 Reply Last reply Reply Quote 0
                • V Offline
                  Volkae @chrisautrey
                  last edited by

                  @chrisautrey said in MMM-WunderGround-PWS-Observations:

                  I found the sizing finally, but that line break at the end is still causing problems with follow on modules, even impacting their header if I add one there.

                  Hey Chris,
                  I tried to change the font size but nothing changed. Would you tell me how you did it?

                  Thanks

                  Volker

                  S 1 Reply Last reply Reply Quote 0
                  • S Offline
                    Saabman Project Sponsor @Volkae
                    last edited by

                    @chrisautrey Sorry for not been very responsive Ive had some significant family priorities to deal with.

                    @Volkae What have you got and what are you trying to change?

                    V 1 Reply Last reply Reply Quote 0
                    • V Offline
                      Volkae @Saabman
                      last edited by

                      @Saabman
                      I managed to change the font size now but I would like to change the distance to the next module.
                      The next module (weather module) should have a little bit more distance to the Wunderground-PWS-Observations-module. Both modules are at position top_right. I can not find the way to change the module height of one of the modules.

                      S 1 Reply Last reply Reply Quote 0
                      • S Offline
                        Saabman Project Sponsor @Volkae
                        last edited by

                        @Volkae I think the issue may be because it is set to align right line 55 in MMM-WunderGround-PWS-Observations.css

                        Line 56 gives some left padding of 10px maybe try increasing the padding.
                        I cant try it myself at the moment my weather station is in the process of being relocated so Im not using Wunderground ATM. Ill try and set some something so I can play with it and try it out.

                        Im assuming you have the Wuderground module to the left of the weather module.

                        Im just muddling my way through this CSS process my self. I just play with some values and references and see what happens

                        V 1 Reply Last reply Reply Quote 0
                        • V Offline
                          Volkae @Saabman
                          last edited by

                          @Saabman
                          No, the Wunderground module is above the weather module, so I think it cannot be the left padding.
                          Both have position top_right in the config.js

                          S 1 Reply Last reply Reply Quote 0
                          • S Offline
                            Saabman Project Sponsor @Volkae
                            last edited by

                            @Volkae can you post a screen shot even just a photo of your screen.?

                            S V 2 Replies Last reply Reply Quote 0
                            • S Offline
                              sdetweil @Saabman
                              last edited by

                              @Saabman by using the developers window you can examine the styles and results

                              https://forum.magicmirror.builders/topic/14862/help-with-a-couple-css-issues?_=1679343561716

                              Sam

                              How to add modules

                              learning how to use browser developers window for css changes

                              1 Reply Last reply Reply Quote 0
                              • V Offline
                                Volkae @Saabman
                                last edited by

                                @Saabman said in MMM-WunderGround-PWS-Observations:

                                @Volkae can you post a screen shot even just a photo of your screen.?

                                Here is a photo…MM.jpg

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

                                  @Volkae may need to override

                                  .module {
                                    margin-bottom: var(--gap-modules);
                                  }
                                  

                                  defaults to 30px

                                  Sam

                                  How to add modules

                                  learning how to use browser developers window for css changes

                                  V 1 Reply Last reply Reply Quote 0
                                  • V Offline
                                    Volkae @sdetweil
                                    last edited by

                                    @sdetweil
                                    sorry Sam, I don 't know where to put the lines.
                                    Absolut beginner…

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

                                      @Volkae all css goes in ~/MagicMirror/css/custom.css

                                      if the file doesn’t exist, create it

                                      Sam

                                      How to add modules

                                      learning how to use browser developers window for css changes

                                      V 1 Reply Last reply Reply Quote 0
                                      • V Offline
                                        Volkae @sdetweil
                                        last edited by

                                        @sdetweil
                                        I put it in my custom.css but it only changes the distance between the upper edge from my MM and the weather module. It does not change the distance between the weather module and the WunderGround-PWS-Observation module.

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

                                          @Volkae hm. makes no sense as it explicitly does the gap between modules

                                          Sam

                                          How to add modules

                                          learning how to use browser developers window for css changes

                                          V 1 Reply Last reply Reply Quote 0
                                          • V Offline
                                            Volkae @sdetweil
                                            last edited by

                                            @sdetweil
                                            /**

                                            • Module styles.
                                              */

                                            .module {
                                            margin-bottom: 30px;
                                            }

                                            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 / 1
                                            • 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