<?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[Struggling with Weather... module]]></title><description><![CDATA[<p dir="auto">hi all<br />
been trying for a while to get the default “weather” app to work for me and im struggling a little bit, NPM syntax check comes back clean.<br />
<img src="/assets/uploads/files/1656341494489-6fb032b7-3a67-45a9-bceb-24b71ee413b8-image.png" alt="6fb032b7-3a67-45a9-bceb-24b71ee413b8-image.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">im 95% sure i have all the relevant info in the config.js file.<br />
<img src="/assets/uploads/files/1656341675999-83848943-1277-4345-a212-c482bae3b322-image.png" alt="83848943-1277-4345-a212-c482bae3b322-image.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">But im not seeing weather output on screen. <img src="/assets/uploads/files/1656341467947-64f3c4ef-666f-4162-b397-2dd39792e637-image.png" alt="64f3c4ef-666f-4162-b397-2dd39792e637-image.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">Figured i’d put it here instead of Discord.</p>
<p dir="auto">All suggestions warmly recieved</p>
]]></description><link>https://forum.magicmirror.builders/topic/16924/struggling-with-weather-module</link><generator>RSS for Node</generator><lastBuildDate>Thu, 11 Jun 2026 11:01:28 GMT</lastBuildDate><atom:link href="https://forum.magicmirror.builders/topic/16924.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 27 Jun 2022 15:13:33 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Struggling with Weather... module on Thu, 30 Jun 2022 15:12:38 GMT]]></title><description><![CDATA[<p dir="auto">This “issue” is fixed.</p>
<p dir="auto">Advised by Sam, I ran these 2 commands to find modified files that differ from a “clean install/default” of MM.</p>
<pre><code>git status
git diff
</code></pre>
<p dir="auto">Any that varied… I ran:</p>
<pre><code>git checkout &lt;dir-tree&gt;/file.extension
</code></pre>
<p dir="auto">Rebuilt my config.js and found that apiBase <em><strong>HAS</strong></em> to be commented out.</p>
<p dir="auto">On reflection <em><strong>DO NOT CHANGE ANY FILE</strong></em> aside from “config.js”<br />
I had 3 causes for this issue.</p>
<ul>
<li>(edit) i had longitude set in config.js to “long:”… it should be “lon:” and the lat/lon do not have to be surrounded by any quote marks.</li>
<li>I’d modified other *.js files, that didn’t need to be modified.</li>
<li>the “apiBase” argument listed in (MagicMirror Documentation &gt; Modules &gt; Weather Module &gt; Configuration Options) was, in my case, not “REQUIRED”.<br />
<img src="/assets/uploads/files/1656601276698-c82b60b1-1dd9-43bb-a09a-94a3009810bb-image.png" alt="c82b60b1-1dd9-43bb-a09a-94a3009810bb-image.png" class=" img-fluid img-markdown" /></li>
</ul>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/sdetweil" aria-label="Profile: sdetweil">@<bdi>sdetweil</bdi></a> … Sam, publically, I cant thank you enough for your help with this. Sorry for being a n00b, your insight and help was invaluable, and you taught me some stuff, which is great!!</p>
]]></description><link>https://forum.magicmirror.builders/post/102562</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/102562</guid><dc:creator><![CDATA[D3dl3g]]></dc:creator><pubDate>Thu, 30 Jun 2022 15:12:38 GMT</pubDate></item><item><title><![CDATA[Reply to Struggling with Weather... module on Thu, 30 Jun 2022 15:16:35 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/d3dl3g" aria-label="Profile: D3dl3g">@<bdi>D3dl3g</bdi></a> glad u got it working. we are all noobs at some of this stuff…</p>
]]></description><link>https://forum.magicmirror.builders/post/102563</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/102563</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Thu, 30 Jun 2022 15:16:35 GMT</pubDate></item><item><title><![CDATA[Reply to Struggling with Weather... module on Thu, 30 Jun 2022 15:12:38 GMT]]></title><description><![CDATA[<p dir="auto">This “issue” is fixed.</p>
<p dir="auto">Advised by Sam, I ran these 2 commands to find modified files that differ from a “clean install/default” of MM.</p>
<pre><code>git status
git diff
</code></pre>
<p dir="auto">Any that varied… I ran:</p>
<pre><code>git checkout &lt;dir-tree&gt;/file.extension
</code></pre>
<p dir="auto">Rebuilt my config.js and found that apiBase <em><strong>HAS</strong></em> to be commented out.</p>
<p dir="auto">On reflection <em><strong>DO NOT CHANGE ANY FILE</strong></em> aside from “config.js”<br />
I had 3 causes for this issue.</p>
<ul>
<li>(edit) i had longitude set in config.js to “long:”… it should be “lon:” and the lat/lon do not have to be surrounded by any quote marks.</li>
<li>I’d modified other *.js files, that didn’t need to be modified.</li>
<li>the “apiBase” argument listed in (MagicMirror Documentation &gt; Modules &gt; Weather Module &gt; Configuration Options) was, in my case, not “REQUIRED”.<br />
<img src="/assets/uploads/files/1656601276698-c82b60b1-1dd9-43bb-a09a-94a3009810bb-image.png" alt="c82b60b1-1dd9-43bb-a09a-94a3009810bb-image.png" class=" img-fluid img-markdown" /></li>
</ul>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/sdetweil" aria-label="Profile: sdetweil">@<bdi>sdetweil</bdi></a> … Sam, publically, I cant thank you enough for your help with this. Sorry for being a n00b, your insight and help was invaluable, and you taught me some stuff, which is great!!</p>
]]></description><link>https://forum.magicmirror.builders/post/102562</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/102562</guid><dc:creator><![CDATA[D3dl3g]]></dc:creator><pubDate>Thu, 30 Jun 2022 15:12:38 GMT</pubDate></item><item><title><![CDATA[Reply to Struggling with Weather... module on Thu, 30 Jun 2022 14:47:29 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/karsten13" aria-label="Profile: karsten13">@<bdi>karsten13</bdi></a><br />
also… replace the hash symbols with various numbers… im not posting my exact Lat/Long for obvious reasons…</p>
<p dir="auto">make sure ur doing</p>
<pre><code>lat:
</code></pre>
<p dir="auto">and</p>
<pre><code>lon:
</code></pre>
<p dir="auto">i had it set to lat &amp; lon(G) which is incorrect. hence why it was 80+miles, way tf over there!</p>
<p dir="auto">quote marks or none surronding the numbers doesnt appear to matter, for me at least</p>
]]></description><link>https://forum.magicmirror.builders/post/102560</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/102560</guid><dc:creator><![CDATA[D3dl3g]]></dc:creator><pubDate>Thu, 30 Jun 2022 14:47:29 GMT</pubDate></item><item><title><![CDATA[Reply to Struggling with Weather... module on Wed, 29 Jun 2022 22:38:16 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/karsten13" aria-label="Profile: karsten13">@<bdi>karsten13</bdi></a></p>
<p dir="auto">i too am getting this…  showing me some 80+miles SEE of my actual location</p>
]]></description><link>https://forum.magicmirror.builders/post/102554</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/102554</guid><dc:creator><![CDATA[D3dl3g]]></dc:creator><pubDate>Wed, 29 Jun 2022 22:38:16 GMT</pubDate></item><item><title><![CDATA[Reply to Struggling with Weather... module on Wed, 29 Jun 2022 21:55:55 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/karsten13" aria-label="Profile: karsten13">@<bdi>karsten13</bdi></a> I just copy pasted and it worked.</p>
<p dir="auto">weird</p>
]]></description><link>https://forum.magicmirror.builders/post/102553</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/102553</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Wed, 29 Jun 2022 21:55:55 GMT</pubDate></item><item><title><![CDATA[Reply to Struggling with Weather... module on Wed, 29 Jun 2022 21:53:40 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></p>
<p dir="auto">did only test without, but there is another error <code>lon</code> vs. <code>long</code> …</p>
]]></description><link>https://forum.magicmirror.builders/post/102552</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/102552</guid><dc:creator><![CDATA[karsten13]]></dc:creator><pubDate>Wed, 29 Jun 2022 21:53:40 GMT</pubDate></item><item><title><![CDATA[Reply to Struggling with Weather... module on Wed, 29 Jun 2022 21:52:04 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/karsten13" aria-label="Profile: karsten13">@<bdi>karsten13</bdi></a> I tested w those  in quotes, and it worked ok</p>
]]></description><link>https://forum.magicmirror.builders/post/102551</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/102551</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Wed, 29 Jun 2022 21:52:04 GMT</pubDate></item><item><title><![CDATA[Reply to Struggling with Weather... module on Wed, 29 Jun 2022 20:53:35 GMT]]></title><description><![CDATA[<p dir="auto">tested <code>ukmetofficehub</code> and it works out of the box (without setting the <code>useCorsProxy</code> flag).</p>
<p dir="auto">Looking into the provided config</p>
<pre><code class="language-js">  weatherProvider: 'ukmetofficedatahub',
  lat: "52.###############",
  long: "-1.###############",
