Commit Graph

4073 Commits

Author SHA1 Message Date
Holger Friedrich 1ca0f643a0
[knx] Fix typos in code comments (#15839)
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2023-11-03 23:16:41 +01:00
lsiepel fddacb4c80
Warning and codeanalysis (#15828)
Signed-off-by: Leo Siepel <leosiepel@gmail.com>
2023-11-03 22:51:23 +01:00
lsiepel 7724f16e7c
gson fields alias (#15829)
Signed-off-by: Leo Siepel <leosiepel@gmail.com>
2023-11-03 22:05:31 +01:00
Tim 888f4388a3
[sonnen] Fix channel types, Energy should be Power (#15384)
Also adapt the documentation and drop the batteryFeedIn in the documentation
which is not part of the binding.

Fix #15365

Signed-off-by: Tim Lochmüller <tim@fruit-lab.de>
2023-11-03 21:29:39 +01:00
uqs 3daede06e4
[astro] Update README.md (#15648)
Help users detangle #start, #end and #event trigger channels and their
respective offsets. I was struggling with this and it took reading
https://community.openhab.org/t/solved-open-rollershutters-based-on-astro-binding-with-offset-does-not-work/123336
to figure out where I went wrong.

While here, maybe fix the Markdown rendering of QuantityType<Intensity>

Signed-off-by: Ulrich Spörlein <uspoerlein@gmail.com>
2023-11-03 20:55:20 +01:00
Simon Spielmann 538a455bfd
[keba] Split channel ENABLED to USER and SYSTEM channels (#15531)
* Split channel ENABLED to USER and SYSTEM channels

---------

Signed-off-by: Simon Spielmann <simon.spielmann@gmx.de>
2023-11-03 20:48:39 +01:00
GiviMAD 94d9fb7d36
[androiddebugbridge] Reconnect on max timeouts and improve volume channel (#15788)
* [androiddebugbridge] Reconnect on max timeouts and improve volume channel

---------

Signed-off-by: Miguel Álvarez <miguelwork92@gmail.com>
2023-11-03 20:45:48 +01:00
Christian Kittel cb74d85eb0
Adjust handling empty values (#15760)
Signed-off-by: Christian Kittel <ckittel@gmx.de>
2023-11-03 19:35:19 +01:00
Jacob Laursen 2df66bfee2
Process operations asynchronously (#15801)
Resolves #14927

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2023-11-03 19:29:05 +01:00
Stefan Roellin b503382e93
[pilight] Fix background discovery in case of multiple network interfaces (#15791)
If there were multiple network interfaces and the DatagramSocket.receive
timed out an exception was thrown and the remaining network interfaces
were not considered anymore.

Signed-off-by: Stefan Roellin <stefan@roellin-baumann.ch>
2023-11-03 19:08:16 +01:00
lsiepel 532476a9c6
[networkupstools] Add battery.temperature channel (#15812)
* Add channel battery-temperature

---------

Signed-off-by: Leo Siepel <leosiepel@gmail.com>
2023-11-03 18:47:40 +01:00
Gaël L'hopital 15a673a027
Avoids NPE if no station provided by API (#15832)
Signed-off-by: clinique <gael@lhopital.org>
2023-11-03 18:17:36 +01:00
Jacob Laursen 740f80fff1
Reduce log level for logging of unknown resource types (#15815)
Resolves #15468

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2023-11-03 14:02:58 +01:00
morph166955 cf6f531ab3
[sonos] Add TrueHD5.1 and normalize Atmos (#15831)
* Add TrueHD5.1 and normalize Atmos

---------

Signed-off-by: Ben Rosenblum <rosenblumb@gmail.com>
2023-11-03 08:47:55 +01:00
Hakan Tandogan 59c3135ccb
[tesla] Add channels for software update (#15816)
* [tesla] Add value holders for Software Update state

Signed-off-by: Hakan Tandogan <hakan@tandogan.com>
2023-11-01 21:24:36 +01:00
mueller-ma e2b03dea75
Fix typo in README.md (#15826)
Signed-off-by: mueller-ma <mueller-ma@users.noreply.github.com>
2023-10-31 19:58:11 +01:00
Jeremy Rumpf b24f3a2feb
[GPIO] Update GPIO binding to fix issues and provide new functionality (#13643)
* [GPIO] Update the GPIO binding to fix issues and provide new functionality.

* Add the ability to recover from network disconnects to pigpiod.
* Provide actions to what the binding does on pigpiod connect/disconnect/reconnect.
* Provide the ability to pulse outputs in a one-shot/momentary fashion.
* Provide edge level configuration for gpio outputs.
* Fix automated style checks.
* Attempt to squash jenkins build warnings/errors.
* Correct Null annotations and adjust log levels in certain areas.
* Fix bracing per checkstyle review.
* Normalize gpiod/pigpiod to pigpiod. openhab/openHAB normalized to OpenHAB.
* Fix a copy/paste error. Output channels should not be referred as input. Attempt to clarify plurals.
* Convert strings to defined constants.
* Convert pulse command strings to binding constants.
* Java17 instanceof pattern matching.
* Nit, fix missed pulse command string to binding constant.
* Add missing quotes in demo.things file definition.

Workaround #11039
Fixes #11038
Fixes #13376

Signed-off-by: Jeremy Rumpf <rumpf.99@gmail.com>
2023-10-30 21:20:42 +01:00
lsiepel 597f01efe1
[sonyaudio] small cleanup (#15823)
* More SAT fixes

Signed-off-by: Leo Siepel <leosiepel@gmail.com>
2023-10-29 21:57:30 +01:00
mlobstein 45760bff62
Register connection in Kaleidescape System log (#15820)
Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>
2023-10-29 11:13:55 +01:00
Marcel b3da0511b1
[miio] readme hyperlink fix (#15814)
* Minor formatting
* Fix hyperlink for robo rock vacuums channels

Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
2023-10-29 11:07:10 +01:00
lsiepel e761240bf0
adapt to core StringUtils (#15784)
Signed-off-by: Leo Siepel <leosiepel@gmail.com>
2023-10-28 14:39:27 +02:00
lsiepel ab5ebbc41b
[enturno] Remove org.apache.commons (#14406)
* Remove org.apache.commons
* Fix warnings

Also-by: Jacob Laursen <jacob-github@vindvejr.dk>
Signed-off-by: Leo Siepel <leosiepel@gmail.com>
2023-10-27 20:52:54 +02:00
Jacob Laursen a357f7f0cb
Upgrade json to 20231013 (#15745)
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2023-10-27 20:13:03 +02:00
Jacob Laursen 1702631303
[hue] Add channels for time of last sensor update (API v2) (#15552)
* Add channels for last motion/temperature sensor update (API v2)
* Add channel for last light level sensor update (API v2)
* Add channel for last rotary steps update (API v2)
* Add channel for last button update (API v2)

Resolves #15546

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2023-10-26 23:52:00 +02:00
Gaël L'hopital bdba338f44
Correcting some existing events wrongly associated to Outdoor (weather) module instead of Presence. (#15808)
Adding 'alarm_started' event.

Signed-off-by: clinique <gael@lhopital.org>
2023-10-26 18:57:14 +02:00
Jacob Laursen 8bcbd4598a
Adjust filter for Elnet Midt (#15807)
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2023-10-26 07:25:44 +02:00
Jacob Laursen 0886a24182
[jdbc] Upgrade MySQL Connector/J to 8.1.0 (#15802)
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2023-10-25 07:21:47 +02:00
hamsil 807a14a655
[ekey] Update documentation (#15792)
Adapted README based on my recent experience with the MULTI protocol

Signed-off-by: hamsil <bwal@mail.de>
2023-10-22 17:02:02 +02:00
openhab-bot a09ed8658e
New translations miele.properties (Danish) (#15793) 2023-10-22 11:50:42 +02:00
lsiepel 7975afb7a6
[oceanic] Remove org.apache.common (#15332)
Signed-off-by: Leo Siepel <leosiepel@gmail.com>
2023-10-21 22:39:42 +02:00
lsiepel 3ed22b40f4
[keba] Remove org.apache.commons (#14409)
Signed-off-by: Leo Siepel <leosiepel@gmail.com>
2023-10-21 22:36:12 +02:00
lsiepel 38df4ac713
[neeo] Remove org.apache.common (#14442)
Signed-off-by: Leo Siepel <leosiepel@gmail.com>
2023-10-21 22:25:29 +02:00
Jacob Laursen 089b4152c0
[pushover] Add support for Expiring Messages (#15289)
* Add support for Expiring Messages
* Add action variants with TTL parameter

Resolves #15288

---------

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2023-10-21 13:34:25 +02:00
lsiepel 7d63504eee
adapt to core StringUtils (#15781)
Signed-off-by: Leo Siepel <leosiepel@gmail.com>
2023-10-21 12:03:26 +02:00
lsiepel bf0cc2ba0f
adapt to core StringUtils (#15785)
Signed-off-by: Leo Siepel <leosiepel@gmail.com>
2023-10-21 11:56:27 +02:00
lsiepel 041c30159d
adapt to core StringUtils (#15787)
Signed-off-by: Leo Siepel <leosiepel@gmail.com>
2023-10-21 11:54:50 +02:00
lsiepel 468a245ab8
cleanup regarding to core StringUtils (#15786)
Signed-off-by: Leo Siepel <leosiepel@gmail.com>
2023-10-21 11:48:38 +02:00
openhab-bot 9ce74b264c
New translations speedtest.properties (Italian) (#15790) 2023-10-20 23:58:27 +02:00
morph166955 e9a2976053
Removes extra NEEO from thread name (#15779)
Signed-off-by: Ben Rosenblum <rosenblumb@gmail.com>
2023-10-20 07:44:56 +02:00
lsiepel 7313415ae0
Set explicit timeout for http request (#15505)
* Bondhome
* chatgpt
* electroluxair
* energidataservice
* freeboxos
* gardena
* generacmobilelink
* hdpowerview
* icalendar
* juicenet
* kostalinverter
* liquidcheck
* mcd
* meater
* miele
* mercedesme
* mybmw
* myq
* ojelectronics
* plex
* radiothermostat
* renault
* semsportal
* sensibo
* tapocontrol
* tellstick
* verisure
* vizio

---------

Signed-off-by: lsiepel <leosiepel@gmail.com>
Signed-off-by: Leo Siepel <leosiepel@gmail.com>
2023-10-19 22:30:41 +02:00
MikeTheTux c7568cb206
[speedtest] Add timestamp and result image channel, update thing description (#15278)
* added timestamp channel, updated thing description
* added resultImage

---------

Signed-off-by: Michael Weger <weger.michael@gmx.net>
2023-10-19 22:22:47 +02:00
lsiepel b8805ba687
adapt to core StringUtils (#15770)
Signed-off-by: Leo Siepel <leosiepel@gmail.com>
2023-10-19 21:48:09 +02:00
lsiepel e798ba9406
adapt to core StringUtils (#15769)
Signed-off-by: Leo Siepel <leosiepel@gmail.com>
2023-10-19 21:46:58 +02:00
lsiepel 11a716dfbe
[ecobee] adapt to core StringUtils (#15762)
* adapt to core StringUtils

---------

Signed-off-by: Leo Siepel <leosiepel@gmail.com>
2023-10-19 21:41:22 +02:00
lsiepel e9431a55bd
[jeelink] adapt to core StringUtils (#15771)
Signed-off-by: Leo Siepel <leosiepel@gmail.com>
2023-10-19 21:41:00 +02:00
lsiepel 5395de2548
adapt to core StringUtils (#15761)
Signed-off-by: Leo Siepel <leosiepel@gmail.com>
2023-10-19 21:32:42 +02:00
jimtng fa94100721
[fronius] Support multiple inverters in powerflow data (#15431)
* [fronius] Support multiple inverters in powerflow data

---------

Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
2023-10-19 18:55:00 +02:00
Konstantin Polihronov 18ae9d46ec
[paradoxalarm] Implement detailed partition state (#14618)
* Implement partition detailed state

---------

Signed-off-by: Konstantin Polihronov <polychronov@gmail.com>
2023-10-19 13:10:20 +02:00
Jacob Laursen b4f367cfd7
Clarify priority message documentation (#15734)
Resolves #15733

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2023-10-19 00:39:17 +02:00
niclas18 d63934bcc5
[homematic] Expansion of virtual data channel for all window/door contacts (#15641)
* make VirtualDatapoint belonging ContactSensor for more devices available

---------

Signed-off-by: niclas18 <87126599+niclas18@users.noreply.github.com>
2023-10-18 22:17:35 +02:00
openhab-bot 8b55f02985
New Crowdin updates (#15775)
* New translations energidataservice.properties (Italian)
* New translations energidataservice.properties (Danish)
* New translations sonos.properties (Italian)
2023-10-18 20:16:10 +02:00
Kai Kreuzer 9a85fca6cb
[ipcamera] Handle empty snapshotUrls and XML encoded characters (#15707)
* [ipcamera] Handle empty snapshotUrls and XML encoded characters
* use unescape method from StringUtils

---------

Signed-off-by: Kai Kreuzer <kai@openhab.org>
2023-10-18 19:00:49 +02:00
Jacob Laursen b92f1a241a
[miele] Rename channel `powerConsumption` to `energyConsumption` and set display unit to litres for `waterConsumption` (#15774)
* Rename channel powerConsumption to energyConsumption and set display unit to litres for waterConsumption

---------

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2023-10-18 12:30:18 +02:00
Jacob Laursen d564eb7bee
Add new channel for reduced electricity tax (#15636)
Resolves #15635

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2023-10-18 08:25:00 +02:00
morph166955 729a19a8da
[roku] Add power, powerState, player, and activeAppName (#15542)
* Adds power and powerState.  Updates refresh to allow 1 second refresh.
* Add activeAppName channel
* Add Player channel for transport control

Signed-off-by: Ben Rosenblum <rosenblumb@gmail.com>
2023-10-18 00:10:17 +02:00
lsiepel 74a9de313a
adapt to core StringUtils (#15772)
Signed-off-by: Leo Siepel <leosiepel@gmail.com>
2023-10-18 00:02:06 +02:00
openhab-bot 5582a9a7ce
New translations chatgpt.properties (Italian) (#15768) 2023-10-17 20:33:45 +02:00
Rosi 76268a76d0
[boschindego] Add note that batteryVoltage is not populated correctly (#15764)
Add a note on how to interpret the `batteryChannel` channel - or rather not to use it at all.
2023-10-17 20:33:16 +02:00
Kai Kreuzer 1e090bddae
[ipcamera] Fix warnings and improve logging (#15703)
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2023-10-17 16:03:25 +02:00
Marcel 7cb94f9238
[miio] Add support Mi Robot Vacuum-Mop 2 Pro (ijai.vacuum.v3) (#14210)
Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
2023-10-17 15:57:24 +02:00
Andrew Fiddian-Green a0bc1e0f8b
[hue] Support smart scenes (#15388)
Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
2023-10-17 14:35:21 +02:00
lsiepel a8c1d0927f
[rme] Remove org.apache.common (#14433)
Signed-off-by: Leo Siepel <leosiepel@gmail.com>
2023-10-17 14:22:05 +02:00
Kai Kreuzer 1fca7bfdc6
[chatgpt] Add support for LocalAI and other compatible services (#15385)
* Add support for LocalAI and other compatible services

--------

Signed-off-by: Kai Kreuzer <kai@openhab.org>
2023-10-17 12:30:52 +02:00
Hakan Tandogan 062f7b13eb
[tesla] regenerate i18n file (#15767)
Signed-off-by: Hakan Tandogan <hakan@tandogan.com>
2023-10-17 09:33:22 +02:00
billfor 118afa31fd
[tesla] Fix update timestamp and null exception for offline state (#15756)
Signed-off-by: Bill Forsyth <git@billforsyth.net>
2023-10-17 07:40:50 +02:00
lsiepel 43f5b216f1
adapt to core StringUtils (#15766)
Signed-off-by: Leo Siepel <leosiepel@gmail.com>
2023-10-16 23:43:00 +02:00
lsiepel 381d8ac93b
[sonos] adapt to core StringUtils (#15765)
* adapt to core StringUtils

---------

Signed-off-by: Leo Siepel <leosiepel@gmail.com>
2023-10-16 23:27:31 +02:00
lsiepel 84db35d656
[exec] Remove org.apache.common (#14443)
Signed-off-by: Leo Siepel <leosiepel@gmail.com>
2023-10-16 22:59:29 +02:00
Jacob Laursen eadfd58cd1
Fix authentication after communication error (#15747)
Fixes #15746

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2023-10-16 20:07:52 +02:00
Timotheos Constambeys d2b3f68d2e
[http] Fix brightness (#15751)
* [http] Fix brightness

---------

Signed-off-by: Timotheos Constambeys <timo0190@gmail.com>
2023-10-15 11:24:18 +02:00
Bernd Weymann 09c596cf7d
State pattern with Percent as default for QuantityType:Dimensionless (#15691)
Signed-off-by: Bernd Weymann <bernd.weymann@gmail.com>
2023-10-15 10:48:54 +02:00
Peter Wojciechowski 3c179d3fa7
[lutron] initial submission for RA3 support (#15541)
* [lutron] initial submission for RA3 support
* add parameter to getDevices(), remove getRA3Devices()

---------

Signed-off-by: Peter J Wojciechowski <peterwoj@dwellersoul.com>
2023-10-15 10:41:41 +02:00
Gemertw 57b265574d
Update readme_v2.md (#15656)
Under demo.items the button-last-event channel was of the Number type. I have changed this to String.
In the channels for devices section this was already corrected but is not 'live' yet?

Signed-off-by: Gemertw <59452423+Gemertw@users.noreply.github.com>
2023-10-14 19:35:01 +02:00
Andrew Fiddian-Green 247c0973b6
[hue] Support timed effects (#15408)
Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
2023-10-14 19:30:15 +02:00
Jacob Laursen 4b0c551065
[hue] Fix channel refresh (API v2) (#15736)
* Fix refresh/initial state request

Fixes #15735

* Fix channel updates when thing comes online
Fixes #15669

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
Also-by: Andrew Fiddian-Green <software@whitebear.ch>
2023-10-14 19:18:52 +02:00
GiviMAD 31101685fc
[jellyfin] Upgrade sdk (#15754)
Signed-off-by: Miguel Álvarez <miguelwork92@gmail.com>
2023-10-14 19:11:25 +02:00
Dan Cunningham e8fd791c38
Fixes broken authentication due to changes in the myq cloud api (#15755)
Signed-off-by: Dan Cunningham <dan@digitaldan.com>
2023-10-14 19:05:47 +02:00
openhab-bot 2d92fda0f2
New translations ahawastecollection.properties (German) (#15742) 2023-10-12 22:53:41 +02:00
Hakan Tandogan 74d55c60e1
[tesla] Add channels for active routing (#15705)
Signed-off-by: Hakan Tandogan <hakan@tandogan.com>
2023-10-12 09:25:00 +02:00
Jacob Laursen bbbc77823b
Add discount tariffs (#15737)
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2023-10-12 09:20:52 +02:00
uqs 2797e6f278
[tesla] Remove the minimum 5A charge current limit (#15711)
While the app can't go lower than 5A, the API allows setting values down
to 0A, and at least going to 2-3A can make sense if you want to put
excess solar power into the car without also drawing some from the grid.

Due to the overhead this causes it can be wasteful, so keep logging the
warning about going below 5A.

Signed-off-by: Ulrich Spörlein <uspoerlein@gmail.com>
2023-10-11 23:10:37 +02:00
openhab-bot 7f32499a8a
New Crowdin updates (#15739)
* New translations jpa.properties (Italian)
* New translations inmemory.properties (Italian)
* New translations mapdb.properties (Italian)
* New translations mongodb.properties (Italian)
* New translations rrd4j.properties (Italian)
2023-10-11 21:53:14 +02:00
Andrew Fiddian-Green 2382a557d3
[hue] support new effects (#15732)
Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
2023-10-10 19:11:36 +02:00
jimtng b9286b0fce
[jrubyscripting] Inject script context as global (#15618)
Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
2023-10-10 14:11:59 +02:00
Florian Hotze 7e1f4b0e1c
[persistence] Capitalize add-on names (#15378)
Signed-off-by: Florian Hotze <florianh_dev@icloud.com>
2023-10-10 14:04:21 +02:00
Wouter Born 1759058921
[jdbc] Upgrade H2 to 2.2.224 (#15726)
Upgrades H2 database from 1.4.191 to 2.2.224.

Add ';NON_KEYWORDS=VALUE' to the JDBC URL because the add-on uses 'value' (which is also a keyword) as column name.

Also fixes some queries used by the command extension because H2 always uses upper case table names.

For the change log, see:

https://h2database.com/html/changelog.html

For migration notes, see:

https://h2database.com/html/migration-to-v2.html

Fixes #13115

Signed-off-by: Wouter Born <github@maindrain.net>
2023-10-10 13:14:48 +02:00
Marco Müller 06d8e750f2
[knx] Bugfix problem with DPT 251.600 (#15723)
* Fix problem with DPT 251.600.
In the old implementation the datatype was implemented with byte 0-255.
The DPT 251.600 is defined with 0-100%, change this from byte to
PercentType.

Signed-off-by: Marco Mueller <marco@ms.mueller.ch>
2023-10-10 09:58:49 +02:00
Wouter Born 0c3ef0a5f4
[shelly] Always try to stop WebSocketClient (#15721)
If the client is not stopped it will not be garbage collected because the ShutdownThread keeps a reference to the client so it can be stopped on shutdowns.

See: https://github.com/eclipse/jetty.project/blob/jetty-9.4.x/jetty-websocket/websocket-client/src/main/java/org/eclipse/jetty/websocket/client/WebSocketClient.java#L420-L433

Signed-off-by: Wouter Born <github@maindrain.net>
2023-10-10 09:44:37 +02:00
bofakin f1ccd728a6
Fix openhab#15514: Temperature sensors in JSON from shelly may not be in order (#15530)
Signed-off-by: Anton Hattendorf <anton@hattendoerfer.de>
2023-10-08 22:47:10 +02:00
Wouter Born 756b32d988
[jdbc] Fix logging not working (#15722)
The dependency change in #15659 caused slf4j to be embedded into the bundle.

As a result the bundle no longer uses Pax Logging so it cannot find an SLF4J provider and logs the following when it is installed:

SLF4J: No SLF4J providers were found.
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See https://www.slf4j.org/codes.html#noProviders for further details.

Signed-off-by: Wouter Born <github@maindrain.net>
2023-10-08 19:57:28 +02:00
Jacob Laursen 94f2837fe0
Revert "[shelly] Always try to stop WebSocketClient (#15719)" (#15720)
This reverts commit 72622a1409.

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2023-10-08 13:46:27 +02:00
jimtng 5a5cfc28fb
[jythonscripting] Add a note not to use jython (#15623)
* [jythonscripting] Add a note not to use jython
* [jythonscripting] Mark as deprecated

---------

Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
2023-10-08 12:55:05 +02:00
Wouter Born 72622a1409
[shelly] Always try to stop WebSocketClient (#15719)
If the client is not stopped it will not be garbage collected because the ShutdownThread keeps a reference to the client so it can be stopped on shutdowns.

See: https://github.com/eclipse/jetty.project/blob/jetty-9.4.x/jetty-websocket/websocket-client/src/main/java/org/eclipse/jetty/websocket/client/WebSocketClient.java#L420-L433

Signed-off-by: Wouter Born <github@maindrain.net>
2023-10-08 11:28:10 +02:00
Gaël L'hopital bef7744c56
[freeboxos] Add websocket connection refresh mechanism (#15543)
* Adding the possibility to disable websocket listening.
This is set up in order to ease debugging of the "Erreur Interne" issue.

* Enhancing websocket work with recurrent deconnection, simplification of listeners handling
* refactored function name
* Fixed the name of the channel where the refresh command is sent.
* Solving SAT issues
* Corrected doc error
* Added properties
* Removed gson 2.10 now that it is included into core.

---------

Signed-off-by: clinique <gael@lhopital.org>
2023-10-08 10:47:08 +02:00
morph166955 58d20839c1
[neeo] Convert to OH jetty HttpClient (#15571)
* Convert to OH jetty HttpClient
* Adds a Stack for HttpClient storage
* Add synchronized to prevent exception
* fix binding
* Stop stack on close
* Resolves exception on registring forward actions
* Reduces client count to 5 to align to expected thread pool limit of 5

---------

Signed-off-by: Ben Rosenblum <rosenblumb@gmail.com>
Co-authored-by: Mark Herwege <mark.herwege@telenet.be>
2023-10-08 10:22:53 +02:00
Gaël L'hopital 7e53167967
[Netatmo] Avoid double refresh of weather channels (#15686)
* Solves issue #15684
* Removing excessive usage of inline typecast

---------

Signed-off-by: clinique <gael@lhopital.org>
2023-10-08 09:35:41 +02:00
Holger Friedrich f24a4305b8
Improve javadoc for some addons (#15701)
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2023-10-08 00:25:04 +02:00
Jacob Laursen 2ac03fbe36
[sonos] Add support for Move 2 (#15706)
* Add support for Move 2

Resolves #15702

---------

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2023-10-07 16:45:52 +02:00
morph166955 40d5bb38f2
Adds DDPlus20 and an additional ID for DD20 (#15712)
Signed-off-by: Ben Rosenblum <rosenblumb@gmail.com>
2023-10-07 15:19:39 +02:00
Jacob Laursen e9305c3709
[hue] Cleanup code (#15715)
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2023-10-07 15:08:02 +02:00