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

    Posts

    Recent Best Controversial
    • RE: MMM-Sonos - Display what is currently playing on your Sonos network

      Hi @Jas and thanks!

      Both of these are not supported. The concept of the module was to have a Sonos now playing... module with minimalist design hence:

      • only vital information: title, artist, album (can be toggled), metadata: room, volume and track length (can be toggled)
      • no album artwork
      • show only rooms where music is playing, otherwise show nothing to avoid clutter

      It would not be too hard to do all the above, but I don’t plan to do it anytime soon because of the concept.

      posted in Entertainment
      T
      tbouron
    • RE: MMM-FlightTracker - Real time plane tracker using ADS-B systems

      That’s what I’m currently working on, a better layout to display the plane where:

      • airline name can be toggled from the config
      • aircraft type (if recognised) can be toggled from the config
      • metadata can be toggled from the config

      Also, the icon beside the altitude reflects the current vertical rate (stays horizontal if vertical rate is 0 or not defined)

      1_1578349146926_Screenshot 2020-01-05 at 14.52.25.png

      0_1578349146925_Screenshot 2020-01-05 at 14.50.38.png

      posted in Transport
      T
      tbouron
    • RE: MMM-FlightTracker - Real time plane tracker using ADS-B systems

      @ytmytm Thanks for confirming this. I’ll take that into account when I’ll update the README.md

      posted in Transport
      T
      tbouron
    • RE: MMM-FlightTracker - Real time plane tracker using ADS-B systems

      @ytmytm Cool, glad it works fine! I actually just realised that my last commit is not quite right regarding the connection retry if the TCP stream is closed. I’ll fix that for the merge in master.

      Regarding the dependency issue, you are right, I missed the librtlsdr-dev dependency in the prerequisites list, I’ll add that (FYI, this is needed only for the rtlsdr mode). And I think you had to rebuild the module because it was missing when you executed npm i (It is certainly not something I had to do on my Pi)

      I’ll clean this up and push to master, probably tomorrow though.

      Finally, I’m also working on a new UI with better UX (I think), I’ll post screenshots when I can.

      posted in Transport
      T
      tbouron
    • RE: MMM-FlightTracker - Real time plane tracker using ADS-B systems

      Alright @ytmytm got something working with the data exposed by dump1090.
      This is available on the branch feature/network where also updated the README.md regarding the configuration: https://github.com/tbouron/MMM-FlightTracker/tree/feature/network. You will need to update the dependencies:

      git fetch && git pull feature/network && npm i
      

      I’m running this locally and seems to work quite well. However, can I ask you to test it and report back with any issues, or a thumbs up? I’ll push this “officially” when I’m sure it works for you :)

      posted in Transport
      T
      tbouron
    • RE: MMM-Sonos - Display what is currently playing on your Sonos network

      Hi @eliah. Can you try the version on the branch fix/group-scan and tell me how it goes ?

      You would just need to go into the MMM-Sonos folder and do:

      git fetch && git checkout fix/group-scan
      

      Thanks :)

      posted in Entertainment
      T
      tbouron
    • RE: MMM-FlightTracker - Real time plane tracker using ADS-B systems

      HI @ytmytm.

      So I looked at this over the past week and it turns out to be more complicated than expected.

      dump1090 does expose a raw stream of data but I could not use it as the data there is serialised from a C struct, which cannot be reconstructed from nodejs. I then looked at the SBS1 (BaseStation) stream to get the parsed data directly. This is a bit fiddly to make it work with the current codebase, and requires changes into npn dependencies I’m using.
      However, this is the best alternative I could find so I’ll continue in that direction. Bear in mind that as I have to modify dependencies so this will take a bit of time before I can release something that works ok.

      posted in Transport
      T
      tbouron
    • RE: MMM-Sonos - Display what is currently playing on your Sonos network

      @eliah That’s interesting, it would suggest that the group IDs are not consistent (as groups are cached by IDs) which obviously shouldn’t happen. I’m also wondering if targeting a random device on every scan has any implications on this (but it shouldn’t, at least I cannot reproduce this on my own network)

      Would it possible for you to test a different version? I would like to see how it can be mitigated.

      posted in Entertainment
      T
      tbouron
    • RE: MMM-Sonos - Display what is currently playing on your Sonos network

      Hi @eliah, thanks for your comment!
      The module looking for groups regularly is by design: there is unfortunately no event when groups changes therefore they are pulled every 5 seconds. The listeners are set only when groups have changed.

      I checked on my mirror and cannot see a difference of CPU usage with or without the module enabled. How “bad” is the CPU hog on yours?

      posted in Entertainment
      T
      tbouron
    • RE: MMM-FlightTracker - Real time plane tracker using ADS-B systems

      Hum if we can get the data out of this then yes, I can look into this :)

      I’ll look at dump1090 and see what I can do. Wanted to go back to the output design anyway so might be a nice feature to add.

      I’ll let you know.

      posted in Transport
      T
      tbouron
    • RE: MMM-FlightTracker - Real time plane tracker using ADS-B systems

      @jrsphoto said in MMM-FlightTracker - Real time plane tracker using ADS-B systems:

      I love the idea of having a flight tracker on my magicmirror, but I already have a flight tracker on my network. Its a raspberry pi runnng PiAware flight tracker. Any way you could have this plugin support a remote flight tracker over the network rather than directly connected?

      Hi @jrsphoto. The idea behind the module was to use the hardware directly rather than using an API like flightaware/flightradar24/etc, because this mean that everybody needs to have either:

      • an paid account there
      • another PI along side the one for the mirror + ADS-B receiver
        This incur more cost hence why I went for the direct connection to the hardware.

      However, I looked at PiAware and from what I can see from https://github.com/flightaware/piaware, there is no API available to get the data out of this from the LAN. But at that point, that would be irrelevant as you could target directly the public API.

      Maybe I’ll do another module in the future for flightaware or flightradar24 if I got my hands on another ADS-B device.

      posted in Transport
      T
      tbouron
    • RE: MMM-FlightTracker - Real time plane tracker using ADS-B systems

      Thanks @Mykle1, that’s appreciated!

      posted in Transport
      T
      tbouron
    • MMM-Sonos - Display what is currently playing on your Sonos network

      Hi there.

      I realised there is already a couple of modules for Sonos, but they didn’t really worked for me. I wanted something more minimalist, and easier to install: all sonos modules right now require to install and run a proxy sonos API server along side MagicMirror. My module doesn’t: clone it, install it and there you go!

      All necessary information (configuration, screenshot) is available on the GitHub repository: https://github.com/tbouron/MMM-Sonos

      Hope you’ll enjoy!

      0_1577188815998_screenshot.png

      posted in Entertainment
      T
      tbouron
    • MMM-FlightTracker - Real time plane tracker using ADS-B systems

      Hi there.

      I recently released a new module to get nearby planes information in real time, using ADS-B receiver (that is how most of the FlightRadar24 gets its data).

      All necessary information (prerequisite, configuration, screenshot) is available on the GitHub repository: https://github.com/tbouron/MMM-FlightTracker

      Hope you’ll enjoy!

      2_1577188325982_screenshot-passing-by.png
      0_1577188325979_screenshot-at-the-window.png
      1_1577188325982_screenshot-no-planes.png

      posted in Transport
      T
      tbouron
    • MMM-LothianBuses - Buses tracker for Edinburgh

      Hi there.

      I recently released a new module to get buses information (i.e. time tracker) for Edinburgh. The module uses the Lothian buses API and displays the times for bus stops configured.

      All necessary information (prerequisite, configuration, screenshot) is available on the GitHub repository: https://github.com/tbouron/MMM-LothianBuses

      Hope you’ll enjoy!

      0_1577188127106_screenshot.png

      posted in Transport
      T
      tbouron
    • 1 / 1