fewieden / MMM-WienerLinien

Public Transport Module of Vienna/Austria for MagicMirror²
MIT License
25 stars 4 forks source link

Only shows "Loading..." #7

Open EarthwormJim55 opened 5 years ago

EarthwormJim55 commented 5 years ago

Platform (Hardware/OS): Pi3 B+

Node version:

MagicMirror version: MM2

Module version: Latest

Description of the issue: Sorry, im a completley newbe... I got the API Key and configured the station, but it only shows "Loading..." What did I wrong?

mgh87 commented 5 years ago

Hi,

I also ran into that problem. @fewieden can you confirm that this is a bug then I would be happy to supply help to fix it :smile:

mgh87 commented 5 years ago

I found the reason for this issue.

Wiener Linien has not information for all its monitors. So, for example, I wanted 16A Station Grohnergasse and it was only displaying loading. When I replaced it with Stephansplatz (4111 Direction Leopoldau) I got results.

So it is kind of frustrating that you only get results for a station that is supported by the monitoring system from Wiener Linien.

An improvement could be if the result of the API request for monitors is empty to display a better error message.