Here you go, working for me.
url: ‘https://www.calendarlabs.com/ical-calendar/ics/76/US_Holidays.ics’
MW
Here you go, working for me.
url: ‘https://www.calendarlabs.com/ical-calendar/ics/76/US_Holidays.ics’
MW
@sdetweil
Just an FYI I did get all my photos to display correctly after using:
xnconvert from:
http://www.xnconvert.com
I selected ALL my photos and in the Actions section I selected Clear Meta data. I cleared everything but from a little research I believe I only needed to clear the EXIF data.
Anyway it worked.
MM
Hey Sam,
Hows the weather down there in TX, We are originally from the Dallas area. Miss TX alot.
Yea the picture orientation is a show stoppper for me, I have a hard time convincing my wife that she likes the mirror in the bathroom…lol
What is MMM-ImagesPhotos? I dont see it on the Builders site.
I do have one question.
All of my pictures have the proper orientation when viewed on my windows PC, however when copied over to my MM some of them are not oriented correctly.
Anyone know the reason or if there is a fix?
I really like the ImageSlideShow, I feel like it gives me more control over the Google Photo version.
Thanks
MM
Perfect
I’m following now, working as advertised.
tyvm
Hmm
Failed to load resource: The server responded with a status of 404 Not Found
I tried giving it the full path, that didnt work either.
{
module: 'MMM-ImageSlideshow',
position: 'top_center',
config: {
fixedImageWidth: 600,
fixedImageHeight: 600,
//imagePaths: ['modules/MMM-ImageSlideshow/example1']
imagePaths: ['/home/pi/MagicMirror/modules/MMM-ImageSlideshow/exampleImages']
Hi,
I’ve configured ImageSlideshow accordingly however I do not get any photos to display, I get a box the correct size and a little icon in the upper left of the box.
These are photos I have been using for months in Google Photos, the example photos do not display either.
I have the width and height both set to 600
Any Ideas
Thanks
MM
@sdetweil said in new update/upgrade script, ready for testing:
bash -c “$(curl -sL https://www.dropbox.com/s/lxzwyzohg61sppu/upgrade-script.sh?dl=0)” apply
Hi,
I just ran your script and get the following errors:
error: pathspec ‘.github/stale.yml’ did not match any file(s) known to git.
error: pathspec ‘modules/default/calendar/vendor/ical.js/example_rrule.js’ did not match any file(s) known to git.
error: pathspec ‘modules/default/calendar/vendor/ical.js/examples/example_rrule.ics’ did not match any file(s) known to git.
error: pathspec ‘modules/default/calendar/vendor/ical.js/test/test12.ics’ did not match any file(s) known to git.
error: pathspec ‘modules/default/calendar/vendor/ical.js/test/test13.ics’ did not match any file(s) known to git.
error: pathspec ‘modules/default/calendar/vendor/ical.js/test/test14.ics’ did not match any file(s) known to git.
error: pathspec ‘modules/default/weather/providers/ukmetoffice.js’ did not match any file(s) known to git.
error: pathspec ‘modules/default/weather/providers/weathergov.js’ did not match any file(s) known to git.
error: pathspec ‘translations/sk.json’ did not match any file(s) known to git.
error: pathspec ‘translations/tlh.json’ did not match any file(s) known to git.
error: pathspec ‘vendor/css/font-awesome.css’ did not match any file(s) known to git.
Any Ideas? I dont recall messing with any of those files.
Thanks
MW
for (var i = 0; i < eventToDelete.length; i++) {
}
eventToDelete[i].deleteEvent();
Thats what I noticed, anyway its all good, dont see that issue in any code now.
Also I noticed that my birthday calendar has all my appointments and such. I see the logic is basically copying my main calendar into the birthday calendar. I manually delete everything out of my birthday calendar except for the birthdays, all is good…until…the script runs again then I back to having everything in my birthday calendar.
MW
@bolish
That got it for me, you did have the eventToDelete[i].deleteEvent(); outside the for loop, anyway its working like it should now.
tyvm
MW
@bolish said in Getting Google Contacts birthdays into Calendar:
function Sync_Birth_Cal() {
// Calendars adress (ID)
var calendarSource = CalendarApp.getCalendarById(“THE ID OF YOUR CONTACT CALENDAR”);
var calendarDestination = CalendarApp.getCalendarById(“THE ID OF THE CREATED CALENDAR”);// Start and End Date definition
var Today = new Date();
var StartDeleteDate = new Date();
var EndDeleteDate = new Date();
var StartCopyDate = new Date();
var EndCopyDate = new Date();StartDeleteDate.setDate(Today.getDate()-400);
EndDeleteDate.setDate(Today.getDate()+400);
StartCopyDate.setDate(Today.getDate()-360);
EndCopyDate.setDate(Today.getDate()+360);// first deletes all datas in calendar
var eventToDelete = calendarDestination.getEvents(StartDeleteDate, EndDeleteDate);
for (var i = 0; i < eventToDelete.length; i++) {
eventToDelete[i].deleteEvent();
}// then copy everything again
var eventToCopy = calendarSource.getEvents(StartCopyDate, EndCopyDate);
for (var t in eventToCopy){
var newEvent = calendarDestination.createEvent(eventToCopy[t].getTitle(), eventToCopy[t].getStartTime(), eventToCopy[t].getEndTime());
}}
I get this error when I try to run the script:
TypeError: Cannot call method “getEvents” of null. (line 25, file “Code”)
I got that sorted, forgot the 2 IDs.
Now I get:
Service invoked too many times in a short time: calendar. Try Utilities.sleep(1000) between calls. (line 37, file “Code”)
MW