zakarfin / mm-hsl-timetable Goto Github PK
View Code? Open in Web Editor NEWMagicMirror module for HSL timetables
License: MIT License
MagicMirror module for HSL timetables
License: MIT License
Can't get this work. Any ideas? I am just started with this MagicMirror... So basically I just copied the files under modules/mm-hsl-timetable and added this to config.js:
{
module: "mm-hsl-timetable",
position: "top_right",
header: "Bus schedule",
config: {
stops: [1130113],
busCount: 5
}
},
Hey!
First off, amazing that you have developed this module. Unfortunately I could not get it running, bellow is the error I am getting
Did anybody experience a similar issue?
I followed your steps by git cloning the module and added the module object to config file. When I comment out the module object, magic mirror works again.
********* ERROR MESSAGE BELOW***************
[06.04.2022 19:09.18.238] [ERROR] App threw an error during load
[06.04.2022 19:09.18.240] [ERROR] Error: Cannot find module 'request'
Require stack:
I am working on a new module list, which you can see here. If you search for your module in it, you will see that it looks a bit bland at the moment, as a screenshot and tags are missing.
You can change that by adding a package.json
file. The information that is currently used from that file is the license information (the screenshot can only be displayed if the license is free) and the keywords (these are then displayed as tags).
Here is an example of a package.json.
I recommend using the keyword "Public Transport", because it's like a main category.
It would be nice if you would add the file to your repository 🙂
Hi!
Really like this module, seeing that this existed made me finally make my own magicmirror. Some improvement ideas:
The order of stops is currently always listed numerically by the stopID number. It would be great to be able to switch around the order.
Would be great to see the end stop / direction of each bus. I have some stops nearby that have buses going all over Helsinki, and I can never remember which ones of them go to a specific direction. Right now I have a list of buses under the timetable as a text, to see which ones are the right ones.
The way it translates relative time to Finnish, is a bit long. I think "nyt" is way better than "muutaman sekunnin päästä". Also "3 min" is better than "kolmen minuutin päästä" in my opinion. Right now my workaround has been to edit the fi.js file in moment/locale.
I know you probably aren't that invested in this project anymore, but just some thoughts. Maybe someone else who is better in javascript etc than I am, will pick it up.
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.