@qqqqqqqq said in Alignment with module “random_quotes”:
you seem like an expert at MM2.
Oh, he is. :thumbsup:
@qqqqqqqq said in Alignment with module “random_quotes”:
you seem like an expert at MM2.
Oh, he is. :thumbsup:
@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:
@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
@Fonfon said in Bad question:
it’s ok !! now i have the starting config file
thanks
You’re welcome :thumbsup:
@Fonfon I got him going bro. See? I can do things! (Godfather reference)
@Fonfon your config.js file that you just pasted the code into is inside your config folder, yes?
/* 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'
},
{
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: '',
locationID: 'GOES HERE', //ID from http://www.openweathermap.org
appid: 'YOUR_OPENWEATHER_API_KEY'
}
},
{
module: 'weatherforecast',
position: 'top_right',
header: 'Weather Forecast',
config: {
location: '',
locationID: 'GOES HERE', //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;}
@Fonfon yup, one thing at a time. Lets get your config.js working first
@Fonfon said in Bad question:
@Fonfon and when i start npm , my config file name is config.js or config.js.sample ?
config.js or it won’t work
@Fonfon said in Bad question:
Can you give me a correct config file for starting or where i can find it ?
Well, that one should work if you make the correction I noted. Otherwise, in the config folder is a file called config.js.sample. Make a copy of it and rename it to config.js. Then you’ll have to add your other modules and API keys
Like this
{
module: 'calendar',
header: 'US Holidays',
position: 'top_left',
config: {
calendars: [
{
symbol: 'calendar-check-o ',
url: 'webcal://www.calendarlabs.com/templates/ical/US-Holidays.ics'
}
]
}
},
the 2nd { in the calendar module should be deleted for starters
Your config was working and now it’s not? If you just added something to a working config then that’s probably the culprit. Post your config here so we can have a look at it
@bluecaka69 said in WEATHER total NOOB:
update
:::
got it working i just realized i didn’t install the repository my bad…
Yeah, those help a lot. :wink:
thanks for your advice
You’re welcome :thumbsup:
@strawberry-3.141 said in Throwing down the gauntlet:
if someone wants to achieve the same, actually there is the module wunderground twice (center and right), but once the forecast and the other time the current weather is hidden
The dude makes it sound so simple.
You’re awesome! Take the day off. I promise, I won’t post any questions today. :smiley:
@RedNax said in Weatherunderground - currently - hourly - daily - configurable:
Thank you for your kind words. I’ve now pushed a version that will dynamically scale the fontsize/line length of the forecast text. Give it a go!
I have to run off to work right now but I will “give it a go” as soon as I get home. I’ll let you know. Thanks for this.:thumbsup:
Seeing as you have an API for WunderGround already, here’s my config.js entry for that. Just insert your API key and choose another weather station, the pws (at the website), as mine probably won’t be good for you. I left mine in so you can see how it looks. Also, look at the ReadMe for WunderGround to see how you can change the values below to your liking. Post your config.js file if this doesn’t work for you and we can take a look at it for you. Good luck.
{
module: 'MMM-WunderGround',
position: 'top_right',
config: {
apikey: 'YOUR API KEY GOES HERE', /* private; don't share!*/
pws: 'pws:KNYNEWYO103',
currentweather: 1,
coloricon: true,
hourly: '1',
fctext: '1',
fcdaycount: "10",
fcdaystart: "0",
hourlyinterval: "2",
hourlycount: "1",
animationSpeed: 5000,
alerttime: 10000,
alerttruncatestring: "english:",
roundTmpDecs: 0,
UseCardinals: 1,
layout: "vertical",
windunits: "mph",
sysstat: "0"
}
},