Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions apps/weather/ChangeLog
Original file line number Diff line number Diff line change
Expand Up @@ -32,3 +32,4 @@
Add support to automatically fetch weather at time interval defined in settings (requires GadgetBridge version 0.86.0 or higher)
Add button to settings to force fetch weather data (requires GadgetBridge version 0.86.0 or higher)
Add new API to get weather from Weather App for other Apps
0.31: Wind speed clockInfo now shows speed in local units (kph or mph)
2 changes: 1 addition & 1 deletion apps/weather/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ It adds a widget with a weather pictogram and the temperature.
It also adds a ClockInfo list to Bangle.js.
You can view the full report through the app:

![Screenshot](screenshot.png)
![Screenshot](Screenshot.png)

## iOS Setup

Expand Down
Binary file added apps/weather/Screenshot.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 2 additions & 1 deletion apps/weather/clkinfo.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@
weather.feels = require("locale").temp(weather.feels-273.15);
weather.hum = `${weather.hum}%`;
weather.wind = require("locale").speed(weather.wind).match(/^(\D*\d*)(.*)$/);
weather.wind = `${Math.round(weather.wind[1])}kph`;
weather.wind = Math.round(weather.wind[1]) +" "+ weather.wind[2];

} else {
weather = {
temp: "?",
Expand Down
4 changes: 2 additions & 2 deletions apps/weather/metadata.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"id": "weather",
"name": "Weather",
"version": "0.30",
"version": "0.31",
"description": "Show Gadgetbridge/iOS weather report",
"icon": "icon.png",
"screenshots": [{"url":"screenshot.png"}],
"screenshots": [{"url":"Screenshot.png"}],
"tags": "widget,outdoors,clkinfo",
"supports": ["BANGLEJS","BANGLEJS2"],
"readme": "README.md",
Expand Down
Binary file removed apps/weather/screenshot.png
Binary file not shown.