Widget: MyMetar

Former Member
Former Member
* Metar widget for the Fenix 3, D2 Bravo, Epix and Forerunner 920 XT.

* Made by a pilot for other pilots.

* Automatically detects the closest airport station, or create your own list of ICAO codes by pressing the START button within the widget.

* List of ICAO codes: https://en.wikipedia.org/wiki/International_Civil_Aviation_Organization_airport_code

=================================================

Changelog

1.2 Added support for Forerunner 920 XT and Epix.

1.1 Fixed an issue where the widget would crash if the icao station wasn't found.

1.0 Initial Release.


=================================================

Link to Appstore: https://apps.garmin.com/en-US/apps/bc28a9ee-df04-4534-b852-b17885f54064

I'm happy to receive suggestions and bug reports in this thread.

Cheers!







  • Former Member
    Former Member over 9 years ago
    Well.. yes maybe. I don't have an Vivoactive myself, and I'm not really sure how and if the input for the icao codes works on that one. It doesn't in the simulator. But someone could maybe answer that for me ? If it does, it's just a flag in the config.

    //Fredirk
  • Former Member
    Former Member over 9 years ago
    Pure Metar/Taf for D2 Bravo

    Would it be possible to make a pure raw Metar/Taf widget. So no "translation" with words like time/visibility etc. The idea is to get more info on one screen. Now one TAF takes several pages. The font is also very small.
  • Former Member
    Former Member over 9 years ago
    The reason the taf takes several pages is that the information simply wouldn't fit in one page. The api's on the watch is *very* limited and there are no scroll controls available. So showing a raw taf/metar would still require more than one page.

    I also know that a few persons (including myself) would like to see stored taf and metar reports on the watch. However Garmin have a very strict limitation on 8kb of data per app which simply wouldn't be enough, and its also not possible to parse the json after it has been stored on the device. I'm sad to say that this app on the Garmin won't see much more than a few bug fixes due to all the limitations.

    However, i have started to prepare the app for the new samsung gear s 2. That watch is far superior and the app might even see built in swc charts on that one :)

    //Fredrik
  • Former Member
    Former Member over 9 years ago
    Taf

    Ok. Too bad. Thanks. Your widget is good, the Garmin one useless....the Garmin Metar app has issues with feet/meter.
  • Former Member
    Former Member over 9 years ago
    MyMetar

    Forgive my ignorance but how do you get the information displayed? All that shows up for me is the IQ!. I have a Fenix 3 with the latest firmware 4.70.

    Thanks
  • change request

    I posted this in the comments. I didn't realize there was a board where I could post suggestions.

    Great widget. I would agree with others that this far better than the Garmin Widget. Thanks for creating.

    If there is a chance to update the widget, I wonder if it would be possible to make two changes.

    1. It seem the widget needs a GPS location to generate data. I just get a "positioning" notice. Some time I would like to know the METAR/TAF and dont have a clear view of the sky. As an idea, could the widget use your last known coordinates to generate the data until new data is provided?

    2. Could you add functionality to select other airports other than nearest? Some times I want to know the weather at the destination? Overall very nice widget.

    Thanks again.
  • Hi Glawe,

    Great widget. I think it's really perfect considering the limitations.

    FYI, I think it's possible to store the data in the datastore so you can display it later without needing an internet connection, and decide to make requests only after 10 mins or whatever. This is how I store all this data (I use max 5 stations, and this works no problem - I even store later series of data to display a graph in addition and it works too). I'll release it soon.

    function onReceive(responseCode, dataReceived)
    {
    if( responseCode == 200 && dataReceived != null)
    {
    Sys.println(dataReceived);
    var count = dataReceived["cnt"].toNumber();

    var propertyResults = new[count]; // this will hold 5 x 16 datapoints (mix of numbers and strings - I actually don't know if they're stored as strings always or are converted to numbers automatically)

    for (var i = 0; i < count; i++){
    var data = dataReceived["list"];

    propertyResults= new [NBDATA];

    propertyResults[date] = data["dt"];
    propertyResults[city] = data["name"];
    propertyResults[country] = data["sys"]["country"];
    propertyResults[sunrise] = data["sys"]["sunrise"];
    propertyResults[sunset] = data["sys"]["sunset"];
    propertyResults[latlon] = [data["coord"]["lat"],data["coord"]["lon"]];
    propertyResults[weatherdesc] = data["weather"][0]["description"];
    propertyResults[temp] = data["main"]["temp"];
    propertyResults[tempmin] = data["main"]["temp_min"];
    propertyResults[tempmax] = data["main"]["temp_max"];
    propertyResults[pressure] = data["main"]["pressure"];
    propertyResults[humidity] = data["main"]["humidity"];
    propertyResults[windspeed] = data["wind"]["speed"];
    propertyResults[winddir] = data["wind"]["deg"];
    propertyResults[visibility] = data["visibility"];
    propertyResults[clouds] = data["clouds"]["all"];

    }
    var app = App.getApp();
    app.setProperty(dataDate_KEY,Time.now().value());
    dateDiff = 0;
    app.setProperty(currentWeather_KEY,propertyResults);[/CODE]


    I experience one bug with your widget: when clicking the Back button, I revert to the stock watch face (not my selected watch face) and then I have to go up into a widget and down into the watch face to display the watch face normally again. This doesn't applies to any other 3rd party widget I've tested.
    According to me, that's because of how you're managing the behavior/input delegates, which enables you to capture the onMenu trigger or you just detect the UP button being pressed for some time.

    Either way, I can't seem to reproduce this behavior in my widget (weather at wind spots for wind/kite surfers).

    Can you disclose how you manage to trigger something when long-pressing the menu (up) button?
    Thanks in any case.
    Julien
  • Actually, one feature request would be to select the nearest available TAF when one isn't available on the selected airport.
    For instance, my home airport LFPT has only METAR. We use TAF from LFPB as a proxy.
  • Thank you for this great widget! What is the 'Auto select' supposed to bring back?
  • Former Member
    Former Member over 9 years ago
    Any plans to support other Garmin watches

    Hi,

    This looks great but I don't have a D2 Bravo or Fenix 3 and consider them too big. Would you consider supporting this on a ForeRunner 235 or VivoActive? Any reason why this couldn't be made to work in principle?

    Many thanks,
    Louis