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-MyWeather not working with Southern Hemisphere co-ordinates

    Scheduled Pinned Locked Moved Troubleshooting
    18 Posts 4 Posters 4.7k 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.
    • H Offline
      harney @Saabman
      last edited by

      @saabman yep. I have found the xml to be a problem and out of my range of knowledge. OpenWeather is close to accurate for my location for current conditions,. the particular site location uses excellent monitoring equipment, just a few degrees out, but for forecasting its not that accurate.

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

        @harney use a lib to convert to json…

        google search

        nodejs xml to json

        there are a few…
        some let you target a specific section of the xml

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        H 1 Reply Last reply Reply Quote 1
        • H Offline
          harney @sdetweil
          last edited by

          @sdetweil said in MMM-MyWeather not working with Southern Hemisphere co-ordinates:

          nodejs xml to json

          Thanks Sam, I will see what i can do

          "John

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

            @harney

            yes the XML issue was a problem but I got around that by downloading the XML then as sdetweil suggested using XLM2JS to convert the file to JSON which I could ten search for the relevant fields unfortunately its not very tidy and needs customizing for each site.

            IF you want to have a look at how Ive done it the files are here
            https://github.com/saabman/WallberryTheme/blob/master/WB-weather/README.md

            I am not by any means a programmer - just kept hacking away at the weather module till it did what I wanted - Im sure there are better ways to do it… hopefully it is help full any way

            H 1 Reply Last reply Reply Quote 1
            • H Offline
              harney @Saabman
              last edited by

              @saabman Legend

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

                @harney

                Unfortunately BOM lately has made changes to their site which is preventing accessing their data claiming it’s scraping but they provide a JSON file which I’m accessing (for part of it anyway) so my module no longer works- I’ve changed things a couple of times to circumvent the issue but it keeps coming back so I’m going to look at other ways to access the data. One that looks promising is WillyWeather. It is a paid service based on the number of access’s billed monthly. But it appears to be very cheap - It looks like for one Magic Mirror accessing data from one weather station and radar image works out at less than $10 a year.
                When accessing the BOM currently they return a message to fill in a request form and some one will make contact - I filled in their form a couple of months ago and am yet to receive a response. Maybe when they get the servers sorted out things might change….

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