• 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. ytmytm
A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.
Y
Offline
  • Profile
  • Following 0
  • Followers 0
  • Topics 1
  • Posts 5
  • Groups 0

ytmytm

@ytmytm

3
Reputation
402
Profile views
5
Posts
0
Followers
0
Following
Joined May 27, 2017, 7:23 AM
Last Online Jul 24, 2024, 2:08 PM

ytmytm Unfollow Follow

Best posts made by ytmytm

  • RE: Calendar times in 24 hour format?

    Hi

    I also had this problem. The problem is that the time format string in modules/default/calendar/calendar.js is wrong for 24h setup.

    Find these lines and change lower case hh into H in time format string.

    case 24: {
    			moment.updateLocale(config.language, {
    				longDateFormat: {
    					LT: "H:mm" // FIX here: was "hh:mm"
    				}
    			});
    			break;
    		}
    

    This was already fixed in development branch: https://github.com/MichMich/MagicMirror/pull/943/files

    posted in Feature Requests
    Y
    ytmytm
    Jul 29, 2017, 10:54 PM
  • RE: MMM-FlightTracker - Real time plane tracker using ADS-B systems

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

    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)

    That’s correct. I cleared everything and tried again. The rebuild step is not necessary because the module is actually built during npm install step.

    posted in Transport
    Y
    ytmytm
    Jan 6, 2020, 11:35 AM

Latest posts made by ytmytm

  • RE: MMM-FlightTracker - Real time plane tracker using ADS-B systems

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

    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)

    That’s correct. I cleared everything and tried again. The rebuild step is not necessary because the module is actually built during npm install step.

    posted in Transport
    Y
    ytmytm
    Jan 6, 2020, 11:35 AM
  • RE: MMM-FlightTracker - Real time plane tracker using ADS-B systems

    @tbouron This is working great:

    0_1578306288401_sdrpi.PNG

    After npm iI had to do some more.

    I realized that librtlsdr is required also when using network mode, so this had to be installed first, with library headers:

    sudo apt install librtlsdr-dev
    

    Next I got messages about missing symbols fromrtl-sdr.node module:

    node: symbol lookup error: /home/pi/MagicMirror/modules/MMM-FlightTracker/node_modules/rtl-sdr/build/Release/rtlsdr.node: undefined symbol: _ZN2v816FunctionTemplate3NewEPNS_7IsolateEPFvRKNS_20FunctionCallbackInfoINS_5ValueEEEENS_5LocalIS4_EENSA_INS_9SignatureEEEiNS_19ConstructorBehaviorE
    

    So it had to be rebuilt against my librtlsdr:

    npm rebuild rtl-sdr --build-from-source
    

    Thumbs up! Thanks!

    posted in Transport
    Y
    ytmytm
    Jan 6, 2020, 10:31 AM
  • RE: MMM-FlightTracker - Real time plane tracker using ADS-B systems

    Hi @tbouron

    PiAware tracker (based on dump1090) makes its local data available in several JSON data dumps accessible under /data/ URL:

    • http://(host):(port)/data/aircraft.json - list of visible aircrafts
    • http://(host):(port)/data/stats.json - receiver statistics - number of messages, signal quality, etc.
    • http://(host):(port)/data/receiver.json - receiver status, particularily refresh rate (how often aircraft.json is refreshed) and history length
    • http://(host):(port)/data/history_(number).json - copy of earlier states of aircraft.json with number going from 0 to history length. History files are a ring buffer so you need to load them all to figure out the most recent one.

    Other homebrew solutions based on dump1090 can have similar set of results enabled.

    Complete description is here dump1090 README-json.md

    But at that point, that would be irrelevant as you could target directly the public API.

    It’s still relevant :). I live next to a military airbase and on my feed I see both military and government aircrafts that are censored from sites like flightaware/flightradar. I feed to Flightaware, so I know this for sure :).

    posted in Transport
    Y
    ytmytm
    Dec 29, 2019, 7:47 PM
  • RE: Calendar times in 24 hour format?

    Hi

    I also had this problem. The problem is that the time format string in modules/default/calendar/calendar.js is wrong for 24h setup.

    Find these lines and change lower case hh into H in time format string.

    case 24: {
    			moment.updateLocale(config.language, {
    				longDateFormat: {
    					LT: "H:mm" // FIX here: was "hh:mm"
    				}
    			});
    			break;
    		}
    

    This was already fixed in development branch: https://github.com/MichMich/MagicMirror/pull/943/files

    posted in Feature Requests
    Y
    ytmytm
    Jul 29, 2017, 10:54 PM
  • MMM-pekavm - Bus and tram arrivals for Poznań, Poland

    Description

    MMM-pekavm shows real arrival times (not schedule) of buses and trams in the Poznań area in Poland.

    It is heavily based on MMM-KVV module by yo-less.

    Download

    MMM-pekavm

    posted in Transport
    Y
    ytmytm
    May 27, 2017, 7:34 AM
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