mattss / pebble-raincheck Goto Github PK
View Code? Open in Web Editor NEWPebble Rain Checking App
Pebble Rain Checking App
Switch from:
Low chance of Drizzle at 4pm
High chance of Drizzle at 5pm
to:
4PM: Drizzle (5%)
5PM: Drizzle (20%)
Just realised that the forecase api actually does hourly forecasts for 48 hrs, which means that the watchapp currently reads 'Light rain at 9pm', when it means the day after tomorrow.
I suggest only using the next 24hrs.
We currently do an ajax-request inside the watchapp to the Google location api to find the coordinates of the location chosen in the configuration page.
We could simplify the watchapp by moving this lookup to the configuration page itself, using the client-side google APIs.
This library looks like a simple integration option:
Adding an icons should make it much quicker for users to parse the current weather status.
Icon examples:
Some nice (free) icons here:
http://www.alessioatzeni.com/portfolio/meteocons/
In my continued effort to streamline the display, I propose removing the word 'rain' from status descriptions i.e.
6PM: Light Rain (50%) -> 6PM: Light (50%)
8PM: Heavy Rain (50%) -> 8PM: Heavy (50%)
10PM Drizzle (40%) -> stays the same
Given that every status relates to rain, the word rain doesn't add anything here and may prevent the information running onto two lines (which I really dislike).
Settings page should be populated with existing settings if there are any.
So far we haven't worked out how to do this.
This avoids you getting alerts about the next morning when it's only 10am
All times are currently in UTC. These need to be changed to the correct timezone for the chosen weather location.
As usual, there's a google API for that:
https://developers.google.com/maps/documentation/timezone/
We like the happy sun icon, but it doesn't accurately represent the weather status.
Restore 'No rain today' text so we can keep the icon.
The forecast API has a helpful 'current' status for when it is raining.
For example, it's raining right now and the app reads:
'Now: Rain (86%)'
and the API 'current' status reads 'Rain for the next hour'. Often it has details on when the current rain will be stopping e.g. 'Rain stopping in 45 mins'. I think this would be a more useful drop-in replacement for the 'Now:' text we currently have (but only if it is currently raining).
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.