Commit Graph

17 Commits

Author SHA1 Message Date
Florian Hotze
ebb0f54dbd
[openweathermap] Prepare for shutdown of One Call API version 2.5 (#16705)
* [openweathermap] Update README for shutdown of One Call API version 2.5 & Change default API version

Closes #16665.

Signed-off-by: Florian Hotze <florianh_dev@icloud.com>
2024-04-30 14:05:50 +02:00
Spiev
bf7c2220b0
[openweathermap] Added "version" example to thing configuration and description. (#16671)
* Added "version" example to thing configuration and description.

Signed-off-by: / <StefanMiem+github@gmail.com>
2024-04-27 10:27:30 +02:00
ErikDB87
372058cdbb
[openweathermap] Add daily moon channels to OneCall Thing (#16350)
* [openweathermap] Add daily moon channels to OneCall Thing
This adds the daily moon data provided by the API (https://openweathermap.org/api/one-call-api#parameter) to the OneCall Thing.

Also-by: Florian Hotze <florianh_dev@icloud.com>
Signed-off-by: Erik De Boeck <deboeck.erik@gmail.com>
2024-02-28 19:53:12 +01:00
Florian Hotze
1bb62c450c
[openweathermap] Code clean-up (#16369)
* [openweathermap] Remove UV Index Thing

The UV Index API has been retired on 1st April 2021 and replaced by OneCall API 3.0.
Therefore, this Thing is not working anymore and can be removed from the source code.

* [openweathermap] Clean-Up DTOs

- Improve class JavaDoc.
- Remove setters as they are not needed. (All OWM APIs get required the data as query params.)

Signed-off-by: Florian Hotze <florianh_dev@icloud.com>
2024-02-15 14:29:51 +01:00
Florian Hotze
c81a263b91
[openweathermap] Add support for persisting OneCall API forecasts (#15963)
Implement time series support introduced by https://github.com/openhab/openhab-core/pull/3597.

Signed-off-by: Florian Hotze <florianh_dev@icloud.com>
2023-12-14 20:21:54 +01:00
Jerome Luckenbach
1ca9baf157
[Documentation] Markdown improvements n to s (#13948)
Signed-off-by: Jerome Luckenbach <github@luckenba.ch>
2022-12-14 16:52:43 +01:00
rossbuggins
80804a59b0
How to support OpenWeatherMap one call api 3.0. (#13414)
Add OpenCall API version property.

Allowing for version 3.0 API to be set.

Signed-off-by: Ross Buggins <20972856+rossbuggins@users.noreply.github.com>
2022-09-24 21:15:19 +02:00
Mark Herwege
e9d9149c35
Update README.md (#12691)
Removed first section from README. These are not rendered in the inline documentation and make the documention (More...) of the binding inside OH show the raw text.
2022-05-06 23:08:08 +02:00
Oliver Raible
02fffccdad
[openweathermap]: Fix NPE on OneCall-API (#125740) and reduce min refreshInterval to support paid plans (#11255)
* fix NullPointerException at OneCall-API
* reduce min refreshInterval from 10 to 1 min to support paid plans

Signed-off-by: ehora <oliver.raible@yapoware.com>
2021-09-20 07:48:19 +02:00
Jerome Luckenbach
266b4d81a4
[openweathermap] Add correct default parameter. (#10739)
Signed-off-by: Jerome Luckenbach <github@luckenba.ch>
2021-05-23 00:27:54 +02:00
mlommers
9441cfffe8
[openweathermap] Updated string formatting example for UVindex (#10633)
Fixes #10629

Signed-off-by: mlommers <mlommers@hotmail.com>
2021-05-02 23:02:46 +02:00
Christoph Weitkamp
e0f5e858c7
[openweathermap] Added One Call API weather warnings (#10435)
* Added One Call API weather warnings

Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>

* Changed Channel title to event

Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2021-04-09 22:59:25 +02:00
Christoph Weitkamp
b1e48e0db9
[openweathermap] Added support for Air Pollution API (#10343)
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2021-03-27 20:04:02 +01:00
Christoph Weitkamp
04da89cc4f
[openweathermap] Added hint about deprecation of UV Index API (#10326)
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2021-03-15 23:25:32 +01:00
Holger Friedrich
e4982169de
[openweathermap] Adapt channels dew-point and visibility in daily forecast (#9497)
* Fix typos in example code
* One Call API: add channe dew-point for daily forecast
* One Call API: remove channel visibility in daily forecast as not included
  in data

Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2020-12-24 12:01:15 +01:00
Wolfgang Klimt
6afbe23ea6
[openweathermap] Add support for One Call API #7308 (#9062)
* OH 3.0 version of the Openweathermap Onecall API Binding extension

Signed-off-by: wolfii <wolfgang.klimt@consol.de>
2020-11-30 12:09:20 -08:00
Kai Kreuzer
6df6783b60 added migrated 2.x add-ons
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2020-09-21 03:37:19 +02:00