Elaniobro / MMM-nyc-transit

MTA transit module for Magic Mirror
MIT License
21 stars 14 forks source link

Label Stations?[💡 FEATURE REQUEST] #101

Open moshin34 opened 1 year ago

moshin34 commented 1 year ago

Am I able to label stations? I live between a lot, many of which are running the same lines, its hard to format nicely.

Can I enter a header for each station to indicate which is which?

Elaniobro commented 1 year ago

Yes its in the README.md for how you populate the config:

stations: [
        {
          stationId: 237,
          walkingTime: 5,
          dir: {
              upTown: false,
              downTown: true
          }
        },
        {
          stationId: 177,
          walkingTime: 5,
          dir: {
            upTown: true,
            downTown: false
          }
        }
      ],
moshin34 commented 1 year ago

Thanks.

So if I live in between station A and B. On one line. (X) And between station C and D on another. (Z)

How can I show times for these four stations in a coherent manner. When I try I show a clump of times for X And Z and it became difficult maybe impossible to understand what I was looking at

If I could make subheaders to indicate the stations it would be helpful.

I felt forced to pick only one station per line for clarity.

I know this is odd because I live by so many trains so maybe a minority use case.

Great module none the less. Thank you so much !

On Fri, Sep 29, 2023 at 6:49 PM Elan Trybuch @.***> wrote:

Yes its in the README.md for how you populate the config:

stations: [ { stationId: 237, walkingTime: 5, dir: { upTown: false, downTown: true } }, { stationId: 177, walkingTime: 5, dir: { upTown: true, downTown: false } } ],

— Reply to this email directly, view it on GitHub https://github.com/Elaniobro/MMM-nyc-transit/issues/101#issuecomment-1741560752, or unsubscribe https://github.com/notifications/unsubscribe-auth/BCY66IZGWOBWRZKJ44A7PN3X45GBBANCNFSM6AAAAAA5EQGYEI . You are receiving this because you authored the thread.Message ID: @.***>

Elaniobro commented 1 year ago

I think what you are asking is to put the train station name atop:

Jay St Metrotech | Train Line | Direction | Time 1 Time 2 Time 3 |

moshin34 commented 1 year ago

Yes, exactly. Thank you! Is this possible currently?

On Sat, Sep 30, 2023 at 10:10 AM Elan Trybuch @.***> wrote:

I think what you are asking is to put the train station name atop:

Jay St Metrotech | Train Line | Direction | Time 1 Time 2 Time 3 |

— Reply to this email directly, view it on GitHub https://github.com/Elaniobro/MMM-nyc-transit/issues/101#issuecomment-1741774927, or unsubscribe https://github.com/notifications/unsubscribe-auth/BCY66I3VRNDZCGF6UJCMPI3X5AR53ANCNFSM6AAAAAA5EQGYEI . You are receiving this because you authored the thread.Message ID: @.***>