Read the statement by Michael Teeuw here.
Update says to "commit your changes or stash them before you can merge." ?
-
Lost and confused already.
How much of calendar.js needs to be copied to config,js?
Thanks
-
@Richard238 said in Update says to “commit your changes or stash them before you can merge.” ?:
Lost and confused already.
How much of calendar.js needs to be copied to config,js?
Thanks
About this much…
{ module: 'calendar', header: 'My Family Home Calendar', position: 'top_right', config: { maximumEntries: 13, maximumNumberOfDays: 365, maxTitleLength: 25, animationSpeed: 0, fadePoint: 3, timeFormat: 'absolute', urgency: 7, getRelative: 0, calendars: [ { symbol: 'calendar-check-o ', url: 'webcal://www.calendarlabs.com/templates/ical/UK-Holidays.ics' }, { symbol: `calendar-check-o `, url: "https://calendar.google.com/calendar/ical/mydetails.co.uk/private-mydetails/basic.ics" }, ] } }, { module: 'compliments', -
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.jsCan’t get
modules/default/calendar/calendar.jsinto 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.
-
At least there is a single comma missing after the closing ] of your calendars entry
-
@yawns Brilliant! A comma after each of the ] seems to have fixed it.
Thank you.
-
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 */ } -
@Richard238 you can use the module identifier for it as it is unique
#module_7_calendar .fa.fa-calendar-check-o { } #module_8_calendar .fa.fa-calendar-check-o { }the number is the index of the entry in your config starting at 0
e.g.
modules: [ {module: "A", position: "top_right"}, //index: 0 {module: "B", position: "top_right"}, //index: 1 {module: "calendar", position: "top_right"}, //index: 2 ... ] -
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 */ } -
@Richard238 yes this should colorize the calendar icon
fa-calendar-check-oin your first instance andfa-trash-oin your second. -
This post is deleted! -
@Richard238 check the part between calendar and compliments module
-
@strawberry-3.141 I’ve no idea what I’m looking for, sorry…
-
Just tried the default sample config.js, and that doesn’t work either!
-
@Richard238 you pasted the start function into your config file, but if the config sample doesnt work either your problem is somewhere else
-
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",], -
And suddenly it come back into life! :)
-
@yawns Hi! I’ve never change neither te default modules or the main.css. Any idea why I get the same error?
-
@yawns I dont know what im doing wrong. Trying to follow your Option 2.
pi@raspberrypi:~/MagicMirror $ git reset Unstaged changes after reset: M css/custom.css M modules/default/alert/alert.js M modules/default/calendar/calendar.css M modules/default/calendar/calendar.js M modules/default/currentweather/currentweather.js M modules/default/weatherforecast/weatherforecast.js pi@raspberrypi:~/MagicMirror $ git pull Updating 8010e62..5c41e24 error: Your local changes to the following files would be overwritten by merge: modules/default/calendar/calendar.js modules/default/currentweather/currentweather.js modules/default/weatherforecast/weatherforecast.js Please, commit your changes or stash them before you can merge. Aborting -
-
I am trying to update my Docker version to 2.5.0. Do I need to update the Docker image itself or can I just use the regular update path?
I keep getting the error to commit or stash my changes. Doing so does not change a thing:
root@magic_mirror:/opt/magic_mirror# git reset --hard && git pull HEAD is now at 6aa156d Merge pull request #1343 from MichMich/develop Updating 6aa156d..6db61b4 error: Your local changes to the following files would be overwritten by merge: config/config.js.sample css/main.css modules/default/alert/alert.js modules/default/calendar/calendarfetcher.js modules/default/compliments/README.md modules/default/compliments/compliments.js modules/default/newsfeed/README.md modules/default/newsfeed/newsfeed.js modules/default/updatenotification/updatenotification.js modules/default/weatherforecast/weatherforecast.js Please, commit your changes or stash them before you can merge. Aborting ``` Stashing the changes does not help either. Does someone have an idea?
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