@sdetweil Shoot, so I could probably just swap out configs then for every time I want to change any settings I guess
Read the statement by Michael Teeuw here.
Latest posts made by Subintro
-
RE: Read text file for settings
-
Read text file for settings
Hey all
Is it possible to set something in my config so it can reach out to a text file and read that data? E.g. if I wanted to change my calendar to somebody elses, just change what the text file reads?
-
RE: MMM-CalendarExt2
@Sean
Damn, I appreciate you trying to take a look but I technically cant due to HIPAA compliance.Have you heard of anyone having any issues with the auth before?
-
RE: MMM-CalendarExt2
Hey, so I’ve been using CalendarExt2 for a while for the ‘Current’ calendar feature, but I’m having to move the calendar I use over to private, I have an account with full authorization to view the calendar but when I add
auth: { user: "blahblahblah@gmail.com", pass: "password", method: 'basic' }
to my calendar config, it stops working and kind of causes my whole MagicMirror to crash after a while. The logs show everything loading as normal.
My full config is
{ module: "MMM-CalendarExt2", config: { calendars : [ { name: "Current", scanInterval: 120000, maxItems: 4, url: "", auth: { user: "", pass: "", method: "basic", }, }, ], views: [ { name: "Current", mode: "current", position: "bottom_center", calendars: [], slotTitle: "Current Event", }, ], scenes: [ { name: "DEFAULT", views: [], }, ], }, },
I do use this with another calendar module, that one works fine with the authentication though.
Thank you for the great module otherwise!
-
RE: MMM-CalendarExt
@Sean
Oh nice, I’ll check it out. Hopefully wont have to change too much with my config
-
RE: MMM-CalendarExt
Hey does anyone know how to change text on the calendars?
I’m using the ‘Current’ event, but it looks kind of confusing as it says ‘In 50 minutes’, which makes it seem like the event is in 50 minutes, but really ends in 50 minutes
-
RE: CALENDAR_EVENTS not broadcasting? MMM-Calendarweek
Man I think I misunderstood how the broadcast events works, I was understanding that when an event started, it broadcasted that one event as it started. I was hoping I could make a pop-up notification system for when an event starts, and disappear when it ends.
Thats what it seems like looking at the calendar console logs
-
RE: CALENDAR_EVENTS not broadcasting? MMM-Calendarweek
@axled said in CALENDAR_EVENTS not broadcasting? MMM-Calendarweek:
console.log(“Calenderevent received.”);
Oh man this has been massive help. Looks like my module isnt receiving notifications at all. Time to figure it out
-
RE: CALENDAR_EVENTS not broadcasting? MMM-Calendarweek
So I’ve updated my code to make it as simple as possible, but I’m still not getting anything.
I’ve tried adding console.log to my calendar module so when it sends the notification, it logs it so I can see it actually working, but for some reason the calendar breaks when I do that.
// Default module config. defaults: { text: "Notification received!"; this.hide; }, notificationReceived:function(notification, payload, sender) { if (notification === 'CALENDAR_EVENTS') { this.show(); this.updateDom(); } },
So I believe this should be working if the calendar events is being sent out.
Is there any other way I can check the notifications are sending without console.log?
-
RE: CALENDAR_EVENTS not broadcasting? MMM-Calendarweek
@sdetweil Ah darn, I can’t understand why its not working then.
I’ve put the default calendar module in the background but doesnt seem like its working. I’m lost with this haha.
Thanks for the help