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.

    A module like WB-Weather with support for other weather APIs such as BOM.

    Scheduled Pinned Locked Moved Requests
    9 Posts 4 Posters 1.6k Views 4 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.
    • U Offline
      Uskompuf
      last edited by

      I recently saw the amazing weather plugin WB-Weather but its hard coded to use DarkSky I was wondering if anyone would be interested in adding support for other weather APIs such as BOM?

      Thanks

      N 1 Reply Last reply Reply Quote 0
      • N Offline
        Nalmo @Uskompuf
        last edited by

        @Uskompuf

        I found this but am having trouble configuring it as documentation of options is missing.
        https://github.com/frebbles/MMM-bomweather

        All I get is the location name with a line under it.
        Would appreciate any help.
        Alan

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

          @Nalmo if u look at the code, it’s looking for your state abbreviation, config option locationState

          Screenshot_20220429-065334_Chrome.jpg

          Sam

          How to add modules

          learning how to use browser developers window for css changes

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

            @Nalmo also, in the place u start MagicMirror, via npm start or pm2, there will be messages output by the modules node_helper (which gets the data)

            if using pm2, then the command

            pm2 logs --lines=50

            will output the last 50 lines of messages saved

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            N 1 Reply Last reply Reply Quote 0
            • N Offline
              Nalmo @sdetweil
              last edited by

              @sdetweil
              Thanks for a quick response.

              I have not configured any options for bomweather in config.js other than location and locationState

              The log file shows it fetched the correct URL; next line says “BomForecast Forecast received”

              MM is showing the (correct) location (“Melbourne”) with a line under it, but not the forecast.

              When I set radarImage to true, I get a small square under the line.

              Can you advise what the configuration options are for this module. I have looked through the bomweather.js file but am not sure what the config options are (still a bit of a noob at this).
              Thanks

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

                c7ace21e-cb65-4376-ad88-b15f9f1d9a56-image.png

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

                  3593260e-3d73-43aa-93be-48b0ed7b965f-image.png

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

                    @Nalmo sorry I don’t know anything about the module itself.

                    in the modulename.js is a define for defaults:{}

                    all of those are config options. sometimes modules don’t list a config option for various reasons…

                    so I look thru the code for .config. to find them
                    and the node_helper.js too…

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

                    N 1 Reply Last reply Reply Quote 0
                    • N Offline
                      Nalmo @sdetweil
                      last edited by

                      @sdetweil
                      Finally got the 7 day forecast showing with this modification from @anobleperson

                      https://github.com/frebbles/MMM-bomweather/compare/main...anobleperson:bugfix/header-update

                      1 Reply Last reply Reply Quote 0
                      • 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