@yawns Brilliant! A comma after each of the ] seems to have fixed it.
Thank you.
@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?
pi@raspberrypi:~/MagicMirror $ git pull && npm install
Updating 8010e62..1a2b4f8
error: Your local changes to the following files would be overwritten by merge:
css/main.css
modules/default/calendar/calendar.js
modules/default/compliments/compliments.js
modules/default/newsfeed/newsfeed.js
modules/default/weatherforecast/weatherforecast.js
Please, commit your changes or stash them before you can merge.
Aborting
How do I do this, please?
Same issue here, config is set to 24, yet calendar shows 10:35pm.
Google calendar shows 22:35, why is MM showing PM rather than 24hr?
Thank you.
Calendar titleReplace shows:
red car due service
blue car due service
How could they be colored according to their text, I guess through custom.css?
Thanks.
@strawberry-3.141 What do I do with that, how do I use it?
Thanks.
Sure, it’s in /home/pi/MagicMirror/css/custom.css
* Changes to this files will be ignored by GIT. *
*****************************************************/
body {
}
.fa.fa-calendar-check-o {
color: #00d2ff; /* Blue */
}
.fa.fa-trash-o {
color: #C97F7F; /* Brown */