Read the statement by Michael Teeuw here.
I can't for the love of god understand what's wrong with my config
-
@bougle said in I can't for the love of god understand what's wrong with my config:
http://localhost:8080/modules/calendars/D8CC2057-AD72-45D1-9AC7-942E8C2A5DD1.ics
is the synced ics IN the modules folder tree??
you had to MAKE that calendars folder, right?it MUST be in the MagicMirror folder tree to use localhost:8080
-
@bougle
Trylet config = {address: "0.0.0.0", …….And
url: "http://0.0.0.0:8080/modules/calendars……..Worked for me.
Br Chris
-
@chrisfr1976 technically you shouldn’t need this
“0.0.0.0” means listen on all active network interfaces (wifi and ethernet) without having to specify their addresses ( which would be impossible to do for multiple interfaces)
the http://0.0.0.0:8080 makes no sense to me , unless they coded in a hack to say keep looking for whatever interface works. although localhost does that same thing
the other thing “0.0.0.0” does is allow incoming requests from outside this system, where localhost restricts incoming request to ONLY apps on this same system
-
@sdetweil Thank you for your reply.
Yes I do already have all the three .ics files in
~/MagicMirror/modules/calendars -
@chrisfr1976 Thanks for the suggestion. I will try it out today and report back.
-
@bougle ok, next, can you look at the output of npm start and see the message
broadcasting xxx events for calendar —url----
for each url? -
@bougle make any progress?
-
@sdetweil
Sorry for the late reply. Super swamped because of university.here is the log:
[2024-11-09 10:34:54.714] [INFO] Checking git for module: MMM-CalendarExt3Agenda [2024-11-09 10:34:55.000] [INFO] Calendar-Fetcher: Broadcasting 0 events from http://0.0.0.0:8080/modules/calendars/9F91CE4D-8088-4518-9239-C4FCC3DA0EC4.ics. [2024-11-09 10:34:55.041] [INFO] Calendar-Fetcher: Broadcasting 0 events from http://0.0.0.0:8080/modules/calendars/D8CC2057-AD72-45D1-9AC7-942E8C2A5DD1.ics. [2024-11-09 10:34:55.055] [INFO] Calendar-Fetcher: Broadcasting 0 events from http://0.0.0.0:8080/modules/calendars/1AAA8AEA-457E-487D-92E2-3060BF33C468.ics.It shows that there are 0 events. And btw, the .ics files are completely empty.
-
UPDATE!!
Today, I re-ran
vdirsyncer discover vdirsyncer syncAnd was able to sync with the calendar and it works!! I am not exactly sure why but I did perform a iCloud sync too earlier.
Thanks @chrisfr1976 and @sdetweil for your help:)
-
@bougle awesome, glad you got it!
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