Code Monkey home page Code Monkey logo

Comments (9)

Patschke avatar Patschke commented on September 26, 2024 1

As we have our repo not on github, but on a gitlab instance hosted elsewhere, it is not possible to do a direct PR (I'd have to create a clone of the repo first). However, you should be able to check out and merge our repo just fine (git remote add fsphi https://gitlab.rlp.net/fsr_physik_tu_kl/getraenke/mmm-vrr.git and git fetch fsphi and git merge fsphi/master).

If that doesn't work for you for any reason, I could also create a clone here on github - it's just more work than directly merging our repo.

from mmm-vrr.

Klizzy avatar Klizzy commented on September 26, 2024

Normally it displays busses, if they are also seen at vrr.de
This modules uses the same api, so if they aren't seen there they will not be displayed on the MagicMirror.
If you provide me a City + Station i could check if its a bug

from mmm-vrr.

Patschke avatar Patschke commented on September 26, 2024

If I recall correctly it was a bug created by different handling of City + Station name combinations for some of our bus stops (e.g. separated by / or ,). The issues were probably on either Kaiserslautern Uni Ost or Uni West (or maybe Kaiserslautern Uni Süd, but I think we never cared much about that bus stop).

We've fixed the issues in our local fork, at https://gitlab.rlp.net/fsr_physik_tu_kl/getraenke/mmm-vrr/. If those changes do not break anything else (I have to admit that I did no in depth testing, as I did not care much about any other stations), you may want to merge them.

from mmm-vrr.

Klizzy avatar Klizzy commented on September 26, 2024

Sorry for the late reply. Could you create an pull request into this repo? After that i could test and merg it

from mmm-vrr.

Klizzy avatar Klizzy commented on September 26, 2024

thanks for the fast reply!

So just for clarity:
The main reason behind this change was, to also support the VRN area? A quick look into the changes suggests, that some API and response parameter have mostly changed.

If that's the case i can test and extend your changes, so that VRN can be added to the official supported areas

from mmm-vrr.

Patschke avatar Patschke commented on September 26, 2024

As far as I remember that's correct. We were interested in using this for the bus stops at our university, and some of the responses from the backend did not work/some patterns did not match. However, I can't tell if those patterns are just different from location to location and a more general handling is required.

By the way: Thanks for the plugin, we have it in use for some years now without any trouble.

from mmm-vrr.

Klizzy avatar Klizzy commented on September 26, 2024

Yeah thanks for using my plugin! Its always nice to hear if it's useful for someone 😄

One last thing:
Could you provide me your Request URL or one example Station and City combination? I only get mixed results, with api calls like that https://vrrf.finalrewind.org/Kaiserslautern/Uni-Ost.json?frontend=json&backend=efa.VRN, uni-ost,kaiserslautern.json or other combinations.

If i have your exact call i can verify that my implementation is still working with your needed route

from mmm-vrr.

Patschke avatar Patschke commented on September 26, 2024

I don't really care what the exact api call is that the module executes, as long as it works - so I think it is somewhat more reasonable to give you the MMM-Vrr part of our config? As long as that works reasonable well I'm happy.

		{
			module: "MMM-Vrr",
			header: "Fahrplan Uni Ost",
			position: "right",
			config: {
				city: "Kaiserslautern",
				station: "Uni Ost",
				numberOfResults: 5,
				displayTimeOption: "time",
				displayType: "detail",
                                showTrack: false,
				showDelay: false,	
			},
		},
		{
			module: "MMM-Vrr",
			header: "Fahrplan Uni West",
			position: "right",
			config: {
				city: "Kaiserslautern",
				station: "Universität West",
				numberOfResults: 5,
				displayTimeOption: "time",
				displayType: "detail",
                                showTrack: false,
				showDelay: false,
			},
		},

from mmm-vrr.

Klizzy avatar Klizzy commented on September 26, 2024

it comes down to the same thing. Now i can verify the functionality, thanks!

from mmm-vrr.

Related Issues (9)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.