Commit Graph

3357 Commits

Author SHA1 Message Date
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
Doug Culnane
b3d3d20b8b
[renault] Improve handling of HTTP 502 responses. (#14586)
Signed-off-by: Doug Culnane <doug@culnane.net>
2023-03-13 07:51:27 +01:00
Wouter Born
9aa72abd82
Resolve runbundles and fix tests (#14588)
Related to:

* openhab/openhab-core#3433
* openhab/openhab-core#3446
* openhab/openhab-core#3450

Some tests were updated because private lifecycle methods (annotated with @BeforeAll, @AfterAll, @BeforeEach, or @AfterEach) now lead to an exception.

See: https://junit.org/junit5/docs/current/release-notes/index.html#deprecations-and-breaking-changes-3

Signed-off-by: Wouter Born <github@maindrain.net>
2023-03-12 23:00:58 +01:00
Kai Kreuzer
9fedfc5d61
[metrics] Remove outdated precondition (#14594) 2023-03-12 22:01:08 +01:00
Wouter Born
2b63b984dc
[shelly] Fix missing /shelly/manager (#14592)
Using Whiteboard annotations seems to fix this issue.

Signed-off-by: Wouter Born <github@maindrain.net>
2023-03-12 20:42:12 +01:00
openhab-bot
6e0fe0e0ad
New translations bluetooth.properties (Italian) (#14591) 2023-03-12 19:29:46 +01:00
Jacob Laursen
63c65e72de
[danfossairunit] Unify thing labels (#14577)
* Unify thing labels
* Specify connection type

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2023-03-12 17:33:28 +01:00
joerg1985
709dc49fbe
Support for RadonEye with v2.x.x firmware (#14549)
Signed-off-by: Jörg Sautter <joerg.sautter@gmx.net>
2023-03-12 10:48:45 +01:00
Wouter Born
59b3ed33df
[groovyscripting] Update Groovy to 4.0.9 and support slurpers (#14499)
Updates Groovy from 4.0.7 to 4.0.9.

For release notes, see:

https://groovy-lang.org/changelogs/changelog-4.0.8.html
https://groovy-lang.org/changelogs/changelog-4.0.9.html

Adds dependencies and service loader config so JSON, XML and YAML can be more easily parsed using the JsonSlurper, XmlSlurper and YamlSlurper.

Signed-off-by: Wouter Born <github@maindrain.net>
2023-03-11 21:15:06 +01:00
Stian Kjoglum
ac7993d329
Enhancement: Query for subscription url every reconnect attempt (#14573)
Signed-off-by: kjoglum <stiankj@online.no>
2023-03-11 17:55:42 +01:00
Jacob Laursen
75d195465e
[renault] Add instructions for adding channels (#14572)
* Add instruction for adding channel

---------

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2023-03-11 10:55:49 +01:00
Mike Major
53bbda267f
[dlinksmarthome] Reboot device daily following shutdown of cloud service (#14479)
* Reboot device

---------

Signed-off-by: Mike Major <mike_j_major@hotmail.com>
2023-03-11 10:49:30 +01:00
lsiepel
38915f5009
Remove org.apache.common (#14437)
Signed-off-by: lsiepel <leosiepel@gmail.com>
2023-03-10 23:39:18 +01:00
lsiepel
039e3aa73a
[bsblan] Remove org.apache.commons (#14515)
* Replace org.apache.commons with org.unbescape

Signed-off-by: lsiepel <leosiepel@gmail.com>
2023-03-10 23:37:45 +01:00
fifipil909
8e9bc3124e
[renault] Add channel for pausing/resuming charging (#14527)
* Adding Pause-Resume Endpoint

Signed-off-by: fifipil909 <vincent.pilate@gmail.com>
2023-03-10 23:32:24 +01:00
openhab-bot
505a651992
New translations mynice.properties (Italian) (#14569) 2023-03-10 23:31:26 +01:00
Felix Schneider
13ab221e09
Remove unused headings (#14571)
Remove the unused headings for generation 2. There is probably a manual missing for gen 2, but while this is the case the headlines can be removed

Signed-off-by: Felix Schneider <fs@felix-schneider.org>
2023-03-10 23:31:07 +01:00
Simon Spielmann
f138cd35e2
[iCloud] Ignore HTTP errors != 400 & >= 500 for 2-FA authentication (#14563)
* Ignore HTTP errors != 400 for 2-FA authentication

---------

Signed-off-by: Simon Spielmann <simon.spielmann@gmx.de>
2023-03-10 21:53:35 +01:00
Jacob Laursen
dfb172df2a
Add instruction for channel removal (#14473)
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2023-03-10 15:28:52 +01:00
Gaël L'hopital
c385ac0772
[Netatmo] Netatmo documentation (#14567)
* Updating Netatmo documentation

---------

Signed-off-by: clinique <gael@lhopital.org>
2023-03-10 13:17:48 +01:00
Gaël L'hopital
3b5dfb11a0
[mynice] Binding for IT4Wifi module (Nice gate doors) (#12940)
Signed-off-by: clinique <gael@lhopital.org>
2023-03-10 10:33:39 +01:00
Gaël L'hopital
d130595f85
[Netatmo] Modification of the tokenRefresh handling process (#14548)
* Modification of the tokenRefresh handling process
* Storing refreshToken in userdata/netatmo

---------

Signed-off-by: clinique <gael@lhopital.org>
2023-03-10 10:18:30 +01:00
Jacob Laursen
013422af32
Add missing addon.xml (#14559)
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2023-03-09 17:19:06 +01:00
Zhivka Dimova
4069d854fb
[enocean] Fix condition in getPositionData-D2_05_00 (#14558)
Fix #14528

Signed-off-by: Zhivka Dimova <zhivka.dimova@myforest.net>
2023-03-09 13:08:36 +01:00
mueller-ma
cc51400bbd
Update docs of androiddebugbridge (#14553)
* Use code fence for intents
* Fix Item type of awake-state
* Pretty print JSON and add Netflix

Signed-off-by: mueller-ma <mueller-ma@users.noreply.github.com>
2023-03-09 08:22:27 +01:00
jimtng
afebf08042
[jrubyscripting] Upgrade JRuby to 9.4.2.0 (#14556)
This is a major version upgrade from 9.3.x, raising the compatibility level up from Ruby 2.6 to Ruby 3.1

Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
2023-03-09 08:19:10 +01:00
Wouter Born
81f87385f6
[neeo] Fix Servlet exceptions due to non-unique names (#14554)
It seems that Pax Web nowadays checks that the Servlet names are unique.

Fixes #14545

Signed-off-by: Wouter Born <github@maindrain.net>
2023-03-08 20:19:13 +01:00
Gaël L'hopital
90b2279a29
[Netatmo] Adding Carbon Monoxide sensor (#14543)
* Added Carbon Monoxide detector

---------

Signed-off-by: clinique <gael@lhopital.org>
2023-03-08 19:27:35 +01:00
Wouter Born
50cdd02447
[ipcamera] Make sure created Servlet supports async (#14552)
Fixes the folowing errors:

```
HTTP ERROR 500 java.lang.IllegalStateException: !asyncSupported: NotAsync:org.ops4j.pax.web.service.spi.servlet.OsgiInitializedServlet@536b0858
URI:	/ipcamera/192168493/ipcamera.jpg
STATUS:	500
MESSAGE:	java.lang.IllegalStateException: !asyncSupported: NotAsync:org.ops4j.pax.web.service.spi.servlet.OsgiInitializedServlet@536b0858
SERVLET:	org.openhab.binding.ipcamera.internal.servlet.CameraServlet
CAUSED BY:	java.lang.IllegalStateException: !asyncSupported: NotAsync:org.ops4j.pax.web.service.spi.servlet.OsgiInitializedServlet@536b0858
Powered by Jetty:// 9.4.50.v20221201
```

See:

* https://community.openhab.org/t/openhab-4-0-snapshot-discussion/142322/226
* https://groups.google.com/g/ops4j/c/E9p7tPydPmo
* https://github.com/ops4j/org.ops4j.pax.web/issues/1767

Signed-off-by: Wouter Born <github@maindrain.net>
2023-03-08 17:20:08 +01:00
lsiepel
5c0b5711a8
[gpstracker] Add (optional) altitude to location channel (#14396)
* Add (optional) altitude to location channel
* Add null annotations
* Extend toString with altitude

Signed-off-by: lsiepel <leosiepel@gmail.com>
2023-03-07 23:23:30 +01:00
Andrew Fiddian-Green
c9d5784d36
[velux] Update documentation (#14478)
* [velux] update documentation

Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
2023-03-07 23:17:52 +01:00
Mark Hilbush
dba5550ae6
[sleepiq] Add thing type update instructions (#14460)
* Add thing type update instructions
* Move thingTypeVersion to correct thing type
* Add groupIds to update instructions

Signed-off-by: Mark Hilbush <mark@hilbush.com>
2023-03-07 23:13:18 +01:00
lolodomo
c8cdd2dfa5
[tesla] Stop the WebSocket client when disposing the thing handler (#14483)
Fix #14341

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2023-03-07 20:50:37 +01:00
Cody Cutrer
22b28bf674
[mqtt.generic] separate command parsing from cached value updating (#12238)
* [mqtt.generic] separate command parsing from cached value updating

fixes #12150

Previously, Value.update would parse the command, _and_ update the cached
value with that command. Which means that when sending a command towards
MQTT (instead of processing an update from MQTT), the cached value was
unintentionally updated. This prevented the REFRESH command from returning
the most recent value received from the device.

Separating the two concerns also makes the test more obvious what they are
testing, and vastly simplified a kludgy workaround that RollershutterValue
was using to be able to process Commands that aren't States.

Signed-off-by: Cody Cutrer <cody@cutrer.us>

* [mqtt.generic] split Value::parseCommand into parseMessage

so that a particular value type subclass can have varying implementations
if it desires

---------

Signed-off-by: Cody Cutrer <cody@cutrer.us>
2023-03-07 19:33:17 +01:00
Holger Friedrich
7bd99df364
[knx] Improve reading of device properties (#14050)
* [knx] Improve reading of device properties
* [knx] DD2 logging only in debug mode

Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2023-03-07 19:31:39 +01:00
Holger Friedrich
7ec7de55e3
[knx] Improve thread safety, null-analysis (#14509)
Carryover from smarthomej/addons#13 and smarthomej/addons#46, smarthomej/addons#60.

Also-by: Jan N. Klug <github@klug.nrw>
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2023-03-06 22:34:16 +01:00
lsiepel
539f49e4ec
[bluetooth] Null annotations and SAT (#13967)
* null annotation, checkstyle, dependency

Signed-off-by: Leo Siepel <leosiepel@gmail.com>
2023-03-06 09:38:57 +01:00
lsiepel
ca09f71a6c
[bluetooth.bluegiga] Refactored and added null annotations (#13974)
* All SAT warnings

Signed-off-by: Leo Siepel <leosiepel@gmail.com>
2023-03-05 21:29:10 +01:00
openhab-bot
a3c621fffc
New Crowdin updates (#14541)
* New translations iCloud.properties (German)
* New translations miele.properties (German)
* New translations jruby.properties (German)
* New translations mqtt.properties (German)
* New translations influxdb.properties (German)
* New translations homekit.properties (German)
* New translations amazonechocontrol.properties (German)
* New translations amazonechocontrol.properties (German)
2023-03-05 20:25:51 +01:00
J-N-K
6da85a4757
[influxdb] Fix query for InfluxDB2 (#14542)
Signed-off-by: Jan N. Klug <github@klug.nrw>
2023-03-05 16:04:51 +01:00
openhab-bot
ed717c2c95
New Crowdin updates (#14531)
* New translations systeminfo.properties (German)
* New translations tado.properties (German)
* New translations bluetooth.properties (German)
* New translations bluetooth.properties (German)
* New translations mybmw.properties (German)
* New translations gardena.properties (German)
* New translations astro.properties (German)
* New translations avmfritz.properties (German)
* New translations chromecast.properties (German)
* New translations hue.properties (German)
* New translations logreader.properties (German)
* New translations icalendar.properties (German)
* New translations max.properties (German)
* New translations comfoair.properties (German)
* New translations denonmarantz.properties (German)
* New translations deutschebahn.properties (German)
* New translations dwdpollenflug.properties (German)
* New translations ecotouch.properties (German)
* New translations epsonprojector.properties (German)
* New translations exec.properties (German)
* New translations homematic.properties (German)
* New translations hpprinter.properties (German)
* New translations http.properties (German)
* New translations magentatv.properties (German)
* New translations awattar.properties (German)
2023-03-04 17:20:03 +01:00
Jonas Bötsch
2ec097d529
[homekit] Update README.md (#14521)
Tilted blinds do not work when using the documented config. 
Changed it to a working example.
Refer here: https://community.openhab.org/t/homekit-addon-adjustable-blinds-not-working-anymore/144869
2023-03-03 15:12:44 +01:00
lsiepel
36201dd6d1
[plugwise] Remove org.apache.common (#14432)
Signed-off-by: lsiepel <leosiepel@gmail.com>
2023-03-03 15:11:08 +01:00
darthbevis
660ec10d4b
[ecobee] Increase temperature precision to decimal (#14517)
* Update EcobeeUtils.java

Correcting rounding of setHold values so we have 0.1°F tolerance instead of 1°F.  Makes it easier to use in °C

Signed-off-by: darthbevis <darthbevis@gmail.com>
2023-03-02 20:58:34 +01:00
J-N-K
44634a6e89
[exec] Fix whitelist not read (#14522)
Signed-off-by: Jan N. Klug <github@klug.nrw>
2023-03-02 20:57:02 +01:00
Wouter Born
b2bf7256db
Upgrade to Karaf 4.4.3 (#14040)
* Rework Servlets to use Http Whiteboard annotations in favor of proprietary `org.openhab.core.io.http.servlet` classes
* Resolve itest runbundles
* Fix dependency issues
* Catch proper exception when starting hueemulation UpnpServer

Also-by: Jan N. Klug <github@klug.nrw>
Signed-off-by: Wouter Born <github@maindrain.net>
2023-03-01 18:33:50 +01:00
openhab-bot
db436a1dad
New translations rollershutter.properties (Italian) (#14514) 2023-02-27 20:08:51 +01:00
petero-dk
e9a1dd5b27
[bluetooth] Add support for RadonEye (BLE) device (#11958)
Signed-off-by: Peter Obel <peter@ecomerc.com>
2023-02-27 18:59:50 +01:00
Hilbrand Bouwkamp
03e3b6aae2
[dsmr] Improved error handling corrupt messages, discovery additional key bug fix (#14325)
* [dsmr] Improved error handling to better handle corrupt messages.

- Fix incorrect additional key in bridge discovery service.
- When corrupted P1 telegram is received don't set directly to offline, but let the watchdog do this if to many times this happens.
This makes it a bit more lenient for receiving a bad telegram once in a while. Because some connections are not that stable.
- Simplified error handling, and listeners to one enum/interface to make it more cleaner.

Signed-off-by: Hilbrand Bouwkamp <hilbrand@h72.nl>
2023-02-27 17:36:02 +01:00
Gaël L'hopital
c95380f503
[Netatmo] Floodlight issue on Presence Camera (#14492)
* Solving issue #14458

Signed-off-by: clinique <gael@lhopital.org>

* Removes the usage of "app.netatmo.net" since api now holds these entry points.
I think it was the origin of malfunction of floodlight (to be controlled by somebody who has one).

--------

Signed-off-by: clinique <gael@lhopital.org>
2023-02-27 08:59:20 +01:00