Read the statement by Michael Teeuw here.
MMM-Calendar always shows 23:59 if showEndTime: True
-
@sdetweil
Thanks very much for your help! I highly appreciate it! -
@SwissChemist my pleasure… here is how I config MM to use your file
(note my mm is on a different port)calendars: [ { url: "http://localhost:8090/modules/default/calendar/school-timetable.ics" } ]
-
@sdetweil
Thanks for the example. Looks like a next project for me… :thumbs_up: -
could look something like this
#!/bin/bash fn=somecal.ics while true do # get the file from server curl -sL url_of_remote_ics >$fn # remove the trailing byday=??(end of line), file inline, so changed sed -i -e "s/;BYDAY=.*$//g" $fn # copy the modified file to the calendar folder cp $fn ~/MagicMirror/modules/default/calendar # sleep til next cycle sleep ??? (seconds til next curl) done
have to make this executable with chmod +x script_filename
then
pm2 start script_filename
pm2 saveif you use a json config file ui can give a pretty name of the script… see the installers/pm2_magicmirror.json
pm2 start jsonfile
pm2 save -
@SwissChemist I submitted this issue to the RRULE repo
https://github.com/jakubroztocil/rrule/issues/426 -
@sdetweil
Wow, thank you so much for your great support! -
@sdetweil This morning we switched from DST to STD time. No issue at all with the calendar, everything works fine!
Again, thanks very much for your support! -
@SwissChemist nice, thanks for the update
-
This post is deleted! -
@hango: yes that why i have planned to coding mine…
Calendar default module is really so bugy for me …
sample :0|MagicMirror | [2020-10-25 21:17:41.162] [LOG] Use existing calendar fetcher for url: https://calendar.google.com/calendar/ical/XXXX.ics 0|MagicMirror | [2020-10-25 21:17:41.164] [INFO] Calendar-Fetcher: Broadcasting 5 events. 0|MagicMirror | [2020-10-25 21:17:41.715] [INFO] Calendar-Fetcher: Broadcasting 5 events.
and some timethere is 3 broadcasts … result 2 or 3 updates on mirror
I don’t know really what they do with this modules… and I will NOT correct it !
In all case, it’s horrible