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-MyTTC (Toronto Transit)

    Scheduled Pinned Locked Moved Transport
    27 Posts 9 Posters 12.3k Views 9 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.
    • J Offline
      j.e.f.f Project Sponsor Module Developer @infinitempg
      last edited by j.e.f.f

      @infinitempg I see you’ve got 6 routes configured, but only two are showing. This would be normal behaviour if those other 4 aren’t currently running. e.g.: is it expected that only WKND1 and WKND2 are running right now?

      I 1 Reply Last reply Reply Quote 0
      • I Offline
        infinitempg @j.e.f.f
        last edited by

        @j.e.f.f yeah, the other busses aren’t running currently since it’s summer.

        J 1 Reply Last reply Reply Quote 0
        • J Offline
          j.e.f.f Project Sponsor Module Developer @infinitempg
          last edited by

          @infinitempg OK That’s good! So far it looks like it’s working nicely then.

          I 1 Reply Last reply Reply Quote 0
          • I Offline
            infinitempg @j.e.f.f
            last edited by

            @j.e.f.f yup! The only problem I seem to be having is that the colors do not work.

            {
            	routeNo: "wknd1",
            	stop: "hillw",
            	color : '#82BAE5' //colours the transit icon a light blue colour
            },
            

            That’s what I have right now, but it still shows up as white.

            J 1 Reply Last reply Reply Quote 0
            • J Offline
              j.e.f.f Project Sponsor Module Developer @infinitempg
              last edited by

              @infinitempg Take a look at the Readme:
              https://github.com/jclarke0000/MMM-MyNextBus

              All the way at the bottom it tells you how to configure color. It’s different for the generic version than it is for TTC.

              I 1 Reply Last reply Reply Quote 0
              • I Offline
                infinitempg @j.e.f.f
                last edited by

                @j.e.f.f I guess the mirror is smarter than I am…

                Thanks! Works like a charm.

                1 Reply Last reply Reply Quote 0
                • SexyTroggS Offline
                  SexyTrogg
                  last edited by

                  This post is deleted!
                  1 Reply Last reply Reply Quote 0
                  • K Offline
                    kingveder
                    last edited by

                    Hey Jeff,
                    The actual badge for the bus number is it possible to change this color?
                    The color works for me but it just changes the color of the bus/streetcar icon.
                    Thanks
                    Ru

                    Mykle1M 1 Reply Last reply Reply Quote 0
                    • Mykle1M Offline
                      Mykle1 Project Sponsor Module Developer @kingveder
                      last edited by

                      @kingveder

                      This may help.

                      From the readMe

                      Finally, it you would like to colour code your entries, you can specify an optional parameter ‘color’ property that will give the icon whatever color you specify in hexadecimal format. e.g.:

                      {
                        routeNo : '501',
                        stop : '6108',
                        label : 'Queen Westbound',
                        color : '#82BAE5' //colours the transit icon a light blue colour
                      },
                      

                      Create a working config
                      How to add modules

                      T 1 Reply Last reply Reply Quote 0
                      • T Offline
                        TheGeekfather @Mykle1
                        last edited by

                        @Mykle1

                        MyTTC stops at loading - does it require an API? - followed all steps for the ttc.

                        Another GREAT MODULE !!!

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