</code></pre>
<p dir="auto">which is messed up. It has to be:</p>
<pre><code class="language-js">  weatherProvider: 'ukmetofficedatahub',
  lat: 52.###############,
  lon: -1.###############,
</code></pre>
]]></description><link>https://forum.magicmirror.builders/post/102549</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/102549</guid><dc:creator><![CDATA[karsten13]]></dc:creator><pubDate>Wed, 29 Jun 2022 20:53:35 GMT</pubDate></item><item><title><![CDATA[Reply to Struggling with Weather... module on Wed, 29 Jun 2022 15:56:33 GMT]]></title><description><![CDATA[<p dir="auto">Just to update the forum, as to what happened behind closed doors</p>
<p dir="auto">Sam kindly tested my code, and it worked for him.</p>
<p dir="auto">I am recieving browser errors (previously requested but i wasnt looking in the right bit of the browser window)… he is not</p>
<p dir="auto">Issues Tab<br />
<img src="/assets/uploads/files/1656517382761-a6d930c5-9a8d-4954-b85f-0a690ebf979a-image.png" alt="a6d930c5-9a8d-4954-b85f-0a690ebf979a-image.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">Console Tab<br />
<img src="/assets/uploads/files/1656517954379-28bb215d-8d84-42ca-90bd-f32d898fa203-image.png" alt="28bb215d-8d84-42ca-90bd-f32d898fa203-image.png" class=" img-fluid img-markdown" /><br />
the last 5 entries here will reoccur, im guessing at every “retry” for weather info</p>
<p dir="auto">attempted to use <code>useCorsProxy: true</code> to no avail</p>
<p dir="auto">Sam kindly posted into git hub issues.<br />
<a href="https://github.com/MichMich/MagicMirror/issues/271" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/MichMich/MagicMirror/issues/271</a></p>
]]></description><link>https://forum.magicmirror.builders/post/102548</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/102548</guid><dc:creator><![CDATA[D3dl3g]]></dc:creator><pubDate>Wed, 29 Jun 2022 15:56:33 GMT</pubDate></item><item><title><![CDATA[Reply to Struggling with Weather... module on Wed, 29 Jun 2022 14:32:40 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/d3dl3g" aria-label="Profile: D3dl3g">@<bdi>D3dl3g</bdi></a> send me your API key… config from config.js via email or direct message so I can debug</p>
<p dir="auto">did u look in the browser messages?</p>
<p dir="auto">my email is my same userid at gmail</p>
]]></description><link>https://forum.magicmirror.builders/post/102547</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/102547</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Wed, 29 Jun 2022 14:32:40 GMT</pubDate></item><item><title><![CDATA[Reply to Struggling with Weather... module on Wed, 29 Jun 2022 13:34:35 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></p>
<p dir="auto">weather.js and weatherprovider.js i have set back to defaults.</p>
<p dir="auto">i have set  config.js as requested</p>
<pre><code>  weatherProvider: 'ukmetofficedatahub',
  lat: "52.###############",
  long: "-1.###############",
