Skip to content

Commit

Permalink
v2.1.2 rounding temperature digits
Browse files Browse the repository at this point in the history
  • Loading branch information
JaouherK committed Jun 25, 2021
1 parent d372267 commit 82e44d1
Show file tree
Hide file tree
Showing 6 changed files with 19 additions and 4 deletions.
12 changes: 12 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,17 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [2.1.2] - 2020-06-25

### Added

- New setting to round to nearest integer value of temperature by @thepaulstella

### Changed

- Force load settings on page start
- Update screenshot

## [2.1.1] - 2020-05-23

### Added
Expand Down Expand Up @@ -83,3 +94,4 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
[2.0.2]: https://github.com/JaouherK/streamDeck-weatherPlugin/releases/tag/v2.0.2
[2.1.0]: https://github.com/JaouherK/streamDeck-weatherPlugin/releases/tag/v2.1.0
[2.1.1]: https://github.com/JaouherK/streamDeck-weatherPlugin/releases/tag/v2.1.1
[2.1.2]: https://github.com/JaouherK/streamDeck-weatherPlugin/releases/tag/v2.1.2
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

# Weather

[![badge](https://img.shields.io/endpoint?url=https://gist.githubusercontent.com/JaouherK/a489177df4f24946281bdc1b21524b13/raw/62c6d31dc218a9c26d4dbe62c430bf46914bf6a3/weatherMetaData.json)](https://github.com/JaouherK/streamDeck-weatherPlugin/releases/tag/v2.1.1)
[![badge](https://img.shields.io/endpoint?url=https://gist.githubusercontent.com/JaouherK/a489177df4f24946281bdc1b21524b13/raw/79aacf61a7e32fe2e597f3f1980df1029d54894a/weatherMetaData.json)](https://github.com/JaouherK/streamDeck-weatherPlugin/releases/tag/v2.1.2)

`Weather` is a plugin that displays the weather condition as a picture image, the city name and the temperature of a given location. It is connected to multiple providers and needs an API Key to connect.

Expand All @@ -23,6 +23,8 @@ The button is configured as follows:
- City Name: the city for which the information will be displayed on the button
- Temperature: the temperature unit ( Celsius or Fahrenheit)
- Fetch frequency: how often the data is updated (beware for free accounts the limits set by the provider)
- Display city name: Provides the possibility choose where to display the city name (also if we need to hide it)
- Round to nearest degree: Provides the possibility to show / hide digits after decimal point
- "Get my API key" button: to retrieve the key for your account
- "Report bug" button: to report a bug

Expand All @@ -33,6 +35,7 @@ The button is configured as follows:
- Choice of Weather provider
- Choose temperature unit
- choose fetching frequency of the weather data
- Weather condition icon fit to display

![screen](screenshot.png)

Expand Down
Binary file modified Release/com.jk.weather.streamDeckPlugin
Binary file not shown.
4 changes: 2 additions & 2 deletions Sources/com.jk.weather.sdPlugin/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,12 @@
"SDKVersion": 2,
"Author": "Jaouher Kharrat",
"CodePath": "plugin/main.html",
"Description": "Easily get a preview of the weather condition and the temperature of a given city.",
"Description": "Get current weather condition and temperature of a given city",
"Name": "Weather",
"Icon": "resources/pluginIcon",
"PropertyInspectorPath": "pi/main_pi.html",
"URL": "https://github.com/JaouherK",
"Version": "2.1.1",
"Version": "2.1.2",
"OS": [
{
"Platform": "mac",
Expand Down
2 changes: 1 addition & 1 deletion Sources/com.jk.weather.sdPlugin/pi/main_pi.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<script src="main_pi.js"></script>
</head>

<body>
<body onload="updateSettings();updateGlobal();">
<div class="sdpi-wrapper hidden">
<div class="sdpi-item" id="apiProviderContainer">
<div class="sdpi-item-label">Provider</div>
Expand Down
Binary file modified screenshot.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 82e44d1

Please sign in to comment.