• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
MagicMirror Forum
  • Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
  1. Home
  2. Beh
  3. Posts
A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.
Offline
  • Profile
  • Following 3
  • Followers 3
  • Topics 12
  • Posts 96
  • Groups 1

Posts

Recent Best Controversial
  • RE: MMM-PublicTransportBerlin - Public transport for Berlin and Brandenburg (departures)

    To @M1dn8 @gekberlin:
    As @derhuerst mentions, this feature can be implemented, but it is a bit of work… We can try this. If you have any programming skills, your contribution is more than welcome :)

    To @derhuerst:
    Do you think, that some other possible future services that use your API will likely use this feature? If so, I think it should be done in the API. If not, I can just throw away the entries that are not used. But as you said, determining the direction could be a bit tricky. So one would need to know the next station on the line, huh?

    posted in Transport
    B
    Beh
    Aug 15, 2017, 9:35 AM
  • RE: MMM-PublicTransportBerlin - Public transport for Berlin and Brandenburg (departures)

    Hey @Tekki
    Unfortunately, I’m not really familiar with the changes, that @olexs made in his MMM-PublicTransportDB module, so I don’t really know, if your config is correct. You could open an issue on his GitHub repository with the same question again. Here it is:
    https://github.com/olexs/MMM-PublicTransportDB

    posted in Transport
    B
    Beh
    Aug 15, 2017, 9:21 AM
  • RE: MMM-PublicTransportBerlin - Public transport for Berlin and Brandenburg (departures)

    Hey, @pauabaer
    I implemented your feature request ;)
    you can now exclude lines via the ignoredStations option in your config.

    posted in Transport
    B
    Beh
    Jun 18, 2017, 5:35 PM
  • RE: MMM-PublicTransportBerlin - Public transport for Berlin and Brandenburg (departures)

    To all users of this module:

    The transportation data in the background changed and I added support for this in the module. You should update the module asap.

    You can update it with these commands in the MMM-PublicTransportBerlin-folder:

    git pull
    npm install
    

    The npm install-command is very important, since the vbb-client module needs to be updated to use the new transport API.

    Greetings!

    posted in Transport
    B
    Beh
    Jun 18, 2017, 4:32 PM
  • RE: Multiple requests within one function

    As @strawberry-3-141 mentioned, the sendSocketNotification() function is called, before the callback function of your request is execuded and the content of data is created.

    You could either call the sendSocketNotification() function inside the callback function of the request or put the data variable into a promise (which is a much more elegant approach and produces good-readable asynchronous code).

    There are good explanations for promises, just google “promises simple explanation” (or similar).
    I can recommend this one: https://coligo.io/javascript-promises-plain-simple/

    Edit:
    Oh, and I would recommend the Bluebird.js library for promises. http://bluebirdjs.com/

    posted in Troubleshooting
    B
    Beh
    Apr 28, 2017, 6:19 PM
  • RE: Use npm for module installs

    I’d really like to see some kind of ‘package manager’ for all the mirror modules. A more or less centralized solution for this would be great.

    But I agree with @MichMich that npm is not really the solution for that.

    posted in Feature Requests
    B
    Beh
    Apr 28, 2017, 5:59 PM
  • RE: Two way mirror order for Europe - Orders closed!

    I hope it’s not too late. I confirm my orders here. Mail is also already sent. @Goldjunge_Chriz

    posted in Hardware
    B
    Beh
    Apr 27, 2017, 9:06 PM
  • RE: MMM-PublicTransportBerlin - Public transport for Berlin and Brandenburg (departures)

    Hey, @strawberry-3-141, thanks for supporting!

    @pauabaer:
    currently there is no such function to filter out lines directly. Only to filter for stations, as @strawberry-3-141 mentioned. But I can implement that function if you want to have it. It’s not soo much effort I think… I can’t promise to do this fast, but I would try to find time for it ASAP.

    If you want that feature, please open an issue for that on github, so I won’t forget it ^^’

    posted in Transport
    B
    Beh
    Apr 23, 2017, 7:12 PM
  • RE: MMM-PublicTransportBerlin - Public transport for Berlin and Brandenburg (departures)

    @olexs
    You’re very welcome :smile:
    I’m happy that someone had use for it, so the code is not useless :) I already noticed the attribution in the readme and appreciated it ;) Thanks a lot

    posted in Transport
    B
    Beh
    Apr 3, 2017, 11:52 AM
  • RE: Two way mirror order for Europe - Orders closed!

    @Goldjunge_Chriz
    Alright. Thats fine for me. Could you please add both mirrors to the list?

    posted in Hardware
    B
    Beh
    Mar 27, 2017, 11:18 AM
  • 1 / 1
Enjoying MagicMirror? Please consider a donation!
MagicMirror created by Michael Teeuw.
Forum managed by Sam, technical setup by Karsten.
This forum is using NodeBB as its core | Contributors
Contact | Privacy Policy