trgraglia / MMM-MVG-LocalTransport

This is a module for Magic Mirror 2, http://magicmirror.builders . It provides departure times relevant to now for any stations which are supported by MVG, www.mvg.de .
MIT License
3 stars 0 forks source link

Issues during installation #5

Open HawkingJan opened 7 years ago

HawkingJan commented 7 years ago

Hi, thanks for creating the module. I successfully installed it, however I've some suggestions which would make the installation process a bit easier. I'm not an expert so I don't know if these problems just occurred on my system or if it would be a general benefit to include them in an updated version of the ReadMe

1) cd ~/MagigMirror/modules/ should be cd ~/MagicMirror/modules/

2) For finding a station ID via the API I had to give the port (5555), so http://localhost:5555/_api/mvg/query/YourStation

3) Question: How do I search for station names that contain blanks (like e.g. "Laimer Platz")?

4) According to the RaedMe the apiBaseStation is empty by default. I had to set it to apiBaseStation: 'http://localhost:5555/_api/mvg/station/' to make it work. Why is this not de default (or explicitly given in your example)?

I hope that I could contribute something to your MMM.

villamuc commented 5 years ago

Hi @HawkingJan where can i defined the localhost? Is it by me localhost too?