Read the statement by Michael Teeuw here.
added new module/not showing up
-
Added the module to the config file, it shows in the list below that is there, but says no helper, What is this and how do I fix it?
Starting MagicMirror: v2.1.3
Loading config …
Loading module helpers …
No helper found for module: alert.
Initializing new module helper …
Module helper loaded: updatenotification
No helper found for module: clock.
Initializing new module helper …
Module helper loaded: calendar
No helper found for module: compliments.
No helper found for module: MMM-JEOPARDY.
No helper found for module: currentweather.
No helper found for module: weatherforecast.
Initializing new module helper …
Module helper loaded: newsfeed
All module helpers loaded.
Starting server on port 8080 …
Server started …
Connecting socket for: updatenotification
Connecting socket for: calendar
Starting node helper for: calendar
Connecting socket for: newsfeed
Starting module: newsfeed
Sockets connected & modules started …Ready to go! Please point your browser to: http://localhost:8080
Create new calendar fetcher for url: http://www.calendarlabs.com/templates/ical/US-Holidays.ics - Interval: 300000
Create new news fetcher for url: http://www.nytimes.com/services/xml/rss/nyt/HomePage.xml - Interval: 300000 -
@navyvette87
You don’t need to mindNo helper found for module
. It means just that module has nonode_helper.js
to execute. And usually, that is not a bug unless developer made some mistake. (some modules work enough withoutnode_helper.js
) -
@Sean That module is not showing up on the screen though. I put the code in the config file with the { } on either end. so will have to look into it further when I have time.
-
@navyvette87 said in added new module/not showing up:
That module is not showing up on the screen though. I put the code in the config file with the { } on either end.
Are you talking about MMM-JEOPARDY? I just checked it and it’s working normally. I did a minor fix at the same time so
git pull
in the MagicMirror/modules/MMM-Jeopardy directory for that update. The entire config.js entry for MMM-JEOPARDY is as follows:{ module: 'MMM-JEOPARDY', position: 'top_left', // Works well anywhere config: { useHeader: false, // true if you want a header header: "This is Jeopardy!", // Any text you want maxWidth: "250px", // Stretch or constrain according to region animationSpeed: 3000, // New clue fades in and out } },
Pay particular attention to the last
}
It has a comma after it -
@Mykle1 no the weather module. used the link on the main page , I copied the code and inserted it in the config.js. and its not showing up. I can copy it and put it on here later tonight.
But I think i dropped the jeopardy one in there to, so i will check and up date when I get back to that project tonight. -
Ok, weather won’t show without an API key, just so you know. The directions are in the readme for the module
-
ok got that one to work, now trying to get stocks put in. the following is the config file,
/* Magic Mirror Config Sample
*- By Michael Teeuw http://michaelteeuw.nl
- MIT Licensed.
- For more information how you can configurate this file
- See https://github.com/MichMich/MagicMirror#configuration
*/
var config = {
address: “localhost”, // Address to listen on, can be:
// - “localhost”, “127.0.0.1”, “::1” to listen on loopback interface
// - another specific IPv4/6 to listen on a specific interface
// - “”, “0.0.0.0”, “::” to listen on any interface
// Default, when address config is left out, is “localhost”
port: 8080,
ipWhitelist: [“127.0.0.1”, “::ffff:127.0.0.1”, “::1”], // Set [] to allow all IP addresses
// or add a specific IPv4 of 192.168.1.5 :
// [“127.0.0.1”, “::ffff:127.0.0.1”, “::1”, “::ffff:192.168.1.5”],
// or IPv4 range of 192.168.3.0 --> 192.168.3.15 use CIDR format :
// [“127.0.0.1”, “::ffff:127.0.0.1”, “::1”, “::ffff:192.168.3.0/28”],language: "en", timeFormat: 24, units: "imperial", modules: [ { module: "alert", }, { module: "updatenotification", position: "top_bar" }, { module: "clock", position: "top_left" },
{
module: “calendar”,
header: “US Holidays”,
position: “top_left”,
config: {
calendars: [
{
symbol: "calendar-check-o ",
url: “webcal://www.calendarlabs.com/templates/ical/US-Holidays.ics”
}
]
}
},{
module: “currentweather”,
position: “top_right”,
config: {
location: “Lompoc, US”,
locationID: “”, //ID from http://www.openweathermap.org/help/city_list.txt
appid: “6ed9d867d3ba972c013edecdef1e685a”
}
},
{
module: “weatherforecast”,
position: “top_right”,
header: “Weather Forecast”,
config: {
location: “Lompoc,US”,
locationID: “”, //ID from http://www.openweathermap.org/help/city_list.txt
appid: “6ed9d867d3ba972c013edecdef1e685a”
}
},
{
module: ‘stocks’,
position: ‘middle_center’,
config: {
stocks: ‘.DJI,MSFT,AAPL,GOOG,INTC,CICS,TSLA,FB’, // stock symbols
updateInterval: 37000 // update interval in milliseconds
}
},
{
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: “currentweather”,
position: “top_right”, // This can be any of the regions.
// Best results in left or right regions.
config: {
// See ‘Configuration options’ for more information.
location: “Amsterdam,Netherlands”,
locationID: “”, //Location ID from http://openweathermap.org/help/city_list.txt
appid: “abcde12345abcde12345abcde12345ab” //openweathermap.org API key.
}
}
]/*************** DO NOT EDIT THE LINE BELOW ***************/
if (typeof module !== “undefined”) {module.exports = config;}And the node start
Starting MagicMirror: v2.1.3
Loading config …
Loading module helpers …
No helper found for module: alert.
Initializing new module helper …
Module helper loaded: updatenotification
No helper found for module: clock.
Initializing new module helper …
Module helper loaded: calendar
No helper found for module: currentweather.
No helper found for module: weatherforecast.
Initializing new module helper …
Module helper loaded: stocks
Initializing new module helper …
Module helper loaded: newsfeed
All module helpers loaded.
Starting server on port 8080 …
Server started …
Connecting socket for: updatenotification
Connecting socket for: calendar
Starting node helper for: calendar
Connecting socket for: stocks
stocks helper started …
Connecting socket for: newsfeed
Starting module: newsfeed
Sockets connected & modules started …Ready to go! Please point your browser to: http://localhost:8080
Create new calendar fetcher for url: http://www.calendarlabs.com/templates/ical/US-Holidays.ics - Interval: 300000
Create new news fetcher for url: http://www.nytimes.com/services/xml/rss/nyt/HomePage.xml - Interval: 300000
. it looks like it has started the stock helper and socket, but not showing on node screen, I changed the position to middle_center -
First, when you do post your code here, please post in a code block so that it is easier to read. My old eyes can’t look at that!
Second, I don’t use the stock module. However, I did read recently that there was some problem with it. A forum search found this
https://forum.magicmirror.builders/topic/4806/stock-module-problem
-
@Mykle1 Thanks everyone, got it all together, got the New York Times feed at the bottom, interesting quotes in the middle. Time, date, calendar on left top. Weather top right. Now on to find a screen.