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

Transit Departure module. How to get started?

Scheduled Pinned Locked Moved Development
4 Posts 3 Posters 2.4k Views 3 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.
  • N Offline
    Notumlord
    last edited by Notumlord Sep 5, 2016, 7:11 PM Sep 5, 2016, 7:11 PM

    I have very limited programming experience but would like take a shot at building a module that lists departure times for trams/buses from a chosen station in my city. Västtrafik as it’s called have a public API with some documentation that can be found here in english (click Dokumentation):
    https://developer.vasttrafik.se/portal/#/api/Reseplaneraren/v2/landerss
    I’ve looked through it, checked out other similar modules to try and adept them but since i’m not really sure how i should get started i’m hoping i can get pointed in the right direction from you people who are more knowledgeable.

    Thanks in advance.

    1 Reply Last reply Reply Quote 0
    • B Offline
      bobbob601
      last edited by Sep 11, 2016, 8:20 PM

      Hi Notumlord,

      I’m currently developing the same kind of module for french transports. what are exactly your needs and problem. You said that you are starting from another module, like maybe the MMM-KVV or the MMM-HH-something. They are both simple and parsing a web API and displaying the result as a table

      1 Reply Last reply Reply Quote 0
      • A Offline
        Andy
        last edited by Sep 17, 2016, 11:26 AM

        Hi,
        I’m currently working on a similar module for public transport in Oslo.

        What is the preferred way of development environment? It seems time consuming having to stop en start the magic mirror app each time. Any shortcuts?

        1 Reply Last reply Reply Quote 0
        • B Offline
          bobbob601
          last edited by Sep 17, 2016, 12:15 PM

          edit the files and in a browser, you open the URL to MM (localhost:8080 in my case) and you refresh whenever.

          BTW, you don’t have to stop it, it seems that running the command again (pm2 start mm) does a “restart”

          1 Reply Last reply Reply Quote 1
          • 1 / 1
          1 / 1
          • First post
            4/4
            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