Commit Graph

63 Commits (e32f71780eca7f991797323489b4bcaed912c015)

Author SHA1 Message Date
Wouter Born 8672ed0208
Start license headers with `/*` instead of `/**` (#18061)
Prevents JavaDoc tooling issues because these tools check comments starting with `/**`.

Signed-off-by: Wouter Born <github@maindrain.net>
2025-01-07 22:33:03 +01:00
Wouter Born d6476042ec
Update license headers to 2025 (#18015)
* Update license headers to 2025

Signed-off-by: Wouter Born <github@maindrain.net>
2025-01-02 00:30:12 +01:00
Jacob Laursen 225ebd9c83 Simplify DateTimeType handling for OpenWeatherMap
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2024-12-19 11:56:36 +01:00
openhab-bot 93e0723bbb
New Crowdin updates (#17873)
* New translations openweathermap.properties (French)
* New translations tasmotaplug.properties (French)
* New translations mail.properties (French)
* New translations exec.properties (French)
* New translations map.properties (French)
* New translations exec.properties (French)
2024-12-10 15:48:10 +01:00
lsiepel 1e007cd305
[openweathermap] Fix `NullPointerException` (#17189)
* Fix compilation warnings

Signed-off-by: Leo Siepel <leosiepel@gmail.com>
2024-09-08 21:26:59 +02:00
openhab-bot 577c73af0e
New Crowdin updates (#16967)
* New translations volumio.properties (French)
* New translations astro.properties (Finnish)
* New translations chromecast.properties (Finnish)
* New translations icloud.properties (Finnish)
* New translations tradfri.properties (Finnish)
* New translations icalendar.properties (Finnish)
* New translations dali.properties (Finnish)
* New translations fmiweather.properties (Finnish)
* New translations modbus.properties (Finnish)
* New translations mybmw.properties (Finnish)
* New translations netatmo.properties (Finnish)
* New translations rollershutter.properties (Finnish)
* New translations vat.properties (Finnish)
* New translations avmfritz.properties (Italian)
* New translations enigma2.properties (Italian)
* New translations astro.properties (Dutch)
* New translations openweathermap.properties (Dutch)
* New translations dsmr.properties (Dutch)
* New translations systeminfo.properties (Dutch)
* New translations unifi.properties (Dutch)
* New translations jsscripting.properties (Dutch)
* New translations inmemory.properties (Dutch)
* New translations mapdb.properties (Dutch)
* New translations rrd4j.properties (Dutch)
* New translations smhi.properties (Swedish)
* New translations plex.properties (Italian)
* New translations openwebnet.properties (Italian)
* New translations solarforecast.properties (Finnish)
* New translations nikohomecontrol.properties (Dutch)
* New translations emotiva.properties (Italian)
* New translations volumio.properties (Italian)
* New translations siemenshvac.properties (Italian)
2024-07-01 17:32:59 +02:00
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
Jacob Laursen 2f7ad5f62e
Provide unit hints for humidity/noise/volume channels (#16614)
* Provide unit hints for humidity channel types

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>

* Provide unit hints for noise/volume channel types

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>

---------

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2024-04-07 14:08:53 +02:00
openhab-bot c4f166dcdc
New translations openweathermap.properties (Italian) (#16469) 2024-02-29 03:09:11 +01: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 64801798d8
[openweathermap] Finish clean-up & Fix OneCall Forecast Thing channel creation (#16416)
* [openweathermap] Clean-Up config.xml

Remove config description for removed UV Index Thing.

* [openweathermap] Fix OneCall Thing creates to many channels

The default setting is to create 0 minutes, 12 hours and 6 days of forecast channels.
When creating a new OneCall Thing, actually 60 minutes, 24 hours and 8 days of forecast were created due to the thing-types, but those not needed (as determined by the configuration) were not removed.

Signed-off-by: Florian Hotze <florianh_dev@icloud.com>
2024-02-18 00:12:21 +01:00
openhab-bot 8d7c508cb5
New translations openweathermap.properties (Italian) (#16414) 2024-02-15 22:54:48 +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
Jacob Laursen daea030c11
Refactor java.util.Date usages to java.time.Instant (#16239)
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2024-01-13 17:12:49 +01:00
Jacob Laursen f4596f581e
Update license headers to 2024 (#16168)
* Update copyright year in configuration
* Update license headers
* Manually update nibeheatpump headers (.cpp/.h/.ino)
* Manually update smsmodem header
* Manually update hueemulation header
* Manually update addon-header.xml header

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2024-01-01 18:14:57 +01:00
openhab-bot 27991324e6
New Crowdin updates (#16074)
* New translations energidataservice.properties (Danish)
* New translations openweathermap.properties (Italian)
2023-12-17 14:56:50 +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
Holger Friedrich 38cba518cd
Declare connection on few bindings (#14777)
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2023-04-10 15:52:58 +02:00
openhab-bot a6a801c28f
New Crowdin updates (#14597)
* New translations openweathermap.properties (Italian)
* New translations netatmo.properties (Italian)
* New translations qolsysiq.properties (Italian)
* New translations astro.properties (German)
* New translations astro.properties (Italian)
* New translations danfossairunit.properties (Danish)
2023-03-13 22:22:53 +01:00
J-N-K 89d0689e36
fix i18n for bindings (#14235)
Also-By: Jacob Laursen <jacob-github@vindvejr.dk>
Signed-off-by: Jan N. Klug <github@klug.nrw>
2023-01-21 12:14:51 +01:00
J-N-K 5f8214f08a
Adapt to core changes (addon.xml) (#13289)
Signed-off-by: Jan N. Klug <github@klug.nrw>
2023-01-15 20:31:42 +01:00
Jacob Laursen 4dd6d3a8a2
Update license headers to 2023 (#14154)
* Update copyright year in configuration
* Update license headers

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2023-01-06 09:49:54 +01:00
openhab-bot 3c306e7c06
New Crowdin updates (#13474)
* New translations openweathermap.properties (French)

* New translations openuv.properties (French)

* New translations openhabcloud.properties (French)

* New translations ecowatt.properties (French)
2022-10-02 12:33:47 +02:00
openhab-bot 24d5f2ddc7
New Crowdin updates (#13448)
* New translations openwebnet.properties (German)
* New translations sonos.properties (German)
* New translations openhabcloud.properties (German)
* New translations hueemulation.properties (German)
* New translations epsonprojector.properties (German)
* New translations hpprinter.properties (German)
* New translations http.properties (German)
* New translations knx.properties (German)
* New translations lcn.properties (German)
* New translations magentatv.properties (German)
* New translations onkyo.properties (German)
* New translations fineoffsetweatherstation.properties (German)
* New translations openweathermap.properties (German)
2022-09-26 23:04:07 +02: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
Hans Böhm cb60d891fb
[openweathermap] Fix display of alert data (#12697)
* fix display of alert data
* improve javadoc
* add javadoc to updateMinutelyForecastChannel

Signed-off-by: Hans Böhm <h.boehm@gmx.at>
2022-05-07 19:01:38 +02:00
lolodomo 80a959e370
[openweathermap] Ignore disabled things (#12686)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-05-05 20:16:07 +02:00
openhab-bot cd1bf9c950
New Crowdin updates (#12523)
* New translations digitalstrom.properties (German)

* New translations dwdpollenflug.properties (German)

* New translations openweathermap.properties (French)

* New translations rotel.properties (French)

* New translations elroconnects.properties (French)

* New translations prowl.properties (French)
2022-03-27 23:15:52 +02:00
Christoph Weitkamp a517e6e768
[openweathermap] Call Thread.currentThread().interrupt() on InterruptedException (#12314)
* Call Thread.currentThread().interrupt() on InterruptedException

Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2022-02-20 12:35:51 +01:00
Christoph Weitkamp bc7e01726f
[openweathermap] Code cleanup (#12311)
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2022-02-18 08:47:35 +01:00
lolodomo 78a5d5d6ad
[openweathermap] Cleanup semantic tags (#12285)
Related to #12262

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-02-13 21:35:20 +01:00
lolodomo 99cfb65aba
[openweathermap] Semantics added to channel types (#10972)
Also fix few categories to use only official categories

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-02-08 19:06:25 +01:00
openhab-bot 344a4ceae3
New Crowdin updates (#11960)
* New translations openweathermap.properties (Italian)

* New translations openweathermap.properties (German)

* New translations icalendar.properties (Italian)

* New translations network.properties (German)

* New translations atlona.properties (Italian)

* New translations yeelight.properties (Italian)

* New translations yioremote.properties (Italian)

* New translations astro.properties (German)

* New translations deconz.properties (German)

* New translations deconz.properties (Italian)

* New translations pollytts.properties (German)

* New translations mqtt.properties (Italian)

* New translations publictransportswitzerland.properties (Italian)

* New translations mqtt.properties (Italian)

* New translations mqtt.properties (Italian)

* New translations ipp.properties (German)
2022-01-14 23:30:41 +01:00
Hilbrand Bouwkamp da59cdd255
Update license headers to 2022 (#11973)
Signed-off-by: Hilbrand Bouwkamp <hilbrand@h72.nl>
2022-01-06 18:14:47 +01:00
openhab-bot 3f54327d5a
New Crowdin updates (#11890)
* New translations adorne.properties (German)
* New translations ahawastecollection.properties (German)
* New translations airquality.properties (German)
* New translations airvisualnode.properties (German)
* New translations amazonechocontrol.properties (German)
* New translations astro.properties (Finnish)
* New translations astro.properties (French)
* New translations bosesoundtouch.properties (German)
* New translations chromecast.properties (German)
* New translations denonmarantz.properties (German)
* New translations exec.properties (German)
* New translations hue.properties (French)
* New translations icalendar.properties (German)
* New translations jruby.properties (German)
* New translations jruby.properties (Italian)
* New translations luxtronikheatpump.properties (German)
* New translations mielecloud.properties (German)
* New translations openuv.properties (French)
* New translations openweathermap.properties (German)
* New translations phc.properties (German)
* New translations powermax.properties (French)
* New translations pushsafer.properties (German)
* New translations rotel.properties (French)
* New translations tradfri.properties (French)
2022-01-03 16:00:47 +01:00
Christoph Weitkamp dee9ab891f
[openweathermap] Improved exception handling (#11949)
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2022-01-03 14:00:25 +01:00
openhab-bot fa92077d95
New Crowdin updates (#11807)
* New translations avmfritz.properties (German)

* New translations js.properties (German)

* New translations scale.properties (German)

* New translations openweathermap.properties (French)

* New translations astro.properties (French)

* New translations hue.properties (French)

* New translations powermax.properties (French)
2021-12-19 12:14:34 +01:00
openhab-bot 69c130e1ba
New Crowdin updates (#11762)
* New translations openweathermap.properties (German)

* New translations openweathermap.properties (German)

* New translations urtsi.properties (German)
2021-12-12 18:02:05 +01:00
openhab-bot a1cded9fa3
New Crowdin updates (#11712)
* New translations ambientweather.properties (Italian)

* New translations amazondashbutton.properties (Italian)

* New translations openwebnet.properties (Italian)

* New translations lghombot.properties (Swedish)

* New translations playstation.properties (Swedish)

* New translations urtsi.properties (German)

* New translations chromecast.properties (German)

* New translations openhabcloud.properties (French)

* New translations openhabcloud.properties (Hungarian)

* New translations openhabcloud.properties (German)

* New translations logreader.properties (German)

* New translations googletts.properties (German)

* New translations avmfritz.properties (German)

* New translations thingstate.properties (French)

* New translations sncf.properties (French)

* New translations openweathermap.properties (German)

* New translations twitter.properties (French)

* New translations nikohomecontrol.properties (French)

* New translations gce.properties (French)

* New translations synopanalyzer.properties (French)

* New translations vigicrues.properties (French)

* New translations airquality.properties (French)

* New translations meteoblue.properties (French)

* New translations xmltv.properties (French)

* New translations sncf.properties (French)
2021-12-11 18:03:51 +01:00
lolodomo dd4019c172
[openweathermap] Internationalization of discovery results (#11484)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2021-11-01 15:12:23 +01:00
Christoph Weitkamp f24d3d0669
Added default i18n properties file (#11444)
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2021-10-24 20:46:54 +02:00
lolodomo 60b4dad600
[openweathermap] Bridge status set to ONLINE when no attached things (#11360)
Fix #11191

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2021-10-11 13:15:46 +02:00
openhab-bot 0ce4e8cb56
New Crowdin updates (#10570)
Signed-off-by: Wouter Born <github@maindrain.net>
2021-10-03 22:14:10 +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
Christoph Weitkamp 8a774cb1c5
[openweathermap] Fix ozone mapping in DTO (#11086)
- Fix ozone mapping in DTO

Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2021-08-08 14:22:13 +02:00
Christoph Weitkamp 14516fe330
[openweathermap] Added missing properties for translations, Changed fiel encoding to UTF-8 (#10571)
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2021-04-24 12:59:02 +02:00
Wouter Born 0c36650179
Avoid star imports and add missing braces (#10521)
Fixes the following SAT findings:

* AvoidStarImportCheck (125)
* NeedBracesCheck (39)

Signed-off-by: Wouter Born <github@maindrain.net>
2021-04-15 16:12:05 +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
Wouter Born 580f293766
Resolve itest runbundles for Gson and Commons Lang upgrades and fix JsonParser deprecations (#10345)
* Resolve itest runbundles for Gson and Commons Lang upgrades
* Fix JsonParser deprecations too
* Fix feature verification

Signed-off-by: Wouter Born <github@maindrain.net>
2021-03-18 12:15:15 +01:00