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

    Posts

    Recent Best Controversial
    • [MMM-NowPlayingOnSpotify] – Display the currently on Spotify playing song

      Here’s another module I created. It displays the song you are currently listening to on Spotify. It doesn’t matter whether you play the song on your desktop or on your smart phone. Also you don’t need any third party app to connect to Spotify. All you need is included in the module.

      You can find it on GitHub. A detailed description how to get it working is included.

      A song is playing and showCoverArt is set to false. A song is playing and showCoverArt is set to true.

      Feel free to tell me what you think.

      posted in Entertainment
      R
      raywo
    • RE: [MMM-FlightsAbove] Problem receiving and seing JSON from node_helper

      @E3V3A console.log() is a standard Javascript function it works anywhere. Log.info() and so on are functions from the MagicMirror’s module system. So they will only work in the module file.

      node_helper.js is executed in the server context. Any console output is therefore on the server’s log.

      The module file is executed in the client context (the browser). So console output from the module file is logged in the browser console.

      posted in Development
      R
      raywo
    • [MMM-GameOfLife] A Game of Life simulation for your MagicMirror

      Here’s another module I programmed. It is probably one of the best modules ever for the MagicMirror because it does absolutely nothing useful. It just displays and simulates a game board for the Game of Life.

      Conway’s Game of Life is a very interesting thing in information since. Every true nerd should simulate the game on their MagicMirror.

      Game of Life 1 Game of Life 2

      posted in Entertainment
      R
      raywo
    • RE: MMM-Tabulator: How to port HTML JS imports to node JS imports? [solved]

      @E3V3A I don’t know whether that helps but you need to write this.file("node_modules/jquery-ui-dist/jquery-ui.min.js") in your getStyles and getScripts functions.

      posted in Troubleshooting
      R
      raywo
    • MMM-PublicTransportHafas – Public transport information for all stations known to Deutsche Bahn

      Description

      I just finished my latest module. It can be used to display departures from a station near you.

      The module uses data from the HAFAS system which is fed by nearly all transportation providers in Germany. Most providers even provide real time information on the departures. As far as I know and read this system is used also in many other European countries especially Switzerland and Austria. So give it a try if you located there.

      It is possible to use this module to display local transport departures like tram or bus or regional and national transport departures.

      Screenshots

      departures from Leipzig Main Station

      regional and national departures from Leipzig Main Station

      Download

      [card:raywo/MMM-PublicTransportHafas]

      posted in Transport transport deutsche bahn
      R
      raywo
    • RE: [MMM-FlightsAbove] Problem receiving and seing JSON from node_helper

      @E3V3A Actually the API doesn’t return json. It returns an array of Javascript objects. You can very easy iterate over the array and access any properties of the objects in the array with dot syntax.

      const radar = require("flightradar24-client/lib/radar");
      
      radar(53, 13, 52, 14)
        .then((flights) => {
          flights.forEach((flight) => {
            console.log("id: " + flight.id + ", origin: " + flight.origin);
          })
        })
        .catch((err) => {
          console.error(err);
          process.exit(1);
        });
      
      posted in Development
      R
      raywo
    • RE: p5.js and Magic Mirror

      @leejaeuk Have look at my GameOfLife Module. It uses p5.js.

      posted in General Discussion
      R
      raywo
    • RE: DeutscheBahn - API - direct relations - information of german railway - DB

      @djsunrise19 Geht mir ähnlich. ;)
      Mein Modul unterscheidet sich zu MMM-PublicTransportDB auch nur insofern, dass es von mir ist ;) und dass ich erläutere, wie man zu seiner stationID kommt.
      Dass du mein Modul nicht kanntest, mag daran liegen, dass ich es erst vor ein paar Tagen fertiggestellt habe.

      posted in Transport
      R
      raywo
    • RE: I got sucked up into a magic mirror! (and need some help)

      @E3V3A I have had a look at your code. I’ve opened a pull request. Have look!

      posted in Development
      R
      raywo
    • RE: [MMM-NowPlayingOnSpotify] – Display the currently on Spotify playing song

      @marcnlx Awesome idea! Maybe you can add a screenshot.

      posted in Entertainment
      R
      raywo
    • 1 / 1