@MMRIZE Okay, I will give it a try. Thanks!
Read the statement by Michael Teeuw here.
Posts
-
RE: Is there a tutorial for pushing development to Git?
-
RE: Is there a tutorial for pushing development to Git?
@sdetweil Thanks, seems straight forward enough. I already made some changes to my live version. Should I save the changed files in another location then remove the module and then proceed with the instructions?
-
Is there a tutorial for pushing development to Git?
I made some modifications I think are helpful to some modules and I plan to do the same to some default modules and maybe even MM itself.
From getting an account on github to making my efforts available for review or use, is there a tutorial or instructional on how to do it? If not, could someone help me?
-
RE: Module Update Question
@sdetweil If I understand you correctly, the call to the Dom is for the visual content update and not necessary after updating data the running module relies on unless that data is to be immediately displayed.
-
RE: Module Update Question
Ok, that helps a little. I’ll try some things with setInterval and come back again when I’m stuck. I see a lot of examples where updateDom is included in the setInterval. That just updates the config if necessary, correct?
-
Module Update Question
I apologize in advance for the ignorance.
When building a module, how do I periodically update a variable? For example, let’s say I have a variable that is an array or list of files found on a share. I have to fetch the list on start, how do I tell it to do it again in 10 minutes in case there has been a change?
-
RE: Hardware - Monitor Advice
@sdetweil Thanks. Perhaps a television is what I’m looking for when placing it in a high traffic area.
-
Hardware - Monitor Advice
I’m using an extra LCD monitor I had lying around to experiment with Magic Mirror. One thing I noticed is that when I look at it from the ‘bottom’ (if it was in landscape orientation), I can barely see what’s on the screen. It’s almost the same effect as a privacy screen. I know this isn’t a settings issue and it is caused by the way the monitor is made. However, I am ignorant to what causes this effect and how to avoid it when selecting a monitor. Thus, I am looking for advice on how to avoid this problem by selecting a monitor based on its specifications. Can anyone tell me how to select a monitor that is visible from all angles?
-
RE: Calendar Not Displaying Recurring Events
Here is something else. In my Nextcloud calendar, I created a weekly recurring event. Each time I created the event in the first week of November, the module shifted the subsequent events one day forward. If I create the event on the second week, there is no issue that I can see and all the events are on the correct days.
The 1st week starts on Saturday, October 29 and ends on Sunday, November 4.
-
RE: Calendar Not Displaying Recurring Events
I’m not sure if that’s a challenge or a warning. I guess I’m going to setup a new dev environment.
-
RE: Calendar Not Displaying Recurring Events
@sdetweil there are repeating events, just not on the proper days of the week.
I believe you when you say it’s messy. I don’t know JS but I know more about it now over the past three days than I ever thought I would. I’ve never really messed around with calendars and some of this stuff. Much of it is foreign to me.
-
RE: Calendar Not Displaying Recurring Events
That’s interesting and my issue is really strange still. One series of my recurrences shifts from Wednesday to Thursday after the first one that displays. So, the first occurrence is on Wednesday, the next three are on Thursday. The other series starts on the second week of the month on a Saturday, and the recurrences are also on Saturday and nothing is wrong in that series.
-
RE: Calendar Not Displaying Recurring Events
When I concatenate the ics, I don’t find any “RULE” using grep. I’ve re-downloaded and it’s simply not there. Perhaps Nextcloud doesn’t generate it that way?
-
RE: Calendar Not Displaying Recurring Events
RRULES is not in the file that I could find. I also downloaded the ics directly from my Nextcloud instance and tried a manual static load like BasicUser did found here:
https://forum.magicmirror.builders/topic/13488/default-calendar-and-nextcloud-caldav
Effectively, I am cutting out the use of any 3rd party module and the recurrences are the same. The recurrences on Saturdays are correct while my recurrences on Wednesday shift to Thursdays after the first event. The ics loads just like when I pull it directly from the export url; SOME of the recurrences are a day ahead. This appears to be an issue with the default calendar and not the ics or the third party modules because the third party modules mirror what the default calendar sees and the ics file displays correctly in other applications and programs.
Perhaps I will spend some time looking into learning more about JS this weekend so I can troubleshoot further.
-
RE: Calendar Not Displaying Recurring Events
@sdetweil ok, then I’m stuck. Thanks for your help!
-
RE: Calendar Not Displaying Recurring Events
Here it is. I’d rather not have a public subscription out there but it is what it is.
-
RE: Calendar Not Displaying Recurring Events
@sdetweil Sorry, I’ve made a mess out of my config file the past three days figuring this out. I used the CalDav 3rd party module to create ics file, so if it’s not correct, I suppose I should download the ics directly from my calendar to troubleshoot. Perhaps the problem is in CalDav and I’m asking the questions in the wrong forum.
For a work-around, I can use the public subscription to the calendar just fine but the recurrences are shifted over one day like in a previous post in this forum you participated in. I looked at the calendarutils.js you mention in that posting for modification but I don’t see the lines that should be modified. I would rather use the ics method but will use this export method if I can get the events to be in the correct day. Can you help me with that?
-
RE: Calendar Not Displaying Recurring Events
@sdetweil here is some information:
config: { broadcastPastEvents: true, calendars: [ { fetchInterval: 7 * 24 * 60 * 60 * 1000, symbol: 'calendar-check', broadcastPastEvents: true, maximumEntries: 100, maximumNumberOfDays: 365, url: 'http://XXXXXXXXXXXXXXXXXX/Routine.ics', name: 'Routine', color: 'yellow', auth: { user: 'XXXXXXXXXXX', pass: 'XXXXXXXXXXX', method: 'basic' }, },event
BEGIN:VEVENT CREATED:20231111T124003Z DTSTAMP:20231111T124242Z LAST-MODIFIED:20231111T124242Z SEQUENCE:3 UID:02d62d6f-74ff-48c2-aa7d-2682cb7e688c DTSTART;VALUE=DATE:20231111 DTEND;VALUE=DATE:20231112 STATUS:CONFIRMED SUMMARY:Test Event 1 RECURRENCE-ID;VALUE=DATE:20231111 END:VEVENT BEGIN:VEVENT CREATED:20231111T124003Z DTSTAMP:20231111T124242Z LAST-MODIFIED:20231111T124242Z SEQUENCE:3 UID:02d62d6f-74ff-48c2-aa7d-2682cb7e688c DTSTART;VALUE=DATE:20231118 DTEND;VALUE=DATE:20231119 STATUS:CONFIRMED SUMMARY:Test Event 1 RECURRENCE-ID;VALUE=DATE:20231118 END:VEVENT -
RE: Calendar Not Displaying Recurring Events
@sdetweil Thanks for the reply.
I have the maximumEntries: 100 but only the initial event displays and does not recur.
Any other ideas?