<?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-NOAAAlerts]]></title><description><![CDATA[<p dir="auto">I built this module more by need than anything else – the Seattle area where I live has been hit by some relatively severe weather the past few days, that have caused real problems for the area. While I wasn’t caught off-guard this time, I realized that the MM weather modules I had didn’t emphasize local warnings, alerts, and weather watches. So I built a module expressly for solving that problem:</p>
<p dir="auto"><strong>MMM-NOAAAlerts</strong><br />
Special Weather Statement:<br />
<img src="/assets/uploads/files/1672247906165-warning.png" alt="Warning.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">Flood Warning:<br />
<img src="/assets/uploads/files/1672248063589-flood.png" alt="Flood.png" class=" img-fluid img-markdown" /></p>
<p dir="auto"><strong>USING THE MODULE</strong></p>
<p dir="auto"><a href="https://github.com/mmtsweng/MMM-NOAAAlerts" target="_blank" rel="noopener noreferrer nofollow ugc">Github Link</a></p>
<p dir="auto"><em>Standard installation:</em></p>
<pre><code>git clone https://github.com/mmtsweng/MMM-NOAAAlerts
cd MMM-NOAAAlerts
npm install 
</code></pre>
<p dir="auto"><em>Basic configuration:</em></p>
<pre><code>{
  module: "MMM-NOAAAlerts",
  position: "top_bar",
  config: {
      userAgent: "Magic Mirror (xxxxxxxxxxxx@gmail.com)" //Custom contact information
      APIURL: "https://api.weather.gov/alerts/active?point=47.593,-122.333", //See below for other options
      debug: false, // [Optional] Print extended debugging logs to the console
      rotateInterval: 20*1000, // [Optional] How often to switch to the next alert/alarm
      updateInterval: 30*60*1000, // [Optional] How often to ping the API for more data
      }
},
</code></pre>
<p dir="auto">NOAA provides <a href="https://www.weather.gov/documentation/services-web-api" target="_blank" rel="noopener noreferrer nofollow ugc">a free API</a> to retrieve weather alerts, which this API uses. There is no registration required.<br />
There are multiple ways to set the forecast area, and NOAA provides through <a href="https://www.weather.gov/media/documentation/docs/NWS_Geolocation.pdf" target="_blank" rel="noopener noreferrer nofollow ugc">documentation</a> if you need extensive help. But the basics are</p>
<ul>
<li>By State: <code>https://api.weather.gov/alerts/active?area={state}</code></li>
<li>By <a href="https://alerts.weather.gov/cap/wa.php?x=2" target="_blank" rel="noopener noreferrer nofollow ugc">Zone</a>: <code>https://api.weather.gov/alerts/active?zone={zone}</code></li>
<li>By Lat/Long: <code>https://api.weather.gov/points/{latitude},{longitude}</code></li>
<li>By Grid: <code>https://api.weather.gov/gridpoints/{office}/{grid X},{grid Y}/forecast</code></li>
</ul>
<p dir="auto">NOAA requires that a User-Agent header be provided. Please set your own custom agent in the config with unique contact information (the suggested header is: <code>User-Agent: (myweatherapp.com, contact@myweatherapp.com) </code>, so following that format makes sense.</p>
<p dir="auto">This is still very much a work in progress. I have spent very little time styling it, and I haven’t even put together the README file yet (I’m going to steal this post, actually!). But I have had it running for the past 2 days with no major issues. So far I’ve only tested it in the top bar section. If anyone else wants to try it and provide feedback I’ll be actively improving it.</p>
]]></description><link>https://forum.magicmirror.builders/topic/17477/mmm-noaaalerts</link><generator>RSS for Node</generator><lastBuildDate>Sat, 18 Jul 2026 23:59:53 GMT</lastBuildDate><atom:link href="https://forum.magicmirror.builders/topic/17477.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 28 Dec 2022 17:42:15 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to MMM-NOAAAlerts on Mon, 04 Nov 2024 13:00:17 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/mattkab" aria-label="Profile: mattkab">@<bdi>mattkab</bdi></a> Please add it to the <a href="https://github.com/MagicMirrorOrg/MagicMirror/wiki/3rd-party-modules" target="_blank" rel="noopener noreferrer nofollow ugc">module list</a> :-)</p>
]]></description><link>https://forum.magicmirror.builders/post/121011</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/121011</guid><dc:creator><![CDATA[KristjanESPERANTO]]></dc:creator><pubDate>Mon, 04 Nov 2024 13:00:17 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-NOAAAlerts on Mon, 04 Nov 2024 11:55:29 GMT]]></title><description><![CDATA[<p dir="auto">Working for me. Thanks!</p>
]]></description><link>https://forum.magicmirror.builders/post/121007</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/121007</guid><dc:creator><![CDATA[mmmallday]]></dc:creator><pubDate>Mon, 04 Nov 2024 11:55:29 GMT</pubDate></item></channel></rss>