Read the statement by Michael Teeuw here.
MMM-MyTTC (Toronto Transit)
-
@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?
-
@j.e.f.f yeah, the other busses aren’t running currently since it’s summer.
-
@infinitempg OK That’s good! So far it looks like it’s working nicely then.
-
@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.
-
@infinitempg Take a look at the Readme:
https://github.com/jclarke0000/MMM-MyNextBusAll the way at the bottom it tells you how to configure color. It’s different for the generic version than it is for TTC.
-
@j.e.f.f I guess the mirror is smarter than I am…
Thanks! Works like a charm.
-
This post is deleted! -
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 -
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 },
-
MyTTC stops at loading - does it require an API? - followed all steps for the ttc.
Another GREAT MODULE !!!