Another day, still no change, compliments ignoring whatever is in config.js.
Thank you.
Another day, still no change, compliments ignoring whatever is in config.js.
Thank you.
Still not picking up different compliments:
{
module: 'compliments',
position: 'lower_third',
config: {
anytime: [
"Hey!"
],
morning: [
"Good morning, handsome!",
"Enjoy your day!",
"How was your sleep?"
],
afternoon: [
"Hello, beauty!",
"You look sexy!",
"Looking good today!"
],
evening: [
"Wow!",
"You!",
"Hi!"
]
},
updateInterval: 30000,
remoteFile: null,
fadeSpeed: 4000
/*config: {
remoteFile: 'compliments.json'
}*/
},
Changing it to remoteFile, as described here, it works.
Well, only after it’s still displayed all the default messages.
No difference, still uses default compliments:
config: {
anytime: [
"Compliment 1",
"Compliment 2",
"Compliment 3"
],
morning: [
"morning Compliment 1",
"morning Compliment 2",
"morning Compliment 3"
],
afternoon: [
"afternoon Compliment 1",
"afternoon Compliment 2",
"afternoon Compliment 3"
],
evening: [
"evening Compliment 1",
"evening Compliment 2",
"evening Compliment 3"
]
}
},
Ohhh, interesting. I’ll have a go and report back later.
Thank you.
Whilst the config.js now loads, it’s not showing the new, replacement compliments.
I’ve restarted NPM, no change.
I’ve powered Pi off & on, no change.
Thanks, it was that, and a missing } close curly bracket.
In config.js
{
module: 'compliments',
position: 'lower_third'
config: {
anytime: [
"Compliment 1",
"Compliment 2",
"Compliment 3"
]
},
{
module: 'currentweather',
Gives the “Please create a config file” error
Take out the. . .
config: {
anytime: [
"Compliment 1",
"Compliment 2",
"Compliment 3"
]
. . .lines, and it’s OK.

What’s it not liking in there?
And suddenly it come back into life! :)
Powered off & on, default config OK, and mine too.
But, cannot see Mirror from PC, despite full whitelisting in config.
ipWhitelist: ["127.0.0.1", "::ffff:127.0.0.1", "::1", "::ffff:192.168.1.1/120",],
Just tried the default sample config.js, and that doesn’t work either!
@strawberry-3.141 I’ve no idea what I’m looking for, sorry…
Ok, like this?
modules: [
{
module: 'alert', # Module 0
},
{
module: "MMM-MyTemps", # Module 1
header: "Home Sensors",
position: "bottom_right",
config: {
host: "192.168.1.41",
path: "/temp2mcf.php?format=json",
reloadInterval: 2 * 1000 //2 seconds
}
},
{
module: "updatenotification", # Module 2
position: "top_bar"
},
{
module: 'clock', # Module 3
position: 'top_left'
},
{
module: 'calendar', # Module 4
. … …And second calendar = # Module 5
making the custom.css look like this:
#module_4_calendar .fa.fa-calendar-check-o {
color: #00d2FF /* 55=Green FF=Blue*/
}
#module_5_calendar .fa.fa-trash-o {
color: #C97F7F; /* Brown */
}
module: 'calendar',
header: 'Calendar',
module: 'calendar',
header: 'Binday',
With two calendars, how do I get different icons / icon colours again in custom.css?
.calendar .fa.fa-calendar-check-o {
color: #00d2FF /* 55=Green FF=Blue*/
}
.calendar .fa.fa-trash-o {
color: #C97F7F; /* Brown */
}
@yawns Brilliant! A comma after each of the ] seems to have fixed it.
Thank you.
Ok, these are done and no longer an issue, hurrah!:grinning:
css/main.css
modules/default/compliments/compliments.js
modules/default/newsfeed/newsfeed.js
modules/default/weatherforecast/weatherforecast.js
Can’t get
modules/default/calendar/calendar.js
into config.js though.
module: 'calendar',
header: 'Calendar',
position: 'top_left',
config: {
maximumEntries: 8, // Total Maximum Entries
maximumNumberOfDays: 365,
displaySymbol: true,
defaultSymbol: "calendar", // Fontawesome Symbol see http://fontawesome.io/cheatsheet/
displayRepeatingCountTitle: false,
defaultRepeatingCountTitle: "",
maxTitleLength: 25,
fetchInterval: 5 * 60 * 1000, // Update every 5 minutes.
animationSpeed: 2000,
fade: true,
urgency: 0,
timeFormat: "absolute",
dateFormat: "ddd Do MMMM",
getRelative: 2,
fadePoint: 0.25, // Start on 1/4th of the list.
hidePrivate: false,
calendars: [
{
symbol: 'calendar-check-o ',
url: 'https://calendar.google.com/calendar/ical/PRIVATE_KEY/basic.ics'
}
]
}
},
{
module: 'calendar',
header: 'Binday',
position: 'bottom_left',
config: {
maximumEntries: 8, // Total Maximum Entries
maximumNumberOfDays: 365,
displaySymbol: true,
defaultSymbol: "calendar", // Fontawesome Symbol see http://fontawesome.io/cheatsheet/
displayRepeatingCountTitle: false,
defaultRepeatingCountTitle: "",
maxTitleLength: 25,
fetchInterval: 5 * 60 * 1000, // Update every 5 minutes.
animationSpeed: 2000,
fade: true,
urgency: 0,
timeFormat: "absolute",
dateFormat: "ddd Do MMMM",
getRelative: 2,
fadePoint: 0.25, // Start on 1/4th of the list.
hidePrivate: false,
calendars: [
{
symbol: 'pagelines ',
url: 'https://calendar.google.com/calendar/ical/PRIVATE_KEY/basic.ics'
}
]
titleReplace: {
// "'s birthday": "",
// "Recycling": "Bins",
"Red Bin": "Red and Black Bins",
"Green Bin": "Green and Black Bins"
}
}
},
What have I missed?!
Thanks.
Lost and confused already.
How much of calendar.js needs to be copied to config,js?
Thanks
@yawns Ok, thanks. I’ve some work to do there then!
@yawns
I don’t quite understand.
Main.css - I don’t know what I’ve changed, I’ll have a look later.
compliments.js Well, OK, I can re-write those.
calendar.js / newsfeed.js / weatherforecast.js
These have to be changed to pull in your calendar, your choice of news, your choice of weather, don’t they?