Another method that I used for tides is to install Xtide, and use a cron job to output the predictions into a .ics file, then use the calendar module to display. The advantage to this method is that there is no registration with any service (the tide prediction software is installed and runs locally). Xtide can be downloaded from here: https://flaterco.com/xtide. The calendar module has “anchor” icons, which gives the display a nice touch. Xtide can also output to a variety of different formats, including a nice looking .jpg graph (with lots of config options), which can also be displayed. There were a couple of quirks to overcome to make this work (including where the .ics & .jpg output files need to be saved to), but I like results. Once set up, many different locations are easily added or modified.
Read the statement by Michael Teeuw here.
Posts
-
RE: Tide Chart Module
-
RE: MMM-aviationwx (Aviation weather)
Mykle1,
Got it to install & run. Thanks for the clarification on how to install.
I put in my chosen airports in AK (also one in HI - just so I can feel bad about how cold it is here right now!)
Not sure if you know, but you can return only the most recent Metar data from each airport by using a slightly different URL and the following format:
http://aviationweather.ncep.noaa.gov/adds/dataserver_current/httpparam?dataSource=metars&requestType=retrieve&format=xml&hoursBeforeNow=4&mostRecent=true&stationString=PALHI like the output format. I think it works well for at-a-glance information purposes. However if I had a choice, I’d like a config option for temperature and dew point units. I’m used to looking at these in Fahrenheit. I have my own simple personal website where I link to a few Metar reports directly, and the pages show both the raw units and (converted).
Example for PALH (Lake Hood AK): http://www.aviationweather.gov/adds/metars/?station_ids=palh&std_trans=translated&chk_metars=on&hoursStr=most+recent+only&submitmet=Submit
Not a huge deal on the units, but maybe put it on the wishlist?
Thanks again for your effort on putting this together!
-
RE: MMM-aviationwx (Aviation weather)
Looks like there is a dependency required - from my PM2 error log file: Error: Cannot find module ‘xml2js’
I’m just getting started figuring out Linux, Git repository, and Javascript, so I’m not sure where to find - and under what directory to install this dependency.
Is this the one to install? https://github.com/Leonidas-from-XIV/node-xml2js
Thanks
-
RE: MMM-aviationwx (Aviation weather)
Thanks for your work on this!
I just installed Magic Mirror and started looking around for an aviation weather module that included Alaska. I just now stumbled on this thread, and see that your work should include the airports that I want in my list. I’ll install and test it as soon as I get a chance.
-
RE: MMM-Carousel showPageControls not visible
I just came across this post while also looking for a way to do this. After not finding any answer by searching, I decided to look at the css files included with this module and see if I could figure it out.
I’m a new at this, but easily found the lines to make changes at for displaying the pointer visibility:
in MMM-Carousel.css, make the following changes (in Bold):
…
.control label {
z-index: 0;
display: none;
text-align: center;
line-height: 50px;
position: relative;
width: 50px;
height: 50px;
left: 33%; /* Center in .control div: this.width / .control.width; /
top: 33%; / Center in .control div: this.height / .control.height;; */
font-size: 50px;
color: #FFF;
cursor: pointer !important;
opacity: 0.5;
}/Increase brightness when directly over/
.control label:hover {
opacity: 1.0;
}
…