<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[MMM-MyWeather not working with Southern Hemisphere co-ordinates]]></title><description><![CDATA[<p dir="auto">Hi all!</p>
<p dir="auto">Need help with an odd one. Is anyone else running into issues using MMM-MyWeather for Southern Hemisphere co-ordinates?  The module gets stuck on “loading” if lat has a negative value, but works fine for negative value in longitude (eg New York with lat = 40.69 and lon = -74.25).</p>
<p dir="auto">The response from the API as provided in the logs is fine in both instances, but it just looks like the module cant parse the json correctly and i can’t figure out why.</p>
<p dir="auto">Sample of my config below.</p>
<pre><code>modules: [
  {
    module: 'MMM-MyWeather',
    position: 'top_right',
    config: {
      apikey: 'xxxxxxxxxxxxx', 
      lat: "-22.27", // 
      lon: "133.77" , // 
      hourly: '1',
      fctext: '1',
      fcdaycount: "5",
      fcdaystart: "0",
      hourlyinterval: "3",
      hourlycount: "2",
      UseCardinals: 0,
      layout: "horizontal",
      debug : 1
    }
  },
]
</code></pre>
]]></description><link>https://forum.magicmirror.builders/topic/14886/mmm-myweather-not-working-with-southern-hemisphere-co-ordinates</link><generator>RSS for Node</generator><lastBuildDate>Tue, 09 Jun 2026 05:44:35 GMT</lastBuildDate><atom:link href="https://forum.magicmirror.builders/topic/14886.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 06 Apr 2021 17:19:49 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to MMM-MyWeather not working with Southern Hemisphere co-ordinates on Sun, 30 May 2021 10:25:32 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/harney" aria-label="Profile: harney">@<bdi>harney</bdi></a></p>
<p dir="auto">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.<br />
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….</p>
]]></description><link>https://forum.magicmirror.builders/post/91815</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/91815</guid><dc:creator><![CDATA[Saabman]]></dc:creator><pubDate>Sun, 30 May 2021 10:25:32 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-MyWeather not working with Southern Hemisphere co-ordinates on Fri, 07 May 2021 09:24:05 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/saabman" aria-label="Profile: saabman">@<bdi>saabman</bdi></a> Legend</p>
]]></description><link>https://forum.magicmirror.builders/post/91309</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/91309</guid><dc:creator><![CDATA[harney]]></dc:creator><pubDate>Fri, 07 May 2021 09:24:05 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-MyWeather not working with Southern Hemisphere co-ordinates on Fri, 07 May 2021 02:18:59 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/harney" aria-label="Profile: harney">@<bdi>harney</bdi></a></p>
<p dir="auto">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.</p>
<p dir="auto">IF you want to have a look at how Ive done it the files are here<br />
<a href="https://github.com/saabman/WallberryTheme/blob/master/WB-weather/README.md" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/saabman/WallberryTheme/blob/master/WB-weather/README.md</a></p>
<p dir="auto">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</p>
]]></description><link>https://forum.magicmirror.builders/post/91304</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/91304</guid><dc:creator><![CDATA[Saabman]]></dc:creator><pubDate>Fri, 07 May 2021 02:18:59 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-MyWeather not working with Southern Hemisphere co-ordinates on Fri, 07 May 2021 01:30:12 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/sdetweil" aria-label="Profile: sdetweil">@<bdi>sdetweil</bdi></a> said in <a href="/post/91289">MMM-MyWeather not working with Southern Hemisphere co-ordinates</a>:</p>
<blockquote>
<p dir="auto">nodejs xml to json</p>
</blockquote>
<p dir="auto">Thanks Sam, I will see what i can do</p>
<p dir="auto">"John</p>
]]></description><link>https://forum.magicmirror.builders/post/91302</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/91302</guid><dc:creator><![CDATA[harney]]></dc:creator><pubDate>Fri, 07 May 2021 01:30:12 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-MyWeather not working with Southern Hemisphere co-ordinates on Thu, 06 May 2021 13:31:30 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/harney" aria-label="Profile: harney">@<bdi>harney</bdi></a> use a lib to convert to json…</p>
<p dir="auto">google search</p>
<p dir="auto">nodejs xml to json</p>
<p dir="auto">there are a few…<br />
some let you target a specific section of the xml</p>
]]></description><link>https://forum.magicmirror.builders/post/91289</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/91289</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Thu, 06 May 2021 13:31:30 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-MyWeather not working with Southern Hemisphere co-ordinates on Thu, 06 May 2021 13:27:42 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/saabman" aria-label="Profile: saabman">@<bdi>saabman</bdi></a> 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.</p>
]]></description><link>https://forum.magicmirror.builders/post/91286</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/91286</guid><dc:creator><![CDATA[harney]]></dc:creator><pubDate>Thu, 06 May 2021 13:27:42 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-MyWeather not working with Southern Hemisphere co-ordinates on Mon, 03 May 2021 12:40:41 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/harney" aria-label="Profile: harney">@<bdi>harney</bdi></a> thats a pitty the BOM doesnt have close data for your site.<br />
I have found that all the regular weather providers (Open weather, darksky etc) forecasts and observations are less than adequate for Oz.</p>
<p dir="auto">So I have been reworking the Weather Module from WallberryTheme to use Aus govs BOM data. getting observations was easier enough as they provide that in JSON format which makes it some what easy but they only provide XML data for forecasts and the format is different for every site :( so my plans to “release” my module have stalled. because it has to be customised for each site.</p>
]]></description><link>https://forum.magicmirror.builders/post/91237</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/91237</guid><dc:creator><![CDATA[Saabman]]></dc:creator><pubDate>Mon, 03 May 2021 12:40:41 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-MyWeather not working with Southern Hemisphere co-ordinates on Wed, 14 Apr 2021 14:17:01 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/jolt02" aria-label="Profile: jolt02">@<bdi>jolt02</bdi></a> All these weather sites use data from private weather enthusiasts that have varying equipment so the accuracy will never be 100% spot on. Im using data from a Bassendean site which is in the proximity of my place. It is “close” but as there is no official BOM reading for the area, who is to say its wrong. BOM get there Temps for ‘Perth’ from their site at the airport and in the city,</p>
<p dir="auto">I find a lot of the “Pro” sites like weather channel, Google etc are using data from sites in the northern Hemisphere. This can make it very hard to know what is the correct temp. I have an API from BOM but haven’t figured out the coding as they don;t use Json.</p>
<p dir="auto">I would like to get data from <a href="http://Windy.com" target="_blank" rel="noopener noreferrer nofollow ugc">Windy.com</a> for cloud and wave data but that is expensive</p>
]]></description><link>https://forum.magicmirror.builders/post/90684</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/90684</guid><dc:creator><![CDATA[harney]]></dc:creator><pubDate>Wed, 14 Apr 2021 14:17:01 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-MyWeather not working with Southern Hemisphere co-ordinates on Wed, 14 Apr 2021 13:33:30 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/jolt02" aria-label="Profile: jolt02">@<bdi>jolt02</bdi></a> js will convert in either direction automatically, except if u ask, is this a number or a string</p>
<p dir="auto">temp: 1234   is a number<br />
temp ‘1234’ is a string<br />
temp: ‘null’ is string<br />
temp: null is undefined</p>
<p dir="auto">print temp from above  will do  1234, or 1234, or null, or undefined</p>
]]></description><link>https://forum.magicmirror.builders/post/90683</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/90683</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Wed, 14 Apr 2021 13:33:30 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-MyWeather not working with Southern Hemisphere co-ordinates on Wed, 14 Apr 2021 13:22:22 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/sdetweil" aria-label="Profile: sdetweil">@<bdi>sdetweil</bdi></a> from my very basic understanding of how it was developed, i think it was stored it as a string so that it could be concatenated? again, this is based on 5 minutes of Google-fu and no understanding of JS here</p>
]]></description><link>https://forum.magicmirror.builders/post/90681</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/90681</guid><dc:creator><![CDATA[Jolt02]]></dc:creator><pubDate>Wed, 14 Apr 2021 13:22:22 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-MyWeather not working with Southern Hemisphere co-ordinates on Wed, 14 Apr 2021 13:20:06 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/harney" aria-label="Profile: harney">@<bdi>harney</bdi></a> hello from Perth as well! how are you finding the accuracy of the OpenWeather data? I was using that initially, but found that it was telling me something different to the results from Google.</p>
<p dir="auto">i used lat long in OpenWeather though and didnt try using the PWS so that might be the difference</p>
]]></description><link>https://forum.magicmirror.builders/post/90680</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/90680</guid><dc:creator><![CDATA[Jolt02]]></dc:creator><pubDate>Wed, 14 Apr 2021 13:20:06 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-MyWeather not working with Southern Hemisphere co-ordinates on Thu, 08 Apr 2021 13:16:13 GMT]]></title><description><![CDATA[<p dir="auto">try taking out the Lon And Lat and use a PWS like for me would be…       Perth (IPERTH921). This usually happens when the site can’t match a co-ordinate to a location.</p>
<p dir="auto">I have tried various modules that require Lon and Lat or area and found this happens a lot ‘down under’ as there seems to be less active locations than in the northern hemisphere.</p>
<p dir="auto">for my mirror I used default weatherforecast and MMM-OpenmapWeather . Both of these  use Open Weather map  that has locations rather than co-ordinates.</p>
<p dir="auto">MMM-MyWeather also uses locations (PWS)</p>
<p dir="auto"><img src="/assets/uploads/files/1617887664247-img_9657.jpg" alt="IMG_9657.jpg" class=" img-fluid img-markdown" /></p>
]]></description><link>https://forum.magicmirror.builders/post/90437</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/90437</guid><dc:creator><![CDATA[harney]]></dc:creator><pubDate>Thu, 08 Apr 2021 13:16:13 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-MyWeather not working with Southern Hemisphere co-ordinates on Wed, 07 Apr 2021 16:46:17 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/jolt02" aria-label="Profile: jolt02">@<bdi>jolt02</bdi></a> said in <a href="/post/90394">MMM-MyWeather not working with Southern Hemisphere co-ordinates</a>:</p>
<blockquote>
<p dir="auto">a condition for lat &gt;= 0</p>
</blockquote>
<p dir="auto">so, to add to the prior discussion</p>
<p dir="auto">if the user had coded lat:“-16” in config.js</p>
<p dir="auto">the comparison would  always be true comparing a string to a 0 (all ‘string’ objects would be non-zero, regardless of their content)</p>
]]></description><link>https://forum.magicmirror.builders/post/90396</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/90396</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Wed, 07 Apr 2021 16:46:17 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-MyWeather not working with Southern Hemisphere co-ordinates on Wed, 07 Apr 2021 16:38:58 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/sdetweil" aria-label="Profile: sdetweil">@<bdi>sdetweil</bdi></a> 🤷‍♂️ that’s how they built the module and i’m not familiar enough with JS to go through and fix it. Thanks for trying anyways.</p>
<p dir="auto">for what it’s worth, I ended up learning to use the console more and figured out something in the moon direction logic was broken because it was looking for there was a condition for lat &gt;= 0. I’ve just gone through and deleted all references to moon phases in the MMM-MyWeather.js file and it’s working fine now.</p>
<p dir="auto">probably not the most elegant of solutions, but at least it gives me way more information than “loading…”</p>
]]></description><link>https://forum.magicmirror.builders/post/90394</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/90394</guid><dc:creator><![CDATA[Jolt02]]></dc:creator><pubDate>Wed, 07 Apr 2021 16:38:58 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-MyWeather not working with Southern Hemisphere co-ordinates on Wed, 07 Apr 2021 15:59:05 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/jolt02" aria-label="Profile: jolt02">@<bdi>jolt02</bdi></a> said in <a href="/post/90345">MMM-MyWeather not working with Southern Hemisphere co-ordinates</a>:</p>
<blockquote>
<pre><code>  fcdaycount: "5",
  fcdaystart: "0",
  hourlyinterval: "3",
  hourlycount: "2",
</code></pre>
</blockquote>
<p dir="auto">but i don’t care what the author posted… those are strings, that need to be converted to numbers…</p>
<p dir="auto">anyhow</p>
]]></description><link>https://forum.magicmirror.builders/post/90392</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/90392</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Wed, 07 Apr 2021 15:59:05 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-MyWeather not working with Southern Hemisphere co-ordinates on Wed, 07 Apr 2021 15:44:27 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/sdetweil" aria-label="Profile: sdetweil">@<bdi>sdetweil</bdi></a> that’s not the issue though. using lat =  “22.27” and “133.77” work even if the rest of numbers are in quotes.</p>
<p dir="auto">the code above were copied and pasted the config from the module documentation. i’ve just changed the co-ordinates to be southern hemisphere co-ordinates</p>
]]></description><link>https://forum.magicmirror.builders/post/90390</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/90390</guid><dc:creator><![CDATA[Jolt02]]></dc:creator><pubDate>Wed, 07 Apr 2021 15:44:27 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-MyWeather not working with Southern Hemisphere co-ordinates on Tue, 06 Apr 2021 19:27:31 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/jolt02" aria-label="Profile: jolt02">@<bdi>jolt02</bdi></a> remove the quotes from all the numbers</p>
]]></description><link>https://forum.magicmirror.builders/post/90350</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/90350</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Tue, 06 Apr 2021 19:27:31 GMT</pubDate></item></channel></rss>