Read the statement by Michael Teeuw here.
Bad question
-
Copy the entire message
-
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… -
@Fonfon your config.js file that you just pasted the code into is inside your config folder, yes?
-
yes but i think the copie/pasted is not correct i re-try
-
yes he’s inside the folder
he don’t work… -
To save yourself time and double check do this…
go to your MagicMirror/config directory
type in terminal window:
cp config.js.sample config.js
Then restart your mirror… lets make sure it’s working first :)
-
it’s ok !! now i have the starting config file
thanks !!! -
@Fonfon I got him going bro. See? I can do things! (Godfather reference)
-
@Fonfon said in Bad question:
it’s ok !! now i have the starting config file
thanksYou’re welcome :thumbsup:
-
This post is deleted! -
Ok i try to the change clock
/* 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"], language: 'en', timeFormat: 24, units: 'metric', modules: [ { module: 'alert', }, { module: "updatenotification", position: "top_bar" }, { module: 'clock', position: 'top_left' config: { timezone: 'france/paris' } }, { 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;}is it the great form ?
-
@Fonfon I think it should be ‘France/Paris’ with capitals, and a comma after ‘top_left’,
Also, I think that if you leave the default at ‘none’ it will use your system clock
{ module : ‘clock’, position : 'top_left’, config: { timezone: ‘France/Paris’ } },is it the great form ?
timezone Specific a timezone to show clock.
Possible examples values: America/New_York, America/Santiago, Etc/GMT+10
Default value: none -
That’s right capitals and comma needed
you are the boss thanks !! -
@Fonfon said in Bad question:
That’s right capitals and comma needed
you are the boss thanks !!Just trying to be helpful. You’re welcome :thumbsup:
-
Just a suggestion that I give all new people… before you make changes to a working config.js make a copy of it… that way if you can’t figure out or you need something to compare it to you have your backup :)
-
@cowboysdude said in Bad question:
before you make changes to a working config.js make a copy of it
Excellent advice, and I agree. We were just trying to get him a working config.js in the first place
-
Is it necessary to rename the config.js to config.js.sample every time you want to modify it?
Or is there a simpler manipulation.yes now i do this !! i have a copy of my config.js ;)
-
@Fonfon - No, you don’t have to rename your config.js file to edit it but you might want to back it up BEFORE you edit it. This way, if anything goes wrong you’re safe
-
@Mykle1 for sure i understand how i can do for editing file without rename it ?
-
@Fonfon – Double click your config.js file. It will open. Do your editing, then choose Save from the File menu
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login