@retroflex Is this module still working? I put everything in place and used your sample config (with my API-key) but is says permanently “Loading…”
Would be fun to have i running!
Read the statement by Michael Teeuw here.
Posts
-
RE: MMM-BrawlStars
-
RE: MMM-ResRobot - Public transport information for Sweden
@Alvinger Thanks for the quick answer! Now I know at least what the problem was/is.
Good luck for other projects! -
RE: MMM-ResRobot - Public transport information for Sweden
Hej!
Now I do have another problem which could not be solved by restarting.
I wanted to apply two sections for two different routes. Unfortunately, the settings from the second modules are taken over also for the first module. I have two identical timetables instead of two different ones.
Do you know what the problem/solution could be?
I have other modules which are used twice (e.g., calendar, weather), no problems there.
-
RE: MMM-ResRobot - Public transport information for Sweden
@leanro said in MMM-ResRobot - Public transport information for Sweden:
Hej!
I’m trying to get the MMM-Resrobot to work but … no success. In my MM, it permanently says “Fetching Departures …”
…
…
…Anyone who has an idea?
Appreciated! Tack!After angrily restarting the RPi, the module works. Can’t tell you, why it didn’t work in the first place but I can confirm that the configs i posted before work.
Good luck!
Update: whenever sth is changed in the configs, a reload does not help I need to totally stop MM and restart for the changes to be effective.
-
RE: MMM-ResRobot - Public transport information for Sweden
Hej!
I’m trying to get the MMM-Resrobot to work but … no success. In my MM, it permanently says “Fetching Departures …”
I have an API-key which seems to work, I checked at https://api.resrobot.se/v2/departureBoard?key=WITH-MY-API-KEY-HERE&id=740015972.
My config.js looks like this:
{ module: "MMM-ResRobot", position: "top_right", header: "Departures", config: { routes: [ // stations from: {from: "740015972", to: ""}, ], apiKey: "WITH-MY-API-KEY-HERE" }, },
The MMM-ResRobot.js looks like this:
```
defaults: {
updateInterval: 5 * 60 * 1000,
animationSpeed: 2000,
fade: true,
fadePoint: 0.25, // Start on 1/4th of the list.
apiBase: “https://api.resrobot.se/v2/departureBoard?format=json&passlist=0”,
skipMinutes: 0, // Number of minutes to skip before showing departures
maximumEntries: 6, // Maximum Entries to show on screen
truncateAfter: 5, // A value > 0 will truncate direction name at … … …
iconTable: {
“B”: “fa fa-bus”,
“S”: “fa fa-subway”,
“J”: “fa fa-train”,
“U”: “fa fa-subway”,
“F”: “fa fa-ship”,
},
},Anyone who has an idea? Appreciated! Tack!