[watchface][2.0]Weather Face, a simple weather watchface

ToryTory Posts: 37Member
edited December 2013 in Pebble Watchapp Directory
A simple weather watch face, shows location and weather. Uses Open Weather Map for data. Built with SDK 2.0, and is configurable via Android or iOS Pebble app.

Current version: 1.5

Current configuration options:
    2 themes to choose from, white on black or black on white.
    Choose between Fahrenheit or Celsius.
    Choose timeout between weather updates.
    Enable static location (uses a set location instead of getting your location from the phone's services

There are "notification" icons that will pop up in the bottom right hand corner.
The "clock" symbol means it's waiting for PebbleKit (the Javascript engine built into the Pebble app on your smart phone) to initialize.
The "refresh" symbol (a circle arrow) means it's in the process of refreshing your weather.
The "!" symbol means there was an error refreshing weather, either it failed to get location from your phone, or it failed to communicate with openweathermap.org
Post edited by Tory on
·

Comments

  • rspektorrspektor Posts: 2Member
    Awesome app.  looks great.
    Error report:
    If the city name ends up being 2 lines it gets cut off.  Image attached for reference.

    ·
  • ToryTory Posts: 37Member

    rspektor
     said:
    Awesome app.  looks great.
    Error report:
    If the city name ends up being 2 lines it gets cut off.  Image attached for reference.


    Thanks for the bug report, the issue should be fixed now, once the city name gets too long it will shrink the font size and the padding above it, it can theoretically be up to 60 characters now, of course that's assuming there are no spaces ;)

    I also noticed another small bug that I fixed, the icon layer was sometimes cutting off the very top of the temperature text, that is also fixed now.
    ·
  • ToryTory Posts: 37Member
    For anyone that's curious, the next update I release (which will be as soon as possible) will include persistent storage, what that means is when you switch watchfaces it won't have to search every time for weather, it will remember the last time it got the weather, I'm sure people have noticed how annoying that can be ;)

    After that I'm going to work on expanding the configuration, so you can configure more than just the unit of weather.

    However, this app will ALWAYS be a simple clean weather watchface, it will never include lots of unnecessary information, so don't expect a lot more being added in the way of how it looks, there are other weather watchfaces with Time, Date, air pressure, humidity, etc., etc., so this watchface is meant to be the simple clean counterpart.
    ·
  • ToryTory Posts: 37Member
    I updated the app again, it now support persistent storage, so switching watchfaces will not cause it to need to reload, it updates weather every 15 minutes, but only shows the "loading..." the first time it's opened.
    ·
  • JulianStarkeJulianStarke Posts: 98Member Regular
    Very nice. I like it!
    ·
  • ToryTory Posts: 37Member
    I updated it again, most bugs should all be fixed, persistent storage seems to be working flawlessly now, and I added notification icons (not notifications from your phone, notifications letting you know when it's refreshing, waiting to refresh, or when an error occurred).

    I tested this version for an entire day and it seemed fine, I did however notice it crash just after uploading it, I'll work on that now, but it seems insignificant, if it crashes just switch to another watch face, then switch back, and it should be fine.
    ·
  • ToryTory Posts: 37Member
    Ok, I think I fixed the bugs that were causing the crashes before, I was able to reproduce the crashes by reinstalling over and over again, every once in a while it would crash after opening the first time on an install, after my fixes I reinstalled lots and lots of times with no crashes, so it should be fixed now.

    I also updated the menu icon.

    If anyone has any issues please let me know, if you want to make sure you have the latest version, redownload it now.
    ·
  • ToryTory Posts: 37Member
    I updated it again, minor optimization and bug fixes, there was a bug where every once in a while it would end up making multiple requests for weather, and would cause it to crash, that is now definitely fixed.

    There is still a bug where after a while it stops saving to persistent storage, so it keeps getting old weather data, however I believe this might be a bug in the 2.0-BETA3 firmware, the only way I've found to get around it at the moment is to reinstall the watchface so it resets to storage. Hopefully that gets fixed in the next beta release.
    ·
  • ToryTory Posts: 37Member
    edited December 2013
    Yup, it's not just my app that has the issue with persistent storage, and it seems like it's been having this issue since at least Beta2: Storage API stops persisting after some amount of time?
    Post edited by Tory on
    ·
  • ToryTory Posts: 37Member
    edited December 2013
    Weather Face is now updated to version 1.0.5, added support for my new universal config page, in the process added more config options from the pebble app.
    Post edited by Tory on
    ·
  • ToryTory Posts: 37Member
    The issue with persistent storage is now fixed with the Beta4 firmware, so I'd recommend updating, but first I would uninstall the Weather Face app, if you've already updated without uninstalling Weather Face you'll notice that uninstalling it no longer resets it's persistent storage, you'll have to do a factory reset, then reinstall Weather Face, and everything will be fixed.

    Also, I updated Weather Face to version 1.0.6, the only change is I rebuilt it with SDK Beta4, not sure if it made much of a difference but it wouldn't hurt to download it.

    I also changed the download location to Github, because MyPebbleFaces seems like it's been down for the last 2 days.
    ·
  • ToryTory Posts: 37Member
    Updated to 1.0.7, fixes a bug when used with iPhones where the config page would not work.

    Thanks to Alexsander Akers for pointing out the issue and fixing it on my Github page.
    ·
  • DHKDHK Posts: 33Member
    Great App/face... Downloaded from MyPebbleFaces and got v1.06.

    Did some reading and found 1.07 on your github... Works better with config page!
    ·
  • RyanHinshelwoodRyanHinshelwood Posts: 22Member Pebbler
     I like it, but unfortunately OpenWeatherMap disagrees by six degrees with every other weather provider for my location. 

    I'm very happy to see a face without the time on it - I use watchfaces like widgets, each with a different purpose.
    ·
  • LajosTLajosT Posts: 3Member
    With Cloudpebble :

    JavaScript linting failed (you can disable this in Project Settings):
    src/js/pebble-js-app.js: line 20, col 28, The array literal notation [] is preferrable.
    src/js/pebble-js-app.js: line 169, col 52, Missing semicolon.
    src/js/pebble-js-app.js: line 190, col 17, Mixed spaces and tabs.
    src/js/pebble-js-app.js: line 210, col 14, Missing semicolon.
    src/js/pebble-js-app.js: line 231, col 19, Mixed spaces and tabs.
    src/js/pebble-js-app.js: line 251, col 22, Missing semicolon.
    src/js/pebble-js-app.js: line 7, col 27, 'window' is not defined.
    src/js/pebble-js-app.js: line 8, col 26, 'window' is not defined.
    src/js/pebble-js-app.js: line 9, col 29, 'window' is not defined.
    src/js/pebble-js-app.js: line 10, col 29, 'window' is not defined.
    src/js/pebble-js-app.js: line 11, col 26, 'window' is not defined.
    src/js/pebble-js-app.js: line 12, col 27, 'window' is not defined.
    src/js/pebble-js-app.js: line 133, col 13, 'window' is not defined.
    src/js/pebble-js-app.js: line 134, col 13, 'window' is not defined.
    src/js/pebble-js-app.js: line 135, col 13, 'window' is not defined.
    src/js/pebble-js-app.js: line 136, col 13, 'window' is not defined.
    src/js/pebble-js-app.js: line 137, col 13, 'window' is not defined.
    src/js/pebble-js-app.js: line 138, col 13, 'window' is not defined.
    src/js/pebble-js-app.js: line 157, col 9, 'i' is not defined.
    src/js/pebble-js-app.js: line 157, col 16, 'i' is not defined.
    src/js/pebble-js-app.js: line 157, col 36, 'i' is not defined.
    src/js/pebble-js-app.js: line 158, col 12, 'i' is not defined.
    src/js/pebble-js-app.js: line 159, col 16, 'i' is not defined.
    src/js/pebble-js-app.js: line 159, col 68, 'i' is not defined.
    src/js/pebble-js-app.js: line 170, col 31, 'format' is not defined.
    src/js/pebble-js-app.js: line 171, col 14, 'format' is not defined.
    src/js/pebble-js-app.js: line 183, col 62, 'format' is not defined.
    src/js/pebble-js-app.js: line 224, col 45, 'format' is not defined.
    
    28 errors

    ·
Sign In or Register to comment.