Read the statement by Michael Teeuw here.
Apple calendar & server only mode
-
Thanks for the feedback. I was able to get a sample event to show in the calendar.
When looking at the the config.js, I was thinking that meant of the entire filesystem and not MM install directory (didn’t read that line close enough)
I made the following changes
On hose machine
config.jsurl: "http:/0.0.0.0:8080/modules/calendars/1FC43665-307D-4E49-A0C5-914CA52E07EB.ics",
On Docker
~/.vdirsyncer/configpath = "/opt/magic_mirror/modules/calendars/%s.ics"
Ran the following code
vdirsyncer sync --force-delete iCloud_to_MagicMirror/Stuff vdirsyncer sync
Everything looks good and works! Thank you again for the help
-
@dubbedMonster said in Apple calendar & server only mode:
http:/0.0.0.0
cool… but you should NOT use 0.0.0.0 on a url.
0.0.0.0 means ANY network interface… it is ‘supposed’ to be reserved for LISTENERs (server apps) …
if the server would server the file from the SAME system at the requestor, then the correct term is localhost
-
-
I don’t think I fully understand, but I’m following you. I made the change to localhost and everything still works.
Does the same thing apply to the “address” in the config.js?
-
@dubbedMonster said in Apple calendar & server only mode:
Does the same thing apply to the “address” in the config.js?
no… in config.js you are configuring the MM http server
so address:0.0.0.0 means listen for incoming requests on ALL active network interfaces (think ethernet and wifi)… without YOU having to specify their actual assigned IP addresses
if you WANTED ONLY requests from WIFI attached devices, then you would put in the wifi configured IP address … requests from ethernet attached devices would be ignored
(see the results of the ip addr command)
0.0.0.0 is a shortcut when u have multiple adapters and only can supply ONE address on the network listen request…
(else you would have to do multiple requests… the network guys like LESS work!!)if you use my MMM-Config module to configure MM… I provide the address of the different networks and you can pick one (to change from default locahost for example) if you want to be network restrictive
localhost
0.0.0.0
etc -
Thanks for the explanation and the help!