nwootton / mmm-uknationalrail Goto Github PK
View Code? Open in Web Editor NEWMagic Mirror Module for UK rail information. Returns departure info about a SPECIFIED UK rail station.
License: MIT License
Magic Mirror Module for UK rail information. Returns departure info about a SPECIFIED UK rail station.
License: MIT License
I've done it with many stations, and you can't do arrivals or passes.
Seems as of the start of the month i can no longer get this extension to work.
All i have stuck on my display is "Loading trains"
Testing for wuffle integration
Once the module has loaded, the header (e.g 'Arrivals') is replaced by the station name, so setting a header is essentially useless.
However, what would be great is if the set header could be combined with the station name instead.
So, for example, if my header is Arrivals from
, it would become Arrivals from London Victoria
.
I have added the module twice in my config - once showing the departures from my nearest station and once showing the arrivals and it's hard to distinguish between the 2 at the moment
New test issue for Wuffle integration
As the API is now restricted to 30 / day, I was wondering if anyone had looked at another provider?
Perhap National Rail Darwin?
closes #10
Hi. Your screenshot has multiple stations displayed, but the README does not indicate what config you use for setting that up. Can you clarify?
Module is loading but never gets past Loading Trains message. Details have been put in through the transport API site and return the 200 response expected. Have stripped back to the mandatory config fields only but no change.
config entry:
{
module: "MMM-UKNationalRail",
position: "bottom_left",
config: {
stationCode: "HUD",
app_id: "myAppId",
app_key: "myAppKey"
}
}
Please can someone highlight exactly where I change the "type" to "arrival,departures" as I can't see what part of the MMM-NationalRailUK module.js to alter
Testing the automatic Kanban capabilities
I suspect that this module relies on a deprecated module. After upgrading my magic mirror core code, I get the following error:
[01.10.2021 18:49.04.563] [ERROR] App threw an error during load
[01.10.2021 18:49.04.568] [ERROR] Error: Cannot find module 'request'
Require stack:
I don't believe this is an issue with this module, but thought I should log it for reference.
My mirror is showing all trains as CANCELLED. Playing with the live docs on the TransportAPI's dev portal it is also returning status: CANCELLED. These trains are in fact running, as shown on National Rail, Trainline, etc.
I am a paid TransportAPI customer and have emailed support to report.
Depends on #10
To your troubleshoot questions
This app looks fantastic. I've had the magic mirror running for a while with a news feed, tube status (for our old address), local weather etc. I'm really not expert at this so I could be missing something obvious. Basically it just doesn't show up on the display. I've set position to 'middle_centre' put in crs and got the api id and key data input and double checked them. Any ideas? Thanks for your time!
hello mate
I have got this up and running and have noticed that occasionally the train times wont update for some reason until I restart mm i.e. pm2 restart mm
Can you please look into this? As it has happened 3 times now on different days.
Thanks.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.