MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.

    Apple calendar & server only mode

    Scheduled Pinned Locked Moved Solved Troubleshooting
    7 Posts 2 Posters 727 Views 2 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • D Offline
      dubbedMonster
      last edited by

      @sdetweil

      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.js

      url: "http:/0.0.0.0:8080/modules/calendars/1FC43665-307D-4E49-A0C5-914CA52E07EB.ics",
      

      On Docker
      ~/.vdirsyncer/config

      path = "/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

      S 1 Reply Last reply Reply Quote 0
      • S Do not disturb
        sdetweil @dubbedMonster
        last edited by

        @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

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        D 1 Reply Last reply Reply Quote 0
        • S sdetweil has marked this topic as solved on
        • D Offline
          dubbedMonster @sdetweil
          last edited by

          @sdetweil

          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?

          S 1 Reply Last reply Reply Quote 0
          • S Do not disturb
            sdetweil @dubbedMonster
            last edited by sdetweil

            @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

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            D 1 Reply Last reply Reply Quote 0
            • D Offline
              dubbedMonster @sdetweil
              last edited by

              @sdetweil

              Thanks for the explanation and the help!

              1 Reply Last reply Reply Quote 0
              • 1 / 1
              • First post
                Last post
              Enjoying MagicMirror? Please consider a donation!
              MagicMirror created by Michael Teeuw.
              Forum managed by Sam, technical setup by Karsten.
              This forum is using NodeBB as its core | Contributors
              Contact | Privacy Policy