I found a pws nearby and everything is working great now. Thanks for the help!!
Read the statement by Michael Teeuw here.
Posts
-
RE: Help... I need help installing 3rd party modules to Magic Mirror 2
-
RE: Help... I need help installing 3rd party modules to Magic Mirror 2
@Mykle1 This might sound really ignorant but do I actually need PWS equipment to run this module? Can I not just receive and not transmit? My PWS is KTNMADIS13
-
RE: Help... I need help installing 3rd party modules to Magic Mirror 2
Has anyone run into the issue where you´ve installed MMM-WunderGround with your api key and pws and it just says
¨loading¨ on the magic mirror screen? -
RE: Help... I need help installing 3rd party modules to Magic Mirror 2
@joeytuck Okay, so I deleted the MMM-Traffic folder and files that I had and did a new git clone and npm install for a fresh start. It works!! I’m sure I’m at fault for doing something stupid within the MMM-Traffic config file like changing a comma or something. Really happy about this one and I am very thankful for everyones help! I’ve learned quite a bit more about this than I thought I would need to. Onto wunderground!
-
RE: Help... I need help installing 3rd party modules to Magic Mirror 2
@joeytuck Tried a new API key and still no luck. Moved the module to a different portion of the config file just to see if there was somehow a limit on the amount of allowed modules that I haven’t been able to find. Still nothing.
-
RE: Help... I need help installing 3rd party modules to Magic Mirror 2
},{
module: ‘MMM-Traffic’,
position: ‘bottom_right’,
classes: ‘bright small’,
config: {
api_key: ‘api key redacted’,
mode: ‘driving’,
origin: ‘origin redacted’,
destination: ‘destination address redacted’,
arrival_time: ‘’,
route_name: ‘Home to Work’,
changeColor: true,
showGreen: false,
limitYellow: 5,
limitRed: 20,
traffic_model: ‘pessimistic’,
interval: 120000,
showWeekend: true,
allTime: false
}
},
{
module: “newsfeed”,
position: “bottom_bar”,
config: {
feeds: [I copied my API key from Google directly but Iĺl register for another one and give that a shot.
-
RE: Help... I need help installing 3rd party modules to Magic Mirror 2
I removed all the forward // text not required for the code and MMM-Traffic still won’t populate on my mirror. Is there any code that limits it to only the factory module placement?
-
RE: Help... I need help installing 3rd party modules to Magic Mirror 2
I’ve noticed that my quotation marks are a different font and wondered if that would be an issue? If I copy the quotation marks on the config file and use those in place of the ones that I key on my keyboard it works. I got the program to run but it’s not reflecting the addition of the module even though in the script it says that it’s installing and helpers are installing. As far as the Dr, vs. Drive that was in the addresses that I input. When doing for example Cherry Drive it gave me a config error. But Cherry Dr did not.
-
RE: Help... I need help installing 3rd party modules to Magic Mirror 2
Fixed the config errors. Turns out that if you put Drive, instead of Dr, it won’t recognize it. Unfortunately, now Magic Mirror is starting normally but I don’t see the MMM-Traffic module being displayed. I’ve tried multiple screen positions and nothing.
-
RE: Help... I need help installing 3rd party modules to Magic Mirror 2
Also, do I need to do anything to the MMM-Traffic.js file defaults like adding the api_key or changing values to match my selections on the config.js file? It seems like it’s really easy when I read the readme files and I’m looking forward to that being the case. Any help in taking a step in the right direction would be much appreciated.
-
RE: Help... I need help installing 3rd party modules to Magic Mirror 2
This has been kicking my butt for the last day and a half. Learning a lot during the beating though. Do I need to add ’ ’ around numeric values as well?
-
RE: Help... I need help installing 3rd party modules to Magic Mirror 2
Added that comma as well and itś still failing. Hereś what Iḿ getting.
pi@raspberrypi:~/MagicMirror $ npm start
magicmirror@2.1.1 start /home/pi/MagicMirror
sh run-start.shStarting MagicMirror: v2.1.1
Loading config …
WARNING! Could not validate config file. Please correct syntax errors. Starting with default configuration.
Loading module helpers …
Initializing new module helper …
Module helper loaded: updatenotification
No helper found for module: helloworld.
All module helpers loaded.
Starting server on port 8080 …
Starting server op port 8080 …
Server started …
Connecting socket for: updatenotification
Sockets connected & modules started …
Launching application. -
RE: Help... I need help installing 3rd party modules to Magic Mirror 2
Good catch. I added the comma, saved the config file and tried pi@raspberrypi: ~/MagicMirror $ npm start To no avail. Do I need to do anything to the MMM-Traffic config.js file defaults?
-
RE: Help... I need help installing 3rd party modules to Magic Mirror 2
module: "newsfeed", position: "bottom_bar", config: { feeds: [ { title: "New York Times", url: "http://www.nytimes.com/services/xml/rss/nyt/HomePage.xml" } ], showSourceTitle: true, showPublishDate: true } }, { module:´MMM-Traffic´, position: ´bottom_right´ classes: ´dimmed medium´, config: { api_key: ´´, mode: ´driving´, origin: ´´, destination: ´´, arrival_time: ´´, route_name: ´Home to Work´, changeColor: true, showgreen: false, limitYellow: 5, limitRed: 20, traffic_model: ´pessimistic´, interval: 120000, showWeekend: true allTime: true}
},
]};
-
RE: Help... I need help installing 3rd party modules to Magic Mirror 2
Thank you for the replies. I did get Magic Mirror working for the initial setup prior to the 3rd party addition. I was missing the cd MMM-Traffic npm install portion. I did the npm install through Tools Open Folder in Terminal the first time. Not sure if that accomplishes the same goal? Itś still giving me the config.js error. Here is what I have for a config file with my personal info and API key copied and pasted directly from Google redacted.
module: "newsfeed", position: "bottom_bar", config: { feeds: [ { title: "New York Times", url: "http://www.nytimes.com/services/xml/rss/nyt/HomePage.xml" } ], showSourceTitle: true, showPublishDate: true } }, { module:´MMM-Traffic´, position: ´bottom_right´ classes: ´dimmed medium´, config: { api_key: ´´,
mode: ´driving´,
origin: ´´,
destination: ´´,
arrival_time: ´´,
route_name: ´Home to Work´,
changeColor: true,
showgreen: false,
limitYellow: 5,
limitRed: 20,
traffic_model: ´pessimistic´,
interval: 120000,
showWeekend: true
allTime: true
}
},
]};
-
Help... I need help installing 3rd party modules to Magic Mirror 2
Hi everyone,
I’m painfully new to any form of programming and could really use an assist on the proper way to install 3rd party modules on MagicMirror. I keep running into config.js issues on load up whenever I try to install a non factory module into the config.js file. I am trying to go by the instructions on github for mmm-traffic and to be honest I don’t even understand where or how to execute the files or where to do the npm install? Like I said, hardcore beginner. Any help would be greatly appreciated. This is a birthday present that I’m building and I’m already late with it.