]> git.basschouten.com Git - openhab-addons.git/log
openhab-addons.git
4 years ago[googletts] Fix place holders issue (#11623)
Wouter Born [Sun, 21 Nov 2021 16:51:43 +0000 (17:51 +0100)]
[googletts] Fix place holders issue (#11623)

When the docs are generated any {{ }} constructs are substituted with variables causing the place holders to get lost.
As a result the docs are less easy to understand.

Signed-off-by: Wouter Born <github@maindrain.net>
4 years ago[feed] Change patter for DateTime channel types to be considered by i18n-tool (#11618)
Christoph Weitkamp [Sun, 21 Nov 2021 14:56:13 +0000 (15:56 +0100)]
[feed] Change patter for DateTime channel types to be considered by i18n-tool (#11618)

Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
4 years ago[tr064] Added default i18n properties file (#11619)
Christoph Weitkamp [Sun, 21 Nov 2021 14:54:43 +0000 (15:54 +0100)]
[tr064] Added default i18n properties file (#11619)

Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
4 years agoResolve runbundles for UoM dependency upgrades (#11610)
Wouter Born [Sun, 21 Nov 2021 11:40:56 +0000 (12:40 +0100)]
Resolve runbundles for UoM dependency upgrades (#11610)

Signed-off-by: Wouter Born <github@maindrain.net>
4 years agoUpdate Jackson version to 2.12.5 (#11609)
Wouter Born [Sun, 21 Nov 2021 09:22:28 +0000 (10:22 +0100)]
Update Jackson version to 2.12.5 (#11609)

This is the version used in the feature provided by openhab-core.

Signed-off-by: Wouter Born <github@maindrain.net>
4 years agoUpdate thing-types.xml (#11614)
Luca Calcaterra [Sat, 20 Nov 2021 19:18:29 +0000 (20:18 +0100)]
Update thing-types.xml (#11614)

fix T14 typical - must be switch instead of trigger
Signed-off-by: Luca Calcaterra <calcaterra.luca@gmail.com>
4 years ago[XMLTV] Preparing for Crowdin and code refining. (#11594)
Gaël L'hopital [Sat, 20 Nov 2021 17:48:03 +0000 (18:48 +0100)]
[XMLTV] Preparing for Crowdin and code refining. (#11594)

* Preparing for Crowdin and code refining.

Signed-off-by: Gaël L'hopital <gael@lhopital.org>
* Satisfying SAT

Signed-off-by: Gaël L'hopital <gael@lhopital.org>
* Preventing two potential NPE

Signed-off-by: Gaël L'hopital <gael@lhopital.org>
* Code review comments taken in account

Signed-off-by: clinique <gael@lhopital.org>
* Reverting description removal

Signed-off-by: clinique <gael@lhopital.org>
* Forgot spotless apply

Signed-off-by: clinique <gael@lhopital.org>
4 years ago[MQTT.Homeassistant] make the mqtt.vacuum implementation compilant with the specifica...
antroids [Sat, 20 Nov 2021 11:44:09 +0000 (12:44 +0100)]
[MQTT.Homeassistant] make the mqtt.vacuum implementation compilant with the specification (#11562)

Signed-off-by: Anton Kharuzhy <publicantroids@gmail.com>
4 years ago[wled] Abstract json api for better segment support (#11509)
Matthew Skinner [Sat, 20 Nov 2021 11:41:46 +0000 (22:41 +1100)]
[wled] Abstract json api for better segment support (#11509)

* Change to json for states

Signed-off-by: Matthew Skinner <matt@pcmus.com>
* Add 3rd colours.

Signed-off-by: Matthew Skinner <matt@pcmus.com>
* Segments now mostly work

Signed-off-by: Matthew Skinner <matt@pcmus.com>
* changes to json api fully made

Signed-off-by: Matthew Skinner <matt@pcmus.com>
* Mirror and Reverse channels added.

Signed-off-by: Matthew Skinner <matt@pcmus.com>
* Remove old channels when needed.

Signed-off-by: Matthew Skinner <matt@pcmus.com>
* Simplify return

Signed-off-by: Matthew Skinner <matt@pcmus.com>
* Add support for named presets

Signed-off-by: Matthew Skinner <matt@pcmus.com>
* Dont add empty preset 0 to list

Signed-off-by: Matthew Skinner <matt@pcmus.com>
* Add preset saving with custom names

Signed-off-by: Matthew Skinner <matt@pcmus.com>
* Tidy up

Signed-off-by: Matthew Skinner <matt@pcmus.com>
* Rename function for clarity

Signed-off-by: Matthew Skinner <matt@pcmus.com>
* Add more channels

Signed-off-by: Matthew Skinner <matt@pcmus.com>
* Clean up

Signed-off-by: Matthew Skinner <matt@pcmus.com>
* Fix bugs and update readme for new channels

Signed-off-by: Matthew Skinner <matt@pcmus.com>
4 years ago[miio] add support Mi Smart Humidifier deerma.humidifier.jsq5 (#11577)
Marcel [Sat, 20 Nov 2021 11:34:00 +0000 (12:34 +0100)]
[miio] add support Mi Smart Humidifier deerma.humidifier.jsq5 (#11577)

https://community.openhab.org/t/mi-smart-antibacterial-humidifier-not-recognized/127562

Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
4 years ago[miio] Move (remaining) channel details to json files (#11568)
Marcel [Sat, 20 Nov 2021 11:32:10 +0000 (12:32 +0100)]
[miio] Move (remaining) channel details to json files (#11568)

Move remaining channel details to the respective channels to simplify
and avoid mistakes/errors.

Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
4 years ago[myq] Fixes breaking API changes to the MyQ binding (#11601)
Dan Cunningham [Fri, 19 Nov 2021 23:17:27 +0000 (15:17 -0800)]
[myq] Fixes breaking API changes to the MyQ binding (#11601)

Signed-off-by: Dan Cunningham <dan@digitaldan.com>
4 years agoAdd missing bundles to openhab-addons BOM (#11605)
Wouter Born [Fri, 19 Nov 2021 15:45:59 +0000 (16:45 +0100)]
Add missing bundles to openhab-addons BOM (#11605)

Missing bundles in this BOM can cause issues like:

* Karaf feature projects building before bundle add-on projects completed
* Incremental build issues
* Other projects using the BOM having to manually add dependency management for these bundles

Signed-off-by: Wouter Born <github@maindrain.net>
4 years ago[icloud] iCloud response invalid: null (second time) (#11600)
Trinitus01 [Fri, 19 Nov 2021 12:14:45 +0000 (13:14 +0100)]
[icloud] iCloud response invalid: null (second time) (#11600)

* fixed: iCloud response invalid: null (second time)

Signed-off-by: Tom Blum <trinitus01@googlemail.com>
* added: re-added fmly parameter

Signed-off-by: Tom Blum <trinitus01@googlemail.com>
4 years ago[monopriceaudio] Clarify supported models and documentation (#11591)
mlobstein [Thu, 18 Nov 2021 08:02:17 +0000 (02:02 -0600)]
[monopriceaudio] Clarify supported models and documentation (#11591)

* Clarify supported models and documentation

Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>
* Clarify supported models and documentation

Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>
* Add notes for amps with built-in serial over IP

Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>
* Add notes for amps with built-in serial over IP

Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>
* fix spotless error

Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>
* substitute controller/amplifier

Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>
4 years ago[loxone] Sauna controller implementation (#11270)
Pawel Pieczul [Wed, 17 Nov 2021 23:40:26 +0000 (00:40 +0100)]
[loxone] Sauna controller implementation (#11270)

Signed-off-by: Pawel Pieczul <pieczul@gmail.com>
4 years ago[windcentrale] Add default translations (#11596)
Marcel [Tue, 16 Nov 2021 20:19:50 +0000 (21:19 +0100)]
[windcentrale] Add default translations (#11596)

Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
4 years agoNew Crowdin updates (#11573)
openhab-bot [Tue, 16 Nov 2021 00:10:28 +0000 (01:10 +0100)]
New Crowdin updates (#11573)

* New translations intesis.properties (German)

* New translations avmfritz.properties (German)

* New translations hue.properties (German)

* New translations pixometer.properties (German)

* New translations volvooncall.properties (French)

* New translations tr064.properties (French)

* New translations transform.properties (German)

* New translations googletts.properties (German)

* New translations avmfritz.properties (German)

* New translations googletts.properties (German)

* New translations sonyprojector.properties (French)

* New translations meteoblue.properties (French)

* New translations avmfritz.properties (German)

* New translations mail.properties (German)

* New translations hue.properties (German)

* New translations astro.properties (French)

4 years ago[samsungtv] Fix reconnect after first connection to TV is lost (#11487)
jlaur [Mon, 15 Nov 2021 23:01:06 +0000 (00:01 +0100)]
[samsungtv] Fix reconnect after first connection to TV is lost (#11487)

* Fix reconnect after first connection to TV is lost.

Fixes #7055

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
* Reduced log level to TRACE for logging of entered methods several times per second.

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
4 years ago[hdpowerview] Add support for scene groups (#11534)
jlaur [Mon, 15 Nov 2021 22:53:23 +0000 (23:53 +0100)]
[hdpowerview] Add support for scene groups (#11534)

* Add support for scene collections.

Fixes #11533

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
* Add unit test for parsing of scene collections response.

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
* Add default i18n properties file.

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
* Fix CAT: File does not end with a newline.

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
* Update documentation with scene collections.

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
* Fix CAT: File does not end with a newline.

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

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
* Fix CAT: File does not end with a newline.

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
* Split offline tests into separate distinct tests.

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
* Increase test coverage for scene/scene collection parsing.

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
* Internationalization of dynamic scene/scene collection channels.

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
* Rename scene collections to scene groups.

Renamed for all user-oriented texts/references to be consistent with now abandoned feature of the PowerView app.

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
* Change custom text keys to not collide with framework.

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
* Avoid multiple thing updates.

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
* Add missing label/description texts for secondary channel.

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
* Remove unneeded @Nullable annotations.

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
4 years ago[jrubyscripting] Fix Maven project name (#11590)
Wouter Born [Mon, 15 Nov 2021 14:39:27 +0000 (15:39 +0100)]
[jrubyscripting] Fix Maven project name (#11590)

It was missing the "Bundles" parts like used in other projects.

Signed-off-by: Wouter Born <github@maindrain.net>
4 years ago[jrubyscripting] JRuby Scripting initial contribution (#11538)
boc-tothefuture [Mon, 15 Nov 2021 13:21:29 +0000 (08:21 -0500)]
[jrubyscripting] JRuby Scripting initial contribution (#11538)

Also-by: Jimmy Tanagra <jimmy@tanagra.id.au>
Signed-off-by: Brian O'Connell <broconne@gmail.com>
4 years ago[miio] support sending openclose commands (#11581)
Marcel [Sun, 14 Nov 2021 12:40:05 +0000 (13:40 +0100)]
[miio] support sending openclose commands (#11581)

* [miio] support sending openclose commands

Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
* [miio] fix contact sending

Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
* [miio] switch

Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
4 years ago[nikobus] added option to set rollershutter position (#11548)
Boris Krivonog [Sun, 14 Nov 2021 10:33:39 +0000 (11:33 +0100)]
[nikobus] added option to set rollershutter position (#11548)

Signed-off-by: Boris Krivonog boris.krivonog@inova.si
Signed-off-by: Boris Krivonog <boris.krivonog@inova.si>
4 years ago[danfossairunit] Add default i18n properties file (#11580)
jlaur [Sun, 14 Nov 2021 10:13:22 +0000 (11:13 +0100)]
[danfossairunit] Add default i18n properties file (#11580)

* Fix namespace issue.

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
* Add default i18n properties file.

Fixes #11578

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
* Internationalize thing status descriptions.

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
* Add missing configuration option description.

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
4 years agoUse POM packaging with index BOMs (#11520)
Wouter Born [Sat, 13 Nov 2021 12:44:37 +0000 (13:44 +0100)]
Use POM packaging with index BOMs (#11520)

Looks like only the POM dependencies are used by the indexer, so the JAR is unused and useless as this warning correctly indicates when you build them:

```
[WARNING] JAR will be empty - no content was marked for inclusion!
```

Signed-off-by: Wouter Born <github@maindrain.net>
4 years ago[sonyprojector] Allow translation of exception messages that can be d… (#11392)
lolodomo [Fri, 12 Nov 2021 23:29:32 +0000 (00:29 +0100)]
[sonyprojector] Allow translation of exception messages that can be d… (#11392)

* [sonyprojector] Allow translation of exception messages that can be displayed in MainUI

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
4 years ago[remoteopenhab] Add all default translations to properties file (#11373)
lolodomo [Fri, 12 Nov 2021 21:00:31 +0000 (22:00 +0100)]
[remoteopenhab] Add all default translations to properties file (#11373)

Allows translating the remote openHAB binding strings with Crowdin.

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
4 years ago[nuvo] Minor README edit and move logo to openhab-docs (#11556)
mlobstein [Fri, 12 Nov 2021 20:19:09 +0000 (14:19 -0600)]
[nuvo] Minor README edit and move logo to openhab-docs (#11556)

Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>
4 years ago[meteoblue] Add default translations to properties file (#11561)
lolodomo [Fri, 12 Nov 2021 20:16:33 +0000 (21:16 +0100)]
[meteoblue] Add default translations to properties file (#11561)

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
4 years ago[voicerss] Add default translations to properties file (#11575)
lolodomo [Fri, 12 Nov 2021 20:14:54 +0000 (21:14 +0100)]
[voicerss] Add default translations to properties file (#11575)

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
4 years ago[openhabcloud] reconnect on connection errors (#11153)
Sami Salonen [Fri, 12 Nov 2021 20:06:47 +0000 (22:06 +0200)]
[openhabcloud] reconnect on connection errors (#11153)

* [openhabcloud] reconnect on connection errors

According to documentation (albeit for 2.x Socket IO version) [1],
reconnection is responsibility of the user on connect_error events.

[1] Lifecycle diagram in
  https://socketio.github.io/socket.io-client-java/socket_instance.html

Signed-off-by: Sami Salonen <ssalonen@gmail.com>
* [openhabcloud] Update Socket IO dependency to 1.0.1

Signed-off-by: Sami Salonen <ssalonen@gmail.com>
* [openhabcloud] feature.xml updated also with socket io 1.0.1

Signed-off-by: Sami Salonen <ssalonen@gmail.com>
* [openhabcloud] Re-connect manually on error events when not connected

Signed-off-by: Sami Salonen <ssalonen@gmail.com>
* [openhabcloud] less loud logging on retries

Signed-off-by: Sami Salonen <ssalonen@gmail.com>
* [openhabcloud] removing unnecessary conditional in logging

Signed-off-by: Sami Salonen <ssalonen@gmail.com>
* [openhabcloud] javadoc corrections and clarifications

Signed-off-by: Sami Salonen <ssalonen@gmail.com>
4 years ago[rfxcom] Add default translations to properties file (#11532)
lolodomo [Fri, 12 Nov 2021 10:43:06 +0000 (11:43 +0100)]
[rfxcom] Add default translations to properties file (#11532)

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
4 years agoAdded default i18n properties file (#11574)
Christoph Weitkamp [Fri, 12 Nov 2021 10:37:01 +0000 (11:37 +0100)]
Added default i18n properties file (#11574)

Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
4 years ago[googletts] Added default i18n properties file (#11569)
Christoph Weitkamp [Fri, 12 Nov 2021 09:15:19 +0000 (10:15 +0100)]
[googletts] Added default i18n properties file (#11569)

* Added default i18n properties file

Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
* Incorported comments from review

Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
4 years ago[hdpowerview] Secondary shade position was inverted (#11552)
Andrew Fiddian-Green [Fri, 12 Nov 2021 00:23:25 +0000 (00:23 +0000)]
[hdpowerview] Secondary shade position was inverted (#11552)

* [hdpowerview] get secondary shade position value was inverted

Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
* [hdpowerview] remove testing Jar from PR

Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
4 years ago[velbus] Fix typo in the Counter Channel name for VMB7IN (#11521) (#11553)
Daniel Rosengarten [Fri, 12 Nov 2021 00:14:06 +0000 (01:14 +0100)]
[velbus] Fix typo in the Counter Channel name for VMB7IN (#11521) (#11553)

* [velbus] Add new functionality PRESSED and LONG PRESSED and fix bug

New functionnality :
Add the the possibility to simulate the PRESSED and LONG PRESSED message of an input.

Module supported with button simulation :
VMB1RYS (button : CH6)
VMB6IN (buttons : CH1 ... CH6)
VMB2PBN, VMB6PBN, VMB7IN, VMB8IR, VMB8PB, VMB8PBU, VMBEL1, VMBEL2, VMBEL4, VMBGP1, VMBGP1-2, VMBGP2, VMBGP2-2, VMBGP4, VMBGP4-2, VMBGP4PIR, VMBGP4PIR-2 (buttons : CH1 ... CH8)
VMBELO, VMBGPOD, VMBGPOD-2 (buttons : CH1 ... CH32)

Fix bug :

The channels names were not correctly assigned to the thing properties. The last channel had the default name, not the one retrieved from the module.

Signed-off-by: Daniel Rosengarten <github@praetorians.be>
* Update bundles/org.openhab.binding.velbus/README.md

Co-authored-by: cedricboon <cedric.boon@hotmail.com>
Signed-off-by: Daniel Rosengarten <github@praetorians.be>
* Update bundles/org.openhab.binding.velbus/README.md

Co-authored-by: cedricboon <cedric.boon@hotmail.com>
Signed-off-by: Daniel Rosengarten <github@praetorians.be>
* Update bundles/org.openhab.binding.velbus/README.md

Co-authored-by: cedricboon <cedric.boon@hotmail.com>
Signed-off-by: Daniel Rosengarten <github@praetorians.be>
* Add trigger on channel when using button simulation

Remove uneeded  Thread.sleep in code.
Trigger the events PRESSED, LONG_PRESSED, RELEASED on the linked trigger channel when using the button simulation.

Signed-off-by: Daniel Rosengarten <github@praetorians.be>
* Fix redundant superinterface DiscoveryService

Redundant superinterface DiscoveryService for the type VelbusThingDiscoveryService, already defined by AbstractDiscoveryService.

Signed-off-by: Daniel Rosengarten <github@praetorians.be>
* Fix bug #11521

Typo in the Counter Channel name for VMB7IN.

Signed-off-by: Daniel Rosengarten <github@praetorians.be>
Co-authored-by: cedricboon <cedric.boon@hotmail.com>
4 years ago[phc] Fix OH3 bug and add support for multible commands (#11554)
Jonas Hohaus [Fri, 12 Nov 2021 00:05:14 +0000 (01:05 +0100)]
[phc] Fix OH3 bug and add support for multible commands (#11554)

* Remove advanced option in group-type

Signed-off-by: Jonas Hohaus <jh@gnlpf.net>
* Add support for multiple commands in one message

Signed-off-by: Jonas Hohaus <jh@gnlpf.net>
4 years agoPrevent a timeout from the server from stopping the binding (#11555)
Christian Kittel [Thu, 11 Nov 2021 23:45:50 +0000 (00:45 +0100)]
Prevent a timeout from the server from stopping the binding (#11555)

Signed-off-by: EvilPingu <ckittel@gmx.de>
4 years ago[hue] Add workaround for LK Wiser products (#11572)
jlaur [Thu, 11 Nov 2021 22:50:07 +0000 (23:50 +0100)]
[hue] Add workaround for LK Wiser products (#11572)

* Add workaround for LK Wiser products.

Fixes #11571

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
* Optimize vendor check.

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
4 years ago[miio] Initial i18n properties file for Xiaomi miio binding (#11563)
Marcel [Thu, 11 Nov 2021 22:10:47 +0000 (23:10 +0100)]
[miio] Initial i18n properties file for Xiaomi miio binding (#11563)

* [miio] Initial i18n properties file

Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
* [miio] add status msg to i18n

Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
4 years agoAdded default i18n properties file (#11565)
Christoph Weitkamp [Thu, 11 Nov 2021 21:01:47 +0000 (22:01 +0100)]
Added default i18n properties file (#11565)

Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
4 years agoAdded default i18n properties file (#11570)
Christoph Weitkamp [Thu, 11 Nov 2021 20:30:39 +0000 (21:30 +0100)]
Added default i18n properties file (#11570)

Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
4 years agoAdded default i18n properties file (#11567)
Christoph Weitkamp [Thu, 11 Nov 2021 20:24:05 +0000 (21:24 +0100)]
Added default i18n properties file (#11567)

Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
4 years agoAdded default i18n properties file (#11566)
Christoph Weitkamp [Thu, 11 Nov 2021 20:21:31 +0000 (21:21 +0100)]
Added default i18n properties file (#11566)

Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
4 years agoAdded missing translations for command options (#11564)
Christoph Weitkamp [Thu, 11 Nov 2021 20:16:54 +0000 (21:16 +0100)]
Added missing translations for command options (#11564)

Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
4 years agoNew Crowdin updates (#11539)
openhab-bot [Thu, 11 Nov 2021 12:26:04 +0000 (13:26 +0100)]
New Crowdin updates (#11539)

* New translations powermax.properties (French)

* New translations openhabcloud.properties (German)

* New translations avmfritz.properties (German)

* New translations mail.properties (German)

* New translations hue.properties (German)

* New translations airquality.properties (French)

* New translations ntp.properties (German)

* New translations velux.properties (German)

* New translations mail.properties (German)

* New translations hue.properties (German)

* New translations avmfritz.properties (German)

* New translations pixometer.properties (German)

* New translations openuv.properties (French)

4 years ago[mqtt.homeassistant] Fix MQTT Vacuum serialization names (#11550)
Stefan Triller [Wed, 10 Nov 2021 16:06:45 +0000 (17:06 +0100)]
[mqtt.homeassistant] Fix MQTT Vacuum serialization names (#11550)

While integrating the review comments, I did not remember that some
variable names are written as they are because they result from some
deserialization.

This small PR fixes this.

Signed-off-by: Stefan Triller <github@stefantriller.de>
4 years ago[nuvo] fixes protocol errors when connecting via an MPS4 (#11511)
boc-tothefuture [Wed, 10 Nov 2021 08:31:57 +0000 (03:31 -0500)]
[nuvo] fixes protocol errors when connecting via an MPS4 (#11511)

Signed-off-by: Brian O'Connell <boc-tothefuture@users.noreply.github.com>
Co-authored-by: Brian O'Connell <boc-tothefuture@users.noreply.github.com>
4 years ago[hue] Factorize thing configurations (#11535)
lolodomo [Tue, 9 Nov 2021 16:56:40 +0000 (17:56 +0100)]
[hue] Factorize thing configurations (#11535)

* Reduce the number of strings to translate
* Remove wrong key for channel pattern

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
4 years ago[AirQuality] Tagging channels, prepared for Crowdin, dynamic channels (#11192)
Gaël L'hopital [Tue, 9 Nov 2021 07:59:13 +0000 (08:59 +0100)]
[AirQuality] Tagging channels, prepared for Crowdin, dynamic channels (#11192)

* Adding semantic tags
Adding alert level and code refined.

Signed-off-by: Gaël L'hopital <gael@lhopital.org>
* Commiting intermediate work

Signed-off-by: Gaël L'hopital <gael@lhopital.org>
* Complete review of the binding.
Added measures for each pollutant.
Added extensible channel for pollutant sensibility.

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

Signed-off-by: Gaël L'hopital <gael@lhopital.org>
* One last code cleansing to be ready to push

Signed-off-by: Gaël L'hopital <gael@lhopital.org>
* Documentation updates

Signed-off-by: Gaël L'hopital <gael@lhopital.org>
* Spotless apply

Signed-off-by: Gaël L'hopital <gael@lhopital.org>
* Correcting conflicting file

Signed-off-by: Gaël L'hopital <gael@lhopital.org>
* Code review correction

Signed-off-by: Gael L'hopital <gael@lhopital.org>
* Introducing a bridge to Api

Signed-off-by: clinique <gael@lhopital.org>
* Code review correction

Signed-off-by: clinique <gael@lhopital.org>
4 years ago[hue] Internationalization of discovery results (#11501)
lolodomo [Mon, 8 Nov 2021 12:53:42 +0000 (13:53 +0100)]
[hue] Internationalization of discovery results (#11501)

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
4 years ago[openhabcloud] Added default i18n properties file (#11547)
Christoph Weitkamp [Mon, 8 Nov 2021 11:58:29 +0000 (12:58 +0100)]
[openhabcloud] Added default i18n properties file (#11547)

* Added default i18n properties file
* Added translation property for service label

Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
4 years ago[deconz] Added default i18n properties file (#11546)
Christoph Weitkamp [Mon, 8 Nov 2021 09:57:57 +0000 (10:57 +0100)]
[deconz] Added default i18n properties file (#11546)

Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
4 years agoAdd missing entries to the default properties file (#11545)
Christoph Weitkamp [Mon, 8 Nov 2021 08:43:10 +0000 (09:43 +0100)]
Add missing entries to the default properties file (#11545)

Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
4 years ago[kodi] Add missing entries to the default properties file (#11542)
lolodomo [Mon, 8 Nov 2021 07:21:12 +0000 (08:21 +0100)]
[kodi] Add missing entries to the default properties file (#11542)

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
4 years ago[weathercompany] Add missing entries to the default properties file (#11541)
lolodomo [Mon, 8 Nov 2021 07:20:52 +0000 (08:20 +0100)]
[weathercompany] Add missing entries to the default properties file (#11541)

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
4 years ago[openuv] Add missing entries to the default properties file (#11540)
lolodomo [Mon, 8 Nov 2021 07:20:33 +0000 (08:20 +0100)]
[openuv] Add missing entries to the default properties file (#11540)

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
4 years ago[mqtt.homeassistant] Implement Vacuum discovery for Homeassistant MQTT (#11216)
Stefan Triller [Sun, 7 Nov 2021 14:57:41 +0000 (15:57 +0100)]
[mqtt.homeassistant] Implement Vacuum discovery for Homeassistant MQTT (#11216)

* Implement Vacuum discovery for Homeassistant MQTT

Closes #8988

Signed-off-by: Stefan Triller <github@stefantriller.de>
* Addressed review comments

Signed-off-by: Stefan Triller <github@stefantriller.de>
* Spotless run again

Signed-off-by: Stefan Triller <github@stefantriller.de>
4 years agoNew Crowdin updates (#11536)
openhab-bot [Sun, 7 Nov 2021 07:46:15 +0000 (08:46 +0100)]
New Crowdin updates (#11536)

* New translations mail.properties (French)

* New translations twitter.properties (French)

4 years ago[jsscripting] Update GraalJS to 21.3 to allow method selection via JavaScript (#11437)
LukasA83 [Sat, 6 Nov 2021 18:18:40 +0000 (19:18 +0100)]
[jsscripting] Update GraalJS to 21.3 to allow method selection via JavaScript (#11437)

Signed-off-by: Lukas Agethen <lukas83@gmx.de>
4 years agoAlways run OSGi HTTP service on random port in itests (#11523)
Wouter Born [Sat, 6 Nov 2021 09:13:40 +0000 (10:13 +0100)]
Always run OSGi HTTP service on random port in itests (#11523)

It is probably always a good idea to run the OSGi HTTP service on a random available port in itests.
So when this is always done it prevents future issues and removes a bit of duplication.

Signed-off-by: Wouter Born <github@maindrain.net>
4 years ago[mail] Extend properties file with all default translations (#11530)
lolodomo [Sat, 6 Nov 2021 09:11:55 +0000 (10:11 +0100)]
[mail] Extend properties file with all default translations (#11530)

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
4 years ago[twitter] Extend properties file with all default translations (#11528)
lolodomo [Sat, 6 Nov 2021 09:08:57 +0000 (10:08 +0100)]
[twitter] Extend properties file with all default translations (#11528)

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
4 years agoNew Crowdin updates (#11518)
openhab-bot [Fri, 5 Nov 2021 18:37:03 +0000 (19:37 +0100)]
New Crowdin updates (#11518)

* New translations lametrictime.properties (French)

* New translations thingstate.properties (French)

* New translations twitter.properties (French)

* New translations tradfri.properties (French)

* New translations vigicrues.properties (French)

4 years agoFix wrong build result when single add-on build fails (#11522)
Wouter Born [Fri, 5 Nov 2021 17:42:16 +0000 (18:42 +0100)]
Fix wrong build result when single add-on build fails (#11522)

Fixes the issue that single add-on builds that fail are not marked as such in GitHub Actions.

Signed-off-by: Wouter Born <github@maindrain.net>
4 years ago[hue] Fixed unicode character in translation (#11519)
Christoph Weitkamp [Fri, 5 Nov 2021 14:21:48 +0000 (15:21 +0100)]
[hue] Fixed unicode character in translation (#11519)

Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
4 years agoSuppress bnd warnings for unused imports/exports (#11513)
Wouter Born [Fri, 5 Nov 2021 12:56:58 +0000 (13:56 +0100)]
Suppress bnd warnings for unused imports/exports (#11513)

Ignores warnings like:

```
Warning:  /home/runner/work/openhab-addons/openhab-addons/bom/runtime-index/pom.xml [0:0]: Unused Export-Package instructions: [org.openhab.*]
Warning:  /home/runner/work/openhab-addons/openhab-addons/bom/runtime-index/pom.xml [0:0]: Unused Import-Package instructions: [io.swagger.v3.oas.annotations.*,
```

These are safe to ignore because the import/export packages are globally defined and not every bundle imports/exports all these packages.

The `skipIfEmpty` configuration furthermore prevents warnings when the bnd-maven-plugin runs on projects that don't have any code like BOMs.

More important compiler/SAT warnings standout more when there are there are fewer useless warnings.

Signed-off-by: Wouter Born <github@maindrain.net>
4 years ago[weathercompany] Fix internationalization of discovery service (#11499)
lolodomo [Fri, 5 Nov 2021 11:10:10 +0000 (12:10 +0100)]
[weathercompany] Fix internationalization of discovery service (#11499)

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
4 years ago[dwdunwetter] Fixed broken link in documentation (#11512)
Christoph Weitkamp [Thu, 4 Nov 2021 16:49:18 +0000 (17:49 +0100)]
[dwdunwetter] Fixed broken link in documentation (#11512)

- Fixed broken link in documentation

Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
4 years ago[miio] Add support 3 yeelights (#11492)
Marcel [Thu, 4 Nov 2021 08:07:45 +0000 (09:07 +0100)]
[miio] Add support 3 yeelights (#11492)

Add support for
yeelink.light.mono6 - Mi Smart LED Bulb
yeelink.light.monoa - Yeelight LED smart bulb W3(dimmable)
yeelink.light.monob - Yeelight GU10 Smart Bulb W1(dimmable)

Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
4 years agoGitHub Actions workflow improvements (#11507)
Wouter Born [Thu, 4 Nov 2021 08:05:39 +0000 (09:05 +0100)]
GitHub Actions workflow improvements (#11507)

* Checkout merged branches for pull requests
* Add support for incremental add-on builds to speed up PR builds
* Echo the mvn command used for builds

Signed-off-by: Wouter Born <github@maindrain.net>
4 years ago[tradfri] Internationalization of discovery results (#11498)
lolodomo [Wed, 3 Nov 2021 21:07:28 +0000 (22:07 +0100)]
[tradfri] Internationalization of discovery results (#11498)

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
4 years agoConfigure default timeout of 15 minutes for all testable and lifecycle methods (...
Wouter Born [Wed, 3 Nov 2021 20:15:31 +0000 (21:15 +0100)]
Configure default timeout of 15 minutes for all testable and lifecycle methods (#11505)

This helps to identify what tests cause builds to get stuck and it will more quickly end such builds.
When builds get stuck in tests, they would keep running for hours and then eventually when a timeout occurs, the job is killed without knowing why it got stuck.
Furhermore precious Jenkins executors will not keep being occupied by such jobs.

See: https://junit.org/junit5/docs/current/user-guide/#writing-tests-declarative-timeouts

It helps with identifying the root cause of issues like https://github.com/openhab/openhab-core/pull/2551

Signed-off-by: Wouter Born <github@maindrain.net>
4 years agoUpgrade SAT to 0.12.0 (#11494)
Wouter Born [Tue, 2 Nov 2021 12:57:00 +0000 (13:57 +0100)]
Upgrade SAT to 0.12.0 (#11494)

See the [0.12.0 milestone](https://github.com/openhab/static-code-analysis/milestone/18?closed=1) for all changes in this release.

Signed-off-by: Wouter Born <github@maindrain.net>
4 years ago[SynopAnalyzer] Correcting spelling discrepancies (#11496)
Gaël L'hopital [Tue, 2 Nov 2021 12:03:22 +0000 (13:03 +0100)]
[SynopAnalyzer] Correcting spelling discrepancies (#11496)

Signed-off-by: clinique <gael@lhopital.org>
4 years agoFix/suppress PMD CompareObjectsWithEquals findings (#11476)
Wouter Born [Tue, 2 Nov 2021 09:43:53 +0000 (10:43 +0100)]
Fix/suppress PMD CompareObjectsWithEquals findings (#11476)

Newer PMD versions discover more CompareObjectsWithEquals findings.

Related to https://github.com/openhab/static-code-analysis/pull/423

Signed-off-by: Wouter Born <github@maindrain.net>
4 years ago[vigicrues] Add default translations to properties file (#11495)
lolodomo [Tue, 2 Nov 2021 08:48:11 +0000 (09:48 +0100)]
[vigicrues] Add default translations to properties file (#11495)

Allows translating the binding strings with Crowdin.

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
4 years ago[weathercompany] Internationalization of discovery result (#11486)
lolodomo [Mon, 1 Nov 2021 18:32:51 +0000 (19:32 +0100)]
[weathercompany] Internationalization of discovery result (#11486)

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
4 years ago[miele] Clean up properties and improve reliability and performance (#11423)
jlaur [Mon, 1 Nov 2021 17:44:19 +0000 (18:44 +0100)]
[miele] Clean up properties and improve reliability and performance (#11423)

* Use appliance cache for getting full UID with protocol prefix instead of relying on property.
* Set bare protocol name as property.
* Fix potential null pointer access warnings.
* Remove unused import.
* Renamed property protocol to protocolAdapter for correctness.
* Add connectionType property.
* Add appliance model property.
* Remove useless properties brandId and companyId always having value MI.
* Rename property dc to deviceClass and set it consistently (not only from auto-discovered things).
* Added constants for remaining handlers with hardcoded device classes.
* Fix SCA: AuthorContributionDescriptionCheck
* Fix SCA: ModifierOrderCheck
* Rename ExtendedDeviceStateUtil to be a bit more generic.
* Extract device class string parsing to utility method.
* Fix SCA: ForbiddenPackageUsageCheck
* Fix redundant null check.
* Fix potential null pointer access warnings.
* Fix unsafe null type conversion (type annotations)
* Share same configuration (UID) for all appliance types.
* Refer to gateway instead of ZigBee network in configuration.
* Remove dependency to seriaNumber property for multicast channel updates.
* Simplified filtering of irrelevant device class.
* Remove devices from remoteUid cache also when disappearing from gateway, although this is a quite rare scenario.
* Add default i18n properties file.
* Add partial Danish translation.

Fixes #11422

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
4 years ago[openweathermap] Internationalization of discovery results (#11484)
lolodomo [Mon, 1 Nov 2021 14:12:23 +0000 (15:12 +0100)]
[openweathermap] Internationalization of discovery results (#11484)

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
4 years ago[openuv] Internationalization of discovery result (#11485)
lolodomo [Mon, 1 Nov 2021 08:57:38 +0000 (09:57 +0100)]
[openuv] Internationalization of discovery result (#11485)

Fix #11480

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
4 years ago[verisure] Keep refreshing after RuntimeException (#11397)
Jan Gustafsson [Sun, 31 Oct 2021 20:45:36 +0000 (21:45 +0100)]
[verisure] Keep refreshing after RuntimeException (#11397)

* Fix that binding stops refreshing after RuntimException (#11396)

Signed-off-by: Jan Gustafsson <jannegpriv@gmail.com>
* Updated after review comments

Signed-off-by: Jan Gustafsson <jannegpriv@gmail.com>
4 years ago[pjlinkdevice] fix authentication (#11472)
Nils Schnabel [Sun, 31 Oct 2021 15:30:04 +0000 (16:30 +0100)]
[pjlinkdevice] fix authentication (#11472)

Signed-off-by: Nils Schnabel <github@to.nilsschnabel.de>
4 years ago[miio] Support contact type in basic channel json (#11477)
Marcel [Sun, 31 Oct 2021 11:42:32 +0000 (12:42 +0100)]
[miio] Support contact type in basic channel json (#11477)

Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
4 years ago[miio] sending device in MiIoSendCommand (#11475)
Marcel [Sun, 31 Oct 2021 11:41:40 +0000 (12:41 +0100)]
[miio] sending device in MiIoSendCommand (#11475)

* [miio] sending device in MiIoSendCommand

Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
* [miio] spotless reformatting

Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
4 years ago[yamahareceiver] Handle 'No Preset' tuner preset response (#11471)
mlobstein [Sun, 31 Oct 2021 11:40:46 +0000 (06:40 -0500)]
[yamahareceiver] Handle 'No Preset' tuner preset response (#11471)

Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>
4 years ago[zoneminder] Only update state options if they've changed (#11463)
Mark Hilbush [Sun, 31 Oct 2021 10:12:22 +0000 (06:12 -0400)]
[zoneminder] Only update state options if they've changed (#11463)

* Only update state options if they've changed

Signed-off-by: Mark Hilbush <mark@hilbush.com>
* Fix update of state options

Signed-off-by: Mark Hilbush <mark@hilbush.com>
4 years agoNew Crowdin updates (#11469)
openhab-bot [Sun, 31 Oct 2021 09:57:32 +0000 (10:57 +0100)]
New Crowdin updates (#11469)

* New translations lgwebos.properties (French)

* New translations intesis.properties (German)

* New translations zway.properties (German)

* New translations velux.properties (German)

* New translations pushsafer.properties (German)

* New translations pushover.properties (German)

* New translations hue.properties (German)

* New translations rotel.properties (French)

* New translations openuv.properties (French)

* New translations synopanalyzer.properties (French)

* New translations nikohomecontrol.properties (Dutch)

4 years ago[luxtronikheatpump] Add default translations properties file (#11479)
Wouter Born [Sun, 31 Oct 2021 09:11:17 +0000 (10:11 +0100)]
[luxtronikheatpump] Add default translations properties file (#11479)

Signed-off-by: Wouter Born <github@maindrain.net>
4 years ago[tibber] Modified Websocket connectivity/reconnect (#11462)
Stian Kjoglum [Sun, 31 Oct 2021 08:18:11 +0000 (09:18 +0100)]
[tibber] Modified Websocket connectivity/reconnect (#11462)

Signed-off-by: Stian Kjoglum <stiankj@online.no>
4 years ago[Network] Added param to differentiate between mac and IP WOL Request (#11387)
Jonathan S [Sun, 31 Oct 2021 08:16:00 +0000 (09:16 +0100)]
[Network] Added param to differentiate between mac and IP WOL Request (#11387)

* Added possiblity to send WOL Requests to configured Hostname, also removed unnecessary unit from Timeout Annotation in WakeOnLanPacketSenderTest
* Introduced parameter to decide whether to send WOL via IP or MAC
* Added two Methods for user clarity, marked old method as deprecated, adjusted README
* Updated internal methods to use explicit calls as well, added deprecated method call to README

Signed-off-by: Jonathan Saxen <jonathan@saxen.info>
4 years ago[openwebnet] added support for CEN/CEN+ scenarios (WHO=15/25) (#11398)
M Valla [Sat, 30 Oct 2021 16:10:03 +0000 (18:10 +0200)]
[openwebnet] added support for CEN/CEN+ scenarios (WHO=15/25) (#11398)

* [openwebnet] first support for CEN

Signed-off-by: Massimo Valla <mvcode00@gmail.com>
* [openwebnet] added CEN actions. OpenWebNetThingHandler.send() is now public

Signed-off-by: Massimo Valla <mvcode00@gmail.com>
* [openwebnet] added CEN+ support

Signed-off-by: Massimo Valla <mvcode00@gmail.com>
* [openwebnet] use WhereCEN, removed nullpointer warnings from EnergyHandler. Improved README

Signed-off-by: Massimo Valla <mvcode00@gmail.com>
* [openwebnet] completed support for CEN/CEN+

Signed-off-by: Massimo Valla <mvcode00@gmail.com>
* [openwebnet] improved log

Signed-off-by: Massimo Valla <mvcode00@gmail.com>
* [openwebnet] corrected "pressure" and renamed some labels

Signed-off-by: Massimo Valla <mvcode00@gmail.com>
4 years ago[miio] Save last msgId and misc minor updates (#11464)
Marcel [Sat, 30 Oct 2021 16:07:47 +0000 (18:07 +0200)]
[miio] Save last msgId and misc minor updates (#11464)

Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
4 years ago[dsmr] Add support for Austrian meters, Fix for channel id detection (#11458)
Hilbrand Bouwkamp [Sat, 30 Oct 2021 16:04:42 +0000 (18:04 +0200)]
[dsmr] Add support for Austrian meters, Fix for channel id detection (#11458)

* Fix fix for channel id detection, Added missing channels to emucs electra

- M-bus channels are dynamic and present in the obis id.
The binding had most channel types fixed because most of the time these channels are the same.
However the device identifier is the same for multiple devices.
But the binding only registered only one and while the channel id was derived from this obis data.
For detected meters this resulted in the channel id to be the same if there are multiple devices.
This change looks at the channel id to assign it to the found device.
This is a bit tricky because the general device has no channel and has channels that have different id's.
So the binding needs to cover that case.

This change also adds some optional channels to the emucs electra meter.

Signed-off-by: Hilbrand Bouwkamp <hilbrand@h72.nl>
* [dsmr] Add support for Austrian meters

Improved the work done in pr #11193

Also-by: Thomas <thomas@knaller.info>
Signed-off-by: Hilbrand Bouwkamp <hilbrand@h72.nl>
* [dsmr] Added Null handling annotations.

4 years ago[ipcamera] Fix Hikvision digest stopping ipcamera.mjpeg (#11457)
Matthew Skinner [Sat, 30 Oct 2021 16:00:34 +0000 (03:00 +1100)]
[ipcamera] Fix Hikvision digest stopping ipcamera.mjpeg (#11457)

* Stop hik logging 401 with digest.

Signed-off-by: Matthew Skinner <matt@pcmus.com>
* Improve and fix generic cams

Signed-off-by: Matthew Skinner <matt@pcmus.com>
* Stop dahua IntelliFrame logging

Signed-off-by: Matthew Skinner <matt@pcmus.com>
* Catch IllegalStateException

Signed-off-by: Matthew Skinner <matt@pcmus.com>
* Trial reusing channels.

Signed-off-by: Matthew Skinner <matt@pcmus.com>
* Tidy up

Signed-off-by: Matthew Skinner <matt@pcmus.com>
* cleanup 2

Signed-off-by: Matthew Skinner <matt@pcmus.com>
* Cleanup 3

Signed-off-by: Matthew Skinner <matt@pcmus.com>
* Disable checking connection with event stream.

Signed-off-by: Matthew Skinner <matt@pcmus.com>
* Bug fix

Signed-off-by: Matthew Skinner <matt@pcmus.com>
* more cleanup

Signed-off-by: Matthew Skinner <matt@pcmus.com>
* more cleanup

Signed-off-by: Matthew Skinner <matt@pcmus.com>
* Reduce logging to only whats needed.

Signed-off-by: Matthew Skinner <matt@pcmus.com>
* fix offline detection.

Signed-off-by: Matthew Skinner <matt@pcmus.com>
* fixes to ipcamera.mjpeg

Signed-off-by: Matthew Skinner <matt@pcmus.com>
* reverse some connection checks

Signed-off-by: Matthew Skinner <matt@pcmus.com>
* Fix Hikvision Digest stops ipcamera.mjpeg

Signed-off-by: Matthew Skinner <matt@pcmus.com>
4 years ago[lgwebos] Fix a setting description (#11461)
lolodomo [Sat, 30 Oct 2021 15:59:47 +0000 (17:59 +0200)]
[lgwebos] Fix a setting description (#11461)

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
4 years ago[boschshc] Parental Controls for Thermostats; Wall Thermostats; Internal refactoring...
Christian Oeing [Sat, 30 Oct 2021 15:57:41 +0000 (17:57 +0200)]
[boschshc] Parental Controls for Thermostats; Wall Thermostats; Internal refactoring (#11134)

* Reduce debug output

Signed-off-by: Stefan Kaestle <stefan@mad-kow.de>
Signed-off-by: Gerd Zanker <gerd.zanker@web.de>
* Added meta information for Bosch binding

Signed-off-by: Stefan Kaestle <stefan@mad-kow.de>
Signed-off-by: Gerd Zanker <gerd.zanker@web.de>
* Set binding online only if fetching rooms and devices worked

Signed-off-by: Stefan Kaestle <stefan@mad-kow.de>
Signed-off-by: Gerd Zanker <gerd.zanker@web.de>
* Replaced hard-coded IP address with configuration from things file

Signed-off-by: Stefan Kaestle <stefan@mad-kow.de>
Signed-off-by: Gerd Zanker <gerd.zanker@web.de>
* Fixes after rebasing on 2.5.x branch

Signed-off-by: Stefan Kaestle <stefan@mad-kow.de>
Signed-off-by: Gerd Zanker <gerd.zanker@web.de>
* Put keystore where openhab user can access it

Signed-off-by: Stefan Kaestle <stefan@mad-kow.de>
Signed-off-by: Gerd Zanker <gerd.zanker@web.de>
* Attempt to get a new subscription ID when the old one is invalidated

Signed-off-by: Stefan Kaestle <stefan@mad-kow.de>
Signed-off-by: Gerd Zanker <gerd.zanker@web.de>
* Better install script

Signed-off-by: Stefan Kaestle <stefan@mad-kow.de>
Signed-off-by: Gerd Zanker <gerd.zanker@web.de>
* Asynchronously get subscription ID

Otherwise, code would get stuck on requesting second subscription ID
Signed-off-by: Stefan Kaestle <stefan@mad-kow.de>
Signed-off-by: Gerd Zanker <gerd.zanker@web.de>
* Initial steps towards pairing

Signed-off-by: Stefan Kaestle <stefan@mad-kow.de>
Signed-off-by: Gerd Zanker <gerd.zanker@web.de>
* Doesn't compile because of bouncycastle - compiles if commented out

Signed-off-by: Stefan Kaestle <stefan@mad-kow.de>
Signed-off-by: Gerd Zanker <gerd.zanker@web.de>
* Bumped version

Signed-off-by: Stefan Kaestle <stefan@mad-kow.de>
Signed-off-by: Gerd Zanker <gerd.zanker@web.de>
* Added basic support for multiple devices to support Twinguard

Signed-off-by: Stefan Kaestle <stefan@mad-kow.de>
Signed-off-by: Gerd Zanker <gerd.zanker@web.de>
* Support for power meter in power switches + all values from Twinguard

Signed-off-by: Stefan Kaestle <stefan@mad-kow.de>
Signed-off-by: Gerd Zanker <gerd.zanker@web.de>
* Add window contact to the list of supported things

Signed-off-by: Stefan Kaestle <stefan@mad-kow.de>
Signed-off-by: Gerd Zanker <gerd.zanker@web.de>
* Updated README to indicate new supported devices

Signed-off-by: Stefan Kaestle <stefan@mad-kow.de>
Signed-off-by: Gerd Zanker <gerd.zanker@web.de>
* Added missing file

Signed-off-by: Stefan Kaestle <stefan@mad-kow.de>
Signed-off-by: Gerd Zanker <gerd.zanker@web.de>
* Added motion detector thing

Signed-off-by: Stefan Kaestle <stefan@mad-kow.de>
Signed-off-by: Gerd Zanker <gerd.zanker@web.de>
* All devices support RefreshType now

Signed-off-by: Stefan Kaestle <stefan@mad-kow.de>
Signed-off-by: Gerd Zanker <gerd.zanker@web.de>
* Cleanup - removed pairing related stuff that doesn't work

Signed-off-by: Stefan Kaestle <stefan@mad-kow.de>
Signed-off-by: Gerd Zanker <gerd.zanker@web.de>
* Fixed a weird bug where InWallSwitchHandler was not an instance of SHCHandler

Signed-off-by: Stefan Kaestle <stefan@mad-kow.de>
Signed-off-by: Gerd Zanker <gerd.zanker@web.de>
* Update BoschSHCBridgeHandler.java

fixed HTTP request URL to get rooms from SHC

Signed-off-by: Gerd Zanker <gerd.zanker@web.de>
* Add handler for Bosch Shutter Control to get and set its open level

Signed-off-by: Christian Oeing <christian.oeing@scalamat.de>
Signed-off-by: Gerd Zanker <gerd.zanker@web.de>
* Auto update of .classpath by IDE

Signed-off-by: Christian Oeing <christian.oeing@slashgames.org>
Signed-off-by: Gerd Zanker <gerd.zanker@web.de>
* Handle PercentType command to set a specific shutter level

Signed-off-by: Christian Oeing <christian.oeing@slashgames.org>
Signed-off-by: Gerd Zanker <gerd.zanker@web.de>
* Put service name in constant instead of using it hard coded twice

Signed-off-by: Christian Oeing <christian.oeing@slashgames.org>
Signed-off-by: Gerd Zanker <gerd.zanker@web.de>
* Refactor putState method of BoschSHCBridgeHandler

Remove unnecessary parts of the request like Gateway ID and put some general logic into separate methods to reuse them in other functions later

Signed-off-by: Christian Oeing <christian.oeing@slashgames.org>
Signed-off-by: Gerd Zanker <gerd.zanker@web.de>
* Send operation state STOPPED to stop shutter from moving

Signed-off-by: Christian Oeing <christian.oeing@slashgames.org>
Signed-off-by: Gerd Zanker <gerd.zanker@web.de>
* Add shutter control to supported devices in README.md

Signed-off-by: Christian Oeing <christian.oeing@slashgames.org>
Signed-off-by: Gerd Zanker <gerd.zanker@web.de>
* Add null reference check to avoid a NullReferenceException in ShutterControlHandler if device state couldn't be fetched

Signed-off-by: Christian Oeing <christian.oeing@slashgames.org>
Signed-off-by: Gerd Zanker <gerd.zanker@web.de>
* Add TemperatureLevelService

Signed-off-by: Christian Oeing <christian.oeing@slashgames.org>
Signed-off-by: Gerd Zanker <gerd.zanker@web.de>
* Add ThermostatHandler

Signed-off-by: Christian Oeing <christian.oeing@slashgames.org>
Signed-off-by: Gerd Zanker <gerd.zanker@web.de>
* Add valve tappet position channel to thermostat via ValveTappet service

Signed-off-by: Christian Oeing <christian.oeing@slashgames.org>
Signed-off-by: Gerd Zanker <gerd.zanker@web.de>
* Add service registration for BoschSHCHandler, so the state updates are automatically calling the registered state update callback of the handler

Signed-off-by: Christian Oeing <christian.oeing@slashgames.org>
Signed-off-by: Gerd Zanker <gerd.zanker@web.de>
* Add affectedChannels to service registration and handle RefreshType directly in BoschSHCHandler

Signed-off-by: Christian Oeing <christian.oeing@slashgames.org>
Signed-off-by: Gerd Zanker <gerd.zanker@web.de>
* Cleaned up DeviceStatusUpdate class

Signed-off-by: Christian Oeing <christian.oeing@slashgames.org>
Signed-off-by: Gerd Zanker <gerd.zanker@web.de>
* added Bosch SHC certs

added public certificates from https://github.com/BoschSmartHome/bosch-shc-api-docs/tree/master/best_practice

Signed-off-by: Gerd Zanker <gerd.zanker@web.de>
* added pairing support

added support for keystore creation and pairing
documented the process in readme
refactoring of httpClient to take care of SSL context

Signed-off-by: Gerd Zanker <gerd.zanker@web.de>
* Add RoomClimateControlService and ClimateControlHandler

Signed-off-by: Christian Oeing <christian.oeing@slashgames.org>
Signed-off-by: Gerd Zanker <gerd.zanker@web.de>
* Handle command to set setpoint temperature and move conversion from service state data to thing states into service state classes

Signed-off-by: Christian Oeing <christian.oeing@slashgames.org>
Signed-off-by: Gerd Zanker <gerd.zanker@web.de>
* Remove unnecessary imports from ThermostatHandler.java

Signed-off-by: Christian Oeing <christian.oeing@slashgames.org>
Signed-off-by: Gerd Zanker <gerd.zanker@web.de>
* Make new service and handler @NonNullByDefault

Signed-off-by: Christian Oeing <christian.oeing@slashgames.org>
Signed-off-by: Gerd Zanker <gerd.zanker@web.de>
* Added comments for climate control service, handler and base service and handler

Signed-off-by: Christian Oeing <christian.oeing@slashgames.org>
Signed-off-by: Gerd Zanker <gerd.zanker@web.de>
* Add missing comments on new classes and their methods

Signed-off-by: Christian Oeing <christian.oeing@slashgames.org>
Signed-off-by: Gerd Zanker <gerd.zanker@web.de>
* Make registerService method of BoschSHCHandler private and adjust usages

Derived handlers should use createService instead.

Signed-off-by: Christian Oeing <christian.oeing@slashgames.org>
Signed-off-by: Gerd Zanker <gerd.zanker@web.de>
* Throw an error instead of returning null for method getBridgeHandler of BoschSHCHandler

This allows for fewer null checks after the initialization of a handler.

Signed-off-by: Christian Oeing <christian.oeing@slashgames.org>
Signed-off-by: Gerd Zanker <gerd.zanker@web.de>
* Add @author tags in JavaDoc of new classes

Signed-off-by: Christian Oeing <christian.oeing@slashgames.org>
Signed-off-by: Gerd Zanker <gerd.zanker@web.de>
* Ran mvn spotless:apply to apply correct code formatting

Signed-off-by: Christian Oeing <christian.oeing@slashgames.org>
Signed-off-by: Gerd Zanker <gerd.zanker@web.de>
* Fixed missing imports in BoschSHCService.java

This was caused by a too quick merge of me.

Signed-off-by: Christian Oeing <christian.oeing@slashgames.org>
Signed-off-by: Gerd Zanker <gerd.zanker@web.de>
* Fixed warnings about null annotations

Signed-off-by: Christian Oeing <christian.oeing@slashgames.org>
Signed-off-by: Gerd Zanker <gerd.zanker@web.de>
* Add @NonNullByDefault to all handlers

Signed-off-by: Christian Oeing <christian.oeing@slashgames.org>
Signed-off-by: Gerd Zanker <gerd.zanker@web.de>
* added license header by executing mvn license:format

Signed-off-by: Gerd Zanker <gerd.zanker@web.de>
* #16 Adjust logger usages to not be too verbose

Signed-off-by: Christian Oeing <christian.oeing@slashgames.org>
Signed-off-by: Gerd Zanker <gerd.zanker@web.de>
* #10 Remove obsolete parse-things.py script

Signed-off-by: Christian Oeing <christian.oeing@slashgames.org>
Signed-off-by: Gerd Zanker <gerd.zanker@web.de>
* #29 Remove dev scripts install.sh and run.sh scripts

Signed-off-by: Christian Oeing <christian.oeing@slashgames.org>
Signed-off-by: Gerd Zanker <gerd.zanker@web.de>
* added author name to each class comment

Added the author(s) and small comment to each class based on the git
history and if necessary created the basis class comment body.

Signed-off-by: Gerd Zanker <gerd.zanker@web.de>
* added license header for new files

Signed-off-by: Gerd Zanker <gerd.zanker@web.de>
* run mvn spotless check/apply

Signed-off-by: Gerd Zanker <gerd.zanker@web.de>
* #24 Catch error response when trying to get state of a service of a device and throw specific error instead of returning invalid state object

Signed-off-by: Christian Oeing <christian.oeing@slashgames.org>
Signed-off-by: Gerd Zanker <gerd.zanker@web.de>
* #24 Run mvn spotless:apply and mvn license:format to respect coding guidelines

Signed-off-by: Christian Oeing <christian.oeing@slashgames.org>
Signed-off-by: Gerd Zanker <gerd.zanker@web.de>
* #5 Update README.md with up-to-date information about the setup of the binding

Signed-off-by: Christian Oeing <christian.oeing@slashgames.org>
Signed-off-by: Gerd Zanker <gerd.zanker@web.de>
* #31 Typo in README.md

Co-authored-by: Gerd Zanker <gerd.zanker@web.de>
Signed-off-by: Christian Oeing <christian.oeing@slashgames.org>
Signed-off-by: Gerd Zanker <gerd.zanker@web.de>
* Add detailed description of the system password to provide in README.md

Signed-off-by: Christian Oeing <christian.oeing@slashgames.org>
Co-authored-by: Gerd Zanker <gerd.zanker@web.de>
Signed-off-by: Gerd Zanker <gerd.zanker@web.de>
* Fix non-initialized member of @NonNullByDefault class ValveTappetServiceState

Signed-off-by: Christian Oeing <christian.oeing@slashgames.org>
Signed-off-by: Gerd Zanker <gerd.zanker@web.de>
* #7 Moved each device to a separate subfolder inside devices folder

Signed-off-by: Christian Oeing <christian.oeing@slashgames.org>
Signed-off-by: Gerd Zanker <gerd.zanker@web.de>
* #44 Adjust version of org.openhab.addons.reactor.bundles to 2.5.9-SNAPSHOT in pom.xml

Signed-off-by: Christian Oeing <christian.oeing@slashgames.org>
Signed-off-by: Gerd Zanker <gerd.zanker@web.de>
* #45 Increase year in copyright headers

Signed-off-by: Christian Oeing <christian.oeing@slashgames.org>
Signed-off-by: Gerd Zanker <gerd.zanker@web.de>
* #45 Remove several obsolete loggers and fix logging of exceptions

Signed-off-by: Christian Oeing <christian.oeing@slashgames.org>
Signed-off-by: Gerd Zanker <gerd.zanker@web.de>
* #45 Fixed some code analysis warnings

Signed-off-by: Christian Oeing <christian.oeing@slashgames.org>
Signed-off-by: Gerd Zanker <gerd.zanker@web.de>
* #45 Ran mvn spotless:apply

Signed-off-by: Christian Oeing <christian.oeing@slashgames.org>
Signed-off-by: Gerd Zanker <gerd.zanker@web.de>
* #45 Revert adding @NonNullByDefault to BoschSHCConfiguration

Signed-off-by: Christian Oeing <christian.oeing@slashgames.org>
Signed-off-by: Gerd Zanker <gerd.zanker@web.de>
* #47 Fixed code analysis warnings

Signed-off-by: Christian Oeing <christian.oeing@slashgames.org>
Signed-off-by: Gerd Zanker <gerd.zanker@web.de>
* updated text files based on pull request feedback

Signed-off-by: Gerd Zanker <gerd.zanker@web.de>
* Apply suggestions from code review

Applied only suggested string text changes and few trivial code changes

Co-authored-by: Hilbrand Bouwkamp <hilbrand@h72.nl>
Co-authored-by: Fabian Wolter <github@fabian-wolter.de>
Signed-off-by: Gerd Zanker <gerd.zanker@web.de>
* Improved comments and changed visibility

code review findings improved related to code comments
and public/private visibility of variables
removed example properties file and class path entries

Signed-off-by: Gerd Zanker <gerd.zanker@web.de>
* added @NonNullByDefault annotation where necessary and easy possible

in addition minor improvements like
removed TODO for code refactoring
used BoschSHCException instead of Error in one place
Renamed internal Error class to ErroInfo
ran spotless:apply

Signed-off-by: Gerd Zanker <gerd.zanker@web.de>
* use SIUnits

replaced all Celcius units with eclipse SIUnits

Co-authored-by: Hilbrand Bouwkamp <hilbrand@h72.nl>
Signed-off-by: Gerd Zanker <gerd.zanker@web.de>
* change logging and GSON related code

increased many log levels
avoid creating new GSON instances in derived handler subclasses
changed catch code to avoid stack trace dumps

Signed-off-by: Gerd Zanker <gerd.zanker@web.de>
* Add @NonNullByDefault to BoschSHCConfiguration class and remove obsolete usages of configuration in handlers

Signed-off-by: Christian Oeing <christian.oeing@slashgames.org>
Signed-off-by: Gerd Zanker <gerd.zanker@web.de>
* Throw BoschSHCExceptions instead of generic Errors and handle them during creation of services

Signed-off-by: Christian Oeing <christian.oeing@slashgames.org>
Signed-off-by: Gerd Zanker <gerd.zanker@web.de>
* Use Class::new supplier function instead of deprecated Class.newInstance() method

Signed-off-by: Christian Oeing <christian.oeing@slashgames.org>
Signed-off-by: Gerd Zanker <gerd.zanker@web.de>
* Remove @NonNullByDefault from inner classes and unused logger member to remove compile warnings

Signed-off-by: Christian Oeing <christian.oeing@slashgames.org>
Signed-off-by: Gerd Zanker <gerd.zanker@web.de>
* Use Base64.getEncoder().encodeToString instead of Base64.getEncoder().encode and a manual conversion to String

Signed-off-by: Christian Oeing <christian.oeing@slashgames.org>
Signed-off-by: Gerd Zanker <gerd.zanker@web.de>
* Add @NonNullByDefault annotation to BoschSHCBridgeConfiguration and check for empty password and ip address in configuration

Signed-off-by: Christian Oeing <christian.oeing@slashgames.org>
Signed-off-by: Gerd Zanker <gerd.zanker@web.de>
* Use try-with-resources to auto-close streams for key store creation

Signed-off-by: Christian Oeing <christian.oeing@slashgames.org>
Signed-off-by: Gerd Zanker <gerd.zanker@web.de>
* Move data transfer objects of bridge into dto folder

Signed-off-by: Christian Oeing <christian.oeing@slashgames.org>
Signed-off-by: Gerd Zanker <gerd.zanker@web.de>
* Add thing type ids and channel type ids to README.md

Signed-off-by: Christian Oeing <christian.oeing@slashgames.org>
Signed-off-by: Gerd Zanker <gerd.zanker@web.de>
* Move thing configurations out of thing-types.xml and into configs.xml. Remove deprecated required element and use attribute instead.

Signed-off-by: Christian Oeing <christian.oeing@slashgames.org>
Signed-off-by: Gerd Zanker <gerd.zanker@web.de>
* Adjust some elements, units, descriptions and labels in configs.xml and thing-types.xml

Signed-off-by: Christian Oeing <christian.oeing@slashgames.org>
Signed-off-by: Gerd Zanker <gerd.zanker@web.de>
* Move url and request creation from BoschSHCBridgeHandler to BoschHttpClient to reuse it inside BoschHttpClient

Signed-off-by: Christian Oeing <christian.oeing@slashgames.org>
Signed-off-by: Gerd Zanker <gerd.zanker@web.de>
* Add default timeout to request to smart home controller

Signed-off-by: Christian Oeing <christian.oeing@slashgames.org>
Signed-off-by: Gerd Zanker <gerd.zanker@web.de>
* Make httpClient of BoschSHCBridgeHandler @Nullable and use BoschHttpClient createUrl and createRequest methods where possible

Signed-off-by: Christian Oeing <christian.oeing@slashgames.org>
Signed-off-by: Gerd Zanker <gerd.zanker@web.de>
* Make gson field in BoschSHCBridgeHandler final

Signed-off-by: Christian Oeing <christian.oeing@slashgames.org>
Signed-off-by: Gerd Zanker <gerd.zanker@web.de>
* Simplify getDevices method of BoschSHCBridgeHandler

Signed-off-by: Christian Oeing <christian.oeing@slashgames.org>
Signed-off-by: Gerd Zanker <gerd.zanker@web.de>
* Use getContentAsString() instead of getContent() plus manual conversion to String

Signed-off-by: Christian Oeing <christian.oeing@slashgames.org>
Signed-off-by: Gerd Zanker <gerd.zanker@web.de>
* Use instanceof instead of isInstance(...) in BoschSHCBridgeHandler

Signed-off-by: Christian Oeing <christian.oeing@slashgames.org>
Signed-off-by: Gerd Zanker <gerd.zanker@web.de>
* Add registerService method to BoschSHCHandler to register already created services, so they can be created in the constructor of a handler and do not have to be @Nullable

Signed-off-by: Christian Oeing <christian.oeing@slashgames.org>
Signed-off-by: Gerd Zanker <gerd.zanker@web.de>
* Using simpler String.format instead of MessageFormatter in BoschSHCBridgeHandler

Signed-off-by: Christian Oeing <christian.oeing@slashgames.org>
Signed-off-by: Gerd Zanker <gerd.zanker@web.de>
* Move ShutterControlState into dto subfolder and remove @NonNullByDefault annotation

Signed-off-by: Christian Oeing <christian.oeing@slashgames.org>
Signed-off-by: Gerd Zanker <gerd.zanker@web.de>
* Make bridgeHandler and deviceId in BoschSHCService @Nullable

Signed-off-by: Christian Oeing <christian.oeing@slashgames.org>
Signed-off-by: Gerd Zanker <gerd.zanker@web.de>
* Move DTOs in dto subfolders and remove @NonNullByDefault annotations from them

Signed-off-by: Christian Oeing <christian.oeing@slashgames.org>
Signed-off-by: Gerd Zanker <gerd.zanker@web.de>
* Add texts for errors during initialization of bridge

Signed-off-by: Christian Oeing <christian.oeing@slashgames.org>
Signed-off-by: Gerd Zanker <gerd.zanker@web.de>
* Migrate PowerSwitch to new service architecture to get rid of BoschSHCBridgeHandler.updateSwitchState

Signed-off-by: Christian Oeing <christian.oeing@slashgames.org>
Signed-off-by: Gerd Zanker <gerd.zanker@web.de>
* Remove obsolete null parameter from subscription request

Signed-off-by: Christian Oeing <christian.oeing@slashgames.org>
Signed-off-by: Gerd Zanker <gerd.zanker@web.de>
* Removed obsolete TODO about hard-coded data which does not exist anymore

Signed-off-by: Christian Oeing <christian.oeing@slashgames.org>
Signed-off-by: Gerd Zanker <gerd.zanker@web.de>
* Use lambda for response handling of long poll

Signed-off-by: Christian Oeing <christian.oeing@slashgames.org>
Signed-off-by: Gerd Zanker <gerd.zanker@web.de>
* Remove obsolete @NonNull annotations in BoschSHCBridgeHandler

Signed-off-by: Christian Oeing <christian.oeing@slashgames.org>
Signed-off-by: Gerd Zanker <gerd.zanker@web.de>
* Throw http exceptions when trying to request state from a device to set the thing to offline

Signed-off-by: Christian Oeing <christian.oeing@slashgames.org>
Signed-off-by: Gerd Zanker <gerd.zanker@web.de>
* Add state options for combined-rating, temperature-rating and humidity-rating channels

Signed-off-by: Christian Oeing <christian.oeing@slashgames.org>
Signed-off-by: Gerd Zanker <gerd.zanker@web.de>
* Fix several minor static code analysis warnings

Signed-off-by: Christian Oeing <christian.oeing@slashgames.org>
Signed-off-by: Gerd Zanker <gerd.zanker@web.de>
* Added migration artifacts

Signed-off-by: Christian Oeing <christian.oeing@slashgames.org>
Signed-off-by: Gerd Zanker <gerd.zanker@web.de>
* Fix formatting and increase version number

Signed-off-by: Christian Oeing <christian.oeing@slashgames.org>
Signed-off-by: Gerd Zanker <gerd.zanker@web.de>
* fix HTTP client issue, improve connection logging, add Developers markdown

the HTTPClient requests were broken
updated exception handling and logging for connection and pairing
describing source of certificates

Signed-off-by: Gerd Zanker <gerd.zanker@web.de>
* Use service for shutter control handling instead of having the logic inside the ShutterControlHandler

Signed-off-by: Christian Oeing <christian.oeing@slashgames.org>
Signed-off-by: Gerd Zanker <gerd.zanker@web.de>
* #47 Fix code formatting to remove code analysis warnings

Signed-off-by: Christian Oeing <christian.oeing@slashgames.org>
Signed-off-by: Gerd Zanker <gerd.zanker@web.de>
* Fixed pairing

Signed-off-by: Gerd Zanker <gerd.zanker@web.de>
* Fixed long poll

Signed-off-by: Gerd Zanker <gerd.zanker@web.de>
* Move common error handling for parsing responses from BoschHttpClient into sendRequest method to make subscribe request logic clearer

Signed-off-by: Christian Oeing <christian.oeing@slashgames.org>
Signed-off-by: Gerd Zanker <gerd.zanker@web.de>
* Use scheduler.schedule instead of Thread.sleep during long polling

Signed-off-by: Christian Oeing <christian.oeing@slashgames.org>
Signed-off-by: Gerd Zanker <gerd.zanker@web.de>
* Using synchronous request for subscribe request

The initialization is not finished without a successful subscription.

Signed-off-by: Christian Oeing <christian.oeing@slashgames.org>
Signed-off-by: Gerd Zanker <gerd.zanker@web.de>
* Use synchronous long poll request to get it to work

Signed-off-by: Christian Oeing <christian.oeing@slashgames.org>
Signed-off-by: Gerd Zanker <gerd.zanker@web.de>
* Make long polling asynchronous to not block scheduler threads

Signed-off-by: Christian Oeing <christian.oeing@slashgames.org>
Signed-off-by: Gerd Zanker <gerd.zanker@web.de>
* Only scheduling new long polls while bridge is not disposed and aborting long polling on disposal

Signed-off-by: Christian Oeing <christian.oeing@slashgames.org>
Signed-off-by: Gerd Zanker <gerd.zanker@web.de>
* Move long polling logic into separate class

Signed-off-by: Christian Oeing <christian.oeing@slashgames.org>
Signed-off-by: Gerd Zanker <gerd.zanker@web.de>
* Make long polling requests synchronous again, the asynchronous way still does not receive any state updates

Signed-off-by: Christian Oeing <christian.oeing@slashgames.org>
Signed-off-by: Gerd Zanker <gerd.zanker@web.de>
* replaced while loop for pairing with scheduler calls

Pattern from LongPolling reused.
Scheduling new initial access checks including pairing every 15 seconds until it was successful and long polling can be started

Signed-off-by: Gerd Zanker <gerd.zanker@web.de>
* #47 Throw BoschSHCException instead of raw error to avoid code analysis warning

Signed-off-by: Christian Oeing <christian.oeing@slashgames.org>
Signed-off-by: Gerd Zanker <gerd.zanker@web.de>
* #47 Remove TODO from code and add issue #55 instead

Signed-off-by: Christian Oeing <christian.oeing@slashgames.org>
Signed-off-by: Gerd Zanker <gerd.zanker@web.de>
* #47 Pass non-null httpClient to bridge initialization instead of having to check for null reference

Signed-off-by: Christian Oeing <christian.oeing@slashgames.org>
Signed-off-by: Gerd Zanker <gerd.zanker@web.de>
* #14 Use one supportsThingTypes mapping to list the supported things with their handler in BoschSHCHandlerFactory

Previously an array plus a big switch was required.

Signed-off-by: Christian Oeing <christian.oeing@slashgames.org>
Signed-off-by: Gerd Zanker <gerd.zanker@web.de>
* #47 Starting http client before scheduling initial access

Signed-off-by: Christian Oeing <christian.oeing@slashgames.org>
Signed-off-by: Gerd Zanker <gerd.zanker@web.de>
* Use logger.debug instead of logger.info

Signed-off-by: Christian Oeing <christian.oeing@slashgames.org>
Co-authored-by: Connor Petty <mistercpp2000@gmail.com>
Signed-off-by: Gerd Zanker <gerd.zanker@web.de>
* Include cause exception in the PairingFailedException

Signed-off-by: Christian Oeing <christian.oeing@slashgames.org>
Co-authored-by: Connor Petty <mistercpp2000@gmail.com>
Signed-off-by: Gerd Zanker <gerd.zanker@web.de>
* #14 Move fields above constructor in BoschSHCBridgeHandler

Signed-off-by: Christian Oeing <christian.oeing@slashgames.org>
Signed-off-by: Gerd Zanker <gerd.zanker@web.de>
* #14 Remove obsolete configuration field from BoschSHCBridgeHandler

Signed-off-by: Christian Oeing <christian.oeing@slashgames.org>
Signed-off-by: Gerd Zanker <gerd.zanker@web.de>
* #14 Move fields and constructor in JsonRpcRequest to top of the class

Signed-off-by: Christian Oeing <christian.oeing@slashgames.org>
Signed-off-by: Gerd Zanker <gerd.zanker@web.de>
* #14 Log the failure of a long poll as warning instead of error

Signed-off-by: Christian Oeing <christian.oeing@slashgames.org>
Signed-off-by: Gerd Zanker <gerd.zanker@web.de>
* #14 Use %s instead of {} as placeholder for String.format

Signed-off-by: Christian Oeing <christian.oeing@slashgames.org>
Signed-off-by: Gerd Zanker <gerd.zanker@web.de>
* #14 Move @Nullable annotation in front of field name

Signed-off-by: Christian Oeing <christian.oeing@slashgames.org>
Signed-off-by: Gerd Zanker <gerd.zanker@web.de>
* #14 Specify UTF_8 as charset to convert string to byte array

Signed-off-by: Christian Oeing <christian.oeing@slashgames.org>
Signed-off-by: Gerd Zanker <gerd.zanker@web.de>
* #14 Remove spaces from pem files

Signed-off-by: Christian Oeing <christian.oeing@slashgames.org>
Signed-off-by: Gerd Zanker <gerd.zanker@web.de>
* #14 Change ArrayList to List in Device.java

Signed-off-by: Christian Oeing <christian.oeing@slashgames.org>
Signed-off-by: Gerd Zanker <gerd.zanker@web.de>
* #14 Use QuantityType for power and energy consumption of the in-wall switch handler

Signed-off-by: Christian Oeing <christian.oeing@slashgames.org>
Signed-off-by: Gerd Zanker <gerd.zanker@web.de>
* #14 Check if StopMoveType is STOP in ShutterControlHandler before setting the device state

Signed-off-by: Christian Oeing <christian.oeing@slashgames.org>
Signed-off-by: Gerd Zanker <gerd.zanker@web.de>
* #14 Make fields of DeviceService final

Signed-off-by: Christian Oeing <christian.oeing@slashgames.org>
Signed-off-by: Gerd Zanker <gerd.zanker@web.de>
* #14 Stop http client and cancel scheduled pairing on bridge disposal

Signed-off-by: Christian Oeing <christian.oeing@slashgames.org>
Signed-off-by: Gerd Zanker <gerd.zanker@web.de>
* #14 Remove channel check in BoschTwinguardHandler for Refresh command

Signed-off-by: Christian Oeing <christian.oeing@slashgames.org>
Signed-off-by: Gerd Zanker <gerd.zanker@web.de>
* #14 Add exception message to warning when update in BoschTwinguardHandler and WindowContactHandler returns incorrect state

Signed-off-by: Christian Oeing <christian.oeing@slashgames.org>
Signed-off-by: Gerd Zanker <gerd.zanker@web.de>
* #14 Add additional information about channels to thing-types.xml and README.md

Signed-off-by: Christian Oeing <christian.oeing@slashgames.org>
Signed-off-by: Gerd Zanker <gerd.zanker@web.de>
* #14 Remove confusing comment from LongPolling.subscribe method

Signed-off-by: Christian Oeing <christian.oeing@slashgames.org>
Signed-off-by: Gerd Zanker <gerd.zanker@web.de>
* #14 Removed obsolete error log in LongPolling.subscribe

A warning is already logged in BoschBridgeHandler when an exception occurs

Signed-off-by: Christian Oeing <christian.oeing@slashgames.org>
Signed-off-by: Gerd Zanker <gerd.zanker@web.de>
* #14 Add detailed description for purity channel

Signed-off-by: Christian Oeing <christian.oeing@slashgames.org>
Signed-off-by: Gerd Zanker <gerd.zanker@web.de>
* #14 Fix typo in DEVELOPERS.md

Signed-off-by: Christian Oeing <christian.oeing@slashgames.org>
Signed-off-by: Gerd Zanker <gerd.zanker@web.de>
* #14 Change scheduledPairing field in BoschSHCBridgeHandler to be @Nullable

Signed-off-by: Christian Oeing <christian.oeing@slashgames.org>
Signed-off-by: Gerd Zanker <gerd.zanker@web.de>
* #14 Change type of channel values from DecimalType to QuantityType in BoschTwinguardHandler

Signed-off-by: Christian Oeing <christian.oeing@slashgames.org>
Signed-off-by: Gerd Zanker <gerd.zanker@web.de>
* #14 Remove obsolete .classpath and .project files

Signed-off-by: Christian Oeing <christian.oeing@slashgames.org>
Signed-off-by: Gerd Zanker <gerd.zanker@web.de>
* #14 Fixed typo in DEVELOPERS.md

Signed-off-by: Christian Oeing <christian.oeing@slashgames.org>
Signed-off-by: Gerd Zanker <gerd.zanker@web.de>
* #14 Only log error message instead of whole stack trace in BoschSHCBridgeHandler

Signed-off-by: Christian Oeing <christian.oeing@slashgames.org>
Signed-off-by: Gerd Zanker <gerd.zanker@web.de>
* #14 Remove exception which is not thrown and typo in BoschSslUtil

Signed-off-by: Christian Oeing <christian.oeing@slashgames.org>
Signed-off-by: Gerd Zanker <gerd.zanker@web.de>
* #14 Use SmartHomeUnits instead of AbstractUnit in BoschTwinguardHandler

Signed-off-by: Christian Oeing <christian.oeing@slashgames.org>
Signed-off-by: Gerd Zanker <gerd.zanker@web.de>
* #14 Added supported-bridge-type-refs to thing-types.xml

Signed-off-by: Christian Oeing <christian.oeing@slashgames.org>
Signed-off-by: Gerd Zanker <gerd.zanker@web.de>
* #14 Remove invalid whitespace from thing-types.xml

Signed-off-by: Christian Oeing <christian.oeing@slashgames.org>
Signed-off-by: Gerd Zanker <gerd.zanker@web.de>
* #14 Fixed warnings and errors caused by updated Gson library

Signed-off-by: Christian Oeing <christian.oeing@slashgames.org>
Signed-off-by: Gerd Zanker <gerd.zanker@web.de>
* #14 Update info about auto reload of bundle jar in DEVELOPERS.md

Signed-off-by: Christian Oeing <christian.oeing@slashgames.org>
Signed-off-by: Gerd Zanker <gerd.zanker@web.de>
* #14 Update information about adding items and things via UI, added missing password configuration value and changed headline in README.md

Signed-off-by: Christian Oeing <christian.oeing@slashgames.org>
Signed-off-by: Gerd Zanker <gerd.zanker@web.de>
* #14 Execute long polling requests asynchronous to not block a thread

Signed-off-by: Christian Oeing <christian.oeing@slashgames.org>
Signed-off-by: Gerd Zanker <gerd.zanker@web.de>
* #14 Refactored WindowContactHandler to use ShutterContactService instead of implementing service logic itself

Signed-off-by: Christian Oeing <christian.oeing@slashgames.org>
Signed-off-by: Gerd Zanker <gerd.zanker@web.de>
* #14 Remove obsolete .gitignore. The ignored files are already ignored by the root .gitignore

Signed-off-by: Christian Oeing <christian.oeing@slashgames.org>
Signed-off-by: Gerd Zanker <gerd.zanker@web.de>
* #14 Rename constant supportsThingTypes to SUPPORTED_THING_TYPES in BoschSHCHandlerFactory

Signed-off-by: Christian Oeing <christian.oeing@slashgames.org>
Signed-off-by: Gerd Zanker <gerd.zanker@web.de>
* #14 Use List.of instead of Arrays.asList

Signed-off-by: Christian Oeing <christian.oeing@slashgames.org>
Signed-off-by: Gerd Zanker <gerd.zanker@web.de>
* #14 Call super.dispose last in BoschSHCBridgeHandler

Signed-off-by: Christian Oeing <christian.oeing@slashgames.org>
Signed-off-by: Gerd Zanker <gerd.zanker@web.de>
* #14 Add exception message to status when http connection to controller fails

Signed-off-by: Christian Oeing <christian.oeing@slashgames.org>
Signed-off-by: Gerd Zanker <gerd.zanker@web.de>
* #14 Handle JsonSyntaxException in BoschHttpClient.sendRequest

Signed-off-by: Christian Oeing <christian.oeing@slashgames.org>
Signed-off-by: Gerd Zanker <gerd.zanker@web.de>
* #14 Forward InterruptedExceptions to callers, so they have to be handled correctly

Signed-off-by: Christian Oeing <christian.oeing@slashgames.org>
Signed-off-by: Gerd Zanker <gerd.zanker@web.de>
* #14 Logging long poll error message and code instead of hash

Signed-off-by: Christian Oeing <christian.oeing@slashgames.org>
Signed-off-by: Gerd Zanker <gerd.zanker@web.de>
* #14 Throwing InterruptedException during pairing instead of only logging it

Signed-off-by: Christian Oeing <christian.oeing@slashgames.org>
Signed-off-by: Gerd Zanker <gerd.zanker@web.de>
* #14 Move nested class AbortLongPolling to end of LongPolling class

Signed-off-by: Christian Oeing <christian.oeing@slashgames.org>
Signed-off-by: Gerd Zanker <gerd.zanker@web.de>
* #14 Make gson instance static final in BoschHttpClient

Signed-off-by: Christian Oeing <christian.oeing@slashgames.org>
Signed-off-by: Gerd Zanker <gerd.zanker@web.de>
* #14 Rename gson to GSON and make it static final in BoschSHCHandler

Signed-off-by: Christian Oeing <christian.oeing@slashgames.org>
Signed-off-by: Gerd Zanker <gerd.zanker@web.de>
* #14 Remove @Nullable annotations from GSON-created objects

Signed-off-by: Christian Oeing <christian.oeing@slashgames.org>
Signed-off-by: Gerd Zanker <gerd.zanker@web.de>
* #14 Add causing exception to ExecutionException in BoschHttpClient.sendRequest

Signed-off-by: Christian Oeing <christian.oeing@slashgames.org>
Signed-off-by: Gerd Zanker <gerd.zanker@web.de>
* #14 Add JsonSyntaxException to definition of processUpdate in BoschTwinguardHandler

Signed-off-by: Christian Oeing <christian.oeing@slashgames.org>
Signed-off-by: Gerd Zanker <gerd.zanker@web.de>
* fixed keyStore creation

Moved PEM files into expected folder according to package

Signed-off-by: Gerd Zanker <gerd.zanker@web.de>
* moved final fields above non-final fields

Signed-off-by: Gerd Zanker <gerd.zanker@web.de>
* updated copyright year in header by executing mvn license:format

Signed-off-by: Gerd Zanker <gerd.zanker@web.de>
* fixed last two pending warnings

added back the removed @Nullable annotation in sendRequest()
replaced deprecated SslContextFactory constructor call

Signed-off-by: Gerd Zanker <gerd.zanker@web.de>
* added Bouncy Castle third-party license info into NOTICE

Signed-off-by: Gerd Zanker <gerd.zanker@web.de>
* changed Bouncy Castle version to same version as  currently used in org.openhab.core.io.jetty.certificate to later reduce download size

Signed-off-by: Gerd Zanker <gerd.zanker@web.de>
* #62 Correctly check if long poll response is valid

GSON will not return null if there is no "result" field, but will just set the "result" member to null.

Signed-off-by: Christian Oeing <christian.oeing@slashgames.org>
* Add @NonNullByDefault annotation to LongPollResultTest class and fix method name

Signed-off-by: Christian Oeing <christian.oeing@slashgames.org>
* added first unittests for BoschSslUtil class

Signed-off-by: Gerd Zanker <gerd.zanker@web.de>
* added next unittests for BoschHttpClient class

Signed-off-by: Gerd Zanker <gerd.zanker@web.de>
* #55 replaced the password with a fixed one

The changeable SHC system password for the keystore is replaced by a static string in the code.
The keyStore name is now based on SHC ipAddress to support multiple SmartHomeControllers.

Signed-off-by: Gerd Zanker <gerd.zanker@web.de>
* #72 changed use units of measure for the twinguard humidity and purity values

all other QuantityTypes in bindingcode are fine

Signed-off-by: Gerd Zanker <gerd.zanker@web.de>
* #77 changed title of binding to Bosch Smart Home

Replaced the SHC occurrences with Smart Home,
to avoid technical names.

Signed-off-by: Gerd Zanker <gerd.zanker@web.de>
* #62 Try to restart long polling when it fails before taking the thing offline

Signed-off-by: Christian Oeing <christian.oeing@slashgames.org>
* #62 Run subscribe request on a new thread instead of using the thread of the previous long polling http request

This might be the reason why the subscribe request does never finish or finishes with a timeout

Signed-off-by: Christian Oeing <christian.oeing@slashgames.org>
* #74 Run the whole long polling response handling in a new thread to not get timeout from HTTP client

Signed-off-by: Christian Oeing <christian.oeing@slashgames.org>
* #74 Schedule initial access when long polling fails unexpected

We need to try to reconnect again and again (with 15 seconds between the requests) as the controller may have been restarted (update, manual restart,...). This is already done by the initial access, so I reuse that mechanism.

Signed-off-by: Christian Oeing <christian.oeing@slashgames.org>
* Use direct formatting of logger.trace instead of String.format

Signed-off-by: Christian Oeing <christian.oeing@slashgames.org>
Co-authored-by: Gerd Zanker <gerd.zanker@web.de>
* #76 Use i18n texts instead of raw translations for status messages about failed long polling

Signed-off-by: Christian Oeing <christian.oeing@slashgames.org>
* #76 Use logger.debug instead of logger.warn for long poll error as it is handled now

Signed-off-by: Christian Oeing <christian.oeing@slashgames.org>
* #78 defined api-version

each HTTP request will use now the defined "avp-version=2.1" for request to the smart home controller

Signed-off-by: Gerd Zanker <gerd.zanker@web.de>
* logging bundle version

removed the old static version string
access OSGi bundle version information instead

Signed-off-by: Gerd Zanker <gerd.zanker@web.de>
* #75 improved initial access

- added isOnline check and isAccessPossible now failed in case HTTPStatus is an error
- same HTTPStatus check done to all blocking send() request calls
- using i18n strings for all bridge updateStatus calls
- skipped the 'controller' and use only 'Bosch Smart Home' in descriptions
- added more @Nullable annotations

Signed-off-by: Gerd Zanker <gerd.zanker@web.de>
* #72 changed use units of measure for the twinguard humidity and purity values

all other QuantityTypes in bindingcode are fine

Signed-off-by: Gerd Zanker <gerd.zanker@web.de>
* #77 changed title of binding to Bosch Smart Home

Replaced the SHC occurrences with Smart Home,
to avoid technical names.

Signed-off-by: Gerd Zanker <gerd.zanker@web.de>
* #62 Try to restart long polling when it fails before taking the thing offline

Signed-off-by: Christian Oeing <christian.oeing@slashgames.org>
* #62 Run subscribe request on a new thread instead of using the thread of the previous long polling http request

This might be the reason why the subscribe request does never finish or finishes with a timeout

Signed-off-by: Christian Oeing <christian.oeing@slashgames.org>
* #74 Run the whole long polling response handling in a new thread to not get timeout from HTTP client

Signed-off-by: Christian Oeing <christian.oeing@slashgames.org>
* #74 Schedule initial access when long polling fails unexpected

We need to try to reconnect again and again (with 15 seconds between the requests) as the controller may have been restarted (update, manual restart,...). This is already done by the initial access, so I reuse that mechanism.

Signed-off-by: Christian Oeing <christian.oeing@slashgames.org>
* Use direct formatting of logger.trace instead of String.format

Signed-off-by: Christian Oeing <christian.oeing@slashgames.org>
Co-authored-by: Gerd Zanker <gerd.zanker@web.de>
* #76 Use i18n texts instead of raw translations for status messages about failed long polling

Signed-off-by: Christian Oeing <christian.oeing@slashgames.org>
* #76 Use logger.debug instead of logger.warn for long poll error as it is handled now

Signed-off-by: Christian Oeing <christian.oeing@slashgames.org>
* #78 defined api-version

each HTTP request will use now the defined "avp-version=2.1" for request to the smart home controller

Signed-off-by: Gerd Zanker <gerd.zanker@web.de>
* logging bundle version

removed the old static version string
access OSGi bundle version information instead

Signed-off-by: Gerd Zanker <gerd.zanker@web.de>
* #75 improved initial access

- added isOnline check and isAccessPossible now failed in case HTTPStatus is an error
- same HTTPStatus check done to all blocking send() request calls
- using i18n strings for all bridge updateStatus calls
- skipped the 'controller' and use only 'Bosch Smart Home' in descriptions
- added more @Nullable annotations

Signed-off-by: Gerd Zanker <gerd.zanker@web.de>
* added newline

Signed-off-by: Gerd Zanker <gerd.zanker@web.de>
* #46 Rename BoschInWallSwitchHandler, BoschTwinguardHandler, BoschSHCBridgeConfiguration and BoschSHCBridgeHandler

Signed-off-by: Christian Oeing <christian.oeing@slashgames.org>
* #46 Adjust descriptions of things

Signed-off-by: Christian Oeing <christian.oeing@slashgames.org>
* #40 Use LatestMotionService in MotionDetectorHandler

Signed-off-by: Christian Oeing <christian.oeing@slashgames.org>
* #40 Use service instead of custom logic in BoschTwinguardHandler

Signed-off-by: Christian Oeing <christian.oeing@slashgames.org>
* #40 Add PowerMeterService to use in InWallSwitchHandler instead of having the logic directly in the handler

Signed-off-by: Christian Oeing <christian.oeing@slashgames.org>
* #40 Rename InWallSwitchHandler to LightControlHandler

This is the official name in the Bosch API documentation, so we should use it as well (https://apidocs.bosch-smarthome.com/local)

Signed-off-by: Christian Oeing <christian.oeing@slashgames.org>
* #34 Get device info on thing initialization to check if device exists

Signed-off-by: Christian Oeing <christian.oeing@slashgames.org>
* #34 Use generic sendRequest method of http client to have consistent error handling

Signed-off-by: Christian Oeing <christian.oeing@slashgames.org>
* #34 Fix formatting error when logging device info

Signed-off-by: Christian Oeing <christian.oeing@slashgames.org>
* #83 Add info if a channel is writable to README.md

Signed-off-by: Christian Oeing <christian.oeing@slashgames.org>
* #84 Adjust/Add descriptions of supported devices

Signed-off-by: Christian Oeing <christian.oeing@slashgames.org>
* #25 Add humidity level service and wall thermostat handler

Signed-off-by: Christian Oeing <christian.oeing@slashgames.org>
* #25 Add wall thermostat handler to handler factory

Signed-off-by: Christian Oeing <christian.oeing@slashgames.org>
* #66 Check type of service state when received by bridge to make sure that it has the expected type

Signed-off-by: Christian Oeing <christian.oeing@slashgames.org>
* #41 Add child lock service to Thermostat handler and link its state to a "child-lock" channel

Signed-off-by: Christian Oeing <christian.oeing@slashgames.org>
* Add null check in BoschSHCServiceState.isValid

Signed-off-by: Christian Oeing <christian.oeing@slashgames.org>
* #41 Use custom channel type for child-lock. Handle setting child lock state.

Signed-off-by: Christian Oeing <christian.oeing@slashgames.org>
* #101 Store expected state type inside a member instead of a static variable

The static variable was stored in the base class, so it was only initialized once even for different state types

Signed-off-by: Christian Oeing <christian.oeing@slashgames.org>
* #63 Use better identifier for thing that is missing a (valid) bridge

Signed-off-by: Christian Oeing <christian.oeing@slashgames.org>
* #108 Add changelog to README.md

Signed-off-by: Christian Oeing <christian.oeing@slashgames.org>
* #109 Catch possible null pointer exception in long poll response handling

Signed-off-by: Christian Oeing <christian.oeing@slashgames.org>
* Fix potential null pointer access

Signed-off-by: Christian Oeing <christian.oeing@slashgames.org>
* Fix static code analysis error and 2 warnings

Signed-off-by: Christian Oeing <christian.oeing@slashgames.org>
* #111 Remove changelog from README.md

Signed-off-by: Christian Oeing <christian.oeing@slashgames.org>
* #112 Remove JSON from logs

Signed-off-by: Christian Oeing <christian.oeing@slashgames.org>
Co-authored-by: Stefan Kaestle <stefan@mad-kow.de>
Co-authored-by: Gerd Zanker <gerd.zanker@web.de>
Co-authored-by: Christian Oeing <christian.oeing@scalamat.de>
Co-authored-by: Hilbrand Bouwkamp <hilbrand@h72.nl>
Co-authored-by: Fabian Wolter <github@fabian-wolter.de>
Co-authored-by: Connor Petty <mistercpp2000@gmail.com>
4 years ago[automower] Support for GPS coordinates provided by API (#11323)
Bernhard Bauer [Sat, 30 Oct 2021 11:14:24 +0000 (13:14 +0200)]
[automower] Support for GPS coordinates provided by API (#11323)

* Added support for the 50 GPS waypoints provided by the Automower API

Signed-off-by: Bernhard Bauer <bern77@gmail.com>
* Added Channel for last position

Signed-off-by: Bernhard Bauer <bern77@gmail.com>
* Fixed channel of position 40

Signed-off-by: Bernhard Bauer <bern77@gmail.com>
* Updated Doku + mvn:spotless apply

Signed-off-by: Bernhard Bauer <bern77@gmail.com>
* Inputs from static code analysis

Signed-off-by: Bernhard Bauer <bern77@gmail.com>
* Removed channel groups

Signed-off-by: Bernhard Bauer <bern77@gmail.com>
* mvn spotless:apply

Signed-off-by: Bernhard Bauer <bern77@gmail.com>
4 years ago[miio] force start cloudconnector after credentials are updated (#11459)
Marcel [Sat, 30 Oct 2021 06:50:43 +0000 (08:50 +0200)]
[miio] force start cloudconnector after credentials are updated (#11459)

Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>