From 2d5f5ca031c8b309711dfb9c36d8fb7359834378 Mon Sep 17 00:00:00 2001 From: dWoolridge Date: Thu, 6 Oct 2022 13:46:49 -0500 Subject: [PATCH 1/2] Removed weatherEndpoint option from Weather.gov --- modules/weather.md | 1 - 1 file changed, 1 deletion(-) diff --git a/modules/weather.md b/modules/weather.md index f6424be8..90d182d9 100755 --- a/modules/weather.md +++ b/modules/weather.md @@ -115,7 +115,6 @@ Please note Darksky no longer accept new signups and the API will shutdown at th | Option | Description | | ----------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------- | | `apiBase` | The weather.gov base URL.

**Possible value:** `'https://api.weather.gov/points/'`
This value is **REQUIRED** | -| `weatherEndpoint` | The weather.gov API endPoint.

**Possible values:** `/forecast` for forecast and `/forecast/hourly` for current.
This value is **REQUIRED** | | `lat` | The geo coordinate latitude.

This value is **REQUIRED** | | `lon` | The geo coordinate longitude.

This value is **REQUIRED** | From 4d6e5988d7cb07970ab5a8e90852eb5d1c2fd7e1 Mon Sep 17 00:00:00 2001 From: dWoolridge Date: Thu, 6 Oct 2022 14:18:59 -0500 Subject: [PATCH 2/2] Added weathergov to type: hourly Hourly weather support will be added the weathergov provider in MagicMirror v2.22.0. --- modules/weather.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/weather.md b/modules/weather.md index 90d182d9..f0d6b491 100755 --- a/modules/weather.md +++ b/modules/weather.md @@ -37,7 +37,7 @@ The following properties can be configured: | Option | Description | | ---------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | `weatherProvider` | Which weather provider should be used.

**Possible values:** `openweathermap` , `darksky` , `weathergov`, `ukmetofficedatahub`, `ukmetoffice`, `weatherbit`, or `envcanada`
**Default value:** `openweathermap` | -| `type` | Which type of weather data should be displayed.

**Possible values:** `current` , `hourly` , `daily` , or `forecast`
**Default value:** `current`

**Note:** The `daily` type is another name for the `forecast` type, and the two are interchangeable.

The `hourly` type is currently only implemented for:
**Environment Canada** (`envcanada`) provider
**OpenWeatherMap** provider, and only when `/onecall` is used as the specified endpoint. | +| `type` | Which type of weather data should be displayed.

**Possible values:** `current` , `hourly` , `daily` , or `forecast`
**Default value:** `current`

**Note:** The `daily` type is another name for the `forecast` type, and the two are interchangeable.

The `hourly` type is currently only implemented for:
- **Environment Canada** (`envcanada`) provider
- **OpenWeatherMap** (openweathermap) provider, and only when `/onecall` is used as the specified endpoint.
- **Weather.gov** (weathergov) provider, MagicMirror2 v2.22.0 | | `units` | What units to use. Specified by config.js

**Possible values:** `config.units` = Specified by config.js, `default` = Kelvin, `metric` = Celsius, `imperial` = Fahrenheit
**Default value:** `config.units` | | `tempUnits` | What units to use for temperature. If not specified, the module uses the `units` value from `config.js`.

**Possible values:** `config.units` = Specified by config.js, `default` = Kelvin, `metric` = Celsius, `imperial` = Fahrenheit
**Default value:** `units` | | `windUnits` | What units to use for wind speed. If not specified, the module uses the `units` value from `config.js`.

**Possible values:** `config.units` = Specified by config.js, `mps` = metres per second, `kmh` or `metric` = kilometres per hour, `mph` or `imperial` = miles per hour **Default value:** `units` |