Maybe try changing the % to %25. This is the escape sequence for a percent sign in a url.
rtsp://myname:my%pass@123.456.789.123:9876/videoMain
becomes:
rtsp://myname:my%25pass@123.456.789.123:9876/videoMain
Read the statement by Michael Teeuw here.
Posts
-
RE: stuck with MMM-RTSP module
-
RE: [MMM-iFrameReload]: iFrame won't load
Adding square brackets around the URL got mine to work. (After changing the title to MMM-iFrameReload) I don’t recall if it still threw the error about the helper module loading or not.
change
url: ‘www.example.com’,
to
url: [‘www.example.com’], -
RE: MMM-Wunderground - 2 locations gives duplicate data from the first location
I fixed it by reverting to a 9/17/2016 release. Not the most elegant and I may try to move forward again so my wind isn’t in Beaufort Scale. :)
The pws keys I showed work and can be verified by going through a regular web browser to Wunderground. Having 2 locations report the same weather is what got me to try different codes, and I was happy to learn that the city and airport identifiers work.
-
RE: Weatherunderground - currently - hourly - daily - configurable
@Crispis Thanks for posting it. I think you’re missing a comma after appid in the weatherforecast and currentweather modules. Being at the end that may not be it, I seem to have instances where they aren’t on the last line either.
You said it works without the Wunderground module, correct? Could it be setting the language to Dutch without having Dutch selected in the International Settings within raspi-config? It sure looks okay unless there’s a hidden symbol in there. How are you editing it on the mirror?
Here’s mine if you want to try.
{ module: 'MMM-WunderGround', position: 'top_right', header: 'Ankeny Weather', config: { apikey: 'api key here', pws: 'KIKV', hourly: '0', fcdaycount: '7', fade: 'false', fadePoint: '1', alerttime: 10000, UseCardinals: 1, roundTmpDecs: 1, } }, -
RE: Weatherunderground - currently - hourly - daily - configurable
@Crispis
CO/Denver should be okay as that’s the same format I’m using for one of my entries which is AZ/Yuma. You could also try an airport identifier such as KDEN for Denver International.As for saving the file, I assume you’re copying and pasting from Putty? Does turning off word wrap make it any better? Could you copy from putty and paste it in here as a code block?
-
RE: Weatherunderground - currently - hourly - daily - configurable
@Crispis Can you post your full config.js please? (if the above is just truncated) I’m wondering if there’s something just before the MMM-Wunderground module that’s causing you grief.
-
RE: Weatherunderground - currently - hourly - daily - configurable
@Crispis I’m not sure, but I think you may not need the comma after the ending curly bracket if you only have 1 item in modules. (3rd line from the bottom) I think that might be why config: { } doesn’t get an ending comma.
-
RE: How do you switch on / off, wake up yours?
I just use a cron job to put the screen to sleep at 11pm and turn it back on at 7am. My schedule is routine enough that this works well for me.
crontab -e
00 23 * * * /home/pi/monitor-off.sh >/dev/null # JOB_ID_1 0 7 * * * /home/pi/monitor-on.sh >/dev/null # JOB_ID_2#!/bin/bash vcgencmd display_power 0 # export DISPLAY=:0.0 # xset dpms force off#!/bin/bash vcgencmd display_power 1 # export DISPLAY=:0 # xset dpms force on # xset s reset -
MMM-Wunderground - 2 locations gives duplicate data from the first location
@RedNax
Mr. Wizard, help please. :)
I updated the MMM-Wunderground module tonight which pulled a new version. However, now I have Yuma, Arizona weather showing up for both Yuma, and Des Moines, Iowa. I know it’s unseasonably warm, but it wasn’t 90. :)
Config, that has been working properly.{ module: 'MMM-WunderGround', position: 'top_right', header: 'Yuma Weather', config: { apikey: 'removed', pws: 'AZ/Yuma', hourly: '0', fcdaycount: '7', fade: 'false', fadePoint: '1', alerttime: 10000, UseCardinals: 1, roundTmpDecs: 1, } }, { module: 'MMM-WunderGround', position: 'top_right', header: 'Ankeny Weather', config: { apikey: 'removed', pws: 'KIKV', hourly: '0', fcdaycount: '7', fade: 'false', fadePoint: '1', alerttime: 10000, UseCardinals: 1, roundTmpDecs: 1, } },And the results:

-
Alert box size?
Our National Weather Service can be quite verbose in their watches and warnings. I’ve tried to make the Alert box change size by adding the following to the custom.css however I don’t have it right yet.
.ns-alert { top 10% width 10% }
Note from admin: Please use Markdown on code snippets for easier reading!
-
MMM-Wunderground change wind from beaufort scale?
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.
-
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!