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.

    I can't for the love of god understand what's wrong with my config

    Scheduled Pinned Locked Moved Tutorials
    12 Posts 3 Posters 1.2k Views 3 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.
    • S Offline
      sdetweil @bougle
      last edited by sdetweil

      @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

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      B 1 Reply Last reply Reply Quote 0
      • C Offline
        chrisfr1976 @bougle
        last edited by chrisfr1976

        @bougle
        Try

        
        let config = {address: "0.0.0.0", …….
        
        

        And

        
        url: "http://0.0.0.0:8080/modules/calendars……..
        
        

        Worked for me.

        Br Chris

        Regards, Chris.

        S B 2 Replies Last reply Reply Quote 0
        • S Offline
          sdetweil @chrisfr1976
          last edited by

          @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

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          1 Reply Last reply Reply Quote 0
          • B Offline
            bougle @sdetweil
            last edited by

            @sdetweil Thank you for your reply.

            Yes I do already have all the three .ics files in

            ~/MagicMirror/modules/calendars
            
            S 1 Reply Last reply Reply Quote 0
            • B Offline
              bougle @chrisfr1976
              last edited by

              @chrisfr1976 Thanks for the suggestion. I will try it out today and report back.

              1 Reply Last reply Reply Quote 0
              • S Offline
                sdetweil @bougle
                last edited by

                @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?

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                S B 2 Replies Last reply Reply Quote 0
                • S Offline
                  sdetweil @sdetweil
                  last edited by

                  @bougle make any progress?

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  1 Reply Last reply Reply Quote 0
                  • B Offline
                    bougle @sdetweil
                    last edited by

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

                    1 Reply Last reply Reply Quote 0
                    • B Offline
                      bougle
                      last edited by

                      UPDATE!!

                      Today, I re-ran

                      vdirsyncer discover
                      vdirsyncer sync
                      

                      And 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:)

                      S 1 Reply Last reply Reply Quote 1
                      • S Offline
                        sdetweil @bougle
                        last edited by

                        @bougle awesome, glad you got it!

                        Sam

                        How to add modules

                        learning how to use browser developers window for css changes

                        1 Reply Last reply Reply Quote 1
                        • 1
                        • 2
                        • 2 / 2
                        • 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