Commit Graph

3092 Commits

Author SHA1 Message Date
GiviMAD c63e596680
[voskstt] fix sdk update and disable internal info logs (#13536)
* [voskstt] fix sdk update
* [voskstt] change internal sdk log level to warning

Signed-off-by: Miguel Álvarez <miguelwork92@gmail.com>
2022-10-10 18:34:48 +02:00
mlobstein f431bfc013
[nuvo] Add Image channel for album art (#13498)
* Add Image channel for Album Art

Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>
2022-10-10 15:53:05 +02:00
Cody Cutrer 507e714dd0
[homekit] fix BooleanItemReader to work with DimmerItems (#13507)
* [homekit] fix BooleanItemReader to work with DimmerItems

DimmerItems have a PercentType state, which is easily convertible
to OnOffType, but is not inherited from it. So take that into account.

i.e. a variable speed fan can use a single DimmerItem for both
ActiveStatus and RotationSpeed.

* [homekit] Document that Dimmer is a possible item type for several booleans

Signed-off-by: Cody Cutrer <cody@cutrer.us>
2022-10-10 13:36:23 +02:00
Cody Cutrer d83c32cd24
[homekit] allow configuring maxValue on VOCDensity (#13508)
* [homekit] allow configuring maxValue on VOCDensity

the default of 1000 is quite low in reality. tested and confirmed
working with iOS 16

* [homekit] allow step value to be configured for VOCDensity

Signed-off-by: Cody Cutrer <cody@cutrer.us>
2022-10-10 13:30:13 +02:00
alexf2015 6a27f17611
fix a bug reported by community: https://community.openhab.org/t/easee-binding/135492/58 (#13527)
Signed-off-by: Alexander Friese <af944580@googlemail.com>
2022-10-10 09:28:42 +02:00
Wouter Born 3f5bee114d
[jpa] Fix Derby driver no longer included (#13532)
According to the add-on documentation the Derby driver is included which was no longer the case.
The derby version was also changed because 10.16.1.1 is for Java 17+.

Signed-off-by: Wouter Born <github@maindrain.net>
2022-10-10 09:25:32 +02:00
dependabot[bot] 8e73299ba5
[ftpupload] Upgrade dependencies (#12693)
Also-by: dependabot[bot] <support@github.com>
Signed-off-by: Wouter Born <github@maindrain.net>
2022-10-09 23:50:27 +02:00
dependabot[bot] 27068048ce
Bump protobuf-java in /bundles/org.openhab.voice.googlestt (#13491)
Bumps [protobuf-java](https://github.com/protocolbuffers/protobuf) from 3.19.2 to 3.19.6.
- [Release notes](https://github.com/protocolbuffers/protobuf/releases)
- [Changelog](https://github.com/protocolbuffers/protobuf/blob/main/generate_changelog.py)
- [Commits](https://github.com/protocolbuffers/protobuf/compare/v3.19.2...v3.19.6)

---
updated-dependencies:
- dependency-name: com.google.protobuf:protobuf-java
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-09 23:49:09 +02:00
openhab-bot 4590c54557
New Crowdin updates (#13523)
* New translations netatmo.properties (French)

* New translations nobohub.properties (French)
2022-10-09 13:10:10 +02:00
Gaël L'hopital 359c97b8ac
[netatmo] Ensure all events are retrieved since they are buffered (#13505)
* Adding logic to ensure we retrieve all events.

Signed-off-by: clinique <gael@lhopital.org>
2022-10-09 12:17:08 +02:00
Andreas Berger c2d792d2f3
[fineoffsetweatherstation] Fix README.md (#13506)
* fix typo
* link community thread
* add note for derived values

Signed-off-by: Andreas Berger <andreas@berger-freelancer.com>
2022-10-09 11:28:48 +02:00
Cody Cutrer 0409484c2e
[homekit] allow RelativeHumidity as an optional characteristic on Thermostat (#13504)
also support QuantityType as a valid state type for double characteristics
(such as RelativeHumidity).

Signed-off-by: Cody Cutrer <cody@cutrer.us>
2022-10-09 11:01:25 +02:00
Cody Cutrer 0aa28e5d40
[homekit] get min/max/step values from state description if possible (#13510)
this helps to auto-configure if the binding is providing the necessary info

metadata config still overrides

Signed-off-by: Cody Cutrer <cody@cutrer.us>
2022-10-09 10:55:32 +02:00
Georgios Moutsos 7f1a096dca
[caddx] Changed Hashmap keys from BigDecimal to int (#13521)
Signed-off-by: Georgios Moutsos <georgios.moutsos@gmail.com>
2022-10-09 09:41:34 +02:00
openhab-bot 337241f40e
New Crowdin updates (#13514)
* New translations ambientweather.properties (Italian)
* New translations amazonechocontrol.properties (Italian)
* New translations jpa.properties (Italian)
* New translations openwebnet.properties (Italian)
2022-10-09 09:40:59 +02:00
Cody Cutrer ccc199f429
[homekit] Allow Long type in configuration for numbers (#13509)
I.e. if it's set from a Ruby script

Signed-off-by: Cody Cutrer <cody@cutrer.us>
2022-10-09 09:04:06 +02:00
Matthew Skinner 3aac15df62
Fix mjpeg wont open multiple streams when port is not 80 (#13502)
Signed-off-by: Matthew Skinner <matt@pcmus.com>
2022-10-08 21:26:51 +02:00
Wouter Born 0306f4508f
[jpa] Add dynamic import, upgrade dependencies, add UI config (#13516)
* Adds a dynamic package import so JDBC drivers on the classpath can be used
* Upgrades OpenJPA from 2.4.0 to 3.2.2
* Upgrades Derby JDBC driver from 10.11.1.1 to 10.16.1.1
* Adds config.xml and ConfigurableService annotation so add-on can be configured using the UI
* Adds null annotations on all classes
* Prevent NPEs and some code cleanup

See also:

* https://openjpa.apache.org/builds/3.2.2/apache-openjpa/RELEASE-NOTES.html
* https://community.openhab.org/t/jpa-with-mysql-or-mariadb/138679

Fixes #13375

Signed-off-by: Wouter Born <github@maindrain.net>
2022-10-08 21:25:05 +02:00
Fabian Wolter d18322f860
[network] Fix wake-on-lan functions in DSL rules (#13519)
Signed-off-by: Fabian Wolter <github@fabian-wolter.de>
2022-10-08 21:19:16 +02:00
Gaël L'hopital a4781b4770
[netatmo] Adding Door/Window sensor (#13503)
* Initial PR to add NADoorTag to netatmo binding

Signed-off-by: clinique <gael@lhopital.org>
2022-10-08 18:49:44 +02:00
lolodomo 61187f89a0
[netatmo] Fix the description of the new channel request-count (#13512)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-10-08 12:51:11 +02:00
lolodomo 312b62487c
[linky] Avoid internal server error (getting power peak early in the … (#13482)
* [linky] Avoid internal server error (getting power peak early in the morning)

Fix #13377

The binding now requests power peak data for 2 days (yesterday and the day before).

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-10-08 10:10:46 +02:00
Cody Cutrer 98677c18b3
[mqtt.homeassistant] ensure availability topics get subscribed (#13466)
HASS registers availability topics before calling start(), so
the AbstractMQTTThingHandler was never subscribing/starting the
availability channel(s). So do so in start() of the base class.

I checked other implementations, and either they already handle
re-registering availabilityTopics in their start()
(GenericMQTTThingHandler), or they don't use availabilityTopics
at all from the base class and manage it themselves (Homie).

Note that this shows up as newly-added HASS things not having
a problem (because the components aren't discovered until after
the ThingHandler is started), but if you restart OpenHAB or
disable/enable the thing, the channels (and components) are
cached, thus how availabilityTopics are known before starting.

Signed-off-by: Cody Cutrer <cody@cutrer.us>
2022-10-08 09:12:28 +02:00
Gaël L'hopital 959e65814b
Handle properly UNKNOWN module types in discovery (#13500)
Signed-off-by: clinique <gael@lhopital.org>
2022-10-07 13:15:04 +02:00
Gaël L'hopital 56d72ca1c3
[netatmo] Buffer last event requests per child modules (#13489)
* Buffer last event requests per child modules
This is targetted to decrease the number of requests transmitted to Netatmo API.
Solves #13358

Signed-off-by: clinique <gael@lhopital.org>
2022-10-07 11:56:15 +02:00
Gaël L'hopital cc6e4fad61
[netatmo] Adding a request counter (#13494)
* Adding a request counter channel to Api Bridge thing.

Signed-off-by: clinique <gael@lhopital.org>
2022-10-07 11:48:41 +02:00
Hans-Jörg Merk 31820ad740
Update README.md (#13497) 2022-10-06 23:15:55 +02:00
Gaël L'hopital e14ce7d9eb
[netatmo] Handling camera ping timeouts (#13487)
* Solves #13486

Signed-off-by: clinique <gael@lhopital.org>
2022-10-06 14:44:26 +02:00
M Valla 2519ec7236
[openwebnet] add support for basic Scenarios (WHO=0) (#13473)
* [openwebnet] added first support for WHO=0 scenarios
* [openwebnet] channels indent
* [openwebnet] formatting
* [openwebnet] set WHO=0 thing online automatically. Update to openwebnet4j 0.9.0

Signed-off-by: Massimo Valla <mvcode00@gmail.com>
2022-10-06 08:33:01 +02:00
Andreas Lanz 6e4f78458d
[SunSpec] Add missing Inverter Status, Add Channel for Vendor-Specific Status (#13480)
* [SunSpec] Added missing InverterStatus

See e.g., https://github.com/sunspec/models/blob/master/json/model_101.json#L307

* [SunSpec] Added Channel for Vendor Specific Status

* [SunSpec] Fixing two old TODOs

VA and VAR are defined as alternate unit for WATT so no breaking change.

Signed-off-by: Andreas Lanz <alanz@gmx.de>
2022-10-05 07:49:31 +02:00
openhab-bot 232cef371a
New translations jellyfin.properties (Italian) (#13488) 2022-10-04 12:29:59 +02:00
Jacob Laursen 12389f083d
Consolidate and optimize datetime conversions (#13483)
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-10-04 08:59:59 +02:00
Markus Michels 6835c278e1
[shelly] Add Plus/Pro support, some bugfixes (#13439)
* Plus/Pro support and some refactoring, bugfixes

Signed-off-by: Markus Michels <markus7017@gmail.com>

* Review changes applied

Signed-off-by: Markus Michels <markus7017@gmail.com>

* review changes

Signed-off-by: Markus Michels <markus7017@gmail.com>

Signed-off-by: Markus Michels <markus7017@gmail.com>
2022-10-04 08:00:50 +02:00
Felix Lo d2dde9768f
[openhabcloud] sleepSocketIO(long delay) halts entire io.socket thread #13210 (#13421)
* sleepSocketIO(long delay) halts entire io.socket thread CI #6047

Signed-off-by: lsafelix75 <lsafelix75@gmail.com>
2022-10-03 19:43:43 +02:00
openhab-bot 3074ee3de8
New Crowdin updates (#13481)
* New translations influxdb.properties (French)
* New translations tado.properties (Italian)
* New translations ecowatt.properties (Italian)
* New translations solarmax.properties (Italian)
2022-10-03 17:21:26 +02:00
Hilbrand Bouwkamp 0560a0e333
[unifi] Detect all PoE ports, and set PoE thing offline if no data could be found (#13455)
* [unifi] Set PoE thing offline if no data could be found

This would better reflect the PoE thing status if there is a problem with either the data from the api or a configuration problem (like invalid port number).

* [unifi] Fix bug to detect PoE ports when first port is not PoE port

The binding assumed either all ports or no ports were PoE, and asssumed if port 0 was not PoE none was PoE.
However, some switches have ports starting at port 5 to be PoE. Therefor changed code to just test each port if it is PoE.

Signed-off-by: Hilbrand Bouwkamp <hilbrand@h72.nl>
2022-10-03 13:02:46 +02:00
Cody Cutrer 64d97374ad
[homekit] allow NumberItems for BatteryLowStatus (#13449)
* [homekit] allow NumberItems for BatteryLowStatus

use a lowThreshold metadata config to infer if it's low

Signed-off-by: Cody Cutrer <cody@cutrer.us>
2022-10-03 12:13:39 +02:00
alexf2015 e9848e27e8
[easee] Fix binding not working after Easee cloud API has been unavailable (#13469)
* fix #13463

Signed-off-by: Alexander Friese <af944580@googlemail.com>
2022-10-02 18:28:33 +02:00
Jan Vybíral c9decdbe49
[nuki] Disabled warning for things created from textual config (#13331)
* Removed warning shown when thing is created with hexadecimal warning for read-only things
* Added missing configuration parameters into documentation

Signed-off-by: Jan Vybíral <jan.vybiral1@gmail.com>
2022-10-02 18:10:40 +02:00
Andrew Fiddian-Green 5c7eaa33ac
[tado] Channels are visible depending on device type and capabilities (#13301)
* [tado] create zone channels dynamically
* [tado] add JUnit test classes
* [tado] eliminate maven compiler warnings
* [tado] code optimisation
* [tado] read me
* [tado] current temperature & humidity also dynamic
* [tado] battery/window channels
* [tado] simplify channel builder
* [tado] fix bundle initialisation bug
* [tado] fix insert positions
* [tado] add channel type categories
* [tado] refactor battery checker
* [tado] create capabilities support in caller vs callee
* [tado] method doesn't throw exception
* [tado] remove new line
* [velux] add self to code owners
* [tado] capitalize categories

Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
2022-10-02 17:46:16 +02:00
Sami Salonen 8d9dfb20e3
[bluetooth.ruuvitag] Correct parse of NA temperature & acceleraiton (#13279)
Fixed by bumping support library fi.tkgwf.ruuvi:ruuvitag-comon
https://github.com/Scrin/ruuvitag-common-java/releases/tag/v1.0.2

Signed-off-by: Sami Salonen <ssalonen@gmail.com>
2022-10-02 14:32:22 +02:00
lolodomo 32747e825f
[ecowatt] Fix a typo in a channel description (#13476)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-10-02 12:54:27 +02:00
GiviMAD d24e3eadc3
[androiddebugbridge] Add mDNS discovery for android tv (#13462)
* [androiddebugbridge] add mDNS discovery for android tv

Signed-off-by: Miguel Álvarez <miguelwork92@gmail.com>
2022-10-02 12:38:59 +02: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
Jacob Laursen c706ac8478
[jdbc] Fix warnings and apply null annotations (#13429)
* Fix warnings and apply null annotations

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-10-02 11:14:41 +02:00
Stefan Giehl c41c38405e
[LuxtronikHeatpump] Adds discovery service (#11907)
* [LuxtronikHeatpump] Adds discovery service

Signed-off-by: Stefan Giehl <stefangiehl@gmail.com>
2022-10-01 17:15:16 +02:00
Tobias Liese 8b4607a4f1
Added URL path support. (#13436)
Changes:
Fix: Now using KTOR instead of building the url by simple string concad. This fixes the https and port 443 bug that existed prier to this change. (https://example.com would look like: https://example.com:443)
Added: Support for jellyfins Base URL option. This allows the addon to be used on installations were jellyfin uses a base path.

Signed-off-by: tliese <mail@tobiasliese.me>
2022-10-01 15:32:11 +02:00
Matthew Skinner cc50497f31
[ipcamera] FFmpeg based alarms will now auto restart if stopped (#13446)
* FFmpeg alarms now auto restart

Signed-off-by: Matthew Skinner <matt@pcmus.com>
2022-10-01 14:19:25 +02:00
Jan Vybíral a646fe34e0
[nuki] Fixed nukiId migration for devices with shorter nukiId (#13088) (#13470)
Signed-off-by: Jan Vybíral <jan.vybiral1@gmail.com>
2022-10-01 13:45:35 +02:00
Gaël L'hopital cedf6d9035
[netatmo] Room-Thing offline after restart (#13467)
* Correcting issue by late loading of the capability.
* Handle MAXIMUM_USAGE_REACHED at ApiBridgeHandler level.

Signed-off-by: clinique <gael@lhopital.org>
2022-10-01 12:50:22 +02:00
Cody Cutrer 7b8ae535e9
[jrubyscripting] clean up assignment of class objects (#13451)
pass the actual class objects through, and post-process in Ruby, to
avoid the rescue nil -- and by extension, any issues with visibility
into private objects from JRuby.

Signed-off-by: Cody Cutrer <cody@cutrer.us>
2022-09-30 22:47:53 +02:00
Peter Hicks 2a02f2c7ef
[tapocontrol] Fix authentication issue making plugin unusable (#13468)
The tapocontrol plugin uses a static UUID which is now causing a an API rate limit exceeded error from the TP-Link API.  This commit generates a separate UUID for every login attempt.

Signed-off-by: Peter Hicks <peter.hicks@opentraintimes.com>
2022-09-30 21:41:53 +02:00
Fabian Wolter 08375cd3a8
[lcn] Improve logging (#13460)
Signed-off-by: Fabian Wolter <github@fabian-wolter.de>
2022-09-29 09:01:20 +02:00
Michael Barker c244391d08
[echonetlite] Initial contribution (#11999)
* First implementation of Echonet Lite Java Bindings.  Only supports Mitsubishi Home Heat Pumps.

Signed-off-by: Michael Barker <mikeb01@gmail.com>
2022-09-28 23:23:57 +02:00
martin1338 f74f3ecd02
updated example to match frontdoor_lockstates (#13441)
command numbers where changed, see lines 80 and following -> adjusted the example and reorderd the commands
2022-09-28 21:33:21 +02:00
lolodomo d00ca1caeb
[remoteopenhab] Optimize filtering of ALIVE events (#13432)
* [remoteopenhab] Optimize handling of ALIVE events

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-09-28 20:39:20 +02:00
openhab-bot 6069286ffd
New translations pushover.properties (German) (#13454) 2022-09-27 22:40:22 +02:00
lolodomo 4b69af686f
[solarmax] Add default translations (#13452)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-09-27 17:21:07 +02:00
Jamie Townsend 015a370392
[solarmax] Initial contribution (#10414)
* SolarMax Binding Initial implementation

Signed-off-by: Jamie Townsend <jamie_townsend@hotmail.com>

* #10413 camelCaserizeTheChannelNames

Signed-off-by: Jamie Townsend <jamie_townsend@hotmail.com>

* #10413 Delete commented code and Refactor Brute Force Command Discovery into something commitable

Signed-off-by: Jamie Townsend <jamie_townsend@hotmail.com>

* 10413 Delete commented code and Refactor Brute Force Command Discovery into something commitable

Signed-off-by: Jamie Townsend <jamie_townsend@hotmail.com>

* #10413 Codestyle

Signed-off-by: Jamie Townsend <jamie_townsend@hotmail.com>

* 10413 Codestyle

Signed-off-by: Jamie Townsend <jamie_townsend@hotmail.com>

* #10413 corrected sat-plugin errors

Signed-off-by: Jamie Townsend <jamie_townsend@hotmail.com>

* #10413 updates from code reviews in PR #10414

Signed-off-by: Jamie Townsend <jamie_townsend@hotmail.com>

* 10413 mvn spotless:apply

Signed-off-by: Jamie Townsend <jamie_townsend@hotmail.com>

* 10413 Updated to 3.2.0-SNAPSHOT

Signed-off-by: Jamie Townsend <jamie_townsend@hotmail.com>

* Fixed conflicts introduced by foreign commit.

Signed-off-by: Jamie Townsend <jamie_townsend@hotmail.com>

* Updated copyright years

Signed-off-by: Jamie Townsend <jamie_townsend@hotmail.com>

* Ran  mvn spotless:apply to resolve formatting issues

Signed-off-by: Jamie Townsend <jamie_townsend@hotmail.com>

* Updates from review

Signed-off-by: Jamie Townsend <jamie_townsend@hotmail.com>

* Switch to using Units & move softwareVersion & buildNumber to properties

Signed-off-by: Jamie Townsend <jamie_townsend@hotmail.com>

* A couple of review related updates

Signed-off-by: Jamie Townsend <jamie_townsend@hotmail.com>

* A couple more review related changes.

Signed-off-by: Jamie Townsend <jamie_townsend@hotmail.com>

* Added Full Example to README.md

Signed-off-by: Jamie Townsend <jamie_townsend@hotmail.com>

* Update parent pom.xml version

Signed-off-by: Jamie Townsend <jamie_townsend@hotmail.com>

* Update bundles/org.openhab.binding.solarmax/src/main/java/org/openhab/binding/solarmax/internal/SolarMaxHandlerFactory.java

Signed-off-by: Fabian Wolter <github@fabian-wolter.de>

* Update bundles/org.openhab.binding.solarmax/src/main/java/org/openhab/binding/solarmax/internal/SolarMaxHandlerFactory.java

Signed-off-by: Fabian Wolter <github@fabian-wolter.de>

Signed-off-by: Jamie Townsend <jamie_townsend@hotmail.com>
Signed-off-by: Fabian Wolter <github@fabian-wolter.de>
Co-authored-by: Fabian Wolter <github@fabian-wolter.de>
2022-09-27 07:51:10 +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
Roie Geron 58168c205f
[touchwand] Add port configuration to websocket (#13440)
* add port configuration to websocket

Signed-off-by: Roie Geron <roie.geron@gmail.com>
2022-09-26 19:05:50 +02:00
Cody Cutrer 517fe44b36
[mqtt.generic] fix range of RGB values (#13426)
Range is 0..255, not 0..250.

rgb -> hsv -> rgb still isn't perfect, but it's better. In
particular, I found this when using HSBType.BLUE in a test,
and it was coming out as 0,0,250 in RGB. It now comes out as
a proper 0,0,255.

Signed-off-by: Cody Cutrer <cody@cutrer.us>
2022-09-26 19:03:37 +02:00
Cody Cutrer e4fe6889d0
[homekit] allow group items of the correct type anywhere that type is needed (#13236)
this is a theme, and I've extracted a helper method and applied it to several
other locations as well

example, I have a double-sliding door, with two contact sensors
in the alarm system, defined as:

```
Group:Contact:AND(CLOSED,OPEN) DeckDoor_Contact "Deck Door [%s]" <door> (gExteriorDoors, gWarningVisibility_Contact, gDoor, lMainFloor, gInflux) { homekit="ContactSensor" [instance=2] }
Contact DeckNDoor_Contact "Deck Door North" <door> (gInflux, DeckDoor_Contact, gGreatContacts) { channel="dscalarm:zone:46c52f35:zone11:zone_status" }
Switch DeckNDoor_Tamper "Deck Door North Tamper [%s]" <warning> (gTamper, gWarningVisibility_Switch) { channel="dscalarm:zone:46c52f35:zone11:zone_tamper" }
Contact DeckSDoor_Contact "Deck Door South" <door> (gInflux, DeckDoor_Contact, gGreatContacts) { channel="dscalarm:zone:46c52f35:zone12:zone_status" }
Switch DeckSDoor_Tamper "Deck Door South Tamper [%s]" <warning> (gTamper, gWarningVisibility_Switch) { channel="dscalarm:zone:46c52f35:zone12:zone_tamper" }
```

This allows the Group:Contact to be used for the ContactSensor.

Signed-off-by: Cody Cutrer <cody@cutrer.us>
2022-09-26 18:58:59 +02:00
lolodomo 5bbd729ba2
[ecowatt] Shorter labels for channel options (#13438)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-09-25 21:01:26 +02:00
Maximilian Heß 8ab5f629c3
[KVV] Replace underlying API (#13186)
* [KVV] Replace underlying API

The underlying API does no longer work so it is replace. An API key is no longer necessary.
Users need to replace the `stopId` in there station thing configuration. See README.md for details.

Signed-off-by: Maximilian Hess <mail@ne0h.de>
Co-authored-by: Laurent Garnier <lg.hc@free.fr>
2022-09-25 14:29:10 +02:00
Andrew Fiddian-Green 79309cb746
[velux] Bridge status shows offline when communication fails (#13406)
* [velux] dynamically update bridge on-/off- line state

Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
2022-09-25 13:17:10 +02:00
Gwendal Roulleau b7cbf2ba72
[pulseaudio] Apply real disconnection when needed (#13338)
* [pulseaudio] Removing isIdle test

The isIdle boolean was not properly handled.
When disconnection is called, isIdle is not relevant : we should always honnor the disconnection request.
In fact, isIdle prevented disconnection when it is necessary (example : when a IOException occurs when sending audio to sink)

+Little bug fix on volume parsing: some volume request doesn't respond with a space after the comma separating left/right channel.

* [pulseaudio] Enhancement to the idle detection for disconnection

Using a counter to count client instead of a isIdle variable, which was not thread safe.
The PulseaudioSimpleProtocolStream parent class is now the sole responsible for closing source or sink stream.

* [pulseaudio] Small performance enhancement

Avoid a costly synchronized operation for a method called very often.

Signed-off-by: Gwendal Roulleau <gwendal.roulleau@gmail.com>
2022-09-25 12:59:30 +02:00
Jacob Laursen af0ac6e474
[miele] Migrate start channel to full DateTime channel and add end channel (#13393)
* Migrate start/finish channels to full DateTime channels
* Unmark start and duration as advanced channels
* Add end channel

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-09-25 11:29:26 +02:00
Roie Geron 96b77ed541
[touchwand] Fix thermostat target temperature command (#13427)
* Fix target temperature command 

1) Fix target temperature command 
2) fixed typo in log

* Allow update status even if the unit is not alive

Seems 'acwand' status is always "DOWN" so ignore this and just log debug

Signed-off-by: Roie Geron <roie.geron@gmail.com>
2022-09-25 10:25:10 +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
Timo Grossenbacher 6241d6f369
[fsinternetradio] Add Ruark R5 to tested devices & mode list (#13325)
* Add Ruark R5 to tested devices & mode list

Signed-off-by: Timo Grossenbacher <timo@timogrossenbacher.ch>
2022-09-24 11:38:38 +02:00
openhab-bot 19894aa894
New translations bluetooth.properties (Dutch) (#13431) 2022-09-22 21:39:55 +02:00
lolodomo e4917c3b4a
[ecowatt] Unit tests for methods getting channel state from API response (#13419)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-09-22 00:28:28 +02:00
Karel Goderis 062a7c1e76
[Tesla] Add event stream & handling post new authentication process by Tesla (#13116)
Signed-Off-By: Karel Goderis <karel.goderis@me.com>
2022-09-21 21:55:27 +02:00
Jacob Laursen 3e5dde0474
Fix ClassCastException for LocalDateTime (#13425)
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-09-21 19:10:02 +02:00
Wouter Born 487811fdfd
Update Shelly and Tradfri bindings for upgrade to Californium 2.7.3 (#13407)
* Update Shelly and Tradfri bindings for upgrade to Californium 2.7.3

* Fixes deprecated API usages
* Resolves itest runbundles

Signed-off-by: Wouter Born <github@maindrain.net>
2022-09-21 12:19:19 +02:00
jimtng fafdf2d7a3
[jrubyscripting] Update to JRuby 9.3.8.0 (#13424)
Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
2022-09-21 09:51:04 +02:00
Cody Cutrer 8656ba501a
[mqtt.homeassistant] support availability_templates (#13397)
Signed-off-by: Cody Cutrer <cody@cutrer.us>
2022-09-19 23:00:01 +02:00
openhab-bot b6ddb6bb0a
New Crowdin updates (#13415)
* New translations ecowatt.properties (Italian)
* New translations jellyfin.properties (Italian)
2022-09-19 16:23:54 +02:00
Sami Salonen 67843ffbfd
[openhabcloud] improved logging for troubleshooting purposes (#12430)
* [openhabcloud] Sensor UUID and secret in logging

Signed-off-by: Sami Salonen <ssalonen@gmail.com>

* [openhab] More logging. Lambda callbacks

Signed-off-by: Sami Salonen <ssalonen@gmail.com>

* [openhabcloud] Sensor short UUID/secret completely

Signed-off-by: Sami Salonen <ssalonen@gmail.com>

* [openhabcloud] pong milliseconds

Signed-off-by: Sami Salonen <ssalonen@gmail.com>

* [openhabcloud] Log websecket factory HTTP calls and PACKETs (on connect)

Signed-off-by: Sami Salonen <ssalonen@gmail.com>

* [openhabcloud] Sensor more secrets

Signed-off-by: Sami Salonen <ssalonen@gmail.com>

* [openhabcloud] abort connect on exceptional errors

Signed-off-by: Sami Salonen <ssalonen@gmail.com>

* [openhabcloud] remove dead code

Signed-off-by: Sami Salonen <ssalonen@gmail.com>

* [openhabcloud] Socket.IO http logging only with TRACE level enabled

Signed-off-by: Sami Salonen <ssalonen@gmail.com>

* [openhabcloud] logging level tuning

Signed-off-by: Sami Salonen <ssalonen@gmail.com>

* [openhabcloud] fix typo sensored->censored

Signed-off-by: Sami Salonen <ssalonen@gmail.com>

* [openhabcloud] warn level logging (not info) when disconnected

Signed-off-by: Sami Salonen <ssalonen@gmail.com>

Signed-off-by: Sami Salonen <ssalonen@gmail.com>
2022-09-19 15:41:16 +02:00
mlobstein 89c73a0d81
[nuvo] Add NuvoNet source communication capabilities (#12042)
* Add NuvoNet source communication

Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>

* fix readme

Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>

* remove commented code

Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>

* Add startup/shutdown keypad messages

Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>

* Minor cleanup before code review

Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>

* Add configurable favorites labels

Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>

* add new config item to i18n properties

Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>

* Fix restart detection and improve version matching

Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>

* review changes

Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>

* Increment version number

Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>

* remove repeated word in channels.xml

Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>

* Review changes

Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>

Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>
2022-09-19 08:00:46 +02:00
Bernd Weymann cbe41951fd
readme typo: callbackIP needs to match to code (#13410)
Signed-off-by: Bernd Weymann <bernd.weymann@gmail.com>
2022-09-18 21:45:00 +02:00
Sami Salonen 295df504c8
[mqtt.homeassistant] More readable label for discovered things (#13402)
* [mqtt.openassistant] Better labels for discoverd things

This PR introduces more simple label for things, instead of
"My Sensor (Sensor, Sensor, Sensor, Sensor, Sensor, Switch)" we have
simply "Me Sensor (5x Sensor, Switch)".

Signed-off-by: Sami Salonen <ssalonen@gmail.com>
2022-09-18 21:22:06 +02:00
Cody Cutrer a2b6dd77b7
[mqtt.homeassistant] sensors with a state_class are numeric (#13398)
see reference in code comment, but a measurement sensor is assumed to
be numeric, even if it doesn't have a unit

Signed-off-by: Cody Cutrer <cody@cutrer.us>
2022-09-18 19:46:07 +02:00
Sami Salonen 2fd2e5175f
[mqtt.homeassistant] Stable jsondb discovery result (#13401)
* [mqtt.homeassistant] Stable jsondb serialization for discovery results

Similar to openhab/openhab-core#2436, we want
to have consistent ordering of data in JSONDB. This is fixing the jsondb
order for mqtt.homeassistant discovery results, specifically, the
"topics" property.

* [mqtt.homeassistant] order using full topic string, not by subcomponent

Signed-off-by: Sami Salonen <ssalonen@gmail.com>
2022-09-18 18:20:49 +02:00
lolodomo 6ebf20f183
[ecowatt] Initial contribution (#13404)
* [ecowatt] Initial contribution

This binding uses the Ecowatt API to expose clear signals to adopt the right gestures and to ensure a good supply of electricity for all in France.

Close #13351

Signed-off-by: Laurent Garnier <lg.hc@free.fr>

* Update bundles/org.openhab.binding.ecowatt/src/main/resources/OH-INF/thing/thing-types.xml

Signed-off-by: Fabian Wolter <github@fabian-wolter.de>

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
Signed-off-by: Fabian Wolter <github@fabian-wolter.de>
Co-authored-by: Fabian Wolter <github@fabian-wolter.de>
2022-09-18 17:52:18 +02:00
GiviMAD 798b3ede04
[androiddebugbridge] fix get current package and get mac address (#13390)
Signed-off-by: Miguel Álvarez <miguelwork92@gmail.com>

Signed-off-by: Miguel Álvarez <miguelwork92@gmail.com>
2022-09-18 17:44:59 +02:00
M Valla e8d20f0341
[openwebnet] improved README for AUX and ENERGY (#13408)
Signed-off-by: Massimo Valla <mvcode00@gmail.com>

Signed-off-by: Massimo Valla <mvcode00@gmail.com>
2022-09-18 17:24:39 +02:00
Dmitry b6a2240270
[miio] Qingping Air Monitor (cgllc.airmonitor.s1) support is broken (#13262)
* [miio] Qingping Air Monitor (cgllc.airmonitor.s1) support is broken #13258
1.  Custom refresh command for "battery" was defined . The device with "4.1.8_9999" firmware version does not allowed to obtain this information by this way which prevents to obtain other values. The solution should work for both old firmware (the battery information would be requested as before) and it does not prevent the device with new firmware from sending other values (I checked it).

Signed-off-by: Dmitry Malenok <_mak_@bk.ru>

* [miio] Qingping Air Monitor (cgllc.airmonitor.s1) support is broken #13258
1.  The comment clarifying the "battery" parameter behavior was added.

Signed-off-by: Dmitry Malenok <_mak_@bk.ru>

Signed-off-by: Dmitry Malenok <_mak_@bk.ru>
2022-09-18 17:23:22 +02:00
GiviMAD 4ebcb70c83
[jellyfin] add play by id channels and update sdk (#13389)
* [jellyfin] add play by id channels and update sdk
* [jellyfin] add missed Playing Item Id channel

Signed-off-by: Miguel Álvarez <miguelwork92@gmail.com>
2022-09-18 13:01:18 +02:00
J-N-K b2d9fe5c0a
Adapt to core-changes (added JNA to tp) (#13298)
Signed-off-by: Jan N. Klug <github@klug.nrw>
2022-09-18 11:30:39 +02:00
mlobstein 8a9c66a567
[radiothermostat] Ignore updates if thermostat data is invalid (#13394)
* Ignore updates if data is invalid

Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>
2022-09-17 17:49:59 +02:00
Haavar Valeur 7dfb963f92
Configure zone on panel even if the channel is not yet linked (#13380)
Signed-off-by: Haavar Valeur <haavar@haavar.com>
2022-09-17 17:02:09 +02:00
Matthew Skinner 6805f8461e
[ipcamera] Fix ONVIF fails to reconnect (#13396)
* Fix reconnecting issues
* Cleanup logging.

Signed-off-by: Matthew Skinner <matt@pcmus.com>
2022-09-17 10:51:55 +02:00
GiviMAD 25ffd6127b
[vosk] Upgrade sdk and handle UnsatisfiedLinkError exceptions (#13391)
* [vosk] update sdk
* [vosk] handle unsatisfied link error exceptions

Signed-off-by: Miguel Álvarez <miguelwork92@gmail.com>
2022-09-17 09:27:09 +02:00
Florian Hotze 39d221d3a8
[jsscripting] Update openhab-js to 2.0.3 (#13385)
* [jsscripting] Update openhab-js to 2.0.3
* [jsscripting] Update README

Signed-off-by: Florian Hotze <florianh_dev@icloud.com>
2022-09-13 21:57:09 +02:00
Christoph Weitkamp a963c79e8b
Consider TimeZoneProvider to build states for time-stamp channels (#13386)
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2022-09-13 21:53:52 +02:00
alexf2015 b9761d0288
fix README.md (#13387)
Signed-off-by: Alexander Friese <af944580@googlemail.com>
2022-09-13 21:51:58 +02:00
Jacob Laursen 474be93710
Fix date cast exception (#13382)
After upgrading mysql-connector to 8.0.30 this exception was thrown: class java.time.LocalDateTime cannot be cast to class java.sql.Timestamp

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-09-12 18:16:25 +02:00
Andreas Berger 333ffbcba2
[fineoffsetweatherstation] Fix measurands (#13381)
* fix the PIEZO_GAIN10 measurand
* skip RAIN_PRIO measurand
* skip RCSATION measurand

Signed-off-by: Andreas Berger <andreas@berger-freelancer.com>
2022-09-12 17:16:10 +02:00
Andrew Fiddian-Green ddd25316d9
[velux] Correction to channel label (#13379)
Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>

Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
2022-09-11 16:16:44 +02:00
Andrew Fiddian-Green 9123e1349e
[velux] Vane position channel is visible when required (#13271)
* [velux] make vanePosition channel dynamic
* [velux] change category of window position from 'blinds' to 'window'

Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
2022-09-11 12:44:16 +02:00
Mark Herwege 909d390581
[systeminfo] Add CPU load channel, update dependencies (#13292)
* Add CPU load channel, update dependencies
* use PercentType, correct process CPU load
* Add and fix test

Signed-off-by: Mark Herwege <mark.herwege@telenet.be>
2022-09-11 11:06:52 +02:00
lolodomo 55e27c8c12
[rotel] New channel to select FM/DAB/iRadio preset (#13285)
* [rotel] New channel to select FM/DAB/iRadio preset

For models RCX-1500, RDG-1520, RT-11, RT-1570, T11 and T14

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-09-11 10:08:50 +02:00
openhab-bot f74a017bad
New translations unifi.properties (Dutch) (#13372) 2022-09-11 02:22:35 +02:00
lolodomo e84608e410
[linky] Docker specificities (#13348)
Related to #13336

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-09-10 17:00:28 +02:00
Hilbrand Bouwkamp 698703b0c6
[unifi] Fix portoverride to not remove any other data (#13362)
When a user has configured additional settings on a PoE port, like name.
These settings where lost when changing the PoEPort status in openHAB.
This was because in the binding only some information of the override was stored and when writing the new state this information would have been sent too.
In this change the object to store the override has been replaced by a plain json object. Therefore we don't have to know what is in it and all information is kept.

Signed-off-by: Hilbrand Bouwkamp <hilbrand@h72.nl>
2022-09-10 16:59:42 +02:00
alexf2015 1f1de41bd3
[Easee] Initial contribution (#12954)
* initial binding version

Signed-off-by: Alexander Friese <af944580@gmail.com>
2022-09-10 16:57:21 +02:00
Andrew Fiddian-Green dce6dc9f79
[hdpowerview] Correct shade capabilities information (#13330)
* [hdpowerview] corrections to capabilities database

Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
2022-09-10 10:01:54 +02:00
Haavar Valeur 9c534e37a8
[Konnected] Taking configured onValue into account when sending status to actuator (#13360)
* Taking configured onvalue into account when sending status to actuator
* Added documentation for onValue configuration

Signed-off-by: Haavar Valeur <haavar@haavar.com>
2022-09-10 08:48:03 +02:00
openhab-bot ce6b0a876d
New translations shelly.properties (German) (#13366) 2022-09-09 22:13:10 +02:00
Mark Herwege 54dc5c1fec
[upnpcontrol] Prepare dynamic channels and status messages for translation (#13364)
* prepare dynamic channels and status messages for translation

Signed-off-by: Mark Herwege <mark.herwege@telenet.be>
2022-09-08 22:25:18 +02:00
Ondrej Pecta 7d9e277a15
[jablotron] Added thermometers support for JA100F alarms (#13361)
Signed-off-by: Ondrej Pecta <opecta@gmail.com>
2022-09-08 21:18:42 +02:00
Haavar Valeur 8ee4ac86db
Fixed example thing. Made names less ambiguous (#13363)
Signed-off-by: Haavar Valeur <haavar@haavar.com>
2022-09-08 13:29:31 +02:00
Hilbrand Bouwkamp 18a41dbe84
[dsmr] Made additional key for smarty meter an option (#13359)
* [dsmr] Made additional key for smarty meter optional

Signed-off-by: Hilbrand Bouwkamp <hilbrand@h72.nl>
2022-09-07 11:08:04 +02:00
lolodomo c4625992af
[remoteopenhab] Fix the pattern to parse DateTime (#13349)
Re-use the same pattern as defined in class DateTimeTyoe.

Allows the support of 0 to 9 digits after the seconds.

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-09-06 20:27:31 +02:00
Haavar Valeur fe25216ea6
[Konnected] Using default onvalue if configured is null (#13354)
* Using default onvalue if configured is null
* Using DTO for channel configuration. Changing channel config parameter names to camel case

Signed-off-by: Haavar Valeur <haavar@haavar.com>
2022-09-06 20:24:33 +02:00
lolodomo bbaf1e782a
[remoteopenhab] Handle REFRESH command as any command (#13350)
The received command (REFRESH) is transmitted as a REFRESH command to
the remote item.

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-09-05 17:54:27 +02:00
mlobstein 5a11f1420e
[nuvo] Fix MPS4 flag and online status reporting (#13345)
* Fix mps4 flag and online status reporting
* Update missing statuses

Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>
2022-09-03 17:44:39 +02:00
Christoph Weitkamp 32c76898c1
[avmfritz] Allow to set every userdefined color (#13317)
* Added INCREASE/DECREASE commands for brightness/color Channels
* Fixed NPE in HeatingModel
* Use set unmapped color command for color control of bulbs

Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2022-09-03 14:42:31 +02:00
Stewart Cossey df432a7fbc
Update API URL. (#13306)
Signed-off-by: Stewart Cossey <stewart.cossey@gmail.com>
2022-09-03 14:32:43 +02:00
Gwendal Roulleau 2b62f74e5f
[mimictts] Use http method POST instead of GET (#13239)
* [mimictts] Use http method POST instead of GET

Using POST method allows longer request size.
Also, using InputStreamResponseListener avoid keeping the response in-memory

* [mimictts] quick fix for regression : providing length

Some audiosink needs it

Signed-off-by: Gwendal Roulleau <gwendal.roulleau@gmail.com>
2022-09-03 12:00:32 +02:00
openhab-bot b27364679e
New translations fineoffsetweatherstation.properties (Italian) (#13341) 2022-09-01 09:36:05 +02:00
Jacob Laursen dddf463e09
Upgrade MySQL connector to 8.0.30 (#13242)
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-08-31 21:56:39 +02:00
Andreas Berger 4331c5f3ed
[fineoffsetweatherstation] Add support for the new GW2001 weather station (#13283)
* [fineoffsetweatherstation] add support for the new GW2001 weather station with its WH90 sensor
* [fineoffsetweatherstation] add missing channel labels
* [fineoffsetweatherstation] remove redundant translations
* [fineoffsetweatherstation] add test data + fix for WH90
* [fineoffsetweatherstation] fix wrong size for `CMD_READ_RAIN`

Signed-off-by: Andreas Berger <andreas@berger-freelancer.com>
2022-08-31 15:27:18 +02:00
Jacob Laursen a2e0d23297
[boschindego] Add another status code for returning to dock (#13335)
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-08-30 16:45:30 +02:00
Haavar Valeur 195a37e36e
[Konnected] Removed defaults for zone configuration parameter from the channels (#13333)
* Removed defaults from zone parameter
* Corrected the name of the zone property in example

Signed-off-by: Haavar Valeur <haavar@haavar.com>
2022-08-29 22:57:12 +02:00
Wouter Born 8eb0d2c16e
[rrd4j] Use RrdDbPool to prevent ClosedByInterruptException (#13332)
Using the pool prevents exceptions like:

```
java.nio.channels.ClosedByInterruptException: null
	at java.nio.channels.spi.AbstractInterruptibleChannel.end(AbstractInterruptibleChannel.java:199) ~[?:?]
	at sun.nio.ch.FileChannelImpl.endBlocking(FileChannelImpl.java:162) ~[?:?]
	at sun.nio.ch.FileChannelImpl.size(FileChannelImpl.java:388) ~[?:?]
	at org.rrd4j.core.RrdNioBackend.<init>(RrdNioBackend.java:94) ~[?:?]
	at org.rrd4j.core.RrdNioBackendFactory.open(RrdNioBackendFactory.java:163) ~[?:?]
	at org.rrd4j.core.RrdBackendFactory.getBackend(RrdBackendFactory.java:521) ~[?:?]
	at org.rrd4j.core.RrdDb.<init>(RrdDb.java:627) ~[?:?]
	at org.rrd4j.core.RrdDb.of(RrdDb.java:500) ~[?:?]
	at org.openhab.persistence.rrd4j.internal.RRD4jPersistenceService.getDB(RRD4jPersistenceService.java:323) ~[?:?]
	at org.openhab.persistence.rrd4j.internal.RRD4jPersistenceService.store(RRD4jPersistenceService.java:141) ~[?:?]
	at org.openhab.persistence.rrd4j.internal.RRD4jPersistenceService.lambda$0(RRD4jPersistenceService.java:211) ~[?:?]
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) [?:?]
	at java.util.concurrent.FutureTask.run(FutureTask.java:264) [?:?]
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304) [?:?]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) [?:?]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) [?:?]
	at java.lang.Thread.run(Thread.java:829) [?:?]
```

Fixes #13297

Also includes a few code improvements.

Signed-off-by: Wouter Born <github@maindrain.net>
2022-08-29 17:15:17 +02:00
Haavar Valeur 07e2b69e79
[Konnected] Fixed null pointer exception on state update with missing state (#13329)
* Fixed null pointer exception on state update with missing state
* Added variable for state. Changed onvalue configuration type to integer.

Signed-off-by: Haavar Valeur <haavar@haavar.com>
2022-08-29 12:45:25 +02:00
Cody Cutrer 449d3518f6
[jrubyscripting] avoid polluting environment when auto-installing gems (#13328)
fixes https://github.com/boc-tothefuture/openhab-jruby/issues/634;
regression from https://github.com/openhab/openhab-addons/pull/13151

Signed-Off-By: Cody Cutrer <cody@cutrer.us>
2022-08-28 21:45:35 +02:00
Andreas Berger a327167a58
[fineoffsetweatherstation] Add information about unsupported devices (#13307)
* [fineoffsetweatherstation] add information about unsupported devices

Signed-off-by: Andreas Berger <andreas@berger-freelancer.com>
2022-08-28 14:05:51 +02:00
Andrew Fiddian-Green f7295bd00f
[hdpowerview] Battery channels visible only when required (#13324)
* [hdpowerview] add batteryKind field
* [hdpowerview] battery channels visible depending on batteryKind

Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
2022-08-28 13:55:18 +02:00
Jørgen Austvik c825171caf
Nobø hub addon: Add more component types with serial numbers. (#13326)
Minor change which gives more properties to detected things, which
should make a little easyer for users with these devices to identify them.

Signed-off-by: Jørgen Austvik <jaustvik@acm.org>
2022-08-28 13:50:56 +02:00
Pumpur 5abbf2df7e
[myStrom] Corrected readMe, mystrompir is not a bulb. (#13322)
* Corrected ReadMe, mystrompir is not a bulb.

Signed-off-by: Stefan Navratil <stefan@navratil.ch>
2022-08-26 22:32:33 +02:00
billfor 5bc4bb794e
[wemo] Add Wemo Outdoor plug (#13319)
Signed-off-by: bill <git@billforsyth.net>
2022-08-26 22:28:29 +02:00
openhab-bot e656c1f4df
New translations mqtt.properties (Italian) (#13323) 2022-08-26 20:06:56 +02:00
Wouter Born cfa20db227
[mqtt] Add missing broker connection configuration parameters (#13303)
Allows to configure the following broker connection configuration parameters:

* Protocol: TCP (default), WEBSOCKETS
* MQTT Version: V3 (default), V5
* Hostname Validation: true (default), false

The defaults are chosen to remain backwards compatible.

Signed-off-by: Wouter Born <github@maindrain.net>
2022-08-26 08:53:00 +02:00
Mark Herwege c21d3061ec
[mail] Correct action names (#13318)
Signed-off-by: Mark Herwege <mark.herwege@telenet.be>
2022-08-25 22:30:21 +02:00
Pete 34bdc21370
[bluetooth] Add support for service data (#10278)
Signed-off-by: Peter Rosenberg <prosenb.dev@gmail.com>
2022-08-25 21:36:21 +02:00
openhab-bot d4c472a04c
New translations mercedesme.properties (Italian) (#13312) 2022-08-24 11:05:35 +02:00
Bernd Weymann 704000eda9
[mercedesme] Initial contribution (#13044)
Signed-off-by: Bernd Weymann <bernd.weymann@gmail.com>
2022-08-23 22:42:39 +02:00
Andrew Fiddian-Green 0a41c3f2f6
[hdpowerview] Channels are visible depending on shade capabilities (#13275)
* [hdpowerview] create channels dynamically
* [hdpowerview] revert from channel creation to channel removal
* [hdpowerview] add category

Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
2022-08-23 22:03:43 +02:00
Espen Fossen bc9cf8e07a
[nobohub] Initial contribution (#12937)
* Added NoboHub binding.

Signed-off-by: Espen Fossen <espenaf@junta.no>
2022-08-22 23:27:24 +02:00
Bob A 9c2070f748
[lutron] Add mDNS discovery for RadioRA 3 processor (#13299)
Signed-off-by: Bob Adair <bob.github@att.net>
2022-08-22 19:37:07 +02:00
Cody Cutrer c215dfede4
[jrubyscripting] document how to use Ruby in a transformation (#13286)
using the core ScriptTransformationService. See
https://github.com/openhab/openhab-addons/pull/13255 for prior
discussion on this.

Signed-off-by: Cody Cutrer <cody@cutrer.us>
2022-08-22 15:46:18 +02:00
Jacob Laursen 19659b6e05
Adapt to AccessTokenResponse API change (#13278)
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-08-22 12:08:14 +02:00
Anders Alfredsson 29fb142e6a
[smhi] Prepare for easier translation (#13305)
Signed-off-by: Anders Alfredsson <andersb86@gmail.com>
2022-08-22 10:47:44 +02:00
Haavar Valeur ed3642da84
Setting auto discovered callback URL in configuration. Cleaned up callback URL handling (#13295)
Signed-off-by: Haavar Valeur <haavar@haavar.com>
2022-08-21 12:21:44 +02:00
openhab-bot 1b5e766b55
New translations fineoffsetweatherstation.properties (Italian) (#13300) 2022-08-21 12:15:40 +02:00
Haavar Valeur d8c07ebde7
[Konnected] Refreshed readme to include latest changes (#13294)
* Refreshed readme to include latest changes

Signed-off-by: Haavar Valeur <haavar@haavar.com>
2022-08-20 23:02:05 +02:00
Sami Salonen ac23965c7d
[transformation.jinja] Update jinjava to 2.6.0 from 2.5.7 (#13296)
Signed-off-by: Sami Salonen <ssalonen@gmail.com>
2022-08-20 10:05:21 +02:00
openhab-bot a99199720a
New Crowdin updates (#13291)
* New translations shelly.properties (German)
* New translations goecharger.properties (Italian)
2022-08-18 22:04:39 +02:00
Andreas Berger e49cde0cce
[fineoffsetweatherstation] Add channel for the sensors battery voltage (#13284)
* [fineoffsetweatherstation] add channel for the sensors battery voltage

Signed-off-by: Andreas Berger <andreas@berger-freelancer.com>
2022-08-18 12:14:21 +02:00
Gaël L'hopital 4fb528901f
Solves issue #13196 (#13281)
Signed-off-by: clinique <gael@lhopital.org>
2022-08-18 09:15:41 +02:00
Sascha Kloß 47b004f227
Add transaction to Go-Echarger (#13105)
Signed-off-by: Sascha Kloß <sascha.kloss@gmx.de>
2022-08-17 22:36:56 +02:00
jimtng 3de0f79d9a
[jrubyscripting] Update to jruby 9.3.7.0 to fix BootstrapMethodError (#13280)
* [jrubyscripting] Update to jruby 9.3.7.0
* [jrubyscripting] Exception fixed in jruby 9.3.7.0

The BootstrapMethodError should no longer be thrown by jruby since 9.3.7. Fixed in https://github.com/jruby/jruby/pull/7271

Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
2022-08-17 16:36:12 +02:00
vich-667 7e9e0dbdf2
return rollershutter pos (#13191)
Signed-off-by: Tobias Lange <vich-667@gmx.de>
2022-08-17 10:15:23 +02:00
Dan Cunningham b63e420abf
[Hydrawise] concurrent error (#13268)
* Fixes a concurrent modification exception, cleans up handler on dispose, fixes totally broken last contact channel
Fixes #13094

Signed-off-by: Dan Cunningham <dan@digitaldan.com>
2022-08-17 10:07:04 +02:00
Andrew Fiddian-Green 8baa500998
[tado] Fix AC target temperature reading and writing bugs (#13272)
* [tado] fix npe when target temperature json element is missing
* [tado] apply temperature command/value restrictions

Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
2022-08-17 09:32:17 +02:00
Boris Krivonog 801895e2d2
Refresh token if expired (#13274)
Signed-off-by: Boris Krivonog <boris.krivonog@inova.si>
2022-08-16 22:11:49 +02:00
Boris Krivonog 0a79b8574c
[automower] Adapt login due to Husqvarna API change (#13263)
* The Automower Connect API Authentication does not work anymore as they moved to a new authentication method. (AppKey and AppSecret) - adopted. Fixes issue #12980.

Signed-off-by: Boris Krivonog <boris.krivonog@inova.si>
2022-08-15 21:02:00 +02:00
openhab-bot 932346a091
New translations boschindego.properties (Danish) (#13269) 2022-08-15 20:55:45 +02:00
lolodomo 8e8eb059fd
[serial] Allow custom baudrate and add option 2400 (#13265)
Fix #13131

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-08-15 17:31:47 +02:00
Andrew Fiddian-Green 41fcdd6c71
[velux] Add an action to simultaneously set main and vane positions (#13199)
* [velux] add moveMainAndVane action
* [velux] add claridications to read me
* [velux] refactor actions and translate
* [velux] fix thing lookup

Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
2022-08-15 12:36:25 +02:00
Tiller bb3be91981
[miio] adding support for ijai.vacuum.v19 : Xiaomi Vacuum Mop 2S (#12723)
Signed-off-by: Tiller <github.me@tiller.fr>
2022-08-14 23:00:21 +02:00
Björn Lange 51ff29116f
[mielecloud] Adapt to inbox api changes (#13185)
* No unneccessary calls to thingRegistry.get
* Handle Inbox.add now returning CompletableFuture

Signed-off-by: Björn Lange <bjoern.lange@itemis.de>
2022-08-14 21:31:31 +02:00
CyborgAndy 5d1e3f9efd
[pwm] Fix handling of "maxDutyCycle" parameter value (#12197)
* [pwm] Fix handling of "maxDutyCycle" parameter value

Signed-off-by: Andriy Yemets <cyborg.andy@gmail.com>

* [pwm] Clarify behavior of the parameters

Signed-off-by: Andriy Yemets <cyborg.andy@gmail.com>

* [pwm] Update README.md (#12196)

Fixed description for maxDutycycle parameter
Added two new parameters: equateMinToZero and equateMaxToHundred

Signed-off-by: Andriy Yemets <cyborg.andy@gmail.com>

* Update bundles/org.openhab.automation.pwm/src/main/java/org/openhab/automation/pwm/internal/handler/PWMTriggerHandler.java

Signed-off-by: Fabian Wolter <github@fabian-wolter.de>

* Update bundles/org.openhab.automation.pwm/src/main/java/org/openhab/automation/pwm/internal/handler/PWMTriggerHandler.java

Signed-off-by: Fabian Wolter <github@fabian-wolter.de>

Signed-off-by: Andriy Yemets <cyborg.andy@gmail.com>
Signed-off-by: Fabian Wolter <github@fabian-wolter.de>
Co-authored-by: Fabian Wolter <github@fabian-wolter.de>
2022-08-14 14:53:12 +02:00
Jacob Laursen 6853fe84b9
Support one decimal for pressure value (#13257)
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-08-14 09:24:58 +02:00
openhab-bot d0f12a7fd5
New translations gardena.properties (German) (#13256) 2022-08-14 00:00:40 +02:00
Haavar Valeur 4b5bbab009
[Konnected] Adding base URL to config to allow for manually adding thing (#13251)
* Adding base URL to config to allow for manually adding thing
* Simplified reading of the base URL configuration. Renamed field to baseUrl to be consistent.
* Changed config parameters to camel case

Signed-off-by: Haavar Valeur <haavar@haavar.com>
2022-08-13 10:34:39 +02:00
Andrew Fiddian-Green bff2298b20
[gardena] synchronized (#13253)
Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>

Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
2022-08-12 17:32:51 +02:00
Gerhard Riegler 2d53243de7
[gardena] Fixed connection tracker (#13238)
* Removed provider header, no longer necessary
* Fixed connection tracker not starting after some websocket restarts

Signed-off-by: Gerhard Riegler <gerhard.riegler@gmail.com>
2022-08-12 16:54:24 +02:00
lolodomo 2f808bc8dd
[rotel] Set model and firmware properties (#13240)
For all models providing these information and relying on ASCII protocol.
The binding now supports reading of status message containing variable length content.

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-08-12 16:51:54 +02:00
Hans-Jörg Merk 9b128c2f7d
Add RSSI channel to intesisHome and fixed some NPEs (#13244)
Signed-off-by: Hans-Jörg Merk <github@hmerk.de>
2022-08-12 10:51:42 +02:00
Cody Cutrer e4c9a40d03
[homekit] allow multiple bridge instances to break the 150 limit (#13226)
fixes #11508, #12927

Signed-off-by: Cody Cutrer <cody@cutrer.us>
2022-08-12 09:55:39 +02:00
Andrew Fiddian-Green b075d3781c
[velux] Implement new API, and log critical device errors (#13212)
* [velux] use new API, and log StatusReply codes
Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>

Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
2022-08-12 09:26:51 +02:00
openhab-bot d5e3ab797c
New translations sonos.properties (French) (#13250) 2022-08-12 07:00:44 +02:00
lolodomo f3d9c084b8
[broadlinkthermostat] Fix parameter name in README (#13246)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-08-11 21:30:33 +02:00
lolodomo f795f87f5d
[sonos] Unit tests added for OPML request parsing (#13245)
Fix a typo in previous unit tests

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-08-11 21:27:43 +02:00
lolodomo 4eb74c45f1
[sonos] Ignore TRANSITIONING device state when updating channels (#13241)
* [sonos] Ignore TRANSITIONING device state when updating channels
* Remove TRANSITIONING state option

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-08-11 08:21:39 +02:00
lolodomo 92d6f1c6e9
[sonos] Added support of RadioApp music service (#13235)
* [sonos] Added support of RadioApp music service
* Extract artist and song title from TITLE
* Extract code in methods to reduce the size of the method updateMediaInformation
* Create new class and add tests

Fix #13208

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-08-11 08:18:56 +02:00
dependabot[bot] 4bf7a4a51e
[jdbc] Update PostgreSQL JDBC driver to 42.4.1 (#13221)
Bumps [postgresql](https://github.com/pgjdbc/pgjdbc) from 42.3.3 to 42.4.1.
- [Release notes](https://github.com/pgjdbc/pgjdbc/releases)
- [Changelog](https://github.com/pgjdbc/pgjdbc/blob/master/CHANGELOG.md)
- [Commits](https://github.com/pgjdbc/pgjdbc/compare/REL42.3.3...REL42.4.1)

Also-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-08-10 10:34:08 +02:00
Pumpur e3be803948
[myStrom] Added Motionsensor and API Token (#13201)
* Added API Token to configuration.
* Added motionsensor to myStrom binding.
* Added SPDX Header.
* fix: removed unnecessary updateStatus().

Signed-off-by: Stefan Navratil <stefan@navratil.ch>
2022-08-09 16:03:29 +02:00
Markus Michels 5b038786d5
[shelly] Improved TRV profile handling (selectable list via dynamic state options (#13227)
provider); some improvements & fixes

Signed-off-by: Markus Michels <markus7017@gmail.com>
2022-08-09 10:04:07 +02:00
Haavar Valeur 6c78fb3161
[konnected] Added support for Konnected Pro (#13180)
* - bug fix in konnnected handler to update change of smarthome units to Units
- multiple changes to code to enable support for the konnected pro-module
* Added optional configuration for callback URI
* Added support for more than one buzzer sound. Made zone/pin variables consistent. Removed preconfigured channels to be consistent (either all should be added or none).

Signed-off-by: Haavar Valeur <haavar@haavar.com>
2022-08-09 09:32:37 +02:00
Cody Cutrer f4fef5f6df
[homekit] support actual booleans in metadata config (#13228)
as well as strings, too.

reduces confusion, if someone doesn't know it needed to be a string

Signed-off-by: Cody Cutrer <cody@cutrer.us>
2022-08-08 20:50:42 +02:00
Holger Friedrich 8a0b7a042c
[knx] Add support for KNX IP Secure (#12709)
* [knx] Add support for KNX IP Secure

* add support for KNX IP Secure, new options SECURETUNNEL and
  SECUREROUTER, refers to #8872
* add config options for credentials for secure connections
* update user documentation
* add test cases

Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2022-08-08 16:55:41 +02:00
openhab-bot 21aa9c6aff
New translations jruby.properties (Italian) (#13229) 2022-08-08 13:53:02 +02:00
Cody Cutrer 581a04b72d
[homekit] fix collecting characteristics that don't belong to a complex accessory (#13233)
given:

```
Group eThermostat { homekit="Thermostat" }
Number:Temperature Thermostat_AmbTemp (eThermostat) { homekit="CurrentTemperature" }
Number:Temperature Thermostat_SetTemp (eThermostat) { homekit="TargetTemperature" }

Group gThermostatZoneContacts
// in reality there are multiple thermostats and multiple of these groups,
// so that a rule on members of gThermostatZoneContacts can find the related
// thermostat to turn it off when a window is open
Group:Contact:OR(OPEN,CLOSED) gWindows (eThermostat, gThermostatZoneContacts)

Contact Window_Contact (gWindows) { homekit="ContactSensor" }
```

When constructing the Thermostat accessory for eThermostat, detects the
Window_Contact as a mandatory characteristic, because it's a base accessory
in a nested group. This leads to lots of warnings about the temperature
value of a contact item being out of range.

The fix is two-fold - first of all, there's no reason to search nested
groups for characteristics of a complex accessory. Second of all,
even if for some reason you were to nest an accessory in an accessory,
the nested accessory does not actually belong to the outer accessory,
so don't add it as a mandatory characteristic of the outer.

I suspect there's still one more bug, because AbstractHomekitAccessoryImpl.
getCharacteristic(HomekitCharacteristicType.CURRENT_TEMPERATURE) was
returning Window_Contact, which is only tagged as a ContactSensor. But
after fixing the above two bugs, it was no longer reproducible, and I
didn't continue digging.

Signed-off-by: Cody Cutrer <cody@cutrer.us>
2022-08-08 09:47:26 +02:00
Cody Cutrer a191c16f50
[homekit] fix window coverings based on groups of rollershutters (#13232)
it was getting the state as a decimal type, not a percent type, so
it was getting 1 instead of 100.

Signed-off-by: Cody Cutrer <cody@cutrer.us>
2022-08-08 09:43:54 +02:00
jimtng e916974e38
[daikin] Fix changing specialmode from ECO to NORMAL (#13230)
Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
2022-08-08 08:47:05 +02:00
lolodomo 0e3a9f3c7e
[rotel] Other commands added for RSP-1576, RSP-1582, RAP-1580, RDD-1580, RA-1592, RC-1590 (#13223)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-08-07 22:50:19 +02:00
Cody Cutrer 70eb7dc511
[jrubyscripting] check if gems are installed before installing them (#13151)
* [jrubyscripting] check if gems are installed before installing them

this avoids unecessary downloads and overwrites, or even more importantly
errors if the GEM_HOME is not writable by the openhab user.

this also adds a configuration option for if you want to check for
updates every time configuration is applied (or openhab restarts). this
is useful if your OpenHAB system can't access the internet regularly.

Signed-off-by: Cody Cutrer <cody@cutrer.us>
2022-08-07 18:02:34 +02:00
Christian Wild 7a31cb2785
[tapocontrol] included P115 smart-socket (#13225)
* [tapocontrol] added P115 smart socket
* [tapocontrol] enabled energy-data for P115 socket

Signed-off-by: Christian Wild <christian@wild-bw.de>
2022-08-07 17:38:31 +02:00
krikk aaf18834ac
Added how to configure InfluxDB Persistance via Web-UI (#13213) 2022-08-07 11:38:49 +02:00
pali e53e1a5e99
[nibeheatpump] Added PRODINo ESP32 Ethernet v1 board support (#13190)
* [nibeheatpump] Added PRODINo ESP32 Ethernet v1 board support

Also added:
- telnet debug support (UDP debug removed)
- new configuration model
- OTA update support for PRODINo ESP32 Ethernet v1 board

Signed-off-by: Pauli Anttila <pauli.anttila@gmail.com>
2022-08-07 11:35:16 +02:00
Jacob Laursen 11cf3ca86b
[boschindego] Fix footnotes (#13222)
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-08-06 08:44:48 +02:00
Jacob Laursen 8e5c2455e8
[boschindego] Fix thing marked as offline when device is reachable (#13219)
* Fix thing offline on invalid command

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

* Rename exception

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

* Go back to last thing status after temporary disruptions

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

* Increase call frequency after device being unreachable

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-08-06 08:42:59 +02:00
jimtng bf58f98774
[daikin] Fix switching specialmode to NORMAL (#13206)
Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
2022-08-05 20:50:08 +02:00
Andrew Fiddian-Green ac12e5bfed
[gardena] Improve API rate limit handling (#13016)
* [gardena] eliminate dangling references on dispose
* [gardena] add fixes for 429 errors
* [gardena] apply rate limiting to binding restarts
* [gardena] eliminate NPE if startup fails with exception

Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
2022-08-04 20:20:40 +02:00
mlobstein 9f3a23c55f
Fix NPE on shutdown when Thing disabled and fix a bunch of warnings (#13215)
Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>
2022-08-04 15:56:52 +02:00
Markus Michels 0d73ed8150
[shelly] Minor bugfixes from hardening (#13200)
* Minor bugfixes from hardening

Signed-off-by: Markus Michels <markus7017@gmail.com>

* review changes applied

Signed-off-by: Markus Michels <markus7017@gmail.com>

* controlProfile is type String

Signed-off-by: Markus Michels <markus7017@gmail.com>
2022-08-04 08:42:29 +02:00
mlobstein 22f7dfe309
[epsonprojector] several small improvements and formatting changes (#13207)
* several small improvements and formatting changes

Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>
2022-08-03 16:30:42 +02:00
Andrew Fiddian-Green ae418a4246
[neohub] add auto discovery to ReadMe (#13204)
Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
2022-08-02 17:06:32 +02:00
lolodomo 2f50afdac4
[rotel] New command to toggle between stereo and bypass (#13203)
Concerns the models RSP-1570, RSP-1572 and RSX-1562

BYPASS as DSP mode is also removed for these models.

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-08-02 12:51:28 +02:00
openhab-bot c8a3867322
New translations boschindego.properties (Danish) (#13202) 2022-08-01 23:25:52 +02:00
lolodomo f582c90ae8
[rotel] Add missed command to switch between ProLogic modes (#13197)
* [rotel] Add missed command to switch between ProLogic modes

All models using the HEX protocol are concerned.

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-08-01 21:59:59 +02:00
Andrew Fiddian-Green f60e324229
[neohub] Add support for WebSocket connection to hub (#12915)
* [neohub] add support for secure web socket connection
* [neohub] clean code
* [neohub] synchronize api calls
* [neohub] rename classes, fix compiler errors, remove SuppressWarnings

Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
2022-08-01 21:58:39 +02:00
Daniel Campbell 8d3828a9a4
[amazonechocontrol] Add channels to thermostatController (#13067)
* enhance: add thermostat channels to amazonechocontrol

Signed-off-by: Daniel Campbell <djcampbell79@gmail.com>
2022-08-01 12:48:37 +02:00
Andrew Fiddian-Green b9782484c6
[velux] Add support for vane/slat position (#12618)
Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
2022-07-31 15:15:25 +02:00
lolodomo ec5794739c
[rotel] New channel for other commands provided by the API (#13183)
* [rotel] New channel for other commands provided by the API

Models covered by this PR:
A11, A12, A14, CD11, CD12, RA11, RA12, RA1570, RA1572, RC1570, RC1572, RCD1572, P5, X3, X5,
RSP-1066, RSP-1068, RSP-1069, RSP-1098, RSP-1570, RSP-1572,
RSX-1055, RSX-1056, RSX-1057, RSX-1058, RSX-1065, RSX-1067, RSX-1550, RSX-1560, RSX-1562

* Review comment: toString on RotelCommand

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-07-31 11:10:38 +02:00
Jacob Laursen 2de6dd0310
[boschindego] Provide faster channel updates (#13192)
* Optimize API calls for reduced load
* Add position tracking (on map)
* Provide faster updates when active
* Optimize state update after triggering commands
* Clean up duration variables
* Add initial test coverage for DeviceStatus

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-07-31 10:30:43 +02:00
Jacob Laursen c7f8507cae
[hdpowerview] Refactor tests (#13175)
* Move test providers to dedicated folder
* Simplify resource loading
* Clarify what is being tested
* Extract online communication test to separate class
* Fix SAT findings
* Rename variable to comply with naming convention

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-07-30 20:43:17 +02:00
lolodomo 8d2bb6bf62
[rotel] Updated doc for c8 and c8+ models (#13193)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-07-30 12:09:16 +02:00
Markus Michels 8aa88bc3d9
This PR is just to reduce the delta before I create the PR for Plus/Pro (#13176)
support. In general Gen1 and Gen2 devices have a total different API so
I spliced the API code in version/gen 1 and 2. This means restructuring
the classes (e.h. api+coap became api+api1+api2) and therefor dummy
changes in the code, e.g. import statements. This creates a lot of
overhead and separating those "dummy changes" simplifies merging the
actual PR.

Signed-off-by: Markus Michels <markus7017@gmail.com>
2022-07-29 19:48:10 +02:00
Dan Cunningham d5b657c6fd
Catch json parsing errors when getting login token. (#13189)
Fixes #13181

Signed-off-by: Dan Cunningham <dan@digitaldan.com>
2022-07-29 19:06:48 +02:00
openhab-bot b20180fa19
New translations boschindego.properties (Danish) (#13188) 2022-07-29 18:44:09 +02:00
openhab-bot 7cbdfc9b58
New translations somneo.properties (Italian) (#13187) 2022-07-29 00:33:53 +02:00
Jacob Laursen 5ec86ec614
Add additional hub properties (#13174)
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-07-28 08:43:17 +02:00
Jacob Laursen 6028533e8e
[boschindego] Plot location on map (#13179)
* Plot location on map
* Invalidate map when requested by service
* Optimize update of raw map

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-07-28 08:39:27 +02:00
0x4d4d 3b8567bd9e
[somneo] Initial contribution (#12321)
* [somneo] Initial contribution

Signed-off-by: Michael Myrcik <michael.myrcik@web.de>
2022-07-27 10:38:06 +02:00
Matt 1181a104f9
[haywardomnilogic] Add http timeout retry (#13164)
* Add HTTP Timeout Retry
* Updated try/catch messaging
* Repositioned some logging to occur before http request

Signed-off-by: Matt Myers <mmyers75@icloud.com>
2022-07-27 10:31:40 +02:00
Jacob Laursen 67006de606
[boschindego] Refresh cutting times right after next planned cutting (#13158)
* Refresh cutting times right after next planned cutting
* Cancel cutting time future unconditionally

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-07-26 20:03:40 +02:00
robnielsen 24e9228699
[insteon] set network to ONLINE after driver is initialized (#13030)
* [insteon] set network to ONLINE after driver is initialized

Signed-off-by: Rob Nielsen <rob.nielsen@yahoo.com>
2022-07-26 19:49:05 +02:00
openhab-bot 7e26b1149e
New translations fineoffsetweatherstation.properties (Italian) (#13177) 2022-07-26 16:40:40 +02:00
eugen 6f3cb286d9
[homekit] Target Fan state - add support for Switch Item (#12985)
* add support for SwitchItem for target fan state

Signed-off-by: Eugen Freiter <freiter@gmx.de>
2022-07-25 21:47:21 +02:00
mlobstein b31f06a4cd
[radiothermostat] minor readme updates (#13170)
* minor readme updates

Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>
2022-07-25 16:42:16 +02:00
Andreas Berger 84ea355e76
[fineoffsetweatherstation] Add support for ELV protocol (#13138)
* [fineoffsetweatherstation] add support for ELV protocol
* [fineoffsetweatherstation] remove german translations
* [fineoffsetweatherstation] add representationProperty for gateway, fix unit of irradiation-uv
* [fineoffsetweatherstation] add representationProperties in descriptor xml file
* [fineoffsetweatherstation] set channels values to undef in case of communication errors
* [fineoffsetweatherstation] use lock for request synchronisation
* [fineoffsetweatherstation] marke sensors as gone, if they got unpaired

resolves #12763

Signed-off-by: Andreas Berger <andreas@berger-freelancer.com>
2022-07-25 16:39:52 +02:00
Jacob Laursen 9ec6f7d12e
Add shade RF RSSI for hub/repeater (#13096)
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-07-25 12:56:03 +02:00
Martin Herbst dcc9190d2e
Allow default values that are lower than allowed minimum value (#13168)
Resolves #13097

Signed-off-by: Martin Herbst <develop@mherbst.de>
2022-07-25 12:16:30 +02:00
Jacob Laursen 60c13d7521
[boschindego] Fix communication error when smart mowing is disabled (#13167)
* Fix communication error when no planned next cutting
* Provide targeted handling of missing cutting times

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-07-25 08:45:46 +02:00
Andrew Fiddian-Green f7a228e9e9
[hdpowerview] override capabilities for shade types 54,55,56 (#13169)
Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
2022-07-24 15:02:43 +02:00
lolodomo cf32ecfeb5
[rotel] New channels to control random mode and repeat mode (CD players) (#13165)
Available for models CD11, CD14 and RCD-1572

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-07-23 17:26:09 +02:00
lolodomo 41f4ca7a51
[rotel] Add support of multiple zones (ASCII protocol) (#13136)
* [rotel] Add support of multiple zones (ASCII protocol)

Models C8 and C8+ (distribution amplifiers)

Code factorization.
Simulator updated.

* Set model/firmware thing properties (ASCII V2 protocol)
* Review comment: NumberOf rather than Nb
* Review comment: getZoneCommand: IllegalArgumentException if numZone is
outside 1-4
* Review comment: constant for volumeUpDown
* Simplification: method isPowerOn with numZone parameter (range 0-4)
* Review comment: fix for getPowerOffCommand
* Review comment: new method isZoneAvailable to factorize code
* Review comment: use MAX_NUMBER_OF_ZONES to check range validity

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-07-23 13:41:38 +02:00
dae1804 36ad888b92
Venstar: split away and schedule settings calls (#13046)
Separate Venstar thermostat API calls to change the away mode or
schedule-enabled mode so that the POST to the thermostat's REST
API settings endpoint contains only one of these two params.

Newer ColorTouch thermostat firmwares will reject any POSTs to the
settings endpoint that include the 'schedule' parameter when the
thermostat is currently in AWAY mode, regardless of the value
passed for 'schedule'.  This had the effect of preventing the
OpenHab binding from un-setting away mode.

Signed-off-by: David Eberhart <git@daveeberhart.com>
2022-07-22 21:44:43 +02:00
Tim c729b82d59
[homematic] Update README.md (#13159)
* Update README.md
2022-07-22 14:12:29 +02:00
truidix 831e7ec257
check if negativeSwitch is "on" and positiveSwitch is "off. If so: just (#13152)
print a warning instead of throwing a exception

Signed-off-by: David Kumar <git@truidix.de>
2022-07-21 21:31:02 +02:00
Jacob Laursen 0577ee8ad4
Fix excessive firmware version updates (#13155)
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-07-21 19:32:42 +02:00
openhab-bot 572d1ec6f0
New Crowdin updates (#13157)
* New translations miele.properties (Danish)
* New translations miele.properties (German)
2022-07-21 15:53:16 +02:00
MeisterPiffer c6c65c607b
[homematic] Update README.md (#13101)
add example for DSL rule with tabbed view
2022-07-21 15:09:07 +02:00
J-N-K 7855f81760
Fix build (#13150)
* Fix build
* fix itest

Signed-off-by: Jan N. Klug <github@klug.nrw>
2022-07-20 20:40:42 +02:00
openhab-bot 253a634f0a
New Crowdin updates (#13135)
* New translations astro.properties (Hungarian)
* New translations chromecast.properties (Hungarian)
* New translations darksky.properties (Hungarian)
* New translations coronastats.properties (Hungarian)
* New translations evohome.properties (Hungarian)
* New translations mcd.properties (Italian)
* New translations amazondashbutton.properties (Italian)
* New translations openwebnet.properties (Italian)
* New translations openhabcloud.properties (Italian)
* New translations voicerss.properties (Italian)
* New translations tado.properties (Italian)
* New translations wled.properties (Italian)
* New translations livisismarthome.properties (Italian)
2022-07-20 17:47:24 +02:00
Matt 848ec83d52
Additional error handling (#13146)
Signed-off-by: matchews <mmyers75@icloud.com>
2022-07-20 16:26:15 +02:00
Jacob Laursen d2670e40cb
[miele] Allow hostname as gateway network address (#13147)
* Allow hostname as gateway network address
* Document configuration parameters for things
* Add message for bridge communication error

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-07-20 16:13:16 +02:00
lolodomo da3ec664e5
[rotel] Fix syntax of few ASCII commands (#13148)
Impacted channels: track and playControl for models CD11, CD14 and RCD1572

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-07-20 14:26:24 +02:00
Markus Michels 4f8c1722a2
[shelly] Auto-numbering for channel labels & bugfixes (#13066)
* - new device types added
- min firmware set to 1.8.2
- unit for gas concentration fixed (ppm)
- Auto numbering on channel labels for groups with multiple instances
(add sequence suffix)
- API and Thing interfaces defined to restrict access to those classes
- fix on TRV boost update via CoAP
- fix for status.temperature and status.uptime, internalTemp channels
- don’t use meter timestamp if not present (RGBW2)
- low battery indicator for sensor devices fixed
- device detection based on model/type improved
- various messages/translations fixed/improved
- README updated (missing thing types added)

Signed-off-by: Markus Michels <markus7017@gmail.com> (github: markus7017)
Signed-off-by: Markus Michels <markus7017@gmail.com>

* missing properties added

Signed-off-by: Markus Michels <markus7017@gmail.com> (github: markus7017)
Signed-off-by: Markus Michels <markus7017@gmail.com>

* minor changes

Signed-off-by: Markus Michels <markus7017@gmail.com> (github: markus7017)
Signed-off-by: Markus Michels <markus7017@gmail.com>

* markdown fixed

Signed-off-by: Markus Michels <markus7017@gmail.com> (github: markus7017)
Signed-off-by: Markus Michels <markus7017@gmail.com>

* review changes applied

Signed-off-by: Markus Michels <markus7017@gmail.com>

* shelly_de.properties restored from main branch

Signed-off-by: Markus Michels <markus7017@gmail.com>
2022-07-19 19:37:06 +02:00
Kai Kreuzer d814640727
[bluetooth] Switch to fork of gatt parser library in order to fix incompatibility with xstream (#13128)
* Switch to fork of gatt parser library in order to fix incompatibility with xstream
* Add SAT suppressions
* Add gson dependency

Signed-off-by: Kai Kreuzer <kai@openhab.org>
2022-07-19 17:58:25 +02:00
Andreas Berger 7920dd6d48
[fineoffsetweatherstation] fix conversion of pressure (#13139)
resolves #13127

Signed-off-by: Andreas Berger <andreas@berger-freelancer.com>
2022-07-18 16:16:37 +02:00
Markus Michels 49a82c284e
[onkyo] HT-RC440 added (#13082)
* HT-RC440 added

Signed-off-by: Markus Michels <markus7017@gmail.com>
2022-07-17 16:48:00 +02:00
pali 6e35926551
[nibeheatpump] Added new channels for F1x45 heat pumps (#13125)
* [nibeheatpump] Added new channels for F1x45 heat pumps

 - Reset Alarms channel
 - 32bit Degree Minutes channel

Signed-off-by: Pauli Anttila <pauli.anttila@gmail.com>
2022-07-17 16:23:13 +02:00
Gaël L'hopital 53b26809d8
Adding scheduled reconnection on timeout (#13130)
Signed-off-by: clinique <gael@lhopital.org>
2022-07-16 23:15:05 +02:00
lolodomo d724b7f075
[rotel] Fix handling of balance command feedback (#13133)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-07-16 12:49:49 +02:00
J-N-K 9f8c1772d2
Adjust transformations to core changes (#13126)
Signed-off-by: Jan N. Klug <github@klug.nrw>
2022-07-14 22:47:48 +02:00
Sebastian P 8e16c411f0
[dali] Use correct command argument to query current color temperature (#13118)
Signed-off-by: Sebastian Philipp <github-ebqurd@s3lph.me>
2022-07-14 22:19:04 +02:00
Peter Aquino c780d7598a
[icloud] Fixes COMMUNICATION_ERROR iCloud response invalid: null (July 2022) (#13117) 2022-07-13 20:16:03 +02:00
eugen 94615b7728
[homekit] fix potential null pointer exceptions (#13122)
* fix potential null pointer exceptions
* use contains key

Signed-off-by: Eugen Freiter <freiter@gmx.de>
2022-07-13 17:01:02 +02:00
Gwendal Roulleau 7a53e313cd
[mimictts] Initial contribution (#13045)
* [mimictts] Initial contribution

Add a voice service for Mimic (version 3) TTS from Mycroft AI. 

Signed-off-by: Gwendal Roulleau <gwendal.roulleau@gmail.com>
2022-07-12 18:49:01 +02:00
Fabian Wolter 36bd806c28
[lcn] Add shutter positioning/angle, operating hours counters, tunable white, regulator mode, beeping (#13056)
* [lcn] Add shutter positioning/angle, operating hours counters, tunable white, regulator mode, beeping

Also, fix possible race condition during connecting, when the PC coupler is not connected to the LCN data wire.
Replace discontinued LCN-PKE by LCN-VISU.

Signed-off-by: Fabian Wolter <github@fabian-wolter.de>
2022-07-10 21:46:41 +02:00
simon-dengler 9bd8854e0b
[mcd] Initial contribution (#13051)
Signed-off-by: Simon Dengler <simon_dengler@gmx.de>
2022-07-10 20:20:23 +02:00
Andrew Fiddian-Green 4f57ae7879
[hdpowerview] add shades 31 & 33 (#13110)
Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
2022-07-10 17:25:15 +02:00
Hans-Jörg Merk e4ab45876c
[mail] Fix sending HTML/Multipart mails (#13108)
Signed-off-by: Hans-Jörg Merk <github@hmerk.de>
2022-07-10 15:21:56 +02:00
netwolfuk cfb09bdc48
Update OH version in skeleton scripts (#13107)
Signed-off-by: Nathaniel Wolfe <netwolfuk@gmail.com>
2022-07-10 11:24:32 +02:00
Wouter Born 53b7439f02
[hueemulation] Add default translations for module types (#13102)
Signed-off-by: Wouter Born <github@maindrain.net>
2022-07-10 07:31:34 +02:00
Wouter Born 25e2153d1a
[tado] Fix the last remaining SAT issue (#13099)
Signed-off-by: Wouter Born <github@maindrain.net>
2022-07-09 16:00:49 +02:00
Bernd Weymann c6778fcb00
[mybmw] Add home-distance channel (#13093)
* add home-distance channel
* use uniformed instead of random gps coordinates

Signed-off-by: Bernd Weymann <bernd.weymann@gmail.com>
2022-07-09 15:56:05 +02:00
Reinhard Plaim 9c768dc08f
[goecharger] fix data type for energy (nrg) (#13052)
* [goecharger] fix data type for energy (nrg)
* nrg need to be double for V2
* [goecharger] update example

Signed-off-by: Reinhard Plaim <reinhardplaim@gmail.com>
2022-07-08 21:55:57 +02:00
mlobstein 57e31e2885
Remove several README embedded logos (#13089)
Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>
2022-07-07 08:20:02 +02:00
deswong c1a69596de
[googletts] Add consent parameter to auth code request URL (#13087)
Signed-off-by: Desmond Wong <des@deswong.com>
2022-07-06 10:27:50 +02:00
Jacob Laursen 7a806cd307
[boschindego] Fix duplicated calls during initialization (#13086)
* Fix multiple authentications during initialization
* Fix cutting times being fetched twice during initialization

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-07-05 23:11:44 +02:00
Christoph Weitkamp 4f1fb4ed51
Handle JsonSyntaxException when parsing error messages (#13083)
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2022-07-05 13:22:46 +02:00
Jacob Laursen f5eabf0ba2
[boschindego] Add missing specialized text for unreachable device (#13058)
* Add missing specialized text for unreachable device
* Document IndegoUnreachableException on relevant paths

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-07-05 13:01:46 +02:00
Jacob Laursen cc3f9eac91
[miele] Fix auto-update for stop channel and synchronize switch channel with appliance state (#13071)
* Fix auto-update policy for stateless channel
* Reflect appliance state in switch channel state

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-07-05 08:05:21 +02:00
Jacob Laursen e0494bf44c
Deauthenticate session on dispose (#13081)
Fixes #13080

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-07-05 07:59:13 +02:00
Dan Cunningham 8a87450f4c
[openhabcloud] Makes the baseURL and item updates options advanced... (#13078)
* [openhabcloud] Makes the baseURL and item updates options advanced, cleans up documentation, disabled sending updates to the community myopenHAB.org service.

Fixes #12582

Signed-off-by: Dan Cunningham <dan@digitaldan.com>
2022-07-04 23:09:35 +02:00
Hilbrand Bouwkamp a58ae57942
[dsmr] Fix incorrect deriving of sub channel names when updating channels (#13076)
Subchannels were created by appending the key. However this was done inside a loop and if multiple updates were needed they would be appended to the channel name, instead of taking the channel name each time.
Signed-off-by: Hilbrand Bouwkamp <hilbrand@h72.nl>
2022-07-04 21:50:03 +02:00
openhab-bot 3e8df2bff8
New Crowdin updates (#13074)
* New translations enigma2.properties (Norwegian)
* New translations enigma2.properties (Hungarian)
* New translations enigma2.properties (Norwegian)
* New translations iCloud.properties (Finnish)
* New translations tradfri.properties (Finnish)
* New translations map.properties (Finnish)
* New translations googletts.properties (German)
* New translations voicerss.properties (Finnish)
* New translations xmltv.properties (Finnish)
* New translations exec.properties (Finnish)
* New translations jinja.properties (Finnish)
* New translations js.properties (Finnish)
* New translations regex.properties (Finnish)
* New translations jsonpath.properties (Finnish)
* New translations scale.properties (Finnish)
* New translations xslt.properties (Finnish)
* New translations xpath.properties (Finnish)
* New translations opensprinkler.properties (Finnish)
* New translations porcupineks.properties (Finnish)
* New translations netatmo.properties (Finnish)
* New translations imperihome.properties (Finnish)
2022-07-04 21:47:43 +02:00
Dan Cunningham dc66345a7b
[iaqualink] Fix to work with recent API changes to the iAqualink cloud service. Currently the binding throws a gson parsing error early in the poll process rendering it completly broken. (#13073)
Signed-off-by: Dan Cunningham <dan@digitaldan.com>
2022-07-04 21:46:38 +02:00
Wouter Born 325694747d
[enigma2] Remove FIXMEs from translations (#13075)
Signed-off-by: Wouter Born <github@maindrain.net>
2022-07-04 14:51:41 +02:00
openhab-bot 0f4cd1372d
New translations boschindego.properties (Danish) (#13070) 2022-07-03 14:43:48 +02:00
Jacob Laursen 7aa889080e
Add support for SpotMow status code (#13065)
Fixes #13033

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-07-02 15:23:23 +02:00
openhab-bot bb2761ffe5
New translations boschindego.properties (Danish) (#13064) 2022-07-02 13:34:40 +02:00
lolodomo 03d37232c3
[rotel] Add support for models M8 and S5 (Michi) (#13060)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-07-02 13:31:10 +02:00
Jacob Laursen 5e4ca2568c
[boschindego] Add new channels (#13040)
Fixes #12938

Fixes #13017

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-07-02 12:31:51 +02:00
openhab-bot 53d72dcecb
New translations boschindego.properties (Danish) (#13055) 2022-07-02 12:05:27 +02:00
Lenno Nagel 2c919c6a38
[pidcontroller] Implement previous state recovery on startup (#13003)
* [pidcontroller] Implement previous state recovery on startup

This feature allows the PID controller parameters to be updated and
OpenHAB to be restarted without losing the current controller state.

This is especially important for systems with a long response time.
For example it might take up to a day for an underfloor heating
controller to stabilise after losing state and having to build up
the integrator value from zero.

Signed-off-by: Lenno Nagel <lenno@nagel.ee>

* Change logger.info -> logger.debug

Signed-off-by: Lenno Nagel <lenno@nagel.ee>

* Change debug Item -> inspector Item in README

Signed-off-by: Lenno Nagel <lenno@nagel.ee>

* Add documentation regarding state persistence

Signed-off-by: Lenno Nagel <lenno@nagel.ee>

* Update bundles/org.openhab.automation.pidcontroller/README.md

Signed-off-by: Fabian Wolter <github@fabian-wolter.de>

* Update bundles/org.openhab.automation.pidcontroller/README.md

Signed-off-by: Fabian Wolter <github@fabian-wolter.de>

Co-authored-by: Fabian Wolter <github@fabian-wolter.de>
2022-07-02 11:28:18 +02:00
Jacob Laursen b886650bae
[boschindego] Add channels for last/next cutting time (#12989)
* Add channels for last/next cutting time
* Let handleCommand() work synchronously

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-07-02 10:48:33 +02:00
Gerhard Riegler ad9b4fbf79
[gardena] Adaptation of the login for API version 1.1 (#13050)
* Adaptation of the login for API version 1.1
* Fixed logging statement
* Fixed logging message
* Reverted changes in the german translation

Signed-off-by: Gerhard Riegler <gerhard.riegler@gmail.com>
2022-07-01 17:38:39 +02:00
openhab-bot b7df5abe8c
New Crowdin updates (#13048)
* New translations googletts.properties (French)
* New translations googletts.properties (German)
* New translations googlestt.properties (German)
* New translations googlestt.properties (French)
2022-07-01 16:01:37 +02:00
Sebastian P 4e2d87da5c
[dali] Implement DT8 (single-channel RGB & color temperature) device type (#12955)
* DALI: Implement DT8 (single-channel RGB & color temperature) device type, fix device and group addressing
* dali: Store BridgeHandler in a local variable instead of retrieving it over and over again.
* dali: Follow logging guidelines.

Signed-off-by: Sebastian Philipp <github-ebqurd@s3lph.me>
2022-07-01 08:11:00 +02:00
jimtng 3fe5f3f267
[jrubyscripting] Update jruby version to 9.3.6.0 (#13047)
Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
2022-07-01 08:06:58 +02:00
Mark Hilbush 2e8167fa3f
[googlestt] Fix authorization from returning null refresh token (#13043)
Signed-off-by: Mark Hilbush <mark@hilbush.com>
2022-06-30 19:03:06 +02:00
Mark Hilbush 00400562d4
[googletts] Fix authorization from returning null refresh token (#13042)
Signed-off-by: Mark Hilbush <mark@hilbush.com>
2022-06-30 19:01:44 +02:00
dependabot[bot] 8a8add71df
Bump mysql-connector-java in /bundles/org.openhab.persistence.jdbc (#12981)
Bumps [mysql-connector-java](https://github.com/mysql/mysql-connector-j) from 8.0.22 to 8.0.28.
- [Release notes](https://github.com/mysql/mysql-connector-j/releases)
- [Changelog](https://github.com/mysql/mysql-connector-j/blob/release/8.0/CHANGES)
- [Commits](https://github.com/mysql/mysql-connector-j/compare/8.0.22...8.0.28)

---
updated-dependencies:
- dependency-name: mysql:mysql-connector-java
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-30 12:44:40 +02:00
Andrew Fiddian-Green 650fc523b5
[hdpowerview] Return capabilities if capabilitiesOverride is not defined (#13031)
* [hdpowerview] bug fix capabilitiesOverride
* [hdpowerview] adopt reviewer requests
* [hdpowerview] suppress log warning on hub v1
* [hdpowerview] adopt reviwer suggestions

Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
2022-06-30 10:40:37 +02:00
Jacob Laursen 5ae0870bcb
Add support for new status codes (#13034)
Fixes #13033

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-06-30 09:02:34 +02:00
tb4jc f203b3f202
[ipcamera] Added URL encoding fix for passwords that contains special characters. (#13035)
* Added URL encoding fix for passwords that contains special characters.
* Simplified as proposed.

Signed-off-by: Thomas Burri <th@thonjato.ch>
2022-06-30 08:27:40 +02:00
dependabot[bot] 5f115295a4
Bump kotlin-stdlib in /bundles/org.openhab.voice.watsonstt (#12979)
Bumps [kotlin-stdlib](https://github.com/JetBrains/kotlin) from 1.4.10 to 1.6.0.
- [Release notes](https://github.com/JetBrains/kotlin/releases)
- [Changelog](https://github.com/JetBrains/kotlin/blob/v1.6.0/ChangeLog.md)
- [Commits](https://github.com/JetBrains/kotlin/compare/v1.4.10...v1.6.0)

---
updated-dependencies:
- dependency-name: org.jetbrains.kotlin:kotlin-stdlib
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-29 22:33:54 +02:00
lolodomo 859a1ebfec
[remoteopenhab] Avoid unexpected log for ALIVE SSE message (#13008)
Related to openhab/openhab-core#2983

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-06-27 18:25:00 +02:00
lolodomo 1d766bb824
[netatmo] Localized label/pattern for dynamic channel types (#13012)
* [netatmo] Localized label/pattern for dynamic channel types
* Review comment about key naming
* Fix label for timestamp extensible channel types

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-06-27 18:09:37 +02:00
Nadahar e8e7ca8653
[onkyo] Add support for TX-NR807 (#13006)
Signed-off-by: Ravi Nadahar <nadahar@rediffmail.com>
2022-06-27 16:17:15 +02:00
Kai Kreuzer 440f603e88
Apply spotless and resolver (#13027)
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2022-06-27 16:00:37 +02:00
Kai Kreuzer 948dd49bd8
Revert "Trying to fix the documentation build (#13025)" (#13026)
This reverts commit 82568e895c.
2022-06-27 12:23:54 +02:00
Kai Kreuzer 82568e895c
Trying to fix the documentation build (#13025)
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2022-06-27 12:10:52 +02:00
lolodomo a8c99c383c
[netatmo] Additional examples for home and camera (#13023)
* [netatmo] Additional examples for home and camera

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-06-27 00:13:36 +02:00
openhab-bot ed4858ebbb [unleash-maven-plugin] Preparation for next development cycle. 2022-06-26 18:18:40 +00:00
openhab-bot f2df4c3b5c
New Crowdin updates (#13021)
* New translations boschindego.properties (Danish)
* New translations remoteopenhab.properties (German)
* New translations remoteopenhab.properties (Hungarian)
2022-06-26 18:14:07 +02:00
Holger Friedrich 7c81a3db2f
[knx] Allow all port names for serial interfaces (#13019)
Starting with openHAB 3.3, the framework enforces using serial
ports which are detected by the system by default. This feature
is now disabled for the KNX addon to allow using symlinks to
ports as well.
Refers-to: openhab/openhab-core#3014

Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2022-06-26 17:22:56 +02:00
lolodomo e9afa9f08a
[netatmo] Document extensible channels (#13014)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-06-26 11:39:29 +02:00
Mark Hilbush 7e151e8fce
[squeezebox] Fix NumberFormatException when parsing status message (#13010)
* Fix NumberFormatException when parsing status message

Signed-off-by: Mark Hilbush <mark@hilbush.com>
2022-06-25 17:54:28 +02:00
Holger Friedrich 1a557fe17c
[knx] Improve labels and documentation for parameter readInterval (#12992)
Clarify handling of initial read and readInterval in documentation.
Updated labels to distinguish readInterval and pollInterval.
Fixes #12921.

Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2022-06-25 11:50:16 +02:00
openhab-bot 3dcc436200
New Crowdin updates (#13007)
* New translations boschindego.properties (Danish)

* New translations rustpotterks.properties (Italian)
2022-06-25 01:06:14 +02:00
Daniel Demus ccbc6a8f11
[wundergroundupdatereceiver] Check whether the thing is managed (#12998)
Ie. created in the UI or by discovery
Signed-off-by: Daniel Demus <daniel-github@demus.dk>
2022-06-24 19:04:29 +02:00
Andrew Fiddian-Green b5d7d22c1f
[gardena] eliminate ClassCastException (quick fix) (#13004)
Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
2022-06-24 18:25:43 +02:00
Sami Salonen e80b39916c
[dynamodb] Clarified AWS configuration steps (#13000)
* [dynamodb] Clarifying AWS configuration steps
* [dynamodb] Docs: image alt title corrected

Signed-off-by: Sami Salonen <ssalonen@gmail.com>
2022-06-24 16:53:21 +02:00
Gaël L'hopital a1a02f05bf
[netatmo] Adding Webhook event support for Doorbell (#12972)
* Adding Webhook event support for Doorbell
* Adding doorbell rtc.
* Enhancing NAPushType deserialization
* Setting empty fields to NULL

Signed-off-by: clinique <gael@lhopital.org>
2022-06-24 13:52:02 +02:00
funkstille 8ee86d786a
[dmx] Update README.md (#12914)
* Update README.md

Added Example for ECMAScript
2022-06-24 13:25:01 +02:00
Christoph Weitkamp 7f86947ceb
Fixed Channel definition for battery voltage (#12999)
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2022-06-24 12:15:46 +02:00
openhab-bot a2caf9343c
New Crowdin updates (#12996)
* New translations netatmo.properties (Italian)
* New translations wundergroundupdatereceiver.properties (Danish)
2022-06-24 08:21:58 +02:00
jimtng 075170e4b9
[ipcamera] Fix multiple parts handling for Dahua events (#12964)
* [ipcamera] Fix multiple part handling for Dahua events
* [ipcamera] Call processSettings only when data contains no boundary

Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
2022-06-23 19:06:34 +02:00
Karel Goderis 22304b3fd0
Fix #12926 (#12995)
Signed-Off-By: Karel Goderis <karel.goderis@me.com>
2022-06-23 18:52:31 +02:00
Sven Strohschein df06cd3af3
[livisismarthome] Button trigger channels are triggered on restart #12968 (#12969)
* [livisismarthome] Button trigger channels are triggered on restart #12968

Signed-off-by: Sven Strohschein <sven.strohschein@gmail.com>
2022-06-23 09:25:07 +02:00
Jacob Laursen 3465e8f30d
[gardena] Fix null annotation issue (and compiler warning) (#12957)
* Fix compiler warning
* Add basic test coverage for DataItem deserialization
* Add full prefixes to attributes variables
* Add missing newlines at end of test payload files
* Add full prefix to attributes variable

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-06-23 09:11:20 +02:00
openhab-bot 024e15806d
New Crowdin updates (#12991)
* New translations teleinfo.properties (French)

* New translations boschindego.properties (Danish)

* New translations watsonstt.properties (Italian)
2022-06-23 08:55:38 +02:00
Gaël L'hopital f4f0292dcd
[netatmo] Adding smoke detector module (#12984)
* Adding smoke detector module

Signed-off-by: clinique <gael@lhopital.org>
2022-06-23 08:37:45 +02:00
Jacob Laursen 8d900dbcf5
Fix offline description on failed HTTP call (#12990)
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-06-22 22:35:11 +02:00
eugen 565dc19508
[homekit] fix for battery charging state (#12959)
* fix for battery charging state

Signed-off-by: Eugen Freiter <freiter@gmx.de>
2022-06-22 11:20:36 +02:00
GiviMAD cf94687ad6
[watsonstt] use next gen model (#12971)
Signed-off-by: Miguel Álvarez <miguelwork92@gmail.com>
2022-06-22 08:54:13 +02:00
openhab-bot a4f5308f91
New translations boschindego.properties (Danish) (#12987) 2022-06-22 08:39:19 +02:00
openhab-bot 6f1d225544
New Crowdin updates (#12982)
* New translations unifi.properties (Dutch)
* New translations upnpcontrol.properties (Dutch)
* New translations elroconnects.properties (Dutch)
* New translations danfossairunit.properties (Danish)
* New translations elroconnects.properties (French)
* New translations nikohomecontrol.properties (Dutch)
2022-06-21 23:56:32 +02:00
Daniel Demus 9d679ba555
[wundergroundupdatereceiver] Add "Outdoor" to humidity (#12977)
* [wundergroundupdatereceiver] Add "Outdoor" to humidity
* [wundergroundupdatereceiver] Missing units in description and patterns
* [wundergroundupdatereceiver] Replace "weather station" with device
The request sender is not necessarily a weather station

Signed-off-by: Daniel Demus <daniel-github@demus.dk>
2022-06-21 12:30:46 +02:00
openhab-bot 66b191c04e
New Crowdin updates (#12975)
* New translations boschindego.properties (Danish)
* New translations harmonyhub.properties (Danish)
2022-06-20 22:45:36 +02:00
Jacob Laursen 461470e1e1
[danfossairunit] Update default translations (#12976)
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-06-20 22:39:00 +02:00
Wouter Born 23f77ccd62
[ahawastecollection] Disable AhaCollectionScheduleTest (#12974)
These tests use the real website which causes unwanted load, network connections and test failures.

See: https://github.com/openhab/openhab-addons/actions/runs/2529936944

```
[ERROR] Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 4.109 s <<< FAILURE! - in org.openhab.binding.ahawastecollection.internal.AhaCollectionScheduleTest
[ERROR] org.openhab.binding.ahawastecollection.internal.AhaCollectionScheduleTest.testGetValuesForRegion  Time elapsed: 3.294 s  <<< ERROR!
org.jsoup.UnsupportedMimeTypeException: Unhandled content type. Must be text/*, application/xml, or application/*+xml
	at org.openhab.binding.ahawastecollection.internal.AhaCollectionScheduleTest.testGetValuesForRegion(AhaCollectionScheduleTest.java:42)

[ERROR] org.openhab.binding.ahawastecollection.internal.AhaCollectionScheduleTest.testGetValuesForHannoverCity  Time elapsed: 0.726 s  <<< ERROR!
org.jsoup.UnsupportedMimeTypeException: Unhandled content type. Must be text/*, application/xml, or application/*+xml
	at org.openhab.binding.ahawastecollection.internal.AhaCollectionScheduleTest.testGetValuesForHannoverCity(AhaCollectionScheduleTest.java:33)
```

Signed-off-by: Wouter Born <github@maindrain.net>
2022-06-20 20:07:58 +02:00
Gaël L'hopital e17db56bd2
Solving issue #12910 (#12973)
Signed-off-by: clinique <gael@lhopital.org>
2022-06-20 17:15:36 +02:00
openhab-bot 33fe083f49
New Crowdin updates (#12967)
* New translations nikohomecontrol.properties (French)

* New translations openuv.properties (French)
2022-06-19 22:56:59 +02:00
Daniel Demus 56f4c8943b
[wundergroundupdatereceiver] Initial contribution (#10105)
* [wundergroundupdatereceiver] Initial implementation

Signed-off-by: Daniel Demus <daniel-github@demus.dk>

* [wundergroundupdatereceiver] Code review

Signed-off-by: Daniel Demus <daniel-github@demus.dk>

* [wundergroundupdatereceiver] Fix some description formatting

Signed-off-by: Daniel Demus <daniel-github@demus.dk>

* [wundergroundupdatereceiver] Add some more channel types per request

Signed-off-by: Daniel Demus <daniel-github@demus.dk>

* [wundergroundupdatereceiver] Add more headers to response



Signed-off-by: Daniel Demus <daniel-github@demus.dk>
Based on the observed headers from actual traffic to wunderground.com.

* [wundergroundupdatereceiver] Discovery service

Signed-off-by: Daniel Demus <daniel-github@demus.dk>

* [wundergroundupdatereceiver] Upgrade to 3.2, fix group name constants

Signed-off-by: Daniel Demus <daniel-github@demus.dk>

* [wundergroundupdatereceiver] Add a list of channel types

Signed-off-by: Daniel Demus <daniel-github@demus.dk>

* [wundergroundupdatereceiver] Add dateutc as synthetic DateTime channel

Also add som emore constants
Signed-off-by: Daniel Demus <daniel-github@demus.dk>

* [wundergroundupdatereceiver] Do more programmatic configuration

Signed-off-by: Daniel Demus <daniel-github@demus.dk>

* [wundergroundupdatereceiver] More readme

Signed-off-by: Daniel Demus <daniel-github@demus.dk>

* [wundergroundupdatereceiver] Update copyright year

Signed-off-by: Daniel Demus <daniel-github@demus.dk>

* [wundergroundupdatereceiver] Handle multiple instance request parameters

Signed-off-by: Daniel Demus <daniel-github@demus.dk>
Ie. those that can have an index number in the name, fx. temp1f, temp2f

* [wundergroundupdatereceiver] Add unmapped but mappable channels

To support multiple devices any new parameters that are submitted cause a new channel to be created
Signed-off-by: Daniel Demus <daniel-github@demus.dk>

* [wundergroundupdatereceiver] Don't pass superfluous config to channels

Also documentation additions
Signed-off-by: Daniel Demus <daniel-github@demus.dk>

* [wundergroundupdatereceiver] Add generated i18n file

Signed-off-by: Daniel Demus <daniel-github@demus.dk>

* [wundergroundupdatereceiver] Re-case test method names

Signed-off-by: Daniel Demus <daniel-github@demus.dk>

* [wundergroundupdatereceiver] Re-word thing file section of README

Signed-off-by: Daniel Demus <daniel-github@demus.dk>

Co-authored-by: Daniel Demus <dde@nine.dk>
2022-06-19 17:01:54 +02:00
Gaël L'hopital 3a632ca659
[openuv] Enhance server side error handling (#12958)
* Enhance server side error handling
* Enhancing exception tree
* a small factorization of error status
* Shorten statusMessage
* Correcting log syntax

Signed-off-by: clinique <gael@lhopital.org>
2022-06-19 14:56:56 +02:00
Holger Friedrich 822c27c181
[knx] FT12: List available serial ports if port cannot be opened (#12942)
Fixes a regression introduced by upgrading Calimero library to 2.5.

Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2022-06-19 14:50:35 +02:00
Jacob Laursen b5489057b6
[hdpowerview] Refactor null-handling, maintenance period, response logging (#12950)
* Treat HDPowerViewWebTargets as non-null since initialized by initialize()
* Simplify maintenance period logic slightly
* Improve response logging

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-06-19 14:12:51 +02:00
Jacob Laursen efb1bfc772
[boschindego] Add localization support for textual states (#12949)
* Add support for localization of textualstate texts
* Refactor state texts to eliminate redundancy

Fixes #12941

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-06-19 14:07:26 +02:00
GiviMAD daea9ae5b2
[actiontemplatehli] Initial contribution (#12260)
* [actiontemplatehli] initial contribution

Signed-off-by: Miguel Álvarez <miguelwork92@gmail.com>
2022-06-19 13:39:31 +02:00
GiviMAD 11aa3207a6
[rustpotterks] initial contribution (#12606)
* [rustpotterks] initial contribution

Signed-off-by: Miguel Álvarez <miguelwork92@gmail.com>
2022-06-19 11:06:33 +02:00
openhab-bot 48c14e613c
New translations hdpowerview.properties (Danish) (#12963) 2022-06-19 08:45:42 +02:00
netwolfuk 6f58a52966
[oppo] Documentation - Add example for configuring ser2net version 4 and above (#12961)
* Add example for configuring ser2net version 4 and above

The format for ser2net configuration has changed to a YAML file.
This PR simply adds an example yaml block showing a working ser2net connection with the Oppo Bluray player.
2022-06-19 00:01:50 +02:00
Mark Hilbush 9e3ee5b294
Avoid ClassCastExceptions (#12960)
Signed-off-by: Mark Hilbush <mark@hilbush.com>
2022-06-18 21:03:02 +02:00
Mark Hilbush 4182595c19
Fix NPE when reading reply from device (#12956)
Signed-off-by: Mark Hilbush <mark@hilbush.com>
2022-06-18 21:00:01 +02:00
Florian Hotze b2087e3807
[jsscripting] Upgrade openhab-js to version 2.0.0 (#12945)
* Bump openhab-js version to 2.0.0
* Update README for current openhab-js version
* README: Fix paths to images

Signed-off-by: Florian Hotze <florianh_dev@icloud.com>
2022-06-18 13:24:05 +02:00
Mark Hilbush 740f843157
Handle WebSocketException to prevent scheduled job failure (#12944)
Signed-off-by: Mark Hilbush <mark@hilbush.com>
2022-06-17 12:54:26 +02:00
Jacob Laursen 72f947dee0
Regenerate i18n texts (#12951)
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-06-17 07:31:24 +02:00
Andrew Fiddian-Green 4036888433
[gardena] remove compiler warnings (#12947)
Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
2022-06-16 21:44:25 +02:00
Mark Herwege f8bbb2b5a5
[nikohomecontrol] Bug fixes and improvements to thermostats (#11963)
* Thermostat fixes and implement extra thermostat channels

Signed-off-by: Mark Herwege <mark.herwege@telenet.be>
2022-06-15 13:01:22 +02:00
robnielsen 3349cf4945
[insteon] set device offline if it doesn't exist in the plm/hub database (#12904)
* [insteon] set device offline if it doesn't exist in the plm/hub database
* [insteon] use a flag to indicate if a device is linked or not
* [insteon] set config to @NonNullByDefault({}) instead of @Nullable
* [insteon] cleanup

Signed-off-by: Rob Nielsen <rob.nielsen@yahoo.com>
2022-06-14 23:26:08 +02:00
Sven Strohschein 25660991e6
[livisismarthome] New binding (successor of innogysmarthome with local API and some improvements) (#12440)
- Initial version added (copied and renamed from the innogysmarthome binding)
- The local API is now used, authorization, bridge initialization and discovery is already working
- Potential NullPointerExceptions fixed
- Adding battery-low-Channel support for ISC2
- More optimizations and local API changes in the ReadMe
- The key button counter channels are now updated correctly. The according trigger channels should now also work fine.
- Bug fixes regarding button pressed event. The pressed event is now executed along with short and long press events, so if someone want to react on a button press (short or long), the PRESSED trigger event can get checked. And the pressed event isn't senseless executed on a binding restart anymore.
- Error messages improved
- Deprecation-Notice
- New deprecation warning integrated in the innogysmarthome binding
- Livisi renamed to LIVISI
- SHC channels are now initialized correctly
- New "status" channel for the SHC with the values ACTIVE, INITIALIZING and SHUTTINGDOWN
- Code and documentation optimizations
- Fix for PT-PSS action
- Support for SHC classic - The websocket is hosted on another port.
- Update for Temperature-Channel-Definitions and Translations (de)
- Update for Power-Channel-Definitions
- Further translations (de) for devices and channels
- Refactoring branch integrated (some tests added and a lot of code optimizations for example smaller methods, better method names, more simple flows without continue and return in void methods, improved NULL handling, etc.)
- Code optimization (special handling for VariableActuator removed which seems to be not required anymore)
- The thing status is now set to offline when the device is not reachable (even on binding start up)
- The thing status is now set to online again when the device is reachable again
- Clearer description of the invert switch of the RollerShutter (ISR2)
- Copyright notices corrected
- Imports optimized
- Changed handling of pointTemperature (QuantityType instead of DecimalType)
- Code optimization (device status listeners are now registered with device id, so it isn't necessary anymore to call all listeners to find the right matching listener for the device event).
- Code optimization (not working mDNS bridge discovery removed).
- Explicit idle timeout removed (seems not to be required anymore for the local API and may cause problems with SHC 1, there occur EOFExceptions)
- Code optimizations (Debug code removed which isn't required anymore)
- Warn message added which is logged when the temperature to set is not between min and max temperature (this can happen when the user uses the REST-API instead of MainUI or probably also when set via a rule).
- Code optimizations (stronger/consequent use of QuantityType instead of DecimalType)
- Temperature values outside the possible range of 6 - 30 °C are now set to 6 / 30 °C. Therefore a temperature channel can get set to 0 °C for example by a rule and this is automatically changed to 6 °C (and causes a debug message).
- Code optimizations
- Bug fixes regarding UnitsOfMeasurements (Number:Power)
- Tests repaired
- The local API returns "[]" for empty objects which should only get used for arrays... This is now handled by the binding with replacing "[]" by "null". This error occurred with SHC 1, it isn't known if SHC 2 is also affected.
- Number:Dimensionless (percent) introduced for humidity and luminance
- Button events are now supported for SHC 1 (Classic), but without information about short or long press (isn't available for this SHC model).
- Button events are now supported for SHC 1 (Classic), but without information about short or long press (isn't available for this SHC model).
- The configVersion is now also available for SHC 1 bridges.
- More changes to Descriptions, Translations, Icons, Channel-Order, Channel-Config
- Trace logging of responses added to increase the traceability
- The SHC channels should now also get filled for SHC classic
- cpu, memory and disc channels are now defined as percentage (Number:Dimensionless)
- Jetty-HttpClient replaced by simple UrlConnection, because Jetty-HttpClient has problems with high frequency execution of requests. There were EOFExceptions with SHC classic when 2 or more requests were executed within the same second...
- Readme updated
- Copyright notices corrected
- Additions in ReadMe for RST2 / WRT
- The bridge channels (cpu, memory, disc and operation state) are now updated every minute for SHC 1 / classic (because there are no such events for SHC 1 / classic)
- Bug-fix for SHC 1 / classic: Device attributes are now updated correctly for SHC 1 / classic (there is another response structure, which caused that some attributes were not found / update). This should have affected battery low and reachable (thing status) information.
- There are also raw events which report changes regarding the bridge channels (cpu, memory, disc and operation status). There are now processed.
- Token request JSON changed to lower-case (to be compatible with the new SHC firmware update and this should enable to use the standard logics)
- SHC 2 can now get authenticated with the OAuth 2.0 standard logics of OpenHAB (with x-www-form-urlencoded instead of json). The old special json logic is still there to support SHC 1 (but SHC 1 will also get updated soon).
- SHC 1 supports now short and long button pressed events
- Outdated custom login logics removed. SHC 2 and SHC 1 / classic supports now OAuth 2.0 login requests, therefore the default login logics of OpenHAB can now get used.
- README updated for the required software version of SHC 1 / classic
- Code review findings fixed
- Code review findings fixed (Channel Ids renamed to lowerCamelCase)
- Unused code removed
- Code review findings fixed (Device status messages localized)
- Code review findings fixed (label of BooleanStateActuator renamed)
- Code review findings fixed (hard-coded units resolved)
- Code review findings fixed (unit of measurements changed form Power to Energy when it is unit Wh instead of W)
- Code review findings fixed (thing status BRIDGE_OFFLINE changed to COMMUNICATION_ERROR, because BRIDGE_OFFLINE is intended for sub/child devices, not for the bridge thing)
- Code review findings fixed ("initialize" is now returned faster and all requests are executed asynchronously)
- Code review findings fixed ("initialize" is now returned faster and all requests are executed asynchronously)
- Compiler warnings fixed
- Code review findings fixed
- Code review findings fixed (channel ids renamed)
- Code review findings fixed (tags for temperature and humidity added)
- Code review findings fixed (properties renamed to lowerCamelCase like the default properties)
- Code review findings fixed (non-null warnings fixed, performance increased by reducing requests)
- Code review findings fixed (non-null warnings fixed)
- Code review findings fixed (non-null warnings fixed in tests)
- Copyright notices updated
- Unnecessary log line removed
- Code review findings fixed (non-null warnings fixed in tests)
- Test fixed (WebSocketClient can't get mocked completely which caused an Exception)
- Code review findings fixed (various code optimizations)
- Code review findings fixed (channel-type-ids renamed to lowerCamelCase)
- Code review findings fixed (translation simplified)
- Code review findings fixed (temperature point handling converted in UoM)
- Code review findings fixed (Exception handling improved)
- Code review findings fixed (offline state precised when the bridge isn't found/configured)
- Code review findings fixed (exception logs deactivated within tests to reduce to console output when running the tests)
- Code review findings fixed (thing status is now checked instead of bridge status)
- Code review findings fixed (DeviceStructureManager can now be marked as NonNull because it is initialized within the initialize method)
- Code review findings fixed (LivisiClient can now be marked as NonNull because it is initialized within the initialize method)
- Code review findings fixed (OAuthService can now be marked as NonNull because it is initialized within the initialize method)
- Code review findings fixed (unnecessary type check removed)
- Code review findings fixed (warning messages within tests reduced)
- Code review findings fixed (more when the bridge connection state changes)
- Code review findings fixed (reconnect job changed from scheduleAtFixedRate to scheduleWithFixedDelay - recommended by the SAT warnings).
- Code review findings fixed (unused method removed).
- Representation property introduced to auto-ignore textual defined things at discovery/scan
- Code review findings fixed (more detailed error message for SHC not reachable added).
- Fix ChannelTypeID in Readme.md sample
- Code review findings fixed ("/event/ControllerConnectivityChanged" doesn't change the bridge thing to offline anymore, because it isn't important for the local API anymore).
- Code review findings fixed (point temperature commands with DecimalType instead of QuantityType can now also get handled).
- Tests added regarding handleCommand
- Code optimization (constant for the "invert" channel parameter added)
- Code optimization (log messages within tests avoided)

Signed-off-by: Sven Strohschein <sven.strohschein@gmail.com>
Co-authored-by: RalphSester <ralph.sester@sester-edv.de>
2022-06-14 23:21:39 +02:00
Jacob Laursen 960be6bc83
[boschindego] Rewrite to avoid external dependencies (#12905)
* Rewrite to avoid external dependencies

Fixes #12720

* Improve session handling
* Avoid reauthorization for each command/poll
* Further improve session handling
* Refactor SSO cookie handling
* Optimize getting DeviceStatus for unknown status code

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-06-14 22:51:26 +02:00
Bruetti1991 fd9fa722d3
[gardena] Fix handling of websocket connection losses that causes memory leaks (#11825)
* [gardena] Fix handling of websocket connection losses that causes memory leaks

* The binding no longer restarts websockets more than once if the connection is lost

Signed-off-by: Nico Brüttner <n@bruettner.de>
2022-06-14 21:12:14 +02:00
openhab-bot 58342f72ed
New Crowdin updates (#12933)
* New translations netatmo.properties (Italian)

* New translations netatmo.properties (French)
2022-06-13 22:37:13 +02:00
vich-667 2b1b6a3709
add new state battery diagnosis (#12934)
Signed-off-by: Tobias Lange <vich-667@gmx.de>
2022-06-13 21:25:29 +02:00
eugen cddd2daae2
[homekit] fix issue with some hue lights, e.g. xiaomi (#12931)
* fix for hue

Signed-off-by: Eugen Freiter <freiter@gmx.de>
2022-06-13 19:16:13 +02:00
lolodomo eb97ba2ec7
[netatmo] Make the grant servlet always available (#12923)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-06-13 08:08:36 +02:00
lolodomo 770d32ce99
[netatmo] Rework room actions (#12870)
* [netatmo] Rework room actions
* Clarify what thermostat modes can be used for the action

Fix #12836

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-06-13 08:07:22 +02:00
Jacob Laursen ebca0812d1
Fix signalStrength channel update after REFRESH command (#12930)
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-06-13 07:46:20 +02:00
Mark Herwege 0cee45f4d5
[nikohomecontrol] Reconnection logic (#12885)
* Clear handler references when disposing handler
* Improved handling when connection lost
* Fix refresh interval property definition
* Unset event handler when actions removed from NHC
* Startup and connection attempt improvements
* Unset action references
* Reconnection logic cleanup
* Cleanup bridge online setting
* Also synchronize scheduleRestartCommunication

Signed-off-by: Mark Herwege <mark.herwege@telenet.be>
2022-06-12 10:38:39 +02:00
Gaël L'hopital 8339faad47
[netatmo] Improve channel helpers (#12851)
Signed-off-by: clinique <gael@lhopital.org>
2022-06-11 20:08:10 +02:00
openhab-bot bf6d508c61
New Crowdin updates (#12920)
* New translations amazondashbutton.properties (French)

* New translations icalendar.properties (French)

* New translations luxom.properties (French)

* New translations amazondashbutton.properties (French)
2022-06-11 15:24:13 +02:00
lolodomo 303683c2ec
[amazondashbutton] Update default translations (#12917)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-06-11 11:13:52 +02:00
lolodomo c4b70e333d
[ambientweather] Add missing default translations (#12918)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-06-11 11:12:26 +02:00
lolodomo b19aefd359
[automover] Update default translations (#12919)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-06-11 11:11:46 +02:00
GiviMAD 6eed7fb542
[pulseaudio] regenerate default translations (#12916)
* [pulseaudio] regenerate default translations

Signed-off-by: Miguel Álvarez <miguelwork92@gmail.com>
2022-06-11 08:36:00 +02:00
Andrew Fiddian-Green c806c76631
[hdpowerview] Corrections to shade database and capabilities (#12902)
* [hdpowerview] add type 66 shutters to database
* [hdpowerview] shade database updates
* [hdpowerview] shade database additions and corrections
* [hdpowerview] enhance database features
* [hdpowerview] fix capabilities 8, 9 functionality
* [hdpowerview] adjust tests to match new capabilities
* [hdpowerview] correct method visibility
* [hdpowerview] test type 44
* [hdpowerview] remove comment
* [hdpowerview] name change
* [hdpowerview] remove comments attribute
* [hdpowerview] refactor capabilities code
* [hdpowerview] 'hard' properties now hidden
* [hdpowerview] adopt reviewer suggestion
* [hdpowerview] refactor constant names

Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
2022-06-10 20:10:31 +02:00
GiviMAD 798d59b2c5
[pulseaudio] Fix source format options (#12913)
Signed-off-by: Miguel Álvarez <miguelwork92@gmail.com>
2022-06-10 07:39:01 +02:00
Christoph Weitkamp c171f2682a
[groupepsa] Fix syntax of documentation and minor spelling improvements (#12912)
* [groupepsa] Fix syntax of documentation and minor spelling improvements

- Fix syntax of documentation and minor spelling improvements

Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
Co-authored-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-06-10 07:27:57 +02:00
openhab-bot 6aea2a9444
New Crowdin updates (#12907)
* New translations miele.properties (German)

* New translations remoteopenhab.properties (German)

* New translations mqtt.properties (German)

* New translations metrics.properties (German)

* New translations boschindego.properties (German)

* New translations gpstracker.properties (German)

* New translations onkyo.properties (German)

* New translations tado.properties (German)

* New translations telegram.properties (German)

* New translations jruby.properties (German)

* New translations bluetooth.properties (German)

* New translations bluetooth.properties (German)

* New translations bluetooth.properties (German)

* New translations bluetooth.properties (German)

* New translations bluetooth.properties (German)

* New translations bluetooth.properties (German)

* New translations bluetooth.properties (German)

* New translations bluetooth.properties (German)

* New translations bluetooth.properties (German)

* New translations imperihome.properties (German)
2022-06-09 08:08:51 +02:00
robnielsen 045de1b589
[ecobee] Add support for Smart Thermostat Premium (#12892)
Signed-off-by: Rob Nielsen <rob.nielsen@yahoo.com>
2022-06-08 08:52:07 +02:00
Andrew Fiddian-Green e24ca5708b
[neohub] check for connection refused (#12906)
Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
2022-06-08 08:45:35 +02:00
openhab-bot 52bb4b3715
New translations sncf.properties (French) (#12901) 2022-06-07 11:18:58 +02:00
jimtng 25d9315197
[fronius] Add additional Inverter DC channels (#12867)
* [fronius] Add additional Inverter DC channels
* [fronius] Update channel description and translations
* [fronius] Add calculated DC Power channels

Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
2022-06-07 08:11:06 +02:00
mlobstein 22ebb9809b
Fix reporting of Roku Home app (#12884)
Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>
2022-06-06 16:18:56 +02:00
openhab-bot 1958a82ffe
New Crowdin updates (#12897)
* New translations sonos.properties (French)

* New translations sonyprojector.properties (French)
2022-06-06 15:17:05 +02:00
lolodomo 266feb8a87
[sncf] Align XML description and default translations (#12887)
Re-run of the i18n tool will then trigger no change.

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-06-06 13:17:22 +02:00
Mark Herwege 654fa3e9ed
Fix array out of bound exception (#12889)
Signed-off-by: Mark Herwege <mark.herwege@telenet.be>
2022-06-06 11:38:50 +02:00
openhab-bot 1e864d444b
New Crowdin updates (#12894)
* New translations shelly.properties (German)
* New translations luxom.properties (Italian)
2022-06-06 11:34:28 +02:00
lolodomo fef3a8d7fc
[sonos] Align XML description and default translations (#12886)
Re-run of the i18n tool will then trigger no change.

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-06-06 09:51:01 +02:00
lolodomo 447ffad438
[sonyprojector] Align XML description and default translations (#12888)
Reorder translations entries.

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-06-06 09:50:33 +02:00
Gaël L'hopital 5a2ec07876
[netatmo] Correct Discovery service (#12869)
* Correct Discovery service
* Enhancing weather station module handling

Signed-off-by: clinique <gael@lhopital.org>
2022-06-05 19:14:04 +02:00
Mark Herwege f5e5b5189a
[elroconnects] Set thingStatus earlier in initialize (#12877)
* Set thingStatus earlier in initialize
* Check device configuration
* Make sure to always set thing status
* Make thing status message localizable

Signed-off-by: Mark Herwege <mark.herwege@telenet.be>
2022-06-05 13:19:12 +02:00
Markus Michels 29a45ef1ab
Fix #12381 (#12843)
Signed-off-by: markus7017 <markus7017@gmail.com>
Signed-off-by: Markus Michels <markus7017@gmail.com>
2022-06-05 12:03:14 +02:00
openhab-bot 1b43cbaa0f
New Crowdin updates (#12875)
* New translations vigicrues.properties (French)

* New translations weatherunderground.properties (French)

* New translations xmltv.properties (French)

* New translations renault.properties (French)

* New translations ntp.properties (French)

* New translations ntp.properties (German)

* New translations sagercaster.properties (French)

* New translations ntp.properties (Hungarian)

* New translations ntp.properties (Turkish)
2022-06-05 07:45:29 +02:00
mlobstein 22d0e5905c
[benqprojector] Add discovery service (#12866)
* Add discovery service

Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>
2022-06-04 23:47:32 +02:00
lolodomo 3de409be75
[luxom] Add missing default translations (#12883)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-06-04 23:45:52 +02:00
Mark Herwege bdf59524b8
[nikohomecontrol] Do not set thing status before end of initialization (#12819)
* Do not set thing status before end of initialization
* Change ThingStatusDetail when no communication object
* Change bridge config error messages
* Bridge status changed handling
* Check bridge status in handler init

Signed-off-by: Mark Herwege <mark.herwege@telenet.be>
2022-06-04 23:39:46 +02:00
Mark Herwege 62bb809f76
[upnpcontrol] Set thingStatus UNKNOWN in intialize (#12880)
* Set thingStatus UNKNOWN in intialize

Signed-off-by: Mark Herwege <mark.herwege@telenet.be>
2022-06-04 23:32:51 +02:00
lolodomo d7db798a6f
[lametrictime] Add missing default translations (#12882)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-06-04 23:11:46 +02:00
Mark Hilbush e40e4bb5d0
Eliminate JsonSyntaxException when restricted_frequency is null (#12876)
Signed-off-by: Mark Hilbush <mark@hilbush.com>
2022-06-04 23:05:17 +02:00
lolodomo 7d782767f9
[renault] Reorder translations entries (#12878)
Re-run of the i18n tool will then trigger no change.

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-06-04 22:55:39 +02:00
lolodomo 76912786c1
[sagercaster] Reorder translations entries (#12879)
Re-run of the i18n tool will then trigger no change.

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-06-04 22:55:12 +02:00
lolodomo 373b73c429
[ntp] Align XML description and default translations (#12881)
Re-run of the i18n tool will then trigger no change.

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-06-04 22:54:28 +02:00
J-N-K 2c36c08f33
Add AARCH64 native lib to dynamodb (#12863)
Signed-off-by: Jan N. Klug <github@klug.nrw>
2022-06-04 21:50:16 +02:00
Andrew Fiddian-Green 3f4d1f041d
[tado] Automatically reconnect offline Things if possible (#12868)
* [tado] reconnect offline things if possible & allowed
* [tado] bridge should ping the server every polling cycle

Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
2022-06-04 20:37:30 +02:00
lolodomo 44b1d0c0c1
[xmltv] Add few missing translations and reorder the entries (#12872)
Re-run of the i18n tool will then trigger no change.

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-06-04 20:30:38 +02:00
lolodomo cabad56a83
[weatherunderground] Reorder translations entries (#12873)
Re-run of the i18n tool will then trigger no change.

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-06-04 20:29:57 +02:00