Git Product home page Git Product logo

mmm-luxembourg-public-transport's People

Contributors

uxigene avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

kywoskylake

mmm-luxembourg-public-transport's Issues

No transport shown - Error

Hello @evghenix ,

I installed your module and put the config below:

{
module: 'MMM-Luxembourg-Public-Transport',
config: {
from: "A=1@O=Belair, Place de France@X=6,106759@Y=49,606540@U=82@L=200403013@B=1@p=1615358928;",
to: "A=1@O=Rollingergrund, Bei der Fiels@X=6,114337@Y=49,617219@U=82@L=200425003@B=1@p=1615358928;",
maxLength: 5,
fetchInterval: 6000,
}
},

However, i see nothing on my screen because the console is saying:

Uncaught TypeError: Cannot read property 'forEach' of undefined
at Class.normalize (MMM-Luxembourg-Public-Transport.js:99)
at Class.socketNotificationReceived (MMM-Luxembourg-Public-Transport.js:91)
at module.js:250
at Socket. (socketclient.js:39)
at Socket../node_modules/component-emitter/index.js.Emitter.emit (index.js:145)
at Socket.emitEvent (socket.js:264)
at Socket.onevent (socket.js:251)
at Socket.MMSocket.self.socket.onevent (socketclient.js:33)
at Socket.onpacket (socket.js:215)
at Manager../node_modules/component-emitter/index.js.Emitter.emit (index.js:145)

image

Any idea, about how to solve this problem ?
Thanks and have a nice week-end :)))

  • Max

Create package.json

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 🙂

update?

Does currently not work anymore

I get "loading..." instead of the expected timetable

Using the folowing config:

module: 'MMM-Luxembourg-Public-Transport',
	position: 'top_center',
	config: {
		from: "A=1@O=Assel@X=6,313529@Y=49,554448@U=82@L=210101001@B=1@p=1505823462",
		to: "A=1@O=Centre, F.D. Roosevelt@X=6,131497@Y=49,608931@U=82@L=200405013@B=1@p=1505823462",
	}
},

I get "loading..." instead of the expected timetable

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.