//apiBase: 'https://api-metoffice.apiconnect.ibmcloud.com/v0/forecasts/point/daily/',
  apiKey: 'e52#############################',
  apiSecret: 'd3a#############################',
</code></pre>
<p dir="auto">the result:-<br />
<img src="/assets/uploads/files/1656509629461-7eba740f-a745-4800-a364-6d8a94be739a-image.png" alt="7eba740f-a745-4800-a364-6d8a94be739a-image.png" class=" img-fluid img-markdown" /></p>
]]></description><link>https://forum.magicmirror.builders/post/102544</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/102544</guid><dc:creator><![CDATA[D3dl3g]]></dc:creator><pubDate>Wed, 29 Jun 2022 13:34:35 GMT</pubDate></item><item><title><![CDATA[Reply to Struggling with Weather... module on Wed, 29 Jun 2022 11:52:07 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/d3dl3g" aria-label="Profile: D3dl3g">@<bdi>D3dl3g</bdi></a> you ONLY setup from config.js</p>
<p dir="auto">please try with  NO  apibase set</p>
]]></description><link>https://forum.magicmirror.builders/post/102541</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/102541</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Wed, 29 Jun 2022 11:52:07 GMT</pubDate></item><item><title><![CDATA[Reply to Struggling with Weather... module on Wed, 29 Jun 2022 09:26:57 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/kayababe" aria-label="Profile: Kayababe">@<bdi>Kayababe</bdi></a> <a class="plugin-mentions-user plugin-mentions-a" href="/user/sdetweil" aria-label="Profile: sdetweil">@<bdi>sdetweil</bdi></a></p>
<p dir="auto">openweathermap works… albiet the location its suggested is 3 miles down the road.  (ukmetoffice has data for 2 streets away)</p>
<p dir="auto"><img src="/assets/uploads/files/1656494728086-1625ac6e-c4f6-43ec-a86a-9c6cb7a05d31-image.png" alt="1625ac6e-c4f6-43ec-a86a-9c6cb7a05d31-image.png" class=" img-fluid img-markdown" /></p>
]]></description><link>https://forum.magicmirror.builders/post/102537</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/102537</guid><dc:creator><![CDATA[D3dl3g]]></dc:creator><pubDate>Wed, 29 Jun 2022 09:26:57 GMT</pubDate></item><item><title><![CDATA[Reply to Struggling with Weather... module on Wed, 29 Jun 2022 09:25:53 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>,</p>
<p dir="auto">apiBase commented out in config.<br />
<img src="/assets/uploads/files/1656491266079-c0056a38-65e2-49ff-a3d4-5324c5cca865-image.png" alt="c0056a38-65e2-49ff-a3d4-5324c5cca865-image.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">server restart,  and  browser log request, showing loaded weather modules<br />
<img src="/assets/uploads/files/1656490836013-b10c9006-1351-4cfe-865b-26def301bf3b-image.png" alt="b10c9006-1351-4cfe-865b-26def301bf3b-image.png" class=" img-fluid img-markdown" /><br />
i still have “loading” in module location</p>
<p dir="auto">looking at source gives me the impression that i need to go and look at 2 more .js files. Previously i have been working with /default/weather/ukmetofficedatahub.js and /MagicMirror/config/config.js</p>
<p dir="auto">ill see if thes hold any info:<br />
/root/MagicMirror/modules/default/weather/weatherproviders.js<br />
(Edit: //weather provider properties: null, modified to:<br />
<img src="/assets/uploads/files/1656493230819-8bca5c6c-09d9-4987-8940-0233b5e827c7-image.png" alt="8bca5c6c-09d9-4987-8940-0233b5e827c7-image.png" class=" img-fluid img-markdown" />  )</p>
<p dir="auto">/root/MagicMirror/modules/default/weather/weather.js<br />
(Edit: this file is set to “openweathermap”, changing to “ukmetofficedatahub”</p>
<p dir="auto"><img src="/assets/uploads/files/1656493116039-a2763dbe-9a57-47bc-b036-505bd38e8e4e-image.png" alt="a2763dbe-9a57-47bc-b036-505bd38e8e4e-image.png" class=" img-fluid img-markdown" /> )</p>
<p dir="auto">server restart, no effect noted :(</p>
]]></description><link>https://forum.magicmirror.builders/post/102535</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/102535</guid><dc:creator><![CDATA[D3dl3g]]></dc:creator><pubDate>Wed, 29 Jun 2022 09:25:53 GMT</pubDate></item><item><title><![CDATA[Reply to Struggling with Weather... module on Wed, 29 Jun 2022 07:49:59 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/kayakbabe" aria-label="Profile: kayakbabe">@<bdi>kayakbabe</bdi></a><br />
For some reason i glossed over your reply, apologies.</p>
<p dir="auto">Trying with a different provider will be my plan of attack today. After running some diag, as sam has suggested.</p>
<p dir="auto">I find the met office to be insanely accurate for my area when compared to other online weather services. Hence my desire to use it.</p>
<p dir="auto">One of the reasons my posts are peppered with pictures and code is to help ensure i am setting it up correctly. I didnt realise about the .js in the weather  folder for 2 days i thought it was all set up from config.js…</p>
<p dir="auto">As it stands im convinced i have it set right, now, but its totally possible i have a comma in the wrong place. As im a total n00b with JS. i know sometimes it is difficult to see the forest through the trees and a fresh set of eyes can help.</p>
<p dir="auto">Thank-you for your reply, looks like im experiencing  option 4 😄</p>
]]></description><link>https://forum.magicmirror.builders/post/102533</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/102533</guid><dc:creator><![CDATA[D3dl3g]]></dc:creator><pubDate>Wed, 29 Jun 2022 07:49:59 GMT</pubDate></item><item><title><![CDATA[Reply to Struggling with Weather... module on Tue, 28 Jun 2022 23:28:04 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/d3dl3g" aria-label="Profile: D3dl3g">@<bdi>D3dl3g</bdi></a>  I don’t KNOW for sure… the provider has its own apiBase set…</p>
<pre><code>* 		apiBase: "https://api-metoffice.apiconnect.ibmcloud.com/metoffice/production/v0/forecasts/point/",
</code></pre>
<p dir="auto">so comment that out in your config<br />
add // to the start of the line with apiBase:</p>
<p dir="auto">also, as this doesn’t have a node helper, we should be looking in the browser logs</p>
<p dir="auto">ctrl-shift-i, select the console tab and put</p>
<pre><code>weath
</code></pre>
<p dir="auto">in the filter field</p>
]]></description><link>https://forum.magicmirror.builders/post/102531</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/102531</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Tue, 28 Jun 2022 23:28:04 GMT</pubDate></item><item><title><![CDATA[Reply to Struggling with Weather... module on Tue, 28 Jun 2022 23:07:53 GMT]]></title><description><![CDATA[<p dir="auto">any ideas??  <a class="plugin-mentions-user plugin-mentions-a" href="/user/sdetweil" aria-label="Profile: sdetweil">@<bdi>sdetweil</bdi></a></p>
<p dir="auto">Is this portion of the module broke for me, do i need to use a different service?</p>
]]></description><link>https://forum.magicmirror.builders/post/102530</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/102530</guid><dc:creator><![CDATA[D3dl3g]]></dc:creator><pubDate>Tue, 28 Jun 2022 23:07:53 GMT</pubDate></item><item><title><![CDATA[Reply to Struggling with Weather... module on Tue, 28 Jun 2022 23:06:14 GMT]]></title><description><![CDATA[<p dir="auto">I’m stumped!</p>
<p dir="auto">As outlined <a href="https://github.com/MichMich/MagicMirror/blob/master/modules/default/weather/providers/ukmetofficedatahub.js" target="_blank" rel="noopener noreferrer nofollow ugc">here</a></p>
<p dir="auto">ukmetofficedatahub.js is set to</p>
<pre><code>        // Set the default config properties that is specific to this provider
        defaults: {
                apiBase: "https://api-metoffice.apiconnect.ibmcloud.com/v0/forecasts/point/daily/",
                apiKey: "&lt;myID&gt;",
                apiSecret: " &lt;my secret&gt;",
                lat: &lt;my lat&gt;,
                lon: &lt;mylong&gt;,
                windUnits: "mph"
</code></pre>
<p dir="auto">(lines 50-55)</p>
<p dir="auto">////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////</p>
<p dir="auto">config.js set to</p>
<pre><code>  		weatherProvider: "ukmetofficedatahub",
  		apiBase: "https://api-metoffice.apiconnect.ibmcloud.com/v0/forecasts/point/daily/",
  		apiKey: "&lt;myID&gt;",
  		apiSecret: " &lt;my secret&gt;",
  		lat: &lt;my lat&gt;,
  		lon: &lt;my long&gt;,
 		windUnits: "mph",
 		tempUnits: "metric",
</code></pre>
<p dir="auto">(lines 20-27)</p>
<p dir="auto">///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////<br />
<img src="/assets/uploads/files/1656456991144-bff556ff-fe1a-46f0-8532-2d07dfce1a35-image.png" alt="bff556ff-fe1a-46f0-8532-2d07dfce1a35-image.png" class=" img-fluid img-markdown" /><br />
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////</p>
<p dir="auto">logs are clear… many server restarts…</p>
<p dir="auto">i can curl  required info and get something vaguely intelligent from the Met office Servers</p>
<pre><code>curl --request GET \
  --url 'https://api-metoffice.apiconnect.ibmcloud.com/v0/forecasts/point/hourly?excludeParameterMetadata=false&amp;includeLocationName=true&amp;latitude=&lt;my lat&gt;&amp;longitude=&lt;my long&gt;' \
  --header 'X-IBM-Client-Id:  &lt;myID&gt;' \
  --header 'X-IBM-Client-Secret: &lt;my secret&gt;' \
  --header 'accept: application/json'
</code></pre>
<p dir="auto"><img src="/assets/uploads/files/1656457399924-44b19423-474c-4042-a8ff-69c32a3079a8-image.png" alt="44b19423-474c-4042-a8ff-69c32a3079a8-image.png" class=" img-fluid img-markdown" /></p>
]]></description><link>https://forum.magicmirror.builders/post/102529</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/102529</guid><dc:creator><![CDATA[D3dl3g]]></dc:creator><pubDate>Tue, 28 Jun 2022 23:06:14 GMT</pubDate></item><item><title><![CDATA[Reply to Struggling with Weather... module on Tue, 28 Jun 2022 20:34:53 GMT]]></title><description><![CDATA[<p dir="auto">in addition… looking at “ukmetofficedatahub.js”<br />
API Base URL looks like this…<br />
apiBase: “<a href="https://api-metoffice.apiconnect.ibmcloud.com/v0/forecasts/point/" target="_blank" rel="noopener noreferrer nofollow ugc">https://api-metoffice.apiconnect.ibmcloud.com/v0/forecasts/point/</a>&lt;hourly/3hourly/daily&gt;”,</p>
<p dir="auto">where as the next section down API URL is stated to be<br />
“<a href="https://metoffice.apiconnect.ibmcloud.com/metoffice/production/api" target="_blank" rel="noopener noreferrer nofollow ugc">https://metoffice.apiconnect.ibmcloud.com/metoffice/production/api</a>”</p>
<p dir="auto">seems to be a mismatch although im still looking at where to test that theory…<br />
i would have hoped which ever way the URL is structured its the JS info thats the important bit, not the structure of the URL</p>
]]></description><link>https://forum.magicmirror.builders/post/102526</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/102526</guid><dc:creator><![CDATA[D3dl3g]]></dc:creator><pubDate>Tue, 28 Jun 2022 20:34:53 GMT</pubDate></item><item><title><![CDATA[Reply to Struggling with Weather... module on Tue, 28 Jun 2022 14:03:04 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></p>
<p dir="auto">could it be *js file setup.</p>
<p dir="auto">been poking around on the Met Office website</p>
<p dir="auto">is this “request” something that could be used</p>
<pre><code>GET https://api-metoffice.apiconnect.ibmcloud.com/v0/forecasts/point/hourly?latitude=52.################&amp;longitude=-1.################
Headers:
Accept: application/json
X-IBM-Client-Id: e52######################
X-IBM-Client-Secret: *********
</code></pre>
<p dir="auto">a “Header”</p>
<pre><code>cache-control: no-cache, no-store, max-age=0, must-revalidate
content-length: 3634
content-type: application/json
expires: 0
pragma: no-cache
x-global-transaction-id: 9####################
x-ratelimit-limit: name=rate-limit-1,360;
x-ratelimit-remaining: name=rate-limit-1,358;
</code></pre>
<p dir="auto">theres also a  “Body” that starts</p>
<pre><code>{
    "type": "FeatureCollection",
    "features": [
        {
            "type": "Feature",
            "geometry": {
                "type": "Point",
                "coordinates": [
                    -1.###,
                    52.###,
                    ###
                ]
            },
            "properties": {
                "requestPointDistance": 736.6499,
                "modelRunDate": "2022-06-28T13:00Z",
                "timeSeries": [
                    {
                        "time": "2022-06-28T13:00Z",
                        "screenTemperature": 19.6,
                        "maxScreenAirTemp": 19.6,
                        "minScreenAirTemp": 19.1,
                        "screenDewPointTemperature": 7.7,
                        "feelsLikeTemperature": 16.83,
                        "windSpeed10m": 5.1,
                        "windDirectionFrom10m": 200,
                        "windGustSpeed10m": 11.3,
                        "max10mWindGust": 13.42,
                        "visibility": 24714,
                        "screenRelativeHumidity": 46.06,
                        "mslp": 101420,
                        "uvIndex": 4,
                        "significantWeatherCode": 3,
                        "precipitationRate": 0,
                        "totalPrecipAmount": 0,
                        "totalSnowAmount": 0,
                        "probOfPrecipitation": 1
</code></pre>
<p dir="auto">i hashed out sensitive info BTW, the Long/lat and API Keys</p>
]]></description><link>https://forum.magicmirror.builders/post/102521</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/102521</guid><dc:creator><![CDATA[D3dl3g]]></dc:creator><pubDate>Tue, 28 Jun 2022 14:03:04 GMT</pubDate></item><item><title><![CDATA[Reply to Struggling with Weather... module on Tue, 28 Jun 2022 12:34:40 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><br />
:grinning_face_with_smiling_eyes: always the way.</p>
]]></description><link>https://forum.magicmirror.builders/post/102512</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/102512</guid><dc:creator><![CDATA[D3dl3g]]></dc:creator><pubDate>Tue, 28 Jun 2022 12:34:40 GMT</pubDate></item><item><title><![CDATA[Reply to Struggling with Weather... module on Tue, 28 Jun 2022 11:29:15 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/d3dl3g" aria-label="Profile: D3dl3g">@<bdi>D3dl3g</bdi></a> hm.  should have had some info…</p>
]]></description><link>https://forum.magicmirror.builders/post/102505</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/102505</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Tue, 28 Jun 2022 11:29:15 GMT</pubDate></item><item><title><![CDATA[Reply to Struggling with Weather... module on Tue, 28 Jun 2022 07:12:24 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><br />
many restarts as i was modifying and testing layouts and features<br />
<img src="/assets/uploads/files/1656400179109-8c0b4cd7-65aa-481a-b183-060cb0ef9ca5-image.png" alt="8c0b4cd7-65aa-481a-b183-060cb0ef9ca5-image.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">couple of syntax errors, when i was playing around last night.<br />
<img src="/assets/uploads/files/1656400200763-daa33a85-88ae-4317-9374-a71ea4d61c43-image.png" alt="daa33a85-88ae-4317-9374-a71ea4d61c43-image.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">(blanked out sensitve info on calendar line)<br />
<img src="/assets/uploads/files/1656400289997-d5285b65-22af-483d-a9cf-5ebb1831694d-image.png" alt="d5285b65-22af-483d-a9cf-5ebb1831694d-image.png" class=" img-fluid img-markdown" /></p>
]]></description><link>https://forum.magicmirror.builders/post/102497</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/102497</guid><dc:creator><![CDATA[D3dl3g]]></dc:creator><pubDate>Tue, 28 Jun 2022 07:12:24 GMT</pubDate></item><item><title><![CDATA[Reply to Struggling with Weather... module on Mon, 27 Jun 2022 22:39:51 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/d3dl3g" aria-label="Profile: D3dl3g">@<bdi>D3dl3g</bdi></a> try lines=50</p>
]]></description><link>https://forum.magicmirror.builders/post/102493</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/102493</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Mon, 27 Jun 2022 22:39:51 GMT</pubDate></item></channel></rss>