Navigation

    MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord
    1. Home
    2. BenGig
    B
    • Profile
    • Following
    • Followers
    • Topics
    • Posts
    • Best
    • Groups

    BenGig

    @BenGig

    1
    Reputation
    16
    Posts
    619
    Profile views
    0
    Followers
    0
    Following
    Joined Last Online

    BenGig Follow

    Best posts made by BenGig

    • MMM-Departures - Public transport departures based on Oeffi data

      Description:

      I started a module for public transport data which uses the same data as the popular Oeffi smartphone app. Data sources from 13 cities and almost 20 countries are available, see https://oeffi.schildbach.de/ for an overview of available data providers.

      • no API key needed
      • no realtime information provided
      • can display several stations

      Read the documentation on how to determine the provider name and station id’s you want to use.

      Download:

      Version

      Version 0.2.1 (Fixed problem when using relative time)
      Version 0.2 (Options to limit lines and output width)
      Version 0.1 (Initial release)

      Screenshots:

      0_1490896843079_MMM-Departures-1.png

      posted in Transport
      B
      BenGig

    Latest posts made by BenGig

    • RE: Echo dot and magicmirror

      Connecting an Echo dot is not easy. You probably have to create a custom skill in the Alexa developer console, connect it to a Lambda function which in turn calls your mirror by http. A web service has to receive the parsed response and react properly.

      This is how it is done it with FHEM. It provides code for the local web service and templates for the Lamda function.

      posted in General Discussion
      B
      BenGig
    • RE: MMM-SwissTransport

      Has the station ID based data source been dropped by search.ch? Connections are not so convenient as station departure times. I have a bus stop nearby and want do display all departures, one particular connection is not informative enough.

      posted in Transport
      B
      BenGig
    • RE: Newbie . Pi + Mirror thus far. Some basic questions

      @Gamble said in Newbie . Pi + Mirror thus far. Some basic questions:

      One thing I haven’t figured out is how do you set MM to open by itself?

      https://github.com/MichMich/MagicMirror/wiki/Auto-Starting-MagicMirror

      For changing the password type “passwd”. But it would be better to post the message output first.

      posted in General Discussion
      B
      BenGig
    • RE: MMM-Departures - Public transport departures based on Oeffi data

      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.

      posted in Transport
      B
      BenGig
    • RE: MMM-Departures - Public transport departures based on Oeffi data

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

      posted in Transport
      B
      BenGig
    • RE: MMM-Departures - Public transport departures based on Oeffi data

      @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.

      posted in Transport
      B
      BenGig
    • RE: MMM-Departures - Public transport departures based on Oeffi data

      @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.

      posted in Transport
      B
      BenGig
    • RE: MMM-Departures - Public transport departures based on Oeffi data

      @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.

      posted in Transport
      B
      BenGig
    • RE: MMM-Departures - Public transport departures based on Oeffi data

      @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.

      posted in Transport
      B
      BenGig
    • RE: MMM-Departures - Public transport departures based on Oeffi data

      Great, that helped, problem found and fixed!

      posted in Transport
      B
      BenGig