• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
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.

MMM-MyCommute

Scheduled Pinned Locked Moved Transport
286 Posts 80 Posters 499.7k Views 77 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.
  • B Offline
    banbutcher
    last edited by banbutcher Mar 20, 2020, 5:33 AM Mar 20, 2020, 5:30 AM

    is there any way of knowing if calendar events are being passed? Ive added this code to mine and nothing gets added to my commute:

          maxCalendarEvents: 2,
          maxCalendarTime: 24 * 60 * 60 * 1000,
          calendarOptions: [
                  {
                  mode: 'driving'
                  }
          ],  
    

    am i missing something?

    1 Reply Last reply Reply Quote 0
    • T Offline
      testdruif
      last edited by Mar 20, 2020, 4:10 PM

      Created issue for calendar events regarding arrival time & transit option.
      Also worth noting that calendar events are only first added when the module refreshes traffic (after 10 minutes from startup)

      https://github.com/qistoph/MMM-MyCommute/issues/12

      S T 2 Replies Last reply Mar 20, 2020, 4:12 PM Reply Quote 0
      • S Away
        sdetweil @testdruif
        last edited by sdetweil Mar 20, 2020, 4:12 PM Mar 20, 2020, 4:12 PM

        @testdruif is this module getting cal events as broadcast by the calendar module? How often does the cal module refresh/broadcast?

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        T 1 Reply Last reply Mar 20, 2020, 8:12 PM Reply Quote 0
        • T Offline
          testdruif @testdruif
          last edited by testdruif Mar 20, 2020, 8:13 PM Mar 20, 2020, 8:09 PM

          @testdruif said in MMM-MyCommute:

          Created issue for calendar events regarding arrival time & transit option.
          Also worth noting that calendar events are only first added when the module refreshes traffic (after 10 minutes from startup)

          https://github.com/qistoph/MMM-MyCommute/issues/12

          When the calendar events are added the code crashes further down the line.
          Code doesn’t add the calendar collor variable.

          1 Reply Last reply Reply Quote 0
          • T Offline
            testdruif @sdetweil
            last edited by Mar 20, 2020, 8:12 PM

            @sdetweil Yes, the module gets events from calendar module broadcast.

            Another issue: when you have multiple calendar modules configured the array gets wiped at unexpected times.
            So you can only use it correctly with 1 calendar module.

            because the commute module loads before all calendar entries are processed they are processed on the next “commute update” which is 10m by default config.

            S 1 Reply Last reply Mar 20, 2020, 8:35 PM Reply Quote 0
            • S Away
              sdetweil @testdruif
              last edited by Mar 20, 2020, 8:35 PM

              @testdruif hm… I have a module that uses calendar events broadcast, and gets it right away…

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              1 Reply Last reply Reply Quote 0
              • S Offline
                SoleLo
                last edited by Mar 31, 2020, 5:42 AM

                Is there a way to remove the arrival time ?

                B 1 Reply Last reply Apr 2, 2020, 3:59 PM Reply Quote 0
                • B Offline
                  bhepler Module Developer @SoleLo
                  last edited by Apr 2, 2020, 3:59 PM

                  @SoleLo - You could probably modify the custom.css file to hide the value of the arrival time.

                  S 1 Reply Last reply Apr 2, 2020, 4:38 PM Reply Quote 0
                  • S Offline
                    SoleLo @bhepler
                    last edited by SoleLo Apr 2, 2020, 5:57 PM Apr 2, 2020, 4:38 PM

                    @bhepler would something like this work?

                    .MMM-MYCommute.arrival-time-only .time {
                    display: none;

                    UPDATE: I actually tried
                    .MMM-MYCommute. transit-arrival-time.time
                    {
                    display: none;
                    }

                    Still doesn’t work.

                    1 Reply Last reply Reply Quote 0
                    • S Offline
                      sun34529
                      last edited by Apr 15, 2020, 2:27 AM

                      @SoleLo and @bhepler , I’m trying to figure this out as well. Any luck?

                      S 1 Reply Last reply May 25, 2020, 10:13 PM Reply Quote 0
                      • 1
                      • 2
                      • 23
                      • 24
                      • 25
                      • 26
                      • 27
                      • 28
                      • 29
                      • 25 / 29
                      • 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