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.

    London tube status

    Scheduled Pinned Locked Moved Requests
    13 Posts 4 Posters 7.3k Views 6 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.
    • D Offline
      djbenny07
      last edited by

      tube staus of the lines would be brilliant module :)

      N 1 Reply Last reply Reply Quote 1
      • N Offline
        nigel-daniels @djbenny07
        last edited by

        @djbenny07 nice idea! Looks like TfL have a fairly comprehensive API, I’ll take a look at it :)

        D 1 Reply Last reply Reply Quote 1
        • yawnsY Offline
          yawns Moderator
          last edited by

          Absolutely. I signed up for a developer account but did not find the time on the weekend to go for it. The API indeed looks neat.

          1 Reply Last reply Reply Quote 0
          • D Offline
            djbenny07 @nigel-daniels
            last edited by

            @nigel-daniels @yawns OK great cant wait to see what you come up with

            N 1 Reply Last reply Reply Quote 0
            • N Offline
              nigel-daniels @djbenny07
              last edited by

              @djbenny07 I just posted the first version of a module to do this MMM-Tube-Status under the Transport section here. Let me know how you get on with it. If you find any bugs just let me know and I’ll try and figure it out.

              I will be making an update at some point; as far as I can tell I ‘should’ be using an app_id and an api_key but whenever I try to use them I cannot get data at all. I’ve emailed TfL to try and figure out what’s going on. In the meantime I’ve used the anonymous version of their API and it seems to work, I’m just not sure if it will run out of requests at some point. I.e. it may just stop at some point.

              As soon as I know more I’ll update the module’s topic and let you know.

              1 Reply Last reply Reply Quote 0
              • S Offline
                soqueen
                last edited by

                Love this! signed up for a dev account myself and was trying to figure out how to write this. My only question when I load this as a module - the module takes up the entire width of my screen. Is there a way to set a size on it?

                N 1 Reply Last reply Reply Quote 0
                • N Offline
                  nigel-daniels @soqueen
                  last edited by

                  @soqueen hi what does your config look like? If you PM it to me (sans API keys etc.) I’ll try and recreate the issue and suggest a correct config or add a fix to the css.

                  S 1 Reply Last reply Reply Quote 0
                  • S Offline
                    soqueen @nigel-daniels
                    last edited by

                    @nigel-daniels Thanks for getting back to me! Do you want the entire config or just the tube station portion of it? I will PM it to you shortly…

                    N 1 Reply Last reply Reply Quote 0
                    • N Offline
                      nigel-daniels @soqueen
                      last edited by

                      @soqueen probably best to send me he whole thing just in case it’s an interaction thing, just remove any private api keys and any personal urls (e.g. calendar).

                      S 1 Reply Last reply Reply Quote 0
                      • S Offline
                        soqueen @nigel-daniels
                        last edited by

                        @soqueen

                        I apologize, I can’t seem to figure out how to PM you. If it’s ok, I can just paste the config file (sans personal info) here.

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