yes but i think the copie/pasted is not correct i re-try
Read the statement by Michael Teeuw here.
Posts
-
RE: Bad question
-
RE: Bad question
thanks mikle i copied the entire message i paste it
rename my config file like config.js
go to command
npm start
allways the message in a black screen
please create a config file
magic mirror2
see readme for more information… -
RE: Bad question
@Mykle1 can you give me the original config file please
-
RE: Bad question
ok i understand my another problem is with the whitelist but i try to solve 1 problem after 1 problem
thank mykle1 -
RE: Bad question
@Fonfon and when i start npm , my config file name is config.js or config.js.sample ?
-
RE: Bad question
Can you give me a correct config file for starting or where i can find it ?
-
RE: Bad question
/* Magic Mirror Config Sample
*- By Michael Teeuw http://michaelteeuw.nl
- MIT Licensed.
*/
var config = {
port: 8080,
ipWhitelist: [“127.0.0.1”, “::ffff:127.0.0.1”, “::1”, “192.168.1.1/24”],language: 'fr', timeFormat: 24, units: 'metric', modules: [ { module: 'alert', }, { module: "updatenotification", position: "top_bar" }, { { 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: 'compliments', position: 'lower_third' }, { module: 'currentweather', position: 'top_right', config: { location: 'New York', locationID: '', //ID from http://www.openweathermap.org appid: 'YOUR_OPENWEATHER_API_KEY' } }, { module: 'weatherforecast', position: 'top_right', header: 'Weather Forecast', config: { location: 'New York', locationID: '5128581', //ID from http://www.openweathermap.org appid: 'YOUR_OPENWEATHER_API_KEY' } }, { 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 } }, ]};
/*************** DO NOT EDIT THE LINE BELOW ***************/
if (typeof module !== ‘undefined’) {module.exports = config;} -
RE: Bad question
Another one !! ;)
WARNING! Could not find config file. Please create one. Starting with default configuration.why he say that ?
thanks