• 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-Departures - Public transport departures based on Oeffi data

Scheduled Pinned Locked Moved Transport
24 Posts 5 Posters 13.7k Views 5 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
    BenGig @sindbad6
    last edited by Apr 7, 2017, 5:49 AM

    @sindbad6 I refactored part of the main routine into a subroutine. A variable which was defined in the moved part was also used in the main routine, in the part for absolute time calculation.

    S 1 Reply Last reply Apr 7, 2017, 7:53 AM Reply Quote 0
    • S Offline
      sindbad6 @BenGig
      last edited by Apr 7, 2017, 7:53 AM

      @BenGig Ok, I understand. At the moment I have two other issues.

      The first is, that even, if I switch off the debug mode, I get dozen of messages in the terminal, where I start the mirror. I suppose the parameter is not handled properly.

      The second is, that the time values for the relative time display flickers for maybe a tenth of a second to another value.

      Can you evaluate this?

      B 2 Replies Last reply Apr 7, 2017, 5:11 PM Reply Quote 0
      • L Offline
        lucallmon
        last edited by Apr 7, 2017, 10:09 AM

        I’m looking through the git and I don’t see Washington DC listed as a possible sight, am I missing something?

        B 1 Reply Last reply Apr 7, 2017, 10:20 AM Reply Quote 0
        • B Offline
          BenGig @lucallmon
          last edited by Apr 7, 2017, 10:20 AM

          @lucallmon maybe a suitable provider can be found, here https://oeffi.schildbach.de/ I can see a general “USA (local and regional, e.g. Philadelphia, Chicago)”. Maybe Washington DC is supported? Since there are so many providers I don’t know in detail what is provided.

          Here in Switzerland the main provider aggregates national and local information for train, bus and tramway, so there is no city specific provider.

          1 Reply Last reply Reply Quote 0
          • B Offline
            BenGig @sindbad6
            last edited by Apr 7, 2017, 5:11 PM

            @sindbad6 Can you paste some of the output? I can see general output from all modules but no debug from mine (and I checked with absoluteTime: false too ;). And the part of the configuration with the debug turned off.

            S 1 Reply Last reply Apr 7, 2017, 5:57 PM Reply Quote 0
            • S Offline
              sindbad6 @BenGig
              last edited by Apr 7, 2017, 5:57 PM

              @BenGig You find the output below. It’s allways the same. :slight_smile:

              MMM-Departures error: null
              MMM-Departures error: null
              MMM-Departures error: null
              MMM-Departures error: null
              MMM-Departures error: null
              MMM-Departures error: null
              
              B 1 Reply Last reply Apr 7, 2017, 6:01 PM Reply Quote 0
              • B Offline
                BenGig @sindbad6
                last edited by Apr 7, 2017, 6:01 PM

                @sindbad6 That’s not debug output, that’s a problem in the code.

                Can you post it as an issue in github and add your configuration, if possible? Looks as if your config triggers an error mine doesn’t.

                1 Reply Last reply Reply Quote 0
                • B Offline
                  BenGig @sindbad6
                  last edited by Apr 7, 2017, 7:08 PM

                  @sindbad6 Added the “flicker” issue to the tracker, have just noticed the effect.

                  1 Reply Last reply Reply Quote 0
                  • D Offline
                    djsunrise19
                    last edited by djsunrise19 Apr 11, 2017, 5:24 PM Apr 11, 2017, 5:13 PM

                    Hi,

                    I have a question. As I can see, Frankfurt should be available:

                    • Germany (long-distance, regional and local, e.g. Berlin, Hamburg, Munich, Cologne, Frankfurt, Stuttgart)

                    But in your instructions (http://transportrest-sbiermann.rhcloud.com/provider) I can’t find it?!

                    EDIT: I see, everything seems to be in the provider “Bahn”. :)

                    1 Reply Last reply Reply Quote 0
                    • B Offline
                      BenGig
                      last edited by Apr 11, 2017, 7:47 PM

                      Glad you found it.

                      German users maybe can get answers for a provider in the FHEM post concerning the FHEM Departure module: https://forum.fhem.de/index.php?topic=60046.0 since this module has been in use for some time already.

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