Commit Graph

3473 Commits

Author SHA1 Message Date
lsiepel d4a231e8a9
[enocean] Add null annotations (#14023)
* mainly null annotations

Signed-off-by: lsiepel <leosiepel@gmail.com>

* checkstyle fixes

Signed-off-by: lsiepel <leosiepel@gmail.com>

* another checkstyle pass

Signed-off-by: lsiepel <leosiepel@gmail.com>

* Fix review comments

Signed-off-by: lsiepel <leosiepel@gmail.com>

* fix  most review comments

Signed-off-by: lsiepel <leosiepel@gmail.com>

* Generic => temp_generic

Signed-off-by: lsiepel <leosiepel@gmail.com>

* temp_generic => generic

Signed-off-by: lsiepel <leosiepel@gmail.com>

* Generic fix try 2

Signed-off-by: lsiepel <leosiepel@gmail.com>

* another generic commit

Signed-off-by: lsiepel <leosiepel@gmail.com>

* Final pass for changing generic packages/folder

Signed-off-by: lsiepel <leosiepel@gmail.com>

* Mised comment

Signed-off-by: lsiepel <leosiepel@gmail.com>

* Conflict folder change trial 1

Signed-off-by: lsiepel <leosiepel@gmail.com>

* Conflict folder change final

Signed-off-by: lsiepel <leosiepel@gmail.com>

* Conflict folder change trial 2

Signed-off-by: lsiepel <leosiepel@gmail.com>

* Move folder

Signed-off-by: lsiepel <leosiepel@gmail.com>

* Review comment

Signed-off-by: lsiepel <leosiepel@gmail.com>

---------

Signed-off-by: lsiepel <leosiepel@gmail.com>
2023-03-28 11:05:37 +02:00
openhab-bot a0e10b2120
New Crowdin updates (#14715)
* New translations deconz.properties (German)
* New translations anthem.properties (Italian)
2023-03-28 07:11:52 +02:00
Mark Hilbush ec78fe7428
Add connection element to addon.xml (#14692)
Signed-off-by: Mark Hilbush <mark@hilbush.com>
2023-03-27 23:08:31 +02:00
Andrew Fiddian-Green 62100b5522
[addon.xml] add connection element (#14690)
Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
2023-03-27 20:41:42 +02:00
Cody Cutrer 558908e69a
[jrubyscripting] update README, and default configuration installing gem (#14489)
README is generated by YARD from USAGE.md in the gem.

Signed-off-by: Cody Cutrer <cody@cutrer.us>
2023-03-27 15:22:48 +02:00
Sami Salonen 18e7d81e4d
[mqtt] Support Ruuvitags via Ruuvi Gateway (#13315)
Signed-off-by: Sami Salonen <ssalonen@gmail.com>
2023-03-27 14:11:07 +02:00
openhab-bot 210aff461d
New Crowdin updates (#14689)
* New translations deconz.properties (German)
* New translations netatmo.properties (Italian)
* New translations avmfritz.properties (German)
* New translations openwebnet.properties (Italian)
2023-03-27 08:33:34 +02:00
dag81 1e0f27d5ef
[veSync] Improve recognition and device support (#14354)
* [veSync] Device Identification Updates
* [veSync] Alignment to device setups in pyvesync.
* [veSync] Addition of new device code for C302S

Signed-off-by: David Goodyear <david.goodyear@gmail.com>
2023-03-27 08:05:09 +02:00
Mark Hilbush 749cf585ff
[anthem] Initial contribution of binding for Anthem AV preamp/processors (#14311)
* Initial contribution

Signed-off-by: Mark Hilbush <mark@hilbush.com>
2023-03-26 21:32:08 +02:00
Cody Cutrer f98f820325
[mqtt.homeassistant] Implement JSON schema lights (#13808)
* [mqtt.homeassistant] implement JSON schema lights
* [mqtt.homeassistant] use enum for current state of color mode
* [mqtt.homeassistant] use implicit lambdas
* [mqtt.homeassistant] remove string constants in favor of an enum
* [mqtt.homeassistant] allow sending ON and brightness commands through bare
* [mqtt.homeassistant] turn down debug logging

---------

Signed-off-by: Cody Cutrer <cody@cutrer.us>
2023-03-26 18:07:20 +02:00
Sven Strohschein 2c710a2a70
[innogysmarthome] Remove binding (replaced by livisismarthome) (#14675)
Remove binding (replaced by livisismarthome)

Signed-off-by: Sven Strohschein <sven.strohschein@gmail.com>
Signed-off-by: Sven Strohschein <novanic@gmx.de>
2023-03-26 17:49:17 +02:00
Sven Strohschein a8d91b3950
[netatmo] Extend webhook support for doorbell and presence camera (#14252)
* [netatmo] Web hook extension for camera events

- Unused camera-event trigger channel removed
- README updated to the real supported channels (compared with channels.xml and code)
- Camera capabilities are now triggering the home-event trigger channel
- New home-event trigger channel introduced at camera level
- New sub-event channels introduced for the presence camera which is updated by web hook events.
- Language file updated
- README updated
- typos fixed
- security-event trigger channel added for the Welcome camera
- Handling of sub-event groups fixed to work with doorbell and presence cameras.

---------

Signed-off-by: Sven Strohschein <sven.strohschein@gmail.com>
Signed-off-by: Sven Strohschein <novanic@gmx.de>
2023-03-26 17:34:35 +02:00
Jacob Laursen 1726031ecc
[hdpowerview] Declare connection (#14684)
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2023-03-26 16:43:51 +02:00
Jacob Laursen d44de73d4f
[boschindego] Declare connection (#14685)
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2023-03-26 16:28:33 +02:00
Jacob Laursen a5b028d729
[miele] Declare connection (#14683)
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2023-03-26 16:26:24 +02:00
mlobstein ec329c456d
[kaleidescape] Remove Apache StringEscapeUtils (#14513)
* Remove Apache StringEscapeUtils
* add tests

Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>
2023-03-26 14:26:51 +02:00
pajacobson 6ef2dfb1db
[globalcache] Add link to macOS iConvert GC port in docs (#14679)
* Update README.md

Add link to macOS port of iConvert.
2023-03-26 14:04:00 +02:00
mlobstein 9b7788d14c
Declare connection in multiple bindings addon.xml (#14677)
* Declare connection in addon.xml

Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>
2023-03-26 13:45:03 +02:00
alexf2015 b6da1ec590
[solaredge] Fix code style warnings, fix NPE warnings, improve i18n (#14666)
* code style fixes
* fixed potential NPE
* fix warning
* simplified code
* refactoring, fixed some NPE warnings
* i18n
* refactoring

Signed-off-by: Alexander Friese <af944580@googlemail.com>
2023-03-26 13:42:00 +02:00
M Valla cbb72ed72e
[openwebnet] Reset zones' alarm state channel when system is armed (#14566)
* [openwebnet] reset zones alarm channel when system is armed and added NONE state
* [openwebnet] added Technical reset alarm. Changes after 1st review

---------

Signed-off-by: Massimo Valla <mvcode00@gmail.com>
2023-03-26 12:19:31 +02:00
goopilot 6757a84b6b
[Yeelight] Fix disconnect method (#14670)
* fix disconnect

---------

Signed-off-by: Alexandr Salamatov <goopilot@gmail.com>
2023-03-26 12:16:09 +02:00
M Valla 43f016c98a
[openwebnet] Declare connection in addon.xml (#14673)
Signed-off-by: Massimo Valla <mvcode00@gmail.com>
2023-03-26 11:23:58 +02:00
openhab-bot f52da01d9b
New translations netatmo.properties (Italian) (#14676) 2023-03-26 03:26:49 +02:00
Gaël L'hopital f37c4e555d
[Netatmo] Add the capability to have a single home (#14595)
* Adding the capability to have a single home, common to energy and security

---------

Signed-off-by: clinique <gael@lhopital.org>
2023-03-25 16:59:51 +01:00
Jacob Laursen f2e7597db6
Add more example things/items (#14639)
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2023-03-25 08:00:32 +01:00
Cody Cutrer 2088cf067f
[mqtt.espmilighthub] use availability topic to set thing status (#13800)
also refactor a bit so that the thing will work even if the bridge
gets added and removed, etc.

Signed-off-by: Cody Cutrer <cody@cutrer.us>
2023-03-25 00:52:37 +01:00
Gerd Zanker 3b08217ff7
[boschshc] Bridge and Device Discovery (#14197)
* #14195 Bridge and Device Discovery

Bridge discovery is implemented via mDNS, local IP addresses are checked.
If a GET returns the public SHC information,
then this shcIpAddress is reported as a discovered bridge.

Devices are always discovered after successful pairing, but a manual scan is also possible.

Added unit tests for Bridge and Device Discovery.

Signed-off-by: Gerd Zanker <gerd.zanker@web.de>
2023-03-25 00:26:24 +01:00
GiviMAD c30893281c
[rustpotterks] Remove unnecessary thread sleep call (#14664)
* [rustpotterks] Remove unnecessary thread sleep call

Signed-off-by: Miguel Álvarez <miguelwork92@gmail.com>
2023-03-25 00:20:34 +01:00
GiviMAD b9751dced3
[androiddebugbridge] Fix screen state channel on android 12 (#14663)
Signed-off-by: Miguel Álvarez <miguelwork92@gmail.com>
2023-03-24 23:25:21 +01:00
Björn Lange fbcb412353
[mielecloud] Add channels energy and water consumption (#14456)
* Add POJOs for ecoFeedback from Miele REST API
* DeviceState offers  water and energy consumption
* Convert Quantity to State for channel population
* Add eco feedback channels to devices
* Fix item types and categories
* Add update instructions for eco feedback channels

Signed-off-by: Björn Lange <bjoern.lange@itemis.de>
2023-03-24 23:15:28 +01:00
Christian Wild 983efd76ea
[tapocontrol] Support display light effects for L530 (#14596)
* [tapocontrol] support display light effects for L530

color change is now possible if effect was already enabled by app

Signed-off-by: Christian Wild <christian@wildclan.de>
2023-03-24 21:57:00 +01:00
mlobstein 279374a14b
[radiothermostat] Add configuration to update thermostat's internal schedule (#14149)
* Add configuration to update thermostat's internal schedule

Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>
2023-03-24 09:15:58 +01:00
openhab-bot fca7b4edce
New translations vat.properties (Danish) (#14658) 2023-03-23 22:56:45 +01:00
Christoph Weitkamp 5e17f1dfbd
[avmfritz] Use system channel types and decrease minimum polling interval (#14587)
* Use system default channel types
* Changed minimum polling interval to 1s

Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2023-03-23 22:55:01 +01:00
Richard Koshak 7bddeb4a7f
Standardize on `js` for SCRIPT (#14652)
This has the add-on docs consistent with the main docs.
Signed-off-by: Richard Koshak <rlkoshak@gmail.com>
2023-03-23 21:53:16 +01:00
GiviMAD a0f442e785
[googlestt] Fix drop bytes (#14649)
* [googlestt] Fix drop bytes
* fix unhandled cancelation error when using single utterance mode

Signed-off-by: Miguel Álvarez <miguelwork92@gmail.com>
2023-03-23 09:57:00 +01:00
openhab-bot 4f533710ff
New translations homekit.properties (German) (#14655) 2023-03-22 22:57:28 +01:00
GiviMAD 624dcb97b3
[googlestt] Upgrade library (#14653)
Signed-off-by: Miguel Álvarez <miguelwork92@gmail.com>
2023-03-22 22:45:18 +01:00
Cody Cutrer 96038c664a
[mqtt.generic] Don't log state description from provider when not found (#14650)
Fixes #9782

Signed-off-by: Cody Cutrer <cody@cutrer.us>
2023-03-22 16:53:50 +01:00
Cody Cutrer d9ceb63b82
[homekit] Unify all enum handling (#14036)
* [homekit] unify all enum handling

regardless of if it's a required or optional characteristic,
or even "boolean" enums

then allow number or switch items to be linked with enums

then update the docs listing the numeric value for enums

as part of this, global configuration of thermostat enum values
is no longer supported; you must use metadata.
in particular, for GarageDoorOpener, the global settings didn't
even actually work, so they should work now.

Fixes #13595

* [homekit] default-invert boolean items for garage door states

this was previously handled explicitly by the switch statement.
so need to set the inverted flag now that we're building a
mapping instead

* [homekit] document that CurrentDoorState can be linked to a Contact item
* [homekit] improve docs on invert param to createMapping

also fix a new helper method not properly passing through the inverted
param

Signed-off-by: Cody Cutrer <cody@cutrer.us>
2023-03-22 13:58:12 +01:00
jimtng 72254b820d
[jrubyscripting] Filter files that are added to the watch list (#14590)
Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
2023-03-21 23:18:46 +01:00
openhab-bot 31454ac0a1
New translations ecovacs.properties (Italian) (#14648) 2023-03-21 22:56:20 +01:00
GiviMAD aa3229a97f
[rustpotterks] Upgrade to version 2 (#14615)
* [rustpotter] Use version 2

Signed-off-by: Miguel Álvarez <miguelwork92@gmail.com>
2023-03-21 22:55:40 +01:00
J-N-K 1786bb0eec
[deconz] Cleanup code and improve tests, edit channels to vibration sensor (#14641)
* [deconz] Cleanup code and improve tests

Signed-off-by: Jan N. Klug <github@klug.nrw>
2023-03-21 22:46:53 +01:00
J-N-K 8e902f6324
Bump spotless to 2.35 and Eclipse Java Formatter to 4.26 (#14645)
Signed-off-by: Jan N. Klug <github@klug.nrw>
2023-03-21 21:03:05 +01:00
maniac103 b47a205f44
[ecovacs] Initial contribution (#12231)
* [ecovacs] Initial contribution

Add initial version of a binding for vacuum cleaners made by Ecovacs.

Signed-off-by: Danny Baumann <dannybaumann@web.de>
2023-03-21 11:05:53 +01:00
MarkusThur 98b8d7225c
change in README.md of kostalinverterbindings. Example code had a missing '"' in the second gen. devices. (#14644)
doesn't matter that much here, but in the official openHAB site the sytax highlighting makes the mstake very promiment :-)
2023-03-21 10:58:21 +01:00
alexf2015 99087f08c3
[nibeuplink] Fix NPEs, minor refactoring (#14508)
* improved code quality: added some additional null checks, removed some obsolete null checks. simplified some code sections.

Signed-off-by: Alexander Friese <af944580@googlemail.com>
2023-03-20 20:09:20 +01:00
mlobstein dae33c405e
Refactor pairing process to use handler httpClient (#14640)
Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>
2023-03-20 07:54:31 +01:00
J-N-K 6444964bf6
[deconz] Add On/Off thermostats (#14636)
* [deconz] Add On/Off thermostats
* further work
* fix regression

Signed-off-by: Jan N. Klug <github@klug.nrw>
2023-03-19 20:43:15 +01:00
alexf2015 aee57afb0e
bugfixes/improvements (#14637)
Signed-off-by: Alexander Friese <af944580@googlemail.com>
2023-03-19 16:02:33 +01:00
M Valla 4e4385e261
[openwebnet] Thermo: Fix wrong parameter in .getChannel (#14620)
Fixes #14619

Signed-off-by: Massimo Valla <mvcode00@gmail.com>
2023-03-19 09:43:53 +01:00
Jacob Laursen 04374ef4af
Fix color tests after HSBType changes (#14631)
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2023-03-19 07:45:16 +01:00
Jacob Laursen 61be788257
Fix color tests after HSBType changes (#14630)
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2023-03-19 07:44:14 +01:00
openhab-bot bad892ec79
New translations vat.properties (Italian) (#14633) 2023-03-18 23:25:43 +01:00
J-N-K ee1de11864
[deconz] Add Pairing/Scene actions, new devices and improve code (#14622)
* port changes
* update instructions
* Incorporate review comments from #14134
* new improvements (mostly Java 17 changes)
* further improvements

Signed-off-by: Jan N. Klug <github@klug.nrw>
2023-03-18 16:06:55 +01:00
Jacob Laursen 23f3374ea9
Fix color tests after HSBType changes (#14629)
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2023-03-18 13:59:59 +01:00
J-N-K 0f5dfa5088
Fix "empty range" exception when querying InfluxDB2 (#14627)
Signed-off-by: Jan N. Klug <github@klug.nrw>
2023-03-18 13:31:41 +01:00
goopilot 979ecb0f98
Add Sptrip6 device (#14584)
Signed-off-by: Alexandr Salamatov <goopilot@gmail.com>
2023-03-18 10:25:10 +01:00
GiviMAD 7268442c25
[watsonstt] Upgrade library (#14626)
Signed-off-by: Miguel Álvarez <miguelwork92@gmail.com>
2023-03-18 07:33:33 +01:00
GiviMAD 9a6b23fbec
[voskstt] Upgrade library (#14625)
Signed-off-by: Miguel Álvarez <miguelwork92@gmail.com>
2023-03-18 07:32:58 +01:00
Jacob Laursen 4d47f33012
Initial contribution (#14529)
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2023-03-17 22:06:06 +01:00
Holger Friedrich aae63e9488
[knx] Refactoring of KnxCoreTypeMapper and UOM Support (#14534)
* [knx] Refactoring, add basic support for UOM

Preparation for refactoring KnxCoreTypeMapper.
Carryover from smarthomej/addons#107.
Merge UOM implementations.

* [knx] Adapt tests

DPT strings for QuantityType now strip off a tailing .0 when decimals
are converted.

* [knx] Refactoring

Use pattern matching with instanceof operator (new Java17 feature).

* [knx] Refactoring, performance improvements

Introduce KNXChannel class.
Carryover from smarthomej/addons#114.

* [knx] Add warning for incompatible DPT type

Configuring incompatible DPT/channel combinations (e.g. DPT 1.005 (alarm) on Contact channels
or DPT 1.019 (windows/door) on Switch channels) is not allowed but was silently ignored.
This PR adds a warning in case incompatible configurations are detected.

Carryover from smarthomej/addons#203.

* [knx] Add full support for UoM

Replace UoM handling with the implementation from smarthome/j.
Carryover from smarthomej/addons#206.

* [knx] Refactor KNXCoreTypeMapper, add RGBW and xyY

Carryover from smarthomej/addons#208.

* [knx] Fix RGB conversion

Carryover from smarthomej/addons#219.

* [knx] Remove workarounds obsoleted by Calimero 2.5

Carryover from smarthomej/addons#226.

* [knx] Add parameter for disabling incoming UoM

Carryover from smarthomej/addons#230.

* [knx] Fix fallback to DecimalType in number conversion

Carryover from smarthomej/addons#279.

* [knx] Fix DPT 251.600 decoding

Carryover from smarthomej/addons#349.

* [knx] Fix UoM handling for special types
* [knx] Add test for KNXChannelFactory
* [knx] Update CODEOWNERS for knx
* [knx] Default conversion for DPT 5.001 and 6.001
* [knx] Fix write blocked forever after read from bus

Carryover from smarthomej/addons#299 and smarthomej/addons#330.

* [knx] Use new class ColorUtil from core for HSB conversion

Also-by: Jan N. Klug <github@klug.nrw>
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2023-03-17 12:50:13 +01:00
Mark Hilbush b395d0e227
Fix typo (#14607)
Signed-off-by: Mark Hilbush <mark@hilbush.com>
2023-03-15 16:41:49 +01:00
Mark Hilbush d4b68b2df4
Fix for NPE when getting network interface name (#14603)
Signed-off-by: Mark Hilbush <mark@hilbush.com>
2023-03-14 22:32:03 +01:00
Stian Kjoglum 596324635d
Add channel for lastMeterProduction (#14583)
Signed-off-by: kjoglum <stiankj@online.no>
2023-03-14 08:34:48 +01: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
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