Is there an easy way to change the measurement system, without hacking up the code and missing out on future updates? I have my config’s units set to imperial if that matters.
Read the statement by Michael Teeuw here.
Posts
-
MMM-Wunderground change wind from beaufort scale?
-
RE: calendar *.ics file from local path
@co8
Yes, I got it working after a bit of experimenting. It wouldn’t read the ics file from other places like /MagicMirror which I assumed to be the root of the webserver.I created a new directory in /MagicMirror/modules, named birthdays, and placed by birthdays.ics file in there.
Then in my config I added a 2nd calendar:
{ symbol: 'birthday-cake', url: 'webcal://localhost:8080/modules/birthdays/birthdays.ics' } -
Newsfeed loses feeds
I have several news feeds configured, mostly Google News but also an MLB and a Fox Sports feed. It seemed to cycle through properly for about a week, but then I noticed it was only showing the Fox Sports feed. When I reboot, they all come back properly for a time.
Is there any log or anything I can do to look at this further, or any thoughts on why it might be dropping out?
-
RE: Weatherunderground - currently - hourly - daily - configurable
@RedNax It works! Thanks for fixing that so fast. Now I need to politely bug MichMich about the size of the alert box since our weather service is so verbose. :)
-
RE: Weatherunderground - currently - hourly - daily - configurable
@RedNax , sorry for the delay, I’ve had company and then had to wait for an alert message. My config doesn’t have the alerttruncatestring even in it. I’ve copied both the results of the Wunderground alert and the text from the NWS. I wonder if it’s dying at the /u00A , which appears to line up perfectly with a CR/LF from the NWS text. It’s also the first item in the message, which could explain why I don’t see any text other than the description.
"alerts": [ { "type": "HEA", "description": "Excessive Heat Watch", "date": "3:43 PM CDT on July 18, 2016", "date_epoch": "1468874580", "expires": "7:00 PM CDT on July 22, 2016", "expires_epoch": "1469232000", "tz_short":"CDT", "tz_long":"America/Chicago", "message": "\u000A...Excessive heat watch in effect from Wednesday morning through\u000AFriday evening...\u000A\u000AThe National Weather Service in Des Moines has issued an\u000Aexcessive heat watch...which is in effect from Wednesday morning\u000Athrough Friday evening. \u000A\u000A* Temperature...air temperatures in the mid to upper 90s, dewpoint\u000A temperatures in the mid to upper 70s, heat index values 105 to\u000A 115.\u000A\u000A* Impacts...excessive heat could lead to severe heat related\u000A illnesses and possibly death if proper action is not taken.\u000A\u000APrecautionary/preparedness actions...\u000A\u000AAn excessive heat watch means that a prolonged period of hot\u000Atemperatures is expected. The combination of hot temperatures and\u000Ahigh humidity will combine to create a dangerous situation in\u000Awhich heat illnesses are possible. Drink plenty of fluids...stay\u000Ain an air-conditioned room...stay out of the sun...and check up\u000Aon relatives and neighbors. Do not leave pets and/or children in \u000Aunattended vehicles.\u000A\u000A\u000AKotenberg\u000A\u000A\u000A\u000A", "phenomena": "EH", "significance": "A", "ZONES": [ { "state":"IA", "ZONE":"004" }!!! NWS Text begins here !!!
Event: Excessive Heat Watch
Alert:…EXCESSIVE HEAT LIKELY COMING TO IOWA WEDNESDAY INTO THIS
WEEKEND….CONFIDENCE FOR WEDNESDAY THROUGH FRIDAY IS HIGH TO VERY HIGH FOR
HEAT INDEX VALUES ACROSS IOWA TO REACH THE 105 TO 115. HEAT INDEX
VALUES OF 95 TO 100 DEGREES MAY LAST INTO AND THROUGHOUT THE
WEEKEND.…EXCESSIVE HEAT WATCH IN EFFECT FROM WEDNESDAY MORNING THROUGH
FRIDAY EVENING…THE NATIONAL WEATHER SERVICE IN DES MOINES HAS ISSUED AN
EXCESSIVE HEAT WATCH…WHICH IS IN EFFECT FROM WEDNESDAY MORNING
THROUGH FRIDAY EVENING.- TEMPERATURE…AIR TEMPERATURES IN THE MID TO UPPER 90S, DEWPOINT
TEMPERATURES IN THE MID TO UPPER 70S, HEAT INDEX VALUES 105 TO
- IMPACTS…EXCESSIVE HEAT COULD LEAD TO SEVERE HEAT RELATED
ILLNESSES AND POSSIBLY DEATH IF PROPER ACTION IS NOT TAKEN.
PRECAUTIONARY/PREPAREDNESS ACTIONS…
AN EXCESSIVE HEAT WATCH MEANS THAT A PROLONGED PERIOD OF HOT
TEMPERATURES IS EXPECTED. THE COMBINATION OF HOT TEMPERATURES AND
HIGH HUMIDITY WILL COMBINE TO CREATE A DANGEROUS SITUATION IN
WHICH HEAT ILLNESSES ARE POSSIBLE. DRINK PLENTY OF FLUIDS…STAY
IN AN AIR-CONDITIONED ROOM…STAY OUT OF THE SUN…AND CHECK UP
ON RELATIVES AND NEIGHBORS. DO NOT LEAVE PETS AND/OR CHILDREN IN
UNATTENDED VEHICLES. - TEMPERATURE…AIR TEMPERATURES IN THE MID TO UPPER 90S, DEWPOINT
-
RE: Calendar - Use calendar form local file system
@coolchip , yes this can be done easily by serving it up via http.
My 2nd calendar entry looks like this:
{
symbol: ‘birthday-cake’,
url: ‘webcal://localhost:8080/modules/birthdays/birthdays.ics’
}That may not be the best location to put it, but I wasn’t able to get it read from outside of /modules.
-
RE: Calendar seems to be 1 day off?
@KirAsh4 ok, that makes sense. Thanks for explaining it.
-
Calendar seems to be 1 day off?
My calendar says Independence Day (July 4th), is 6 days away, while today is June 27th. I can see how it could be considered 6 days and change away, but I would think it would read 7 days. At the time I’m writing this, even GMT date is still the same as my local date so nothing with timezones should be interfering that I can think of.
-
RE: Weatherunderground - currently - hourly - daily - configurable
@RedNax Hey thanks for the quick response! I have 2 locations up and running and great. Unfortunately I now have another question. :smile: There is a special weather statement for one of my 2 locations, and it popped up an alert which is really cool. However, the popup alert just said, Special Statement, which is just the subject text, for lack of a better description. Is that the expected behavior?
Special Statement
Issued: 1:49 PM EDT Jun. 27, 2016 – National Weather Service… A strong thunderstorm with intense lightning will impact central
Oconee County until 230 PM EDT…At 148 PM EDT… Doppler radar was tracking a strong thunderstorm
with intense lightning 5 miles northwest of Walhalla… or near
Oconee State Park… moving southeast at 25 mph.Locations to be impacted include…
Walhalla… Westminster… Oconee State Park… Lake Keowee and Mountain
Rest.In addition to intense lightning… pea size hail and wind gusts up to
40 mph will be possible in these areas. -
RE: default calendar - individual icon colors?
@KirAsh4
Thank you for the help! It looks great!