Commit Graph

1766 Commits

Author SHA1 Message Date
maniac103
d8aacd86a0
[homematic] Fix UI enumeration of HM-MOD-EM-8 channels (#10907)
The set of available HM-MOD-EM-8 channels varies depending on the
function a given channel is configured to use, which is why for those
devices we can't determine a static ThingType, but instead must populate
the thing channels on initialization. The existing code already handled
that case, but missed registering channel types for the dynamically
generated channels, which is why those channels were not shown in main
UI.

Signed-off-by: Danny Baumann <dannybaumann@web.de>
2021-07-17 23:33:08 +02:00
JohnnyUndercover
f7331d366e
[boschshc] Update Readme.md (#10915)
Add addtional info for how to get the device id via log output
2021-07-17 23:20:21 +02:00
Björn Lange
dbefba3fdd
[mielecloud] Less strict e-mail validation (#10928)
* [mielecloud] Less strict e-mail validation

Signed-off-by: Björn Lange <bjoern.lange@tu-dortmund.de>

* Some more e-mail validation test cases

Signed-off-by: Björn Lange <bjoern.lange@tu-dortmund.de>

Co-authored-by: Björn Lange <bjoern.lange@tu-dortmund.de>
2021-07-17 23:18:12 +02:00
M Valla
bd1d8f4980
[openwebnet] refactoring to internal package (#10995)
Signed-off-by: Massimo Valla <mvcode00@gmail.com>
2021-07-17 22:40:58 +02:00
Gaël L'hopital
11a66e5ce8
[meteoalerte] Small code enhancements (#10993)
Signed-off-by: clinique <gael@lhopital.org>
2021-07-17 22:39:41 +02:00
Gaël L'hopital
71638cead2
[VigiCrues] Adding localization and a bit of code cleansing. (#10992)
* Adding localization and a bit of code cleansing.

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

* Review corrections

Signed-off-by: clinique <gael@lhopital.org>
2021-07-17 22:37:41 +02:00
mlobstein
f8157549ef
[epsonprojector] Add configurable volume channel (#10988)
Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>
2021-07-17 22:34:03 +02:00
Marcel
5671f09900
[miio] Improve yeelight RGB with brightness, introduce substitutions (#10984)
* [miio] add deviceId and timestamp substitutions

This will allow to send right commands for gateway and lumi devices

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

* [miio] update brightness in yeelight RGB channel

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

* [miio] Use generic way to call the asyncCommunication module

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

* [miio] Fix mapping yeelight

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

* [miio] Improve Yeelight colormode mapping

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

* [miio] yeelight fix unit for delayed off

Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
2021-07-17 22:32:13 +02:00
Matthew Skinner
8f3eef6ada
[ipobserver] Weather station binding, Initial contribution. (#10567)
* Bulk updated to UOM.


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

* ipObserver creation


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

* Bulk updated to UOM.


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

* channel fixup for UOM.


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

* improve UOM.


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

* updates


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

* Battery ch fixed.


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

* Fix time channels.


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

* readme update and remove %unit% from rain channels.


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

* readme fixup.


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

* edit global files.

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

* Fix merge conflicts.


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

* fix up build issues.


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

* remove reboot channel.


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

* readme fixup.


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

* Rename channels to put kind first.

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

* update to build on latest main.

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

* Add support for outBatt1


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

* Added auto discovery.


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

* add bundle to POM.


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

* newline added.


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

* Fix bug in discovery.


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

* Added tags

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

* update to 3.2.0-SNAPSHOT


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

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

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

Co-authored-by: Fabian Wolter <github@fabian-wolter.de>

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

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

Co-authored-by: Fabian Wolter <github@fabian-wolter.de>

* Clean up channels

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

* Update binding description.


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

* Fix jsoup suggestions.


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

* Update bundles/org.openhab.binding.ipobserver/src/main/java/org/openhab/binding/ipobserver/internal/IpObserverDiscoveryService.java

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

Co-authored-by: Fabian Wolter <github@fabian-wolter.de>

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

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

Co-authored-by: Fabian Wolter <github@fabian-wolter.de>

* Removed nullable.

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

* Improvements


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

* Fix compiler warnings


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

* Change to datetime


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

* change to use system channels.


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

* Move to Number:Intensity for solar

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

Co-authored-by: Fabian Wolter <github@fabian-wolter.de>
2021-07-17 22:21:21 +02:00
Ethan Dye
b4a7c433f2
[OmniLink] Fix zone bypass/restore commands (#11005)
* Fix zone bypass/restore commands
* Name variables using openHAB guidelines

Signed-off-by: Ethan Dye <mrtops03@gmail.com>
2021-07-17 08:54:34 +02:00
Colin
ff617aceae
Add support for group item type to window covering (#10936)
Add support for setting TARGET_POSITION of Window Covering accessories from groups with a baseItem type

Closes #10812

Signed-off-by: Colin Keehan <github@colin.xyz>
2021-07-17 08:51:44 +02:00
Georgios Moutsos
b96bab46d7
[caddx] Add new channels and support for ignoring zone status transitions (#10923)
* Cleanup of binding configuration classes
* Added context to CaddxMessage
* Logging enhancements
* Added support for ignoring Zone Status Transitions

Signed-off-by: Georgios Moutsos <georgios.moutsos@gmail.com>
2021-07-16 14:43:37 +02:00
pali
fe91fb635a
[ihc] Improved command handling when controller is not ready (#10895)
* [ihc] Improved command handling when controller is not ready

When connection from binding to IHC controller is open, but controller
is in programming state, things state is offline with special status to
indicate that binding can't send or receive any resource updates at the
moment. Things status check during command sending will prevent
unnecessary resource updates which will eventually fail and binding then
tries to restart the connection.

Signed-off-by: Pauli Anttila <pauli.anttila@gmail.com>
2021-07-15 19:49:59 +02:00
Gerhard Riegler
69bc7183d6
Fixed OutOfMemory error if initializing fails (#10924)
Signed-off-by: Gerhard Riegler <gerhard.riegler@gmail.com>
2021-07-15 19:48:01 +02:00
Martin Herbst
b043d8f4bc
[homematic] Provide additional null pointer checks (#10965)
* Fixed a rare NPE introduced while replacing commons-lang
* Provide additional null pointer checks

It is possible that the meta data returned for some device does not
contain a default or maximum value.

Fixes #10945
Fixes #10961

Signed-off-by: Martin Herbst <develop@mherbst.de>
2021-07-15 19:46:29 +02:00
lolodomo
03d9281c0b
[sonos] Filter Sonos Sub from discovery (#10925)
Fix #10777

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2021-07-13 12:29:54 +02:00
Jerry Gallo
225cb9ed38
[harmonyhub] Updated README to get buttonPress values with the new REST API implementation (#10978)
* fixed typo in example
* Updated the instructions on how to find buttonPress values 

openHAB 3.X put the REST API behind authorization and the old URL no longer works in the browser due to an authentication error. These new instructions allow for a trivial way to find the commands.

Signed-off-by: Jerry Gallo <2wyck3d@gmail.com>
2021-07-13 08:16:33 +02:00
Christoph Weitkamp
478f7d9b55
Readded deleted qbus bundle (#10980)
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2021-07-12 15:11:30 +02:00
lolodomo
af989d4db8
[rotel] Semantics added to channel types (#10969)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2021-07-12 09:56:13 +02:00
Marcel
072a6045c2
[miio] add new custom refresh methods (#10957)
* Improve matching the command responses to the sending channel
* Use newer method to get device list using `device_list_page`
* Adding the ability to send custom requests to cloud
* Adding the ability to send custom commands with additional elements in
the json

Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
2021-07-12 09:55:16 +02:00
Marcel
c0ab022e4e
[miio] fix color lights sending numbers as strings (#10960)
* [miio] fix color lights sending numbers as strings

Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
2021-07-12 09:53:49 +02:00
lolodomo
29acaf6246
[sonyprojector] Switch to the default system channel type for power channel (#10970)
Set semantics to the powerstate channel type

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2021-07-12 09:24:24 +02:00
lolodomo
1f92039145
[lgwebos] Switch to default system channel types (#10971)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2021-07-12 09:23:13 +02:00
James Hewitt
26cf35116e
[volvooncall] Clean up readme. (#10976)
Signed-off-by: James Hewitt <james.hewitt@uk.ibm.com>
2021-07-12 09:22:00 +02:00
lolodomo
64a418829f
[homeconnect] Catch exception when appropriate (#10929)
* [homeconnect] Catch exception when appropriate

Fix #10904

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2021-07-11 22:58:59 +02:00
Christoph Weitkamp
fc9864f434
[pushsafer] Initial Contribution of Pushsafer Binding (#10790)
* Pushsafer binding

Signed-off-by: Pushsafer.com (Kevin Siml) <info@appzer.de>

* Improvements and comments from code review

Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>

* Incorporated comments from review

Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>

Co-authored-by: Pushsafer.com (Kevin Siml) <info@appzer.de>
2021-07-11 21:45:23 +02:00
Matthew Skinner
6fc24e4aa4
[opensprinkler] Improvements: Remove apache.commons, fix bugs and warnings (#9869)
* Fix: current channel would not get added.

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

* Fix: online and offline now detect correctly.


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

* Improve discovery.

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

* Bug fixes.


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

* Misc Improvements and log cleanup.


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

* Make current sensor channel dynamically get removed if not supported.


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

* fix compiler warning.


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

* readme updates.


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

* Shift refresh()


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

* Add RSSI and water flow meter count channels.


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

* Change to flowSensorCount


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

* Fix bug


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

* Fix NPE on parsing jsReplies.


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

* Add new programs channel.


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

* Fix wrong api use.


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

* Change to using max time if the time is null.


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

* Add device withRepresentationProperty

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

* update readme


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

* Fix rain sensor not working in 219 firmware.


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

* Spotless fixes.


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

* fix gson double up error.


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

* Add more channels


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

* refresh completed before bridge goes online.


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

* Simplify.


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

* Allow non default password to not stop discovery.

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

* Add ignoresRain channel


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

* Simplify commands in station handler.


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

* Add new rainDelay channel.


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

* Make constants consistent.


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

* Add categories.


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

* Changes requested by FlorianSW

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

* Stop catching and throwing new exp.


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

* Create a state class.


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

* Update bundles/org.openhab.binding.opensprinkler/src/main/java/org/openhab/binding/opensprinkler/internal/discovery/OpenSprinklerDiscoveryService.java

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

Co-authored-by: Connor Petty <mistercpp2000@gmail.com>

* Fix for EOF exception that stops polling with bad wifi.

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

* Change signal strength over to 0-4 range


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

* Handle toUnit null returns.


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

* Support discovery on subnets that are not /24


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

* update readme for recent changes to signalStrength channel.


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

* Fix code anal issue and readme.


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

* Remove info logging.


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

* remove traces of old dependancy.


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

* Changes for fwolter


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

* support RSSI and rssi


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

* Update after new command sent.


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

* improve delayedRefresh


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

* Remove supressWarnings


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

Co-authored-by: Connor Petty <mistercpp2000@gmail.com>
2021-07-11 09:40:29 +02:00
ThomasK
1e8be24fce
[fronius] Added inverter power, battery state of charge and PV solar yield (#10757)
* [fronius] add battery state of charge and PV yield.

Signed-off-by: THKDev <THKDev@users.noreply.github.com>

* [fronius] Actually constants should be all upper case. Words in labels should be capitalized (except prepositions and so on). Use %unit% placeholder.

Signed-off-by: THKDev <THKDev@users.noreply.github.com>

* [fronius] fixed checkstyle error; removed some warnings (eg. StringUtils)

Signed-off-by: THKDev <THKDev@users.noreply.github.com>

* Revert "[fronius] fixed checkstyle error; removed some warnings (eg. StringUtils)"

This reverts commit 73065c65

Signed-off-by: THKDev <THKDev@users.noreply.github.com>

* [fronius] fixed checkstyle error

Signed-off-by: THKDev <THKDev@users.noreply.github.com>

* [fronius] removed org.apache.commons.lang3.StringUtils

Signed-off-by: THKDev <THKDev@users.noreply.github.com>
2021-07-11 09:38:45 +02:00
rimago
ab816b08c6
[irobot] fix test (#10958)
Signed-off-by: Florian Binder <fb@java4.info>
2021-07-07 20:16:19 +02:00
Fabian Wolter
a06be4785f
Disable unstable tests (#10956)
* Disable unstable tests

Signed-off-by: Fabian Wolter <github@fabian-wolter.de>
2021-07-07 20:06:06 +02:00
Christoph Weitkamp
28c580bf5c
[deconz] Use ChannelBuilder created by ThingHandlerCallback (#10950)
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2021-07-06 20:04:06 +02:00
Joan Pujol
26258e8ef5
[influxdb] Fix queries with data migrated from InfluxDB1 without item tags (#10937)
Signed-off-by: Joan Pujol <joanpujol@gmail.com>
2021-07-06 20:01:15 +02:00
M Valla
cdb8d46fa8
[openwebnet] Fix messages flooding BUS on reboot (#10934)
* [openwebnet] changed ALL_DEVICES_REFRESH_INTERVAL to 60s
to avoid lights/shutters status updates flooding

Signed-off-by: Massimo Valla <mvcode00@gmail.com>

* [openwebnet] added UPnP discovery for MyHOME_Screen3,5.
Updated catalogue links in README

Signed-off-by: Massimo Valla <mvcode00@gmail.com>
2021-07-06 20:00:01 +02:00
Ryan Johnston
e967dc28bc
[insteon] Update README.md (#10922)
Fix repeated word.
2021-07-06 19:57:18 +02:00
robnielsen
3e94bb1e19
[insteon] added representation property for devices (#10908)
Signed-off-by: Rob Nielsen <rob.nielsen@yahoo.com>
2021-07-06 19:51:09 +02:00
bruestel
c0a2a4b104
[homeconnect] Show response code in request detail modal and JS code cleanup (#10695) (#10914)
Signed-off-by: Jonas Brüstel <jonas@bruestel.net>
2021-07-06 19:49:56 +02:00
mlobstein
58f20c5028
[tivo] Fix thing staying offline after connection refresh (#10902)
Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>
2021-07-06 19:46:25 +02:00
Wikibear
fd577a78b0
[telegram] Update README.md (#10948)
Add design of token for better understanding
2021-07-06 19:45:36 +02:00
davidjabon
a68cb6d6a9
[chromecast] Update README.md (#10930)
'weather' is misspelled. It should be 'whether.'
2021-07-06 19:44:05 +02:00
Marcel
7d2db98662
[miio] change deviceID to Xiaomi used string (#10951)
* [miio] change deviceID to Xiaomi used string

Change the deviceId from the current hexadecimal to the string used by
Xiaomi.
This is needed as we have some devices that have deviceIds that are
non-numeric, hence breaking the current logic.

Note: separately removing the upnp discovery as this has become
irrelevant with cloud discovery and devices supporting the udp regular
discovery.

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

* Update bundles/org.openhab.binding.miio/src/main/java/org/openhab/binding/miio/internal/handler/MiIoAbstractHandler.java

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

Co-authored-by: Fabian Wolter <github@fabian-wolter.de>
2021-07-06 19:42:42 +02:00
maniac103
89f2da140c
[homematic] Update property files (#10942)
* [homematic] Add HM-MOD-EM-8 properties

If a HM-MOD-EM-8 channel is configured to 'sensor' mode, it advertises a
STATE datapoint, which we should both display as non-advanced and give a
description.

Signed-off-by: Danny Baumann <dannybaumann@web.de>
2021-07-05 22:40:44 +02:00
Wouter Born
4378e95acc
Update OH version in skeleton scripts (#10910)
Signed-off-by: Wouter Born <github@maindrain.net>
2021-06-28 11:00:31 +02:00
Kai Kreuzer
bebab9ce29 applied spotless
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2021-06-27 23:25:35 +02:00
jenkins
8c5c81e256 [unleash-maven-plugin] Preparation for next development cycle. 2021-06-27 17:35:01 +00:00
Christoph Weitkamp
b03e730699
[tr064] Added representation property for Things (#10905)
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2021-06-27 10:47:48 +02:00
maniac103
ba2a33947d
[squeezebox] Map server connection state to thing status. (#10778)
If a player goes offline (it e.g. lost power or network connection),
mark it as such in the thing status.

Signed-off-by: Danny Baumann <dannybaumann@web.de>
2021-06-25 13:06:16 +02:00
James Hewitt
6403e03cea
[rfxcom] Enable Raw message transmission (#10866)
This enables raw message transmission by configuring a raw thing with pulses to
send for either ON, OFF, OPEN or CLOSED commands.

To enable extended config, this includes a refactor for the RFXComHandler to
support different Configuration objects depending on the thing type, and moves
the parsing, validation, and message matching logic to the Configuration objects
where the logic is more appropriate.

To enable testing of the RFXComHandler, the RFXComMessageFactory was abstracted
out and injected as a dependency.

Signed-off-by: James Hewitt <james.hewitt@uk.ibm.com>
2021-06-24 19:37:37 +02:00
Christoph Weitkamp
c5c2cab0a7
[hue] Added support for publishing ChannelDescriptionChangedEvents (#10718)
* Added service references to DynamicStateDescriptionProvider to support publishing ChannelDescriptionChangedEvent

Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2021-06-24 12:15:49 +02:00
Christoph Weitkamp
225e2ae15a
Added support for publishing ChannelDescriptionChangedEvents (#10900)
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2021-06-23 22:14:49 +02:00
Conte Andrea
089a78ff6f
[openwebnet] rename thermoregulation's (WHO=4) things (#10865)
* - bus_thermostat renamed to bus_thermo_zone
- bus_temp_sensor renamed to bus_themo_sensor
- linked OWN4j 0.5.3-SNAPSHOT (camelCase for enums)

Signed-off-by: Conte Andrea <andrea@conte.com>

* updated ReadMe according to things renaming

Signed-off-by: Conte Andrea <andrea@conte.com>

* Updated readme and thermo thing labels. Renamed thing descriptors to BusThermoZone and BusThermoSensor

Signed-off-by: Massimo Valla <mvcode00@gmail.com>

* using own4j release 0.5.3

Signed-off-by: Conte Andrea <andrea@conte.com>

* removed json tags in README. Added KG4691 to tested thermostats

Signed-off-by: Massimo Valla <mvcode00@gmail.com>

Co-authored-by: Massimo Valla <mvcode00@gmail.com>
2021-06-23 20:08:51 +02:00
James Hewitt
08706f1314
[rfxcom] Add Novy extractor fans (#10891) 2021-06-23 18:10:29 +02:00
lolodomo
0728e16335
Added support for publishing ChannelDescriptionChangedEvents (#10898)
Pack 3

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2021-06-22 21:21:40 +02:00
lolodomo
34e26f806d
[remoteopenhab] Listen to the new ChannelDescriptionChangedEvent events to update dynamic state/command options (#10885)
Also handle dynamic command options

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2021-06-22 21:19:45 +02:00
Ryz
58c7928b23
[http] Fix parsing of Color RGB values (#10897)
* Fixed parsing of Color RGB values

Signed-off-by: Ryz <mirco.heitmann@gmail.com>
2021-06-22 12:51:16 +02:00
lolodomo
cba49df16a
Added support for publishing ChannelDescriptionChangedEvents (#10896)
Pack 2

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2021-06-22 10:38:15 +02:00
hofingerandi
48e13858a9
[enocean] Add support for eltako rollershutter frm60 (#10852)
* added eltako frm60, based on eltako fsb

Signed-off-by: Andreas Hofinger  <andreas.hofinger@gmx.net>
2021-06-21 22:31:42 +02:00
lolodomo
ac52f9bbe4
Added support for publishing ChannelDescriptionChangedEvents (#10884)
For the bindings homeconnect, lgwebos, netatmo, remoteopenhab, rotel,
somfytahoma, sonos and sonyprojector

Depends on openhab/openhab-core#1505

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2021-06-21 22:28:38 +02:00
Christoph Weitkamp
48f4fd7e6e
Added service references to DynamicCommandDescriptionProvider and DynamicStateDescriptionProvider to support publishing ChannelDescriptionChangedEvent (#10717)
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2021-06-21 22:08:35 +02:00
Marcel
809e53d3af
[miio] Add support gateway lumi.gateway.mieu01 (#10893)
Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
2021-06-21 22:07:17 +02:00
Rogier Hofboer
ea2cb217e0
[mqtt.generic] Percentage range fix #10586 (#10587)
Signed-off-by: Rogier Hofboer <rogier@hofboer.nl>
2021-06-21 21:24:54 +02:00
Marcel
ef1deff4e9
[miio] fix typo (#10894)
Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
2021-06-21 21:16:34 +02:00
Christoph Weitkamp
a04f331011
Added service references to DynamicCommandDescriptionProvider to support publishing ChannelDescriptionChangedEvent (#10716)
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2021-06-21 21:14:37 +02:00
Sven Carstens
806e0a0287
[solarwatt] Initial contribution for solarwatt energy manager (#10091)
* [ADD] First version which was tested with my local setup.

Signed-off-by: Sven Carstens <s.carstens@gmx.de>
Signed-off-by: Sven Carstens <sven.carstens@aoe.com>

* [ADD] Refactoring, add calculated value for direct self consumption and prepare for more.

Signed-off-by: Sven Carstens <s.carstens@gmx.de>

* [ADD] Add chanel description to README and make some channels advanced.

Signed-off-by: Sven Carstens <s.carstens@gmx.de>

* [MOD] Remove wrong colon in channel types.

Signed-off-by: Sven Carstens <s.carstens@gmx.de>

* [MOD] Put colon at the right place in channel types.

Signed-off-by: Sven Carstens <s.carstens@gmx.de>

* [MOD] Fix spelling of PVPlant in constants and things.

Signed-off-by: Sven Carstens <s.carstens@gmx.de>

* [MOD] Separate channelName from energy manager tagName.

Signed-off-by: Sven Carstens <s.carstens@gmx.de>

* [MOD] Reduce loglevels and fix findings from code-analysis.

Signed-off-by: Sven Carstens <s.carstens@gmx.de>

* [MOD] Move all custom calculations to the handler instances, remove custom tracking of child handlers, fix wrong calculation of the "direct consumed" values.

Signed-off-by: Sven Carstens <s.carstens@gmx.de>

* [MOD] Improve README and remove unnecessary Nullable and NotNull annotations.

Signed-off-by: Sven Carstens <s.carstens@gmx.de>

* [MOD] Change wrong ItemType for power items in README

Signed-off-by: Sven Carstens <s.carstens@gmx.de>

* [MOD] Change modeConverter to Switch

Signed-off-by: Sven Carstens <s.carstens@gmx.de>

* [MOD] Relay stateDevice to Thing status, anything but "OK" means ThingStatus.OFFLINE

Signed-off-by: Sven Carstens <s.carstens@gmx.de>

* [MOD] Remove stateDevice from items as it is represented by the device status.

Signed-off-by: Sven Carstens <s.carstens@gmx.de>

* [MOD] Improve README and remove unnecessary logging.

Signed-off-by: Sven Carstens <s.carstens@gmx.de>

* [MOD] Improve README.

Signed-off-by: Sven Carstens <s.carstens@gmx.de>

* [MOD] Improve README.

Signed-off-by: Sven Carstens <s.carstens@gmx.de>

* [MOD] Allow child things to be configured by hand with a guid.

Signed-off-by: Sven Carstens <s.carstens@gmx.de>

* [MOD] Allow child things to be configured by hand with a guid.

Signed-off-by: Sven Carstens <s.carstens@gmx.de>

* [MOD] Improve README and move things config to separate config.xml

Signed-off-by: Sven Carstens <s.carstens@gmx.de>

* [MOD] Improve README and remove all trace/debug logging.

Signed-off-by: Sven Carstens <s.carstens@gmx.de>

* [MOD] Use real channel timestamp as the refresh trigger.

Signed-off-by: Sven Carstens <s.carstens@gmx.de>

Co-authored-by: Sven Carstens <sven.carstens@aoe.com>
2021-06-21 18:21:50 +02:00
Wouter Born
39c4cd0a4d
Fix build (#10892)
Caused by https://github.com/openhab/openhab-addons/pull/10890

Signed-off-by: Wouter Born <github@maindrain.net>
2021-06-21 11:50:14 +02:00
Stefan Triller
7c221d0fb7
[influxdb] v2: Fix history queries if items are not tagged (#10888)
Was missing in https://github.com/openhab/openhab-addons/pull/10680

Fixes #10887

Signed-off-by: Stefan Triller <github@stefantriller.de>
2021-06-21 08:50:13 +02:00
Puzzlr
cd8aa5d604
Added missing </li> attributes in last comment section (#10890) 2021-06-21 08:48:48 +02:00
Marcel
6a7e240060
[miio] improve zhimi fan channels (#10882)
Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
2021-06-20 20:58:05 +02:00
James Melville
f73553347e
[snmp] Apply UoM to number channels from an SNMP target (#10681)
* Add Unit handling functionality to SNMP Reads

Signed-off-by: James Melville <jamesmelville@gmail.com>

* Use core library for Unit parsing

Signed-off-by: James Melville <jamesmelville@gmail.com>
2021-06-20 20:30:37 +02:00
Ethan Dye
22dd4aecd8
[OmniLink] Simplify updating properties (#10889)
Signed-off-by: Ethan Dye <mrtops03@gmail.com>
2021-06-20 20:26:55 +02:00
BigGeorgeTx
080d43edd4
[icloud] Update README.md (#10886) 2021-06-20 20:24:10 +02:00
Marcel
8be582e52a
[miio] improve dreame mc1808 channels (#10873)
Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
2021-06-20 20:19:51 +02:00
pali
61280ea4a2
[ihc] Support for TLSv1.2 (#10856)
* [ihc] Support for TLSv1.2

So far IHC controller have supported only TLSv1. As TLSv1 is already
deprecated and upcoming IHC controller FW version will introduce support
for TLSv1.2.

This change introduce TLSv1.2 support for the binding. TLS version is
selectable to be backward compatible for older controller versions.

Communication error handling is also improved e.g. because of wrong
password or if Java environment doesn't support required TLS version.
When fatal communication error occurs, binding will not hammer
controller with retries as it need user actions.

Signed-off-by: Pauli Anttila <pauli.anttila@gmail.com>

* [ihc] Introduced auto mode and other improvements

Signed-off-by: Pauli Anttila <pauli.anttila@gmail.com>

* [ihc] introduced default constant

Signed-off-by: Pauli Anttila <pauli.anttila@gmail.com>
2021-06-20 20:07:12 +02:00
lolodomo
3d33ee0ab8
[homeconnect] 9 channels added for washer appliance (#10809)
* [homeconnect] 9 channels added for washer appliance

Corresponding to 9 program options not fully supported by the API.

Fix #10704

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

* Review comment: formatting in XML thing file

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

* Review comment: add these new channels (except i-DOS) to washerdryer appliance

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

* Review comment: method isLinkedChannelsForUnsupportedFeatures renamed

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

* Change state options for rinse plus channel

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

* Update the new channels when the active program is updated

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

* Review comment: update documentation

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

* Review comment: typo in channel description

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2021-06-20 20:03:05 +02:00
Wouter Born
6296eba14c
[nest] Add support for Smart Device Management (SDM) API (#8947)
* [nest] Add support for Smart Device Management (SDM) API

* Reworks WWN implementation so that the thing types have a wwn_ prefix and the classes have a WWN prefix and reside in a 'wwn' package
* Adds an SDM implementation which is also based on: https://github.com/bhigg-code/openhab-addons/tree/2.5.x/bundles/org.openhab.binding.nestdeviceaccess
* Adds unit tests for (de)serialization of the SDM and Pub/Sub API requests and responses
* Updates the binding documentation for the changes and additions

Fixes #8664

Also-by: Brian Higginbotham <brianhigginbothamtx@gmail.com>
Signed-off-by: Wouter Born <github@maindrain.net>

* Fix and improve documentation

Signed-off-by: Wouter Born <github@maindrain.net>

* Always use UTF8 when decoding SDM events

Signed-off-by: Wouter Born <github@maindrain.net>
2021-06-20 19:59:46 +02:00
lolodomo
ec7c3a528f
[remoteopenhab] Avoid registering conflicting filters for SSE connection (#10870)
* [remoteopenhab] Avoid registering conflicting filters for SSE connection

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

* Remove default constructor

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

* Review comment: declare the hostname verifier in a variable

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2021-06-20 19:36:34 +02:00
Marcel
8d39e5b2ee
[miio] fix discovery issue when for devices with dot (#10880)
Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
2021-06-20 14:10:48 +02:00
James Hewitt
ae4ac7d36c
[rfxcom] Add firmware type, avoid crashing on unknown. (#10879)
New firmware type reported from the community that's not in the SDK. Also,
we don't actually _use_ the firmware type or device type for anything, so
lets not crash if we don't match the bytes - lets just flag it unknown.

https://community.openhab.org/t/rfxcom-binding-unsupported-value/123615/12

Signed-off-by: James Hewitt <james.hewitt@uk.ibm.com>
2021-06-19 11:29:58 +02:00
James Hewitt
60c199c9c9
[rfxcom] Add support for additional blinds (#10877)
Based on the RFXtrx SDK, new blind types. They mostly seem to match existing logic,
so this shouldn't break existing things.

Signed-off-by: James Hewitt <james.hewitt@uk.ibm.com>
2021-06-19 08:51:22 +02:00
bruestel
ca1de9dc4d
[homeconnect] Fix invalid authorization header during Server-Sent Events (SSE) client creation (#10848)
* [homeconnect] Improve logging of SSE connection and add backoff interval in case of connection error

Signed-off-by: Jonas Brüstel <jonas@bruestel.net>

* [homeconnect] Fix SSE authorization header problem

Signed-off-by: Jonas Brüstel <jonas@bruestel.net>

* [homeconnect] Fix synchronized monitor

Signed-off-by: Jonas Brüstel <jonas@bruestel.net>
2021-06-18 11:25:13 +02:00
rimago
1630430705
[irobot] Fix password discovery and command sending for Roomba I-Models. (using gson) (#10860)
* Fix password discovery for Roomba I-Models.

Signed-off-by: Alexander Falkenstern <alexander.falkenstern@gmail.com>

* [irobot] remove json-path dependency (use gson instead)

Signed-off-by: Florian Binder <fb@java4.info>

* [irobot] fix checkstyle warnings, preserve backward compatibility, and
remove unused parameters

Signed-off-by: Florian Binder <fb@java4.info>

Co-authored-by: Alexander Falkenstern <alexander.falkenstern@gmail.com>
2021-06-18 10:38:51 +02:00
Marcel
36d7dc26b8
[miio] cleanup several SAT warnings (#10871)
Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
2021-06-16 10:28:44 +02:00
Marcel
28c513ac3a
[miio] fix typo in temperatue unit (#10869)
Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
2021-06-16 10:27:04 +02:00
Marcel
8bd05c0f9f
[miio] add support for Mi Smart Standing Fan Pro Global (dmaker.fan.p15) (#10855)
* [miio] add support for Mi Smart Standing Fan Pro Global (dmaker.fan.p15)

add support Mi Smart Standing Fan Pro EU/Global (dmaker.fan.p15)
Improve p8 & p9 fans
close #10843

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

* [miio] improve timeunit

Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
2021-06-16 00:03:46 +02:00
Markus Michels
d0f4b84841
[shelly] 1PM/1L/2.5: New device#supplyVoltage; Motion: Missing channel for vibration; UNI: Unit for ADC voltage; PF for EM; Bulb: fix range for color temp (#10815)
* fixes #10738, #10799

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

* - Feature #10090 New device#supplyVoltage channel for Shelly 2.5, 1PM
and 1L
- Change  #10039 Info on "not reachable / timeout" should be warning,
not info
- Fix     #10799 Missing Channel Definition for Vibration Events
- Fix     #10738 Shelly UNI - ADC Voltage units of measure missing
- Fix     #10111 Creating Equipment from Shelly Bulb Duo causes wrong
min/max
- README updated

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

* #10737 Shelly EM - add powerFactor channel support

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

* README updated

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

* channel powerFactor (EM+EM3) is now of type Number:Dimensionless

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

* Fix for #10864: Do not trigger same alarm within 5 minutes

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

* better logic for alarm filter

Signed-off-by: Markus Michels <markus7017@gmail.com>
2021-06-16 00:00:56 +02:00
Anders Alfredsson
c9933454db
[smhi] Fix exception in aggregation function when daily forecast is empty (#10851)
* Fix exception in aggregation function when daily forecast is empty

Also catch any Exception to prevent thread from crashing

Signed-off-by: Anders Alfredsson <andersb86@gmail.com>

* Refactor to improve robustness of calculations

Improve tests to cover different forecast scenarios

Signed-off-by: Anders Alfredsson <andersb86@gmail.com>
2021-06-15 23:56:50 +02:00
Martin Dagarin
c21c468cac
[gpio] Improved usability of pullupdown parameter on GPIO pin (#10863)
Signed-off-by: Martin <martin.dagarin@gmail.com>
2021-06-15 23:53:27 +02:00
Matthew Skinner
f263c13c6b
[ipcamera] Fix null URL channels and fix multiple cameras use the same ffmpeg output folder. (#10846)
* Fix urls are null until binding restarts.


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

* Change to using port config.


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

* automate the ffmpeg output folder to follow the UID.


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

* spotless fixes.


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

* Update readme.


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

* change to using the userdata folder.


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

* change to better field description.


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

* Add advanced.


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

* Add link to docs.


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

* improve readme.

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

* improve example path in readme.


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

* Update bundles/org.openhab.binding.ipcamera/README.md

Cut and paste bandit strikes again. thanks.

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

Co-authored-by: Fabian Wolter <github@fabian-wolter.de>

* Change to using ipcamera as folder loc.

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

Co-authored-by: Fabian Wolter <github@fabian-wolter.de>
2021-06-15 23:50:00 +02:00
Kai Kreuzer
f506ec299b
[tesla] Prevent NPE (#10872)
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2021-06-15 23:47:47 +02:00
Jan Wolf
54d88a84ce
[neato] Fix slow cleaning of robot (#10724)
Signed-off-by: Jan Wolf <git@jan-wolf.de>
2021-06-15 22:07:03 +02:00
James Hewitt
8c7c37a7f5
[rfxcom] Update interface message support (#10844)
Based on both the SDK and experimentation, this commit correctly identifies the
firmware and hardware version. A warning has been added for people with really
old firmware that may be different, but we didn't handle those different cases
well anyway.

Also includes updated firmware types and device types and support for pretty-
printing of the device and firmware type.

Signed-off-by: James Hewitt <james.hewitt@uk.ibm.com>
2021-06-15 19:37:07 +02:00
Martin Herbst
82dba8d400
[deconz] Set "ontime" option only if thing has got an ONTIME channel (#10829)
* Set "ontime" option only if thing has got an ONTIME channel

Fixes #10774

Signed-off-by: Martin Herbst <develop@mherbst.de>
2021-06-14 16:01:30 +02:00
James Hewitt
793dbf3df5
[rfxcom] Add support for receiving RAW messages (#10833)
This is a new feature in the Pro firmwares that provides the real raw RF
pulse lengths as shorts. Good for being able to parrot switches that aren't
otherwise supported, once we add the tx support as well.

Signed-off-by: James Hewitt <james.hewitt@uk.ibm.com>
2021-06-14 09:05:03 +02:00
muhl
056690a794
[rfxcom] Add support for TFA 30.3233.1 rainmeter (#10825)
Signed-off-by: Matthias Uhl <matthias_uhl@gmx.de>
2021-06-13 12:02:45 +02:00
Matt
40c7f41eb5
[haywardomnilogic] Update unit formating (#10781)
* Update unit formating

Signed-off-by: Matt Myers <mmyers75@icloud.com>

* Updates per last review

Signed-off-by: Matt Myers <mmyers75@icloud.com>

* Updated units to decimal

Signed-off-by: Matt Myers <mmyers75@icloud.com>
2021-06-12 20:03:43 +02:00
Iwan Bron
cb256f6676
[semsportal] Allow confiuration with thing file (#10842)
* [semsportal] Allow portal and station cofiguration with .things file

Signed-off-by: Iwan Bron <bron@olisa.eu>

* Fix README.md warning

Signed-off-by: Iwan Bron <bron@olisa.eu>

* Make thing type better visible in documentation

Signed-off-by: Iwan Bron <bron@olisa.eu>

Co-authored-by: Iwan Bron <bron@olisa.eu>
2021-06-12 19:58:21 +02:00
2wyck3d
1a06d78f22
[airquality] fixed typo in example (#10859) 2021-06-12 19:49:55 +02:00
Dan Cunningham
e0257bb76f
[iaqualink] Fixes critical login issue due to changed auth URLs. Moves 'model' package to 'dto' to fix checkstyle warnings. (#10853)
Signed-off-by: Dan Cunningham <dan@digitaldan.com>
2021-06-12 13:39:17 +02:00
James Hewitt
2b9a37efa9
[rfxcom] Read multiple bytes at a time over serial connection (#10832)
There's no reason not to read multiple bytes at a time (that I could find) so
for best practice, set the read limit to be the maximum size of an rfxcom
message. Tested fine on my system.

Signed-off-by: James Hewitt <james.hewitt@uk.ibm.com>
2021-06-12 13:22:00 +02:00
mlobstein
f7815f8eb2
[epsonprojector] Update readme configuration section (#10828)
* update Epson readme per standards

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

* capitalize label

Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>
2021-06-12 13:16:31 +02:00
mlobstein
bce5363856
[tivo] refresh connection every 12 hours (#10824)
Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>
2021-06-12 13:11:15 +02:00
Raphael Mack
72e3729ca7
[resol] correct handling of system date/time field (#10811)
* correct handling of system date/time field to close #10684

Signed-off-by: Raphael Mack <ramack@raphael-mack.de>

* further fix

Signed-off-by: Raphael Mack <ramack@raphael-mack.de>
2021-06-12 13:08:55 +02:00
Marcel
10f5ca8578
[miio] avoid NPE when rssi is missing (#10854)
Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
2021-06-12 12:54:19 +02:00
Conte Andrea
fc66615fce
[openwebnet] Replace scheduleAtFixedRate by scheduleWithFixedDelay (#10822)
- fixed some other spotless issues

Signed-off-by: Conte Andrea <andrea@conte.com>
2021-06-12 12:32:00 +02:00
mlobstein
e452de8e15
[benqprojector] Migrate benqprojector binding to OH3 (#10341)
Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>
2021-06-12 12:00:08 +02:00
James Hewitt
c12e189a13
[rfxcom] Convert unsigned byte to int properly for message length (#10830)
Without this, any message over 127 bytes reports a negative length and
fails the message start test, which puts the code out of sync with the
rfxcom leading to lots of errors, and eventually, complete loss of
connection.

Signed-off-by: James Hewitt <james.hewitt@uk.ibm.com>
2021-06-10 14:30:08 +02:00
James Hewitt
c49166a069
[rfxcom] New sub types for undecoded messages (#10834)
New subtypes have been added to the firmware, these are taken from the
RFXtrx SDK documentation.

Signed-off-by: James Hewitt <james.hewitt@uk.ibm.com>
2021-06-10 14:28:57 +02:00
Christoph Weitkamp
4db68379c9
[pushover] Minor improvements, SAT findings (#10840)
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2021-06-10 09:21:51 +02:00
ridiekel
047ae89aaf
[pushover] Provides the ability to specify a timeout in the config (#10817)
* Provides the ability to specify a timeout in the config, instead of using hardcoded 10 seconds.

Signed-off-by: Geroen Dierckx <geroen.dierckx@gmail.com>
2021-06-09 07:12:30 +02:00
Fabian Wolter
cf13bb8275
[pidcontroller] Use framework scheduler and remove custom Action module (#10806)
* [pidcontroller] Use framework scheduler and remove custom Action module

Signed-off-by: Fabian Wolter <github@fabian-wolter.de>
2021-06-08 08:07:24 +02:00
mlobstein
6141d69da3
[radiothermostat] Add job to set thermostat clock automatically from the binding (#10819)
* add thermostat clock sync job

Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>
2021-06-07 20:58:19 +02:00
Martin Dagarin
d9841ef0de
[gpio] Added parameter for pull up/down resistor and other improvements (#10782) 2021-06-07 20:57:08 +02:00
Björn Lange
c97f2ac2fa
[mielecloud] Fix typo and localization key resolution (#10821)
Signed-off-by: Björn Lange <bjoern.lange@itemis.de>
2021-06-07 20:56:24 +02:00
Dan Cunningham
32c1e65799
[venstarthermostat] Use doubles over Int or float types when processing temperatures, fix Checkstyle Warnings (#10740)
* Use a single numeric type (double), remove ints and floats

Signed-off-by: Dan Cunningham <dan@digitaldan.com>

* Rebases with master.  Fixes All Checkstyle warning, renames package 'model' -> 'dto'

Signed-off-by: Dan Cunningham <dan@digitaldan.com>
2021-06-06 19:34:35 +02:00
Martin Herbst
5533643a3a
[homematic] Smaller fixes and conversion of properties files to UTF-8 (#10813)
* Prevent possible NPE

Signed-off-by: Martin Herbst <develop@mherbst.de>

* Spotless

Signed-off-by: Martin Herbst <develop@mherbst.de>

* Fixes missing unit information (especially for HmIP devices)

For some HmIP devices the "valueunit" attribute is empty and thus no
default unit type could be derived. Using the data point name solves
this problem (at least for the relevant data points).

Fixes #10533

Signed-off-by: Martin Herbst <develop@mherbst.de>

* Condition result was wrong because of missing brackets

Signed-off-by: Martin Herbst <develop@mherbst.de>

* Regenerated and reorganized descriptions


Signed-off-by: Martin Herbst <develop@mherbst.de>

* Encoding changed to UTF-8 and some smaller text corrections

Signed-off-by: Martin Herbst <develop@mherbst.de>

* Use default value as maximum if is greater than received max value

For some devices the data point definition retrieved from the CCU
contains default values that are higher than the maximum value. In order
to allow the configuration of these config options the allowed maximum
value needs to be set to the default value.

Fixes #10552

Signed-off-by: Martin Herbst <develop@mherbst.de>
2021-06-06 18:53:51 +02:00
Michael Wodniok
6b324d6701
[icalendar] Short events parallel to longer current events are now also shown as current event (#10810)
Signed-off-by: Michael Wodniok <michi@noorganization.org>
2021-06-06 10:10:13 +02:00
Matthew Davies
503abab181
[venstarthermostat] Venstar thermostat away mode enhancement (#10736)
* [VENSTAR THERMOSTAT BINDING] ADD AWAY MODE

Signed-off-by: Matthew Davies
matthew.davies@skynet.be
Signed-off-by: raveydavies <84205523+raveydavies@users.noreply.github.com>

* [VENSTAR THERMOSTAT] FIXED COMMAND AWAY MODE

Signed-off-by: Matthew Davies
matthew.davies@skynet.be
Signed-off-by: raveydavies <84205523+raveydavies@users.noreply.github.com>

* VENSTAR THERMOSTAT AWAY MODE AFTER INITIAL COMMIT FEEDBACK

This code includes the Away mode of the Venstar thermostat. It is
updated following initial feedback and suggestions on my first version
from @digitaldan.

Signed-off-by: Matthew Davies <matthew.davies@skynet.be>
Signed-off-by: raveydavies <84205523+raveydavies@users.noreply.github.com>

* VENSTAR THERMOSTAT BINDING - INCLUDE AWAY MODE

Removed the updateThermostat function, now have updateSettings and
updateControls corresponding to local API URLs.

Signed-off-by: Matthew Davies
<matthew.davies@skynet.be>
Signed-off-by: raveydavies <84205523+raveydavies@users.noreply.github.com>

* VENSTAR THERMOSTAT AWAY MODE - Modification updated as per feedback 1
June 2021

Signed-off-by: Matthew Davies
<matthew.davies@skynet.be>
Signed-off-by: raveydavies <84205523+raveydavies@users.noreply.github.com>

* VENSTAR THERMOSTAT AWAY MODE INCLUSION - UPDATED README

Signed-off-by: Matthew Davies <matthew.davies@skynet.be>
Signed-off-by: raveydavies <84205523+raveydavies@users.noreply.github.com>
2021-06-05 20:10:45 +02:00
lolodomo
33b7fd6e98
[homeconnect] Undo PR 10754 (#10792)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2021-06-05 20:08:51 +02:00
Anders Alfredsson
d454fe3331
[smhi] Catch exception that could cause binding to stop updating channels (#10794)
Signed-off-by: Anders Alfredsson <andersb86@gmail.com>
2021-06-05 19:39:21 +02:00
lolodomo
d36c7804d0
[homeconnect] Add missing channel update handler configuration (#10785)
* [homeconnect] Add missing channel update handler configuration

Related to dryer, washer and washer/dryer appliances

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

* 2 new methods to factorize duplicated code

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

* Apply spotless

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2021-06-05 19:33:30 +02:00
lolodomo
17eb0d5d78
[homeconnect] Delay update of state options when not accessible (#10784)
* [homeconnect] Delay update of state options when not accessible

Fix #10705

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

* Review comment: parseBoolean

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2021-06-05 19:30:43 +02:00
Conte Andrea
3dc7b9ed25
[openwebnet] add support for Thermoregulation (standalone thermostat and sensors) (#10756)
Signed-off-by: Conte Andrea <andrea@conte.com>

Signed-off-by: Massimo Valla <mvcode00@gmail.com>

Co-authored-by: Massimo Valla <mvcode00@gmail.com>
2021-06-05 19:26:52 +02:00
Sönke Küper
8e4cb48a57
[ahawastecollection] Change loglevel from warn to debug (#10800)
* 10786: Changed loglevel from warn to debug

Signed-off-by: Sönke Küper <soenkekueper@gmx.de>

* 10786: Spotless fix

Signed-off-by: Sönke Küper <soenkekueper@gmx.de>

Co-authored-by: Sönke Küper <soenkekueper@gmx.de>
2021-06-05 15:32:40 +02:00
Martin H
7c5f60dae2
[kostalinverter] Added new channels frequency and cosphi (#10779)
new channels frequency and power factor.

Signed-off-by: Martin Hubert <github@martin-hubert.de>

Co-authored-by: Martin Hubert <github@martin-hubert.de>
2021-06-05 14:45:00 +02:00
Christopher Schirner
d36e1f1018
[etherrain] Fix typo (#10805) 2021-06-05 11:33:27 +02:00
Anders Alfredsson
612ceb3855
Add channel IDs to documentation (#10793)
Signed-off-by: Anders Alfredsson <andersb86@gmail.com>
2021-06-05 11:31:46 +02:00
Boris Krivonog
80cbf5f32d
Removed required=true for parameters with default value. (#10795)
Signed-off-by: Boris Krivonog <boris.krivonog@inova.si>
2021-06-05 11:30:55 +02:00
Dbzman
7109475929
[pulseaudio] Add "idle timeout" to Pulseaudio audio sink (#10731)
* Add "idle timeout" to pulseaudio audio sink to allow the sink to disconnect after being idle

Signed-off-by: Timo Litzius <dev@dbzman-online.eu>
2021-06-05 11:29:59 +02:00
Fabian Wolter
9d903c240e
[pwm] Initial Contribution (#10205)
Signed-off-by: Fabian Wolter <github@fabian-wolter.de>
2021-06-01 20:23:33 +02:00
Roie Geron
6ae7f98134
[touchwand] - Add support for Risco alarm system sensors and AcWand thermostat (#10748)
* notify listeners on status change using discovery 

Signed-off-by: Roie Geron <roie.geron@gmail.com>
2021-05-30 11:46:41 +02:00
lolodomo
f99f4b6361
[homeconnect] Retrieve list of programs when an appliance becomes available (#10773)
Cache the list of programs for an appliance

Fix #10771

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2021-05-30 09:37:10 +02:00
Daniel Rosengarten
4ad6eda961
[velbus] Add new functionality PRESSED and LONG PRESSED (#10664)
* [velbus] Add new functionality PRESSED and LONG PRESSED and fix bug

New functionality:
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.

Also-by: cedricboon <cedric.boon@hotmail.com>
Signed-off-by: Daniel Rosengarten <github@praetorians.be>
2021-05-29 20:23:29 +02:00
M Valla
7f05dbaf2c
[openwebnet] calculate position only if startedMovingAt is valid. (#10775)
After OH reboot position remains UNDEF.

Signed-off-by: Massimo Valla <mvcode00@gmail.com>
2021-05-29 20:12:50 +02:00
robnielsen
22c5e841dd
[ecobee] logging improvements (#10772)
Signed-off-by: Rob Nielsen <rob.nielsen@yahoo.com>
2021-05-29 20:10:06 +02:00
eguib
3875d2aca5
[senechome] issue #10679: Extend with additional channels; refactor and various improvements (#10687)
* [senechome] Extend with additional channels; refactor; improve error handling (#10679). Merged PR 9535 (rename batteryState to system state)

- charge/discharge energy/current/voltage/min/maxCellVoltage/load cycles per battery pack
- current/power/voltage per MPP
- liveHouseConsumption/livePowerGenerator
- battery,case,MCU temperature
- wallbox1: state, charging power/current, liveEnergy
- improve error handling, catch malformed JSON exception to prevent crashing the binding
- merged PR: 9535 (rename batteryState to systemState)
- renamed SenecHomeLimitation to SenecHomePower and added more channels
- refactored SenecHomeHandler to reduce code duplication (added some nice helper methods)

Signed-off-by: Erwin Guib <eguib@web.de>
2021-05-29 14:29:20 +02:00
Christoph Weitkamp
04507d98fc
Added support for HAN-FUN outlets / simple on-off devices (#10760)
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2021-05-29 14:25:36 +02:00
Sami Salonen
572fd3dded
[fmiweather] Fixed to work with new API (#10765)
Tests updated as well

Signed-off-by: Sami Salonen <ssalonen@gmail.com>
2021-05-29 14:23:23 +02:00
Fabian Wolter
eab7623655
[lcn] Improve readme; Allow special module IDs <5 (#10770)
Signed-off-by: Fabian Wolter <github@fabian-wolter.de>
2021-05-29 13:51:32 +02:00
Ross Kennedy
6df474a994
MAP transformation text, add white space example (#10766)
Add simple white space escape example for MAP key

Signed-off-by: Ross Kennedy <rossko@culzean.clara.co.uk>
2021-05-28 15:07:53 +02:00
Marcel
6ba1606e52
[miio] add support for Yeelight 1S (mono4) (#10763)
* [miio] add support for yeelight mono4
* [miio] add support yeelight lamp 9 & 10

close #10619
close #10061

Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
2021-05-28 15:05:01 +02:00
lolodomo
9bf194ad39
[sonos] Add new channel heightlevel for Sonos ARC / ARC SL (#10759)
Fix #9874

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2021-05-28 15:04:14 +02:00
lolodomo
a736a2cafd
[homeconnect] Don't reset washer temp / spin speed when exiting from active program (#10745)
Use the provided planned time for a washing program to set the channel "remaining_program_time_state" when no program is active

Fix #10744
Fix #10703

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2021-05-28 15:02:18 +02:00
lolodomo
ac7b5eae4d
[homeconnect] Build state options with a unique item for unsupported programs (#10754)
Apply to spin speed, temperature and drying taget channels

Fix #10701

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2021-05-28 15:01:50 +02:00
lolodomo
fe11c115ea
[homeconnect] Factorize handling of power command (#10747)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2021-05-28 15:00:59 +02:00
boehan
19029b7358
[comfoair] fix data handling for restricted devices (#10685)
Signed-off-by: Hans Böhm <h.boehm@gmx.at>
2021-05-26 21:12:15 +02:00
Marcel
aa665e54f5
[miio] also refresh after custom commands (#10714)
Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
2021-05-26 21:04:19 +02:00
Björn Lange
705f5c577c
[mielecloud] Initial contribution of the Miele Cloud binding (#9146)
Also-by: Bert Plonus <bert.plonus@miele.com>
Also-by: Martin Lepsy <martin.lepsy@miele.com>
Also-by: Benjamin Bolte <benjamin.bolte@itemis.de>
Signed-off-by: Björn Lange <bjoern.lange@itemis.de>
2021-05-25 22:06:49 +02:00
Thomas Weißschuh
5ec535f37b
[linuxinput] use correct channelTypeUID for key-press channels (#10742)
Previously there was a mismatch between the UIDs used by the handler and
the one actually registered from the XML-file.
This lead to channels not showing up in the UI.
(See https://github.com/openhab/openhab-webui/issues/406 )

Signed-off-by: Thomas Weißschuh <thomas@t-8ch.de>
2021-05-23 21:08:56 +02:00
Thomas Weißschuh
e2fa4ba49e
[linuxinput] Handle all kinds of buttons (#10730)
Previously only the basic keyboard buttons where handled.
Now all buttons known to Linux, or rather libevdev are reported.

Reported-in: https://community.openhab.org/t/linuxinput-binding-and-mouse-capture/122612
Reported-in: https://github.com/t-8ch/binding-linuxinput/issues/5

Signed-off-by: Thomas Weißschuh <thomas@t-8ch.de>
2021-05-23 21:03:14 +02:00
Iwan Bron
66a540289d
[semsportal] initial contribution (#10100)
Signed-off-by: Iwan Bron <bron@olisa.eu>
2021-05-23 20:45:04 +02:00
lolodomo
4b5d64340f
[homeconnect] Let the binding update item state when handling a command (#10749)
To avoid the core framework updating automatically an item state while a
command is sent to this item but its handling by the binding is failing
or ignored

Fix #10700

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2021-05-23 19:48:15 +02:00
lolodomo
c68d920387
[homeconnect] Returns an empty list of options for an unsupported program (#10694)
* [homeconnect] Returns an empty list of options for an unsupported program

Fix #10689

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

* Review comment: List.of

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2021-05-23 19:06:52 +02:00
Jerome Luckenbach
266b4d81a4
[openweathermap] Add correct default parameter. (#10739)
Signed-off-by: Jerome Luckenbach <github@luckenba.ch>
2021-05-23 00:27:54 +02:00
Andres Meyer
096cd49b38
[deconz] make lightgroup switch off if brightness is set to 0 (#10729)
* Make lightgroup switch off lights if brightness is set to 0

Fixes #10320

Signed-off-by: Andres Meyer <andres@meyerfamily.ch>
2021-05-22 08:16:14 +02:00
Koen Schockaert
31a2e9ac7e
Update README.md (#10712)
Corrected some mistkes in the readme

Signed-off-by: Koen Schockaert <ks@qbus.be>
2021-05-20 20:29:44 +02:00
Christoph Weitkamp
5a836b82cb
Added alternative handling for UnmarshalException (#10715)
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2021-05-20 20:26:51 +02:00
Wouter Born
7aab765b5a
[groovyscripting] Update Groovy to 3.0.8 (#10721)
For all bugfixes and improvements, see:

http://groovy-lang.org/changelogs/changelog-3.0.8.html

Signed-off-by: Wouter Born <github@maindrain.net>
2021-05-20 20:25:29 +02:00
Christoph Weitkamp
fe1c8fc21a
Fixed SAT findings (#10722)
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2021-05-20 20:24:46 +02:00
coriet
0397fcb695
[pollytts] Fix settings namespace in documentation (#10725)
Signed-off-by: Christian Oriet <github@oriet.org>
2021-05-20 19:43:05 +02:00
Wouter Born
a032118213
Fix build and improve exception handling (#10726)
The PercentType and QuantityType can also throw an IllegalArgumentException.

Signed-off-by: Wouter Born <github@maindrain.net>
2021-05-20 19:15:23 +02:00
Korbinian Probst
b049d3d13b
[SenecHome] Catch and ignore malformed JSON (#10657)
* SENEC Home: Add SocketTimeoutException and MalformedJsonException

Signed-off-by: Korbinian Probst <kp.droid.dev@gmail.com>

* SENEC: Revert last commit

Signed-off-by: Korbinian Probst <kp.droid.dev@gmail.com>

* SENEC: Implement a counter that keeps the device online for random errors

Signed-off-by: Korbinian Probst <kp.droid.dev@gmail.com>

* Implement a print of the faulty response

Signed-off-by: Korbinian Probst <kp.droid.dev@gmail.com>

* Improve print of faulty response

Signed-off-by: Korbinian Probst <kp.droid.dev@gmail.com>

* Print all responses for debugging, catch MalformedJsonException explicitly

Signed-off-by: Korbinian Probst <korbinian.probst@gmx.de>

* Add Infor print if JSON is wrong. Catch JsonSyntaxException. Remove errorCounter

Signed-off-by: Korbinian Probst <korbinian.probst@gmx.de>

* Remove most debug code, move remaining messages to trace log level

Signed-off-by: Korbinian Probst <korbinian.probst@gmx.de>

* Bring back catch of MalformedJsonException. Avoid null pointer exception in case response is null.

Signed-off-by: Korbinian Probst <korbinian.probst@gmx.de>

* Collect error to print it in one message

Signed-off-by: Korbinian Probst <korbinian.probst@gmx.de>

Co-authored-by: Korbinian Probst <korbinian.probst@gmx.de>
2021-05-19 22:18:15 +02:00
lsiepel
8202d57965
[plugwiseha] Initial contribution (#9504)
Signed-off-by: Leo Siepel <leosiepel@gmail.com>
2021-05-19 21:53:33 +02:00
robnielsen
84a4896ffc
[insteon] add a read timeout when getting data from Insteon 2245-222 hub (#10708)
Signed-off-by: Rob Nielsen <rob.nielsen@yahoo.com>
2021-05-17 22:12:02 +02:00
Trinitus01
52b110ae96
fixed: iCloud response invalid: null (#10710)
changed: appVersion from 2.0 to 3.0
added: missing productType

Signed-off-by: Tom Blum <trinitus01@googlemail.com>
2021-05-17 22:11:16 +02:00
Patrick Fink
80c0915b80
Ignore spotless errors on binding creation (#10696)
Signed-off-by: Patrick Fink <mail@pfink.de>
2021-05-17 22:07:41 +02:00
robnielsen
9ba28a50cc
[insteon] Fix SAT warnings (#10688)
Signed-off-by: Rob Nielsen <rob.nielsen@yahoo.com>
2021-05-14 10:22:55 +02:00
Joan Pujol
801100cee1
[influxdb] Fix problems when querying old historical data (#10680)
Fix problem with historical  Influx1 data that was generated with addon version <3.0.0 that didn't write generate item tag

Signed-off-by: Joan Pujol <joanpujol@gmail.com>
2021-05-14 10:21:12 +02:00
Bernd Weymann
bafa841390
[luftdateninfo] Add internal sensor support (#10643)
Signed-off-by: Bernd Weymann <bernd.weymann@gmail.com>
2021-05-13 16:26:17 +02:00
James Melville
db05079e6f
[warmup] Initial contribution (#8562)
Signed-off-by: James Melville <jamesmelville@gmail.com>
2021-05-13 15:37:05 +02:00
Conte Andrea
18497a9436
[openwebnet] Energy meter returns always zero power if no other device has subscribed to power measures (#10565)
* add scheduler to start/stop sending instantaneous consumption

Signed-off-by: Conte Andrea <andrea@conte.com>

* added scheduler also in Initialize() in order to start reading data of a newly discovered thing

Signed-off-by: Conte Andrea <andrea@conte.com>

* removed setActivePowerNotificationsTime()  from dispose()

Signed-off-by: Conte Andrea <andrea@conte.com>

* add log in dispose() method

Signed-off-by: Conte Andrea <andrea@conte.com>
2021-05-13 15:25:01 +02:00
bruestel
a1a990989e
[homeconnect] Initial contribution (#9187)
Signed-off-by: Jonas Brüstel <jonas@bruestel.net>
Co-authored-by: Laurent Garnier <lg.hc@free.fr>
2021-05-13 14:56:03 +02:00
Wouter Born
183fb0e390
[modbus] Cleanup workaround leftovers and fix a few SAT findings (#10670)
- Cleanup workaround leftovers and fix a few SAT findings

Signed-off-by: Wouter Born <github@maindrain.net>
2021-05-12 13:15:24 +02:00
Wouter Born
c3a6aa5814
Upgrade Units of Measurement dependencies (#10583)
* Fix code/tests for upgrade
* Resolve runbundles
* Update Checkstyle ruleset for changed packages

Signed-off-by: Wouter Born <github@maindrain.net>
2021-05-11 08:31:03 +02:00
Fabian Wolter
0fd9c4c1f8
[lcn] shorten labels (#10645)
* [lcn] shorten labels

Signed-off-by: Fabian Wolter <github@fabian-wolter.de>
2021-05-10 20:57:06 +02:00
Mark Herwege
703b1d288d
[nikohomecontrol] Switch off hostname validation. (#10652)
Signed-off-by: Mark Herwege <mark.herwege@telenet.be>
2021-05-10 17:14:32 +02:00
Alexander Falkenstern
e3973698ab
Bump jsonpath dependency from 2.4.0 to 2.5.0 (#10665)
Signed-off-by: Alexander Falkenstern <alexander.falkenstern@gmail.com>
2021-05-10 11:37:25 +02:00
Martin Kurgi
012254a0ac
[luxtronikheatpump] Update channel descriptions in README.md (#10648)
* temperatureHotWaterTarget channel is writable
* temperatureTargetHotWater_2  channel doesn't exist in the binding

Signed-off-by: Martin Kurgi <martinkurgi@gmail.com>
2021-05-10 09:03:36 +02:00
Christoph Weitkamp
50e7a44572
[tr064] Fixed wrong pattern to normalize phone numbers (#10660)
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2021-05-09 20:41:45 +02:00
Christoph Weitkamp
41e24185c7
[avmfritz] Fixed wrong dial code in status info (#10659)
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2021-05-09 20:40:03 +02:00
Bernd Weymann
a0a43764be
[modbus.e3dc] remove logo from readme and add default state patterns (#10647)
Signed-off-by: Bernd Weymann <bernd.weymann@gmail.com>
2021-05-09 20:29:50 +02:00
cedricboon
54d899c3fe
[velbus] Fixed parsing of channel bytes on VMB4AN. (#10627)
Signed-off-by: Cedric Boon <cedric.boon@hotmail.com>
2021-05-09 20:24:07 +02:00
robnielsen
ca3ee153c4
[insteon] delay setting state of network to UNKNOWN (#10620)
Signed-off-by: Rob Nielsen <rob.nielsen@yahoo.com>
2021-05-09 20:22:13 +02:00
Markus Michels
a2084e746a
[shelly] Vibration event for DW2 (#10618)
* Adapted to new checkstyle

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

* stylecheck cnages; fix CoIoT update for vibration, url encode user+pw on
"set login credentials"

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

* #10617 Vibration event added for DW2

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

* brackets

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

* some unused stuff/code removed

Signed-off-by: Markus Michels <markus7017@gmail.com>
2021-05-09 20:21:35 +02:00
lolodomo
892221ccad
[somfytahoma] Open to other portals (#10611)
* [somfytahoma] Open to other portals

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

* Review comment: suppress the advanced setting for cookie handling

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2021-05-09 20:16:14 +02:00
Christoph Weitkamp
22eebc797a
[hue] Fixed ColorTemperature set to UNDEF (#10609)
* Fixed ColorTemperature set to UNDEF

Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>

* Fixed SAT findings

Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>

* Fixed warning during unit tests

Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>

* Changed color temperature handling in GroupHandler

Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2021-05-09 20:10:45 +02:00
Christoph Weitkamp
ea4315adaf
[hue] Changed default color mode for color commands to XY (#10608)
* Changed default color mode for color commands to XY

Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>

* Incorporated comments from review

Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2021-05-09 20:08:18 +02:00
Pawel Pieczul
f652e329f7
[loxone] Implementation of EIB Dimmer (#10585)
Signed-off-by: Pawel Pieczul <pieczul@gmail.com>
2021-05-09 19:32:48 +02:00
Stephan Brunner
d674814440
[MongoDB Persistence] Fix error 500 and various improvements (#10584)
* [MongoDB Persistence] Rename connectToDatabase to tryConnectToDatabase.

Currently, the implementation throws a RuntimeException.
This fails horribly in query() and store(), because the exception is never caught and connection reestablishment won't happen.

Signed-off-by: Stephan Brunner <s.brunner@stephan-brunner.net>

* [MongoDB Persistence] Fix JavaDoc

Signed-off-by: Stephan Brunner <s.brunner@stephan-brunner.net>

* [MongoDB Persistence] Fix Bundle name

The correct database name is "MongoDB" without a space.

Signed-off-by: Stephan Brunner <s.brunner@stephan-brunner.net>

* [MongoDB Persistence] Also check for connection validity in isConnected()

When the connection was established successfully once, and the server goes down (e. g. a restart of the DB server), the connection still seems to be OK.
This would throw an exception later on, which is not caught and connection reestablishment won't happen.

Signed-off-by: Stephan Brunner <s.brunner@stephan-brunner.net>

* [MongoDB Persistence] Disconnect from database before reconnecting to database.

Signed-off-by: Stephan Brunner <s.brunner@stephan-brunner.net>

* [MongoDB Persistence] Disconnect from database when connection procedure fails.

When, for example, the creation of the index fails (disk full, ...), the connection is still there, but the collection isn't created with it's appropriate indices.
Thus, disconnect when the procedure fails to ensure no database connection remains valid.

Signed-off-by: Stephan Brunner <s.brunner@stephan-brunner.net>

* [MongoDB Persistence] Fix logic

Create the shared collection with its indices when collectionPerItem is disabled, not enabled.

Signed-off-by: Stephan Brunner <s.brunner@stephan-brunner.net>

* [MongoDB Persistence] Access database via getDatabase()

Preparation for synchronization.

Signed-off-by: Stephan Brunner <s.brunner@stephan-brunner.net>

* [MongoDB Persistence] Remove global mongoCollection variable.

This allows to easify implementing necessary multithreading locks.

Signed-off-by: Stephan Brunner <s.brunner@stephan-brunner.net>

* [MongoDB Persistence] Codestyle improvements.

Signed-off-by: Stephan Brunner <s.brunner@stephan-brunner.net>

* [MongoDB Persistence] Move isConnected-Check into tryConnectToDatabase.

Signed-off-by: Stephan Brunner <s.brunner@stephan-brunner.net>

* [MongoDB Persistence] Synchronize all connection handling methods.

Though the MongoDB driver is thread-safe, we still need to synchronize connection establishment/closing/...

Signed-off-by: Stephan Brunner <s.brunner@stephan-brunner.net>

* [MongoDB Persistence] Remove all unnecessary @NonNullByDefault attributes.

The given attributes should not be NotNullByDefault, because some may be null, too.

Signed-off-by: Stephan Brunner <s.brunner@stephan-brunner.net>

* [MongoDB Persistence] Remove duplicate logging.

Signed-off-by: Stephan Brunner <s.brunner@stephan-brunner.net>

* [MongoDB Persistence] Test the db connection after creating the MongoClient.

The mongo always succeeds in creating the connection.
We have to actually force it to test the connection to try to connect to the server.

Signed-off-by: Stephan Brunner <s.brunner@stephan-brunner.net>

* [MongoDB Persistence] Fix date query.

Issues:
- Second should have been getEndDate, not getBeginDate
- Send a Date object as the other version wasn't serializable.
- EndDate would have overridden beginDate.

Fixes #10574

Signed-off-by: Stephan Brunner <s.brunner@stephan-brunner.net>

* [MongoDB Persistence] Add debug log for MongoDB query sent to the server.

Signed-off-by: Stephan Brunner <s.brunner@stephan-brunner.net>

* [MongoDB Persistence] Reorder index on collections.

The order (Item, Timestamp) makes much more sense and should be better for performance.
All queries are always done with an item, and the dates are optional.
Also, the database server can now execute a range query for the date.

Existing indices are not dropped for backwards compatibility with other systems analyzing the data.

Signed-off-by: Stephan Brunner <s.brunner@stephan-brunner.net>

* [MongoDB Persistence] Add @author JavaDoc as per developer guidelines.

Signed-off-by: Stephan Brunner <s.brunner@stephan-brunner.net>

* [MongoDB Persistence] Improve logging

Signed-off-by: Stephan Brunner <s.brunner@stephan-brunner.net>

* [MongoDB Persistence] Add @NonNullByDefault

This was removed in 1f8e4525 by mistake.

Signed-off-by: Stephan Brunner <s.brunner@stephan-brunner.net>

* [MongoDB Persistence] Do not use isConnected() to test the connection.

The new method throws the real underlying exception instead of a generic one. This allows for detailed logging.

Signed-off-by: Stephan Brunner <s.brunner@stephan-brunner.net>

* [MongoDB Persistence] Remove useless @inheritDoc as per code analysis tool.

Signed-off-by: Stephan Brunner <s.brunner@stephan-brunner.net>
2021-05-09 19:27:19 +02:00
grro
8a21f9b715
[WebThing] If WebThing network connection is crashed, WebThing will not be reconnected. (#10579)
* Unnecessary NonNull annotations removed

Signed-off-by: Gregor Roth <gregor.roth@web.de>
Signed-off-by: gregor roth <gregor.roth@web.de>

* Bugfix  "If network connection is interrupted, WebThing will not be reconnected." Due to the variable webThingURI is unset, re connection fails

Signed-off-by: Gregor Roth <gregor.roth@web.de>
Signed-off-by: gregor roth <gregor.roth@web.de>

* webThingURI will be loaded in a lazy way

Signed-off-by: Gregor Roth <gregor.roth@web.de>
Signed-off-by: gregor roth <gregor.roth@web.de>
2021-05-09 19:18:39 +02:00
Wouter Born
cfea5a2185
Update remaining Paper UI and HABmin references (#10637)
Fixes #8607

Signed-off-by: Wouter Born <github@maindrain.net>
2021-05-06 22:26:05 +02:00
2wyck3d
0b630bed2d
Update README.md (#10639)
Fixed what I believe were typos. Making similar adjustments to my setup allowed the Harmony integration to work for me.
2021-05-06 22:23:53 +02:00
Wouter Born
f907bf37f9
[jsscripting] Fix build and cleanup (#10654)
Related to #8516

Signed-off-by: Wouter Born <github@maindrain.net>
2021-05-06 22:19:59 +02:00
Jonathan Gilbert
9912e1afc2
[jsscripting] ES6+ Support (#8516)
Signed-off-by: Jonathan Gilbert <jpg@trillica.com>
2021-05-06 09:08:47 +02:00
Christoph Weitkamp
a1ebab11c5
[neeo] Fixed event nullness (#10651)
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2021-05-06 07:07:32 +02:00
Thomas Weißschuh
e510244cb6
[linuxinput] fixes to thing properties (#10634)
* Do not discover on ENTRY_MODIFY

ENTRY_MODIFY is triggered on each keypress multiple times, so we should
not trigger on it.

The usecase for ENTRY_MODIFY triggers where detecting permission changes
of the event nodes.
Inotify does have a dedicate event ("ATTRIB") for that but Java
WatchService normalizes this to a ENTRY_MODIFY event
(See LinuxWatchService.java)

After permission changes users now have to trigger a scan manually.

* Use proper representation property

* Show event node in label

This makes it easier to figure out which thing is which device in the
presence of symlinks or multiple identical devices.

Signed-off-by: Thomas Weißschuh <thomas@t-8ch.de>
2021-05-05 22:22:18 +02:00
lolodomo
4efccacb10
[sonos] Play notification while playing virtual line-in (#10599)
* Play notification while playing virtual line-in

Fix #10569

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2021-05-05 22:16:21 +02:00
Jan Gustafsson
ffa17c76c1
[verisure] Add channel for low battery warning for supported thing types (#10406) (#10580)
- Add channel for low battery warning for supported thing types

Closes #10406

Signed-off-by: Jan Gustafsson <jannegpriv@gmail.com>
2021-05-05 21:27:53 +02:00
Wouter Born
940e1e53d1
Use activation-api 1.2.1_3 (#10646)
Fixes #10642

Signed-off-by: Wouter Born <github@maindrain.net>
2021-05-05 21:08:09 +02:00
Wouter Born
f5f922eaf4
Fix or suppress SAT CompareObjectsWithEquals findings (#10631)
* Fix or suppress SAT CompareObjectsWithEquals findings

Signed-off-by: Wouter Born <github@maindrain.net>
2021-05-05 21:06:04 +02:00
pravussum
582ef280e5
[io.metrics] Fix MetricsService breaking REST API #10640 (#10644)
* [io.metrics] Fix MetricsService breaking REST API #10640

Signed-off-by: Robert Bach <openhab@mortalsilence.net>
2021-05-04 21:24:01 +02:00
mlommers
9441cfffe8
[openweathermap] Updated string formatting example for UVindex (#10633)
Fixes #10629

Signed-off-by: mlommers <mlommers@hotmail.com>
2021-05-02 23:02:46 +02:00
pravussum
6ac0d4c788
[metrics] Fix io metrics documentation references (#10630)
* Fix broken image & dashboard links in rendered online documentation
* Fix prerequisite version in documentation (do not use milestone version)

Signed-off-by: Robert Bach <openhab@mortalsilence.net>
2021-05-02 22:07:25 +02:00
Kai Kreuzer
f1cbbbe562
Fixed location of additional documentation folder so that it is picked up for the website (#10638)
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2021-05-02 22:00:03 +02:00
Bernd Weymann
e69a65d8e7
[BMW ConnectedDrive] initial contribution (#8576)
Signed-off-by: Bernd Weymann <bernd.weymann@gmail.com>
Signed-off-by: Norbert Truchsess <norbert.truchsess@t-online.de>
2021-05-01 18:14:54 +02:00
Marcel
c7218c6d29
[miio] update & improve readability value mappings for readme (#10610)
Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
2021-05-01 15:35:07 +02:00
ardanedh
4dbb449a14
[digitalSTROM] Shade angle support for GR things (#10444)
Signed-off-by: Rouven Schürch <r.schuerch@gmx.ch>
2021-05-01 14:20:46 +02:00
David
2bb7c62dec
[enocean] Fix discovery of D2-50 devices (#10577)
This change accepts a new message type which is sent by some air ventilation devices durin teach in. This is required for the search feature to detect these devices correctly.

Signed-off-by: David Schumann <david@dev-core.org>
2021-05-01 10:24:23 +02:00
Wouter Born
e6d8dfb7e1
Reduce dependency on commons-io and commons-codec (#10614)
Signed-off-by: Wouter Born <github@maindrain.net>
2021-04-30 16:53:44 +02:00
Stewart Cossey
02b4943a11
[hccrubbishcollection] HCC Rubbish Collection Binding - Initial Contribution (#9975)
Signed-off-by: Stewart Cossey <stewart.cossey@gmail.com>
2021-04-30 16:23:07 +02:00
Sönke Küper
710aa760d0
[ahawastecollection] Initial Contribution (#10387)
Signed-off-by: Sönke Küper <soenkekueper@gmx.de>
2021-04-30 15:59:05 +02:00
chingon007
7fb7c65306
[haassohnpelletstove] Initial contribution (#10595)
Signed-off-by: Christian Feininger <tron81@gmx.de>
2021-04-29 20:59:37 +02:00
aurelio1
315964a55a
[airq] Air-Q binding Initial contribution (#10048)
Signed-off-by: Aurelio Caliaro <aurelio@caliaro.net>
2021-04-29 18:23:35 +02:00
Christoph Weitkamp
541a71d1a1
[velux] Removed license header from properties files (#10613)
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2021-04-29 15:12:34 +02:00
Thomas Lauterbach
44964df4a5
[espmilighthub] Describe group 0 handling (#10473)
Signed-off-by: Thomas Lauterbach <lauterbachthomas@gmail.com>
Co-authored-by: Matthew Skinner <matt@pcmus.com>
2021-04-29 09:55:04 +02:00
Marcel
c157e395dc
[miio] add support for yeelink.light.lamp15 Yeelight Screen Light Bar (#10603)
closes #10589

Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
2021-04-28 12:26:29 +02:00
Andrew Fiddian-Green
8ac7eeb999
[neohub] thermostats now support setpoints in steps of 0.5 celsius (#10598)
Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
2021-04-28 12:25:24 +02:00
Wouter Born
aaeddc8119
Update Netty dependencies to 4.1.63.Final (#10606)
Signed-off-by: Wouter Born <github@maindrain.net>
2021-04-28 12:22:11 +02:00
Dan Cunningham
9810995d09
[openhabcloud] Accept all Jetty supported http method types (#10600)
* Accept all Jetty supported http method types
This fixes a number of open issues due to the fact that we were only accepting a limited number of http method types.  The effect of this was some functionality like DELETE or HEAD requests would just not work when using the cloud service, which madee our UI look broken in different ways,  also it poluted the users log with a lot of messages.

Fixes https://github.com/openhab/openhab-core/issues/2312
Fixes https://github.com/openhab/openhab-cloud/issues/328

Signed-off-by: Dan Cunningham <dan@digitaldan.com>
2021-04-28 09:12:01 +02:00
Marcel
eda5346a50
[miio] add support several new roborock vacuums (#10602)
new vacuums:
  "roborock.vacuum.a14": "Roborock T7S",
  "roborock.vacuum.a15": "Roborock S7",
  "roborock.vacuum.a19": "Roborock S4 Max",
  "roborock.vacuum.a23": "Roborock T7S Plus",

Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
2021-04-28 09:04:27 +02:00
lolodomo
4ead304da0
[sonos] Suppress the channel publicaddress from models without any line input (#10597)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2021-04-28 09:01:13 +02:00
Marcel
84bd5ad5d8
[miio] add support Mi Smart LED Bulb Essential (yeelink.light.color5) (#10531)
Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
2021-04-27 22:32:39 +02:00
Marcel
da916ca4a5
[miio] update device names list (#10605)
Refresh of the device name list from Xiaomi

Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
2021-04-27 22:28:55 +02:00
Marcel
52b05085aa
[miio] handle invalid rssi response (#10601)
Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
2021-04-27 22:27:24 +02:00
Sebastian Held
7d13795380
[ecotouch] add Waterkotte EcoTouch binding (ported from OH1) (#10010)
Signed-off-by: Sebastian Held <sebastian.held@gmx.de>
2021-04-27 22:23:32 +02:00
quidam
9a0ad98f44
[avmfritz] Corrected typo in German translation and added documentation for Becker BoxCTRL (#10593)
- Corrected typo in German translation and added documentation for Becker BoxCTRL

Signed-off-by: Ulrich Mertin <mail@ulrich-mertin.de>
2021-04-27 21:36:46 +02:00
lolodomo
61e8b09bf4
[sonos] Add support for Sonos Roam (#10596)
Fix #10588

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2021-04-27 19:15:09 +02:00
Marcel
61a3705f0f
[miio] Support of Smartmi Air Purifier zhimi.airpurifier.za1 (#10534)
Closes #10526

Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
2021-04-27 16:45:10 +02:00
antroids
2110e13d1b
[jinja] Empty string result when binding is missing (#10581)
Signed-off-by: Anton Kharuzhy <antroids@gmail.com>
2021-04-27 14:20:09 +02:00
mabosch74
5d63fb1689
[miio] added functions for Vacuums P2009/2036/2157 (#10269)
* Fixed typo for starting sequence
* Added support for "find me" & "test sound" function
* Added clear names for faults

Signed-off-by: Marcel Bossert-Schwab <mbossertschwab@gmx.de>
2021-04-26 12:13:30 +02:00
Jamie Townsend
a611393285
[luxtronikheatpump] Add Support for HeatpumpType 81 (#10559)
Signed-off-by: Jamie Townsend <jamie_townsend@hotmail.com>
2021-04-26 10:33:01 +02:00
antroids
c0f70749d9
[Jinja] Update JinJava version and embed dependencies #10496 (#10578)
Signed-off-by: Anton Kharuzhy <antroids@gmail.com>
2021-04-25 22:03:12 +02:00
Andrew Fiddian-Green
ea2721f277
[hpprinter] Prevent "handler disposed" warnings on shutdown (#10549)
Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
2021-04-25 11:19:39 +02:00
Jerome Luckenbach
10f88c0934
Fix http -> https where applyable. (#10573)
Signed-off-by: Jerome Luckenbach <github@luckenba.ch>
2021-04-24 20:39:51 +02:00
Sebastian
8ba34392aa
[modbus-e3dc] Fixes wrong E3/DC Emergency Power Possible bit (#10536)
Fixes #10513

Signed-off-by: Sebastian <ZweiSK135@t-online.de>
2021-04-24 13:59:20 +02:00
msimat
8d865932ff
[amazondashbutton] Update README.md (#8958)
Information about how to use Dash Buttons nowadays as Amazon doesn't support them anymore.

Also-by: Wouter Born <github@maindrain.net>
Signed-off-by: Marcel Simat <marcel@freese.name>
2021-04-24 13:50:04 +02:00
olemr
2bf1369ae8
[harmonyhub] Update README.md (#9942) 2021-04-24 13:28:56 +02:00
Christoph Weitkamp
14516fe330
[openweathermap] Added missing properties for translations, Changed fiel encoding to UTF-8 (#10571)
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2021-04-24 12:59:02 +02:00
olivierkeke
7b07ca85c5
[teleinfo] Update documentation (#10543)
* Make clear rfc2217 is supported
* Fix typo
* Update specification link and partial linky support
* Improve wording

Signed-off-by: Olivier Marceau <hollysaiqs@marceau.ovh>
2021-04-24 12:49:37 +02:00
Ethan Dye
55415a4489
[omnilink] Update README.md (#10564)
Signed-off-by: Ethan Dye <mrtops03@gmail.com>
2021-04-24 12:46:06 +02:00
pali
9b3adfc372
[nibeheatpump] Data parsing fix (#9958)
* Fixed escaped message parsing
* Removed also Apache commons dependency
* Generic improvements

Signed-off-by: Pauli Anttila <pauli.anttila@gmail.com>
2021-04-24 12:43:01 +02:00
Christoph Weitkamp
0c390ab9c9
[jdbc] Increased size of column type for Location Item (#10542)
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2021-04-24 12:39:05 +02:00
Christoph Weitkamp
8acf6e6829
[dwdunwetter] Prevent exception when formatting value (#10556)
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2021-04-24 12:27:19 +02:00
M Valla
9a225a9111
[openwebnet] Added refresh of devices after reboot or disconnect (#10508)
* Refresh devices after reboot or disconnect

Signed-off-by: Massimo Valla <mvcode00@gmail.com>

* Cancel refreshSchdule in dispose. updateStatus messages @text cleanup.

Signed-off-by: Massimo Valla <mvcode00@gmail.com>
2021-04-24 12:26:58 +02:00
Sami Salonen
1f4612ba2f
[modbus] correct parameter names in docs, logs and code comments (#10560)
Signed-off-by: Sami Salonen <ssalonen@gmail.com>
2021-04-24 12:20:32 +02:00
Ando "David" Roots
19eea60a26
Fix typo in pactl list sinks example (#10568)
The syntax for listing Pulseaudio sinks is with a space,
not dash (two arguments).

Ref https://manpages.ubuntu.com/manpages/trusty/man1/pactl.1.html

Signed-off-by: Ando Roots <ando@sqroot.eu>
2021-04-24 12:12:20 +02:00
Andrew Fiddian-Green
0b375dc28a
[velux] Fix synchronisation of handler initialization and disposal (#10449)
* [velux] break on socket timeout if interrupted flag set

Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>

* [velux] pause initialize until pending dispose is done

Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>

* [velux] synchronization key is IP address not ThingUID

Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>

* [velux] reduce logging level

Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>

* [velux] reduce logging level, improve user comprehensibility

Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>

* [velux] access updateBindingState() externally via static method

Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>

* [velux] tweak logging

Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>

* [velux] defer refreshBindingInfo until after initialized / disposed

Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>

* [velux] refactor method names to show the type of scheduler they run on

Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>

* [velux] don't terminate thread early

Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>

* [velux] restore calls to updateBindingState

Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>

* [velux] logger cosmetics

Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>

* [velux] reduce logging levels

Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>

* [velux] change logger level

Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>

* [velux] synch on ip address object instead of Future<>; make shutdown timeout explicit; disable HSM on shutdown

Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>

* [velux] add lock modifier, remove duplicate synchronized, refactor HSM shutdown

Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>

* [velux] shutdown code was not being called

Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>

* [velux] don't convert InterruptedException to IOException

Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>

* [velux] let shutdown explicity stop the polling loop

Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
2021-04-22 23:23:26 +02:00
Marcel
df18f16d49
[miio] cleanup some sat errors (#10539)
Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
2021-04-22 20:39:23 +02:00
Andrew Fiddian-Green
f87a7f6914
[tado] Prevent "handler disposed" warnings on shutdown (#10550)
* [tado] prevent "the handler was already disposed" warnings on shutdown

Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
2021-04-22 20:36:22 +02:00
Mark Herwege
061ecda321
[nikohomecontrol] Fix energy meter. (#10546)
Signed-off-by: Mark Herwege <mark.herwege@telenet.be>
2021-04-22 20:34:12 +02:00
Mikael Gustafsson
0e4810e651
[valloxmv] Fix co2 channel, hopefully working this time (#10555)
Signed-off-by: Mikael Gustafsson <mikael.gustafsson80@gmail.com>
2021-04-22 20:32:31 +02:00
Koen Schockaert
d3c137c73d
[qbus] - Update logo / Small code changes (#10514)
Signed-off-by: Koen Schockaert <ks@qbus.be>
2021-04-22 09:18:02 +02:00
lolodomo
1368b13500
[netatmo] Fix the thresholds for the WifiStatus channel (#10544)
Fix #10540

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2021-04-20 20:38:57 +02:00
Andrew Fiddian-Green
858ef65aef
[neohub] Quality improvements (#10522)
* [neohub] eliminate once in a blue moon fin-ack fin-ack issues

Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>

* Revert "[neohub] eliminate once in a blue moon fin-ack fin-ack issues"

This reverts commit 022513ee85878f2f9cf2fd27fa3d79d251197c5a.

* [neohub] extra hub properties; hub id in logs (help for multiple hubs)

Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>

* [neohub] run spotless

Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>

* [neohub] getFirmwareVersion returns null for unknown

Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>

* [neohub] api version enum; tweaked logging

Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>

* [neohub] fix mvn warning

Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>

* [neohub] cosmetic for diff

Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>

* [neohub] device info property, and comments

Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>

* [neohub] tweaks to fin-ack sequence

Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>

* [neohub] eliminate irrelevant compiler warnings, and live test errors

Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>

* [neohub] avert merge conflict with #10525

Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>

* [neohub] apply changes in anticipation of reviewer approval

Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
2021-04-19 20:39:12 +02:00
Robert Schmid
ada54dbcfa
[dali] Initial contribution (#10093)
Signed-off-by: Robert Schmid <r.schmid@outlook.com>
2021-04-19 19:51:50 +02:00
GiviMAD
5e3717c22a
[androiddebugbridge] add reboot and tap channels (#10497)
* [androiddebugbridge] avoid concurrent command execution

Signed-off-by: Miguel <miguelwork92@gmail.com>

* [androiddebugbridge] add reboot channel

Signed-off-by: Miguel <miguelwork92@gmail.com>

* [androiddebugbridge] add tap channel

Signed-off-by: Miguel <miguelwork92@gmail.com>

* [androiddebugbridge] validate package name

Signed-off-by: Miguel <miguelwork92@gmail.com>

* [androiddebugbridge] fix reboot channel

Signed-off-by: Miguel <miguelwork92@gmail.com>

* [androiddebugbridge] remove reboot channel and add shutdown channel

Signed-off-by: Miguel <miguelwork92@gmail.com>

* [androiddebugbridge] fix shutdown channel

Signed-off-by: Miguel <miguelwork92@gmail.com>

* [androiddebugbridge] apply spotless

Signed-off-by: Miguel <miguelwork92@gmail.com>
2021-04-19 19:05:00 +02:00
MikeTheTux
fb1d6a283b
[keba] Robustness improvements on communication error (#10399)
Signed-off-by: Michael Weger <weger.michael@gmx.net>
2021-04-17 23:52:33 +02:00
Roie Geron
8258d9d722
[touchwand] - better handle unit update when currStatus key is null (#10520)
* notify listeners on status change using discovery 


Signed-off-by: Roie Geron <roie.geron@gmail.com>

* adapt bridge discovery name to new string broadcast

Signed-off-by: Roie Geron <roie.geron@gmail.com>

* check correctly if current status key is not null

Signed-off-by: Roie Geron <roie.geron@gmail.com>

* change log from warn to debug

Signed-off-by: Roie Geron <roie.geron@gmail.com>

* better handle when currStatus is null

also move logs from warn to debug

Signed-off-by: Roie Geron <roie.geron@gmail.com>

* remove nonNullByDefault annotation

as dto can be null 

Signed-off-by: Roie Geron <roie.geron@gmail.com>
2021-04-17 15:42:37 +02:00
Sami Salonen
265fd30ba1
[modbus] Gain-offset profile (QuantityType support) and writing of individual bits of holding registers (#9980)
* [modbus] gainOffset and bitMask profiles for working with modbus data

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

* [modbus] README trailing whitespaces

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

* [modbus] README and some final renaming

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

* [modbus] log error with incompatible units

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

* [modbus] gainOffset profile: test for incompatible unit

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

* [modbus] example renamed

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

* [modbus] Remove unused fields

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

* [modbus] gainOffset profile: make configuration parameters optional

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

* [modbus] xml indentantion fix

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

* [modbus] static code analysis fixes

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

* [modbus] Minor fixes for null checking

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

* [modbus] remove comment

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

* [modbus] bit profile README disclaimer with many commands

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

* [modbus] Grammar fixes in README

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

* [modbus] Fix bit profile UI configuration

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

* [modbus] Bit profile: Added possibility to invert value on read/write

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

* [modbus] fix typo with explanation of inverted

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

* [modbus] bit profile: unit tests for inverted parameter

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

* [modbus] spotless:apply

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

* [modbus] static checker fixes

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

* [modbus] write bit feature in data thing

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

* wip

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

* [modbus] resolve itest

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

* [modbus] fixes

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

* [modbus] Remove bit profile

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

* [modbus] Fix data thing readStart validation

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

* [modbus] readme fix

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

* [modbus] Remove bit profile test

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

* [modbus] Invalidate REFRESH data cache with cacheful writes

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

* [modbus] cleanup

- abort if command is not convertible to 0/1 (previously wrote the
  cached data)
- fail fast conditionals instead of deep if's

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

* [modbus] README Fix typo in example

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

* [modbus] fix data thing write when child of endpoint

Also added regression test

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

* Update bundles/org.openhab.binding.modbus/src/main/resources/OH-INF/config/gainOffset.xml

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

Co-authored-by: Fabian Wolter <github@fabian-wolter.de>

* [modbus] performance-optimized logging

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

* [modbus] README: Removing xtend syntax hint, not needed anymore

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

* [modbus] generics typing added

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

* [modbus] dead code

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

* [modbus] avoid supressing generic type warnings

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

* [modbus] unnecessary generics

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

* [modbus] rename type parameter name

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

* [modbus] QU (short for quantity output) generic type instead of Q2

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

* [modbus] Remove unused localization

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

* [modbus] profile constant visibility harmonized

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

* [modbus] spotless:apply

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

Co-authored-by: Fabian Wolter <github@fabian-wolter.de>
2021-04-16 22:59:55 +02:00
Wouter Born
b42101addc
Remove unused local variables (#10528)
Fixes 26 SAT UnusedLocalVariable findings

Signed-off-by: Wouter Born <github@maindrain.net>
2021-04-16 22:35:01 +02:00
olivierkeke
030329c118
[teleinfo] Add power dimension to apparent power channels (#10512)
* Add Power dimension to PAPP channels

Signed-off-by: Olivier Marceau <hollysaiqs@marceau.ovh>

* Add PAPP dimension in documentation

Signed-off-by: Olivier Marceau <hollysaiqs@marceau.ovh>
2021-04-16 22:08:24 +02:00
pali
f2abff3124
[nibeheatpump] Fixed ProDiNo UDP issue (#10511)
* [nibeheatpump] Arduino nibegw improvements

Signed-off-by: Pauli Anttila <pauli.anttila@gmail.com>

* [nibeheatpump] - more improvements

Signed-off-by: Pauli Anttila <pauli.anttila@gmail.com>

* Merge fixes

Signed-off-by: Pauli Anttila <pauli.anttila@gmail.com>

* Added note about tested KMPDinoEthernet library version

Signed-off-by: Pauli Anttila <pauli.anttila@gmail.com>
2021-04-16 22:07:23 +02:00
Ondrej Pecta
3c4e650547
[somfytahoma] added support for the Bioclimatic Pergola thing (#10498)
* [somfytahoma] added support for the Bioclimatic Pergola thing

Signed-off-by: Ondrej Pecta <opecta@gmail.com>

* Update bundles/org.openhab.binding.somfytahoma/README.md

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

Co-authored-by: Fabian Wolter <github@fabian-wolter.de>
2021-04-16 21:53:24 +02:00
Jared
4300c642c8
[onkyo] Add audio info channel (IFA Eiscp command) (#10483)
* Add audio info channel

Signed-off-by: Jared <39014663+baku104788@users.noreply.github.com>

* Audio Info Channel implementation

Signed-off-by: Jared <39014663+baku104788@users.noreply.github.com>

* remove extra backup file

Signed-off-by: Jared <39014663+baku104788@users.noreply.github.com>

* Update readme info for audioinfo

Signed-off-by: Jared <39014663+baku104788@users.noreply.github.com>
2021-04-16 21:41:40 +02:00
Kai Kreuzer
2e421267cf
[airthings] Add support for Airthings Wave Mini (#10456)
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2021-04-16 21:38:20 +02:00
Wouter Born
1633c705a1
Use Collection.isEmpty (#10525)
Fixes 47 SAT UseCollectionIsEmpty findings.

Signed-off-by: Wouter Born <github@maindrain.net>
2021-04-15 21:00:47 +02:00
Christoph Weitkamp
7a22d65406
Added missing config parameters for sqltypes of IMAGE an PLAYER item types (#10524)
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2021-04-15 17:51:35 +02:00
quidam
18989d7ab7
[avmfritz] Added support for HAN-FUN blinds (#10492)
* Added support for HAN-FUN blinds

Closes #10430 

Signed-off-by: Ulrich Mertin <mail@ulrich-mertin.de>
2021-04-15 17:50:11 +02:00
Christoph Weitkamp
7dad6ea973
Fixed wrong time parsing (#10523)
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2021-04-15 17:45:48 +02:00
Wouter Born
0c36650179
Avoid star imports and add missing braces (#10521)
Fixes the following SAT findings:

* AvoidStarImportCheck (125)
* NeedBracesCheck (39)

Signed-off-by: Wouter Born <github@maindrain.net>
2021-04-15 16:12:05 +02:00
Christoph Weitkamp
e24d43aecb
Use TypeParser to get matching Item State (#10501)
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2021-04-14 23:35:16 +02:00
Christoph Weitkamp
a04cfd3389
Fixed SAT findings for new SAT 0.11.1 release (#10518)
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2021-04-14 15:11:31 +02:00
Tobi0610
9e4b67ee09
[nibeheatpump] arduino nibegw: added STM32 nucleo-F429ZI support (#9933)
Signed-off-by: Tobi <real_1988@web.de>
2021-04-11 20:17:59 +02:00
Sami Salonen
df3917a0db
[dynamodb] Update test dependency DynamoDBLocal (#10505)
No need to list transitive test dependencies, they are pulled in
automatically. Exception with sqlite4java shared libraries which are
needed for runtime.

With the update of DynamoDBLocal, tests require newer version of jetty
(9.4.18.v20190429), resolving #10502

Signed-off-by: Sami Salonen <ssalonen@gmail.com>
2021-04-11 20:04:32 +02:00
MatthiasKlocke
5d5cd780a5
[vdr] Initial contribution (#9947)
Signed-off-by: Matthias Klocke <matthias.klocke@gmx.net>
2021-04-11 20:02:00 +02:00
pravussum
fc81909596
[io.metrics] initial contribution (#9890)
Signed-off-by: Robert Bach <openhab@mortalsilence.net>
2021-04-11 19:56:46 +02:00
Hilbrand Bouwkamp
53d168991c
[enphase] Initial contribution (#9883)
Signed-off-by: Hilbrand Bouwkamp <hilbrand@h72.nl>
2021-04-11 19:54:08 +02:00
Stefan Giehl
4f018b8aec
[LuxtronikHeatpump] Initial Contribution (#9669)
Signed-off-by: Stefan Giehl <stefangiehl@gmail.com>
2021-04-11 19:51:46 +02:00
grro
d9ed461950
[WebThing] Initial contribution (#9555)
Signed-off-by: Gregor Roth <gregor.roth@web.de>
2021-04-11 19:47:27 +02:00
Raphael Mack
9bfb2f4313
[resol] Add Resol Controller Binding - Initial Contribution (#9449)
Signed-off-by: Raphael Mack <ramack@raphael-mack.de>
2021-04-11 19:25:55 +02:00
Koen Schockaert
16ffeecb90
[Qbus] Initial contribution (#9191)
Signed-off-by: Koen Schockaert <ks@qbus.be>
2021-04-11 19:22:37 +02:00
olivierkeke
217f25fff6
[teleinfo] code cleanup and remove timeout (#9902)
* Remove timeout when waiting frame

Signed-off-by: Olivier Marceau <hollysaiqs@marceau.ovh>

* Add olivierkeke to code owners list

Signed-off-by: Olivier Marceau <hollysaiqs@marceau.ovh>

* Code cleanup

Signed-off-by: Olivier Marceau <hollysaiqs@marceau.ovh>

* Refactor data objects

Signed-off-by: Olivier Marceau <hollysaiqs@marceau.ovh>

* Apply some sonarlint suggestions

Signed-off-by: Olivier Marceau <hollysaiqs@marceau.ovh>

* Fix typo

Signed-off-by: Olivier Marceau <hollysaiqs@marceau.ovh>

* Simplify thing compatibility test

Co-authored-by: Connor Petty <mistercpp2000@gmail.com>
Signed-off-by: Olivier Marceau <hollysaiqs@marceau.ovh>

* Remove dot from PTEC values

Signed-off-by: Olivier Marceau <hollysaiqs@marceau.ovh>

Co-authored-by: Connor Petty <mistercpp2000@gmail.com>
2021-04-10 22:36:06 +02:00
Sami Salonen
b675160486
[dynamodb] Dynamodb refactor (#9937)
* [dynamodb] Update to SDKv2 Enhanced Client

In addition, introduce new more simple table layout, having only one
table for all items and with more efficient data encoding (saves some read capacity).

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

* [dynamodb] Time To Live (TTL) support with new table schema

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

* [dynamodb] Support QuantityType

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

* [dynamodb] suppress null warnings in tests

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

* [dynamodb] Optimized query performance

Similar to https://github.com/openhab/openhab-addons/pull/8938,
avoid calling Item.getUnit() repeatedly when querying data.

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

* [dynamodb] Support for Group items

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

* [dynamodb] Update copyright to 2021

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

* [dynamodb] Removing TODO comments and add javadoc

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

* [dynamodb] javadoc

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

* [dynamodb] Readability improved in TableCreatingPutItem

Also documenting the full retry logic.

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

* [dynamodb] verify fixes

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

* [dynamodb] Remove slf4j from explicit dependencies

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

* [dynamodb] Remove jackson from pom.xml, add as feature dep

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

* [dynamodb] bnd.importpackage tuned

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

* [dynamodb] abort query() immediately if not configured to avoid NPE

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

* [dynamodb] less chatty diagnostics

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

* [dynamodb] xml formatting

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

* [dynamodb] corrected logger class

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

* [dynamodb] null checks

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

* [dynamodb] netty client configured

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

* [dynamodb] bnd not to filter out importpackage org.slf4j.impl

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

* [dynamodb] cfg bundle group id

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

* [dynamodb] Remove usage of org.apache.commons

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

* [dynamodb] Remove extra prints from test

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

* [dynamodb] Reducing @SupressWarnings with generics

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

* [dynamodb] README extra space removed

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

* [dynamodb] spotless

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

* [dynamodb] Removed unnecessary logging

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

* [dynamodb] encapsulation

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

* [dynamodb] removed unnecessary NonNullByDefault({}) ctr-injected field

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

* [dynamodb] null annotations

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

* [dynamodb] less verbose logging in tests

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

* [dynamodb] Prefer Collections.emptyList over List.of()

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

* [dynamodb] less verbose call

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

* [dynamodb] Visitor to return values (simplifies the code)

Less warnings suppressed

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

* [dynamodb] comments for remaining warning supressions

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

* [dynamodb] README tuning, typo fixing

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

* [dynamodb] Using less verbose syntax

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

* [dynamodb] simplified logging on errors

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

* [dynamodb] Code review comments

Avoiding null checker while having more compact code

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

* [dynamodb] Null safety

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

* [dynamodb] configuration label and description formatting

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

* [dynamodb] xml indentation with tabs

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

* [dynamodb] @Nullable 1-line annotation with class fields

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

* [dynamodb] No need to override credentials per request

Client has the credentials set on build time

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

* [dynamodb] set API timeouts no matter what

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

* [dynamodb] adding exception message

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

* [dynamodb] static logger

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

* [dynamodb] dependency

- comments clarifying the logic of properties
- adding netty to dep.noembedding to ensure it is not compiled in

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

* [dynamodb] ensure correct jackson and netty versions using dependencyMgt

Specifically for development and testing

See 051c764789
for further discussion why this is needed.

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

* [dynamodb] avoid google collections

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

* [dynamodb] jackson-dataformat-cbor not jackson-cbor

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

* [dynamodb] also restrict netty-transport-native-epoll linux-x86_64 version

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

* [dynamodb] refering dynamodb.cfg similar to other bundles

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

* [dynamodb] bnd.importpackage to excl. reactivestreams and typesafe.netty

These are compiled-in dependencies, and thus we do not want to have them in
OSGi Import-Package.

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

* Update bundles/org.openhab.persistence.dynamodb/src/main/resources/OH-INF/config/config.xml

Co-authored-by: Fabian Wolter <github@fabian-wolter.de>
Signed-off-by: Sami Salonen <ssalonen@gmail.com>

* Update bundles/org.openhab.persistence.dynamodb/src/main/resources/OH-INF/config/config.xml

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

Co-authored-by: Fabian Wolter <github@fabian-wolter.de>

* [dynamodb] remove netty-codec-http2 as it is included in tp-netty

See https://github.com/openhab/openhab-core/pull/2257/

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

* [dynamodb] removed duplicate in bnd.importpackage

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

* [dynamodb] slf4j-api marked as provided to remove dep errors in runtime

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

Co-authored-by: Fabian Wolter <github@fabian-wolter.de>
2021-04-10 22:13:38 +02:00
Stefan Triller
08602c04b4
[ventaair] New VentaAir binding for air humidifiers (#9979)
* [ventaair] New VentaAir binding for air humidifiers

New binding that implements support for air humidifier from Venta Air.

Closes #9922

Signed-off-by: Stefan Triller <github@stefantriller.de>
2021-04-10 21:54:28 +02:00
Daniël van Os
95cdc3cb35
[Homewizard] Initial contribution (#9831)
Signed-off-by: Daniël van Os <daniel@supercell.nl>
2021-04-10 10:18:21 +02:00
Marcel
5ba64517ff
[miio] add support for cgllc.airm.cgdn1 Qingping Air Monitor Lite (#10182)
* [miio] add support for cgllc.airm.cgdn1 Qingping Air Monitor Lite

close #10152

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

* [miio] remove expiremental

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

* Improve readme

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

* [miio] improve qty types

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

* [miio] remove unknown element

Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
2021-04-10 09:58:57 +02:00
mlobstein
035556bc55
[radiothermostat] Add Remote Temperature channel (#10194)
* Add Remote Temperature channel

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

* Fix spelling error

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

* Fix spelling error2

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

* review changes

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

* review changes

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

* review changes

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

* minor README update

Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>
2021-04-09 23:28:38 +02:00
miloit
3561388061
[yioremote] Update and improve of the reconnection of the plugin (#10480)
* changed reconnection

Signed-off-by: Michael Loercher <MichaelLoercher@web.de>

* reverted

Signed-off-by: Michael Loercher <MichaelLoercher@web.de>

* Update and Bugfix reconnection

Signed-off-by: Michael Loercher <MichaelLoercher@web.de>

* Update reconnection handling

Signed-off-by: Michael Loercher <MichaelLoercher@web.de>

* Update codestyle

Signed-off-by: Michael Loercher <MichaelLoercher@web.de>
2021-04-09 23:18:02 +02:00
Christoph Weitkamp
e0f5e858c7
[openweathermap] Added One Call API weather warnings (#10435)
* Added One Call API weather warnings

Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>

* Changed Channel title to event

Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2021-04-09 22:59:25 +02:00
einstein99
950033ba2f
[modbus.studer] Update README.md (#10412)
* Update README.md

As i spent hours to figure out the correct document to read about the address scheme, this might help others to avoid this and get this plugin to the same "copy and paste" use  as the others, even if the existing scheme already is enough to get it working.

* Update bundles/org.openhab.binding.modbus.studer/README.md

Co-authored-by: Fabian Wolter <github@fabian-wolter.de>
2021-04-09 22:49:59 +02:00
dalgwen
c3b29e0fe6
[pulseaudio] Add pulseaudio sink as openhab audio sink (#1895) (#10423)
* [pulseaudio] Add pulseaudio sink as openhab audio sink (#1895)

This add to the pulseaudio binding the capability to use "pulseaudio sink" as an "openhab sink" to output sound from openhab to a pulse audio server on the network.
You need to load module-simple-protocol-tcp sink in addition to the usual module-cli-protocol-tcp, and enable the sink in the thing configuration.

Closes #1895

Signed-off-by: Gwendal Roulleau <gwendal.roulleau@gmail.com>

* Small corrections after review

And getting rid of some other compilation warnings
Signed-off-by: Gwendal Roulleau <gwendal.roulleau@gmail.com>

* Fix some registration errors  and allow the binding to load the simple module remotely

Signed-off-by: Gwendal Roulleau <gwendal.roulleau@gmail.com>

* Small corrections after reviews

initialize audiosink in a thread with scheduler.submit
clear some warning related code.

Signed-off-by: Gwendal Roulleau <gwendal.roulleau@gmail.com>
Better interruptexception handling

* Fix two small concurrency bugs

Signed-off-by: Gwendal Roulleau <gwendal.roulleau@gmail.com>

Co-authored-by: Gwendal Roulleau <gwendal.roulleau@gmail.com>
2021-04-09 22:44:38 +02:00
Connor Petty
89d735bb0f
[bluetooth] Changed characteristic read/write to use CompletableFutures (#8970)
Signed-off-by: Connor Petty <mistercpp2000+gitsignoff@gmail.com>
2021-04-09 22:23:28 +02:00
Christoph Weitkamp
1822f77b07
Initialize connection to devices asynchronously (#9228)
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2021-04-09 21:55:00 +02:00
Hilbrand Bouwkamp
13a58b9458
Adds exceptions for KarafAddonFeatureCheck (#8613)
* Adds exceptions for KarafAddonFeatureCheck

Signed-off-by: Hilbrand Bouwkamp <hilbrand@h72.nl>
2021-04-08 22:55:29 +02:00
Wouter Born
5d99a7f524
[dsmr] Use ThingHandlerService for discovery (#9044)
This simplifies the DSMRHandlerFactory code so it no longer needs to register and keep track of a discovery service for each bridge.

Also contains a few other improvements:

* more constructor injection
* add a few missing @NonNullByDefault on test classes

Signed-off-by: Wouter Born <github@maindrain.net>
2021-04-08 22:49:14 +02:00
Hans-Jörg Merk
fdada9a155
[wemo] add annotations and remove usage of apache.commons.* (#9829)
* [wemo] add annotations and remove usage of apache.commons.*

Also-by: Wouter Born <github@maindrain.net>
Signed-off-by: Hans-Jörg Merk <github@hmerk.de>
2021-04-08 22:46:46 +02:00
Scott H
8521756abb
Fix Zoneminder Binding Action examples (#10484)
Signed-off-by: Scott Hanson <scooter_seh@yahoo.com>
2021-04-08 22:43:34 +02:00
Christoph Weitkamp
a57065c8c0
[deconz] Prevent exception when formatting value (#10486)
- Prevent exception when formatting value

Fixes #10295 

Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2021-04-08 22:42:15 +02:00
Kai Kreuzer
11b24a551a
[bluetooth] Graciously handle systems without DBus (#10153) 2021-04-08 22:27:41 +02:00
Dan Cunningham
c5a2882a16
[openhab-cloud] Fixes Jetty upgrade issue (#10487)
This removes the ResponseListener class and replaces it with lambda functions for the various Jetty response listeners. This seems to fix our duplicate onContent issue in #10470 , although i'm not at all clear why.
Fixes #10470

Signed-off-by: Dan Cunningham <dan@digitaldan.com>
2021-04-08 22:12:44 +02:00
Ondrej Pecta
16614254c8
[somfytahoma] fixed action groups execution (#10488)
Fixes #10489

Signed-off-by: Ondrej Pecta <opecta@gmail.com>
2021-04-08 14:01:31 +02:00
Christoph Weitkamp
223a745946
[tr064] Use Util.getAndUnmarshalXML method to retrieve phonebook (supports timeout 5s and caching) (#10447)
Fixes #10436

Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2021-04-07 18:38:22 +02:00
lolodomo
8ab37ce285
[bindings d-e] Fix exception handling (Jetty HTTP client) (#10476)
Fixes #10474

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2021-04-06 17:37:19 +02:00
lolodomo
fed460218e
[bindings a-c] Fix exception handling (Jetty HTTP client) (#10467)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2021-04-06 17:30:12 +02:00
lolodomo
a509c3b638
[sonyprojector] Fix handling of InterruptedException (Thread.sleep) (#10458)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2021-04-06 08:47:20 +02:00
lolodomo
c9c52124e9
[sonos] Fix handling of InterruptedException (Thread.sleep) (#10459)
* [sonos] Fix handling of InterruptedException (Thread.sleep)

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

* Avoid catching Exception

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2021-04-05 15:15:28 +02:00
lolodomo
c0445629dd
[rotel] Fix handling of InterruptedException (Thread.sleep) (#10460)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2021-04-05 15:14:11 +02:00
lolodomo
fbea2f3535
[freebox] Fix handling of InterruptedException (Thread.sleep) (#10462)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2021-04-05 15:13:38 +02:00
lolodomo
80ffaeec7b
[powermax] Fix handling of InterruptedException (Thread.sleep) (#10463)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2021-04-05 15:06:44 +02:00
lolodomo
d39e24bdf0
[remoteopenhab] Avoid catching Exception (#10461)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2021-04-05 15:05:42 +02:00
lolodomo
782fe0eb8f
[somfytahoma] Fix code analysis warnings (#10466)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2021-04-05 15:01:17 +02:00
lolodomo
6e44b1ca15
[bindings s-z] Fix deprecated tag "required" (#10457)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2021-04-05 11:19:45 +02:00
Martin Herbst
45ec538a40
[homematic] Some fixes and support for new device versions (#10438)
* Removed method that was already marked as deprecated

Signed-off-by: Martin Herbst <develop@mherbst.de>

* Handle HM-ES-TX-WM with firmware version >= 2.0 as different device

The device provides different data points (channels) depending on the
firmware version. Therefore devices with a firmware version >= 2.0 are
handled as a different device.

Fixes #9793

Signed-off-by: Martin Herbst <develop@mherbst.de>

* Don't change uninitialized thing state automatically to online

Signed-off-by: Martin Herbst <develop@mherbst.de>

* Listen to all network interfaces instead of limiting it to only one

This also makes the specification of a separate bind address
superfluous.

Fixes #9855

Fixes #10075

Signed-off-by: Martin Herbst <develop@mherbst.de>

* Add support for HmIP-eTRV-C-2 device

The event messages received for this device are not correctly formatted
and thus some special treatment for at least one data point is required.


Signed-off-by: Martin Herbst <develop@mherbst.de>

* Spotless formatting applied

Signed-off-by: Martin Herbst <develop@mherbst.de>
2021-04-04 19:04:37 +02:00
Christoph Weitkamp
15f69b9011
[pushover] Added exception handling and synchronized (#10437)
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2021-04-04 18:58:16 +02:00
Arjen Korevaar
aad3641368
[openthermgateway] add new statistics channels (#10203)
* Added new channels

Signed-off-by: Arjen Korevaar <a.korevaar@mephix.com>

* Fixed typo in channels

Signed-off-by: Arjen Korevaar <a.korevaar@mephix.com>

* Added UoM for hours count channels

Signed-off-by: Arjen Korevaar <a.korevaar@mephix.com>
2021-04-04 18:48:23 +02:00
lolodomo
c1258d78ce
[somfytahoma] Avoid potentiel NPE (#10453)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2021-04-04 17:34:25 +02:00
rfaelens
c738b212ec
[comfoair] Update README.md (#10427)
* Update README.md

Avoid confusion connecting RS232 to a CAN bus, wasting days of work...

* Update bundles/org.openhab.binding.comfoair/README.md

Co-authored-by: boehan <boehan@users.noreply.github.com>

Co-authored-by: boehan <boehan@users.noreply.github.com>
2021-04-03 22:57:50 +02:00
Kai Kreuzer
66dbc6fbf0
[hdpowerview] Correctly embed dependency in binding (#10450)
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2021-04-03 21:59:15 +02:00
lolodomo
a89e1788f2
[bindings o-r] Fix deprecated tag "required" (#10452)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2021-04-03 21:57:54 +02:00
David
e2877fac83
[enocean] Update README.md (#10443) 2021-04-03 19:44:18 +02:00
lolodomo
3525c9123e
[somfytahoma] New channel on the gateway to execute scenes (#10346)
* [somfytahoma] New channel on the bridge to execute scenes

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

* Review comment: documentation updated

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

* Console command added to list the scenarios IDs

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

* Update state of new channel

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

* Review comment: set auto update policy to recommend

Signed-off-by: Laurent Garnier <lg./hc@free.fr>
2021-04-03 13:35:02 +02:00
lolodomo
4ff238d3f4
[somfytahoma] Faster feedback for commands initiated by the binding (#10409)
Also fix references to OH2

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2021-04-02 22:31:35 +02:00
Ross Kennedy
e255dcd570
Update README.md (#10379)
Try to clarify beginners should not be using channels direct on broker Bridge Thing.

Signed-off-by: Ross Kennedy <rossko@culzean.clara.co.uk>
2021-04-02 22:26:32 +02:00
Matt
089ee3227a
[haywardomnilogic] Fix bridge thing status upon re-establishing server comms (#10371)
* Update HaywardBridgeHandler to set thingstatus online upon succesful getTelemetryData

Signed-off-by: matchews <mmyers75@icloud.com>

* updated default endpoint url

Signed-off-by: matchews <mmyers75@icloud.com>

* Bug fixes.  Prevent bridge status toggling if a single request fails.  Don't evaluate xml if http response if != 200

Signed-off-by: matchews <mmyers75@icloud.com>
2021-04-02 22:24:31 +02:00
Christian Niessner
f8f0d8972b
[tacmi] Fix unintended toggleing and add update policy (#10095)
* [tacmi] TA-CMI: Improvements on Schema API Connection

* Removed deprecation warning
* Ensure channels get re-added when removed manually
* Debounce unintended toggeling when status-polling overlaps with new commands.
  Status fetching sometimes takes longer and then it occurs the status page reports still the old/previous value.
  With this change values for things will be ignored when the thing was updated after the start of the page fetch.

Signed-off-by: Christian Niessner <github-marvkis@christian-niessner.de>

* [tacmi] TA-CMI: Schema API Connection: Bugfix: On initialization check if custom channel types still exists and re-create them when needed...

Signed-off-by: Christian Niessner <github-marvkis@christian-niessner.de>

* [tacmi] TA-CMI: Schema API Connection: Improvement: channels now have a 'updatePolicy' configuration parameter to specify the update behaviour

Signed-off-by: Christian Niessner <github-marvkis@christian-niessner.de>

* [tacmi] TA-CMI: Improvements & some initial SI-Units for the COE connection handler

Signed-off-by: Christian Niessner <github-marvkis@christian-niessner.de>

* [tacmi] TA-CMI: only catch URISyntaxException instead of generic Exception

Signed-off-by: Christian Niessner <github-marvkis@christian-niessner.de>
2021-04-02 22:15:38 +02:00
Kai Kreuzer
05b25f3ab1
Rename README.MD to README.md 2021-04-02 10:46:26 +02:00
Bob A
4b70da49db
[lutron] Add support for bridged RadioRA (classic) systems (#10302)
Signed-off-by: Bob Adair <bob.github@att.net>
2021-03-31 22:44:58 +02:00
Markus Michels
1783017be4
[shelly] New Shelly Manager (more detailed information, status, integrated firmware upgrade) (#10276)
* This PR brings in the Shelly Manager, check doc/ShellyManager.md for
additional information.
* Restart Device in Manager when CoIoT Mode has changed
* Updated pattern to extract version info (thanks @fwolter), CoIoT warning
for non-Motion devices fixed; AdvancedUsers.md now refers to Shelly
Manager
* Modified message when beta is detected (reference to 1.5.7 release build
confuses users running 1.10 beta)
* Fix for Enable/Disable AP roaming
* Handle button events also in detached mode, README updated
* Ignore inconsistent version string for initial 1.10 releases
* removed display of firmware id (there are various formats and it has
no value)

Signed-off-by: Markus Michels <markus7017@gmail.com>
2021-03-31 22:42:33 +02:00
Christoph Weitkamp
b9d3c35732
[pushover] Added universal action providing all available parameters (#10422)
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2021-03-31 22:00:29 +02:00
Fabian Wolter
ee49e18734
[lcn] Add dimmer profile parameter to be accessible via UI (#10305)
Signed-off-by: Fabian Wolter <github@fabian-wolter.de>
2021-03-31 21:52:18 +02:00
Nathan Prins
b9fe3bef04
[pioneeravr] Added channel for changing MCACC Memory profile on AVR (#10329)
Signed-off-by: Nathan Prins <nathanprins@hotmail.com>
2021-03-31 21:50:42 +02:00
Matthew Skinner
ec8f411774
Fix warning at the wrong time. (#10351)
Signed-off-by: Matthew Skinner <matt@pcmus.com>
2021-03-31 21:48:19 +02:00
Gabor Bicskei
d64f13351e
Fix #6939 - Forced channel triggering without previous state (#10356)
Signed-off-by: Gabor Bicskei <gbicskei@gmail.com>
2021-03-31 21:47:26 +02:00
jf114
6f516ee7ac
[upnpcontrol] Small correction to UpnpControl Binding README.md (#10393)
In the Thing Configuration section starting at Line 40, the code example had parameters transposed versus the preceding description and the true operation of the binding.  The correction puts the parameters included in the original example in the thing that they belong with in Lines 80 and 81.  The optional notification parameters of the renderer were not included originally and I have left it like that.
2021-03-31 21:46:03 +02:00
Antonio Tapiador
bbbb3a8ebe
Fix battary_life property (#10394)
Viomi's property battery life seems to have a weird typo. The property's real name is `battary_life` instead of `battery_life`. Using the wrong name `battery_life` makes the other properties in the batch to be undefined: `"run_state","mode","err_state","battary_life","box_type"`

The correct name `battary_life` is already used in other projects like https://github.com/rytilahti/python-miio/blob/master/miio/viomivacuum.py#L316 or 0bed81ab4f/lib/robots/viomi/ViomiValetudoRobot.js (L254)

Signed-off-by: Antonio Tapiador del Dujo <atd@singularities.org>
2021-03-31 21:44:28 +02:00
Christoph Weitkamp
12b0908806
Set channel states to UNDEF instead of NULL; Fixed SAT warnings (#10421)
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2021-03-31 21:42:33 +02:00
Florian
aa97da083c
Clarify if username/password fields are required (#10416)
The fields are used to login with username and password instead of a refreshToken.
They're therefore not required.

Signed-off-by: Florian Schmidt <florian.schmidt.welzow@t-online.de>
2021-03-31 21:38:39 +02:00
Wouter Denayer
634ee3ca69
[daikin] add energy usage day & week (#9602)
* add energy usage day & week

Signed-off-by: Wouter Denayer <wouter@denayer.com>

* updated readme

Signed-off-by: Wouter Denayer <wouter@denayer.com>

* updated readme

Signed-off-by: Wouter Denayer <wouter@denayer.com>

* removed email from @author, set log lvl to trace for parsed strings

Signed-off-by: Wouter Denayer <wouter@denayer.com>

* fixed some some checkstyle warnings

Signed-off-by: Wouter Denayer <wouter@denayer.com>

* addressed some checkstyle warnings

Signed-off-by: Wouter Denayer <wouter@denayer.com>

* updated copyright to 2021

Signed-off-by: Wouter Denayer <wouter@denayer.com>

* made private static final Logger logger uppercase

Signed-off-by: Wouter Denayer <wouter@denayer.com>

* made this logger lowercase again

Signed-off-by: Wouter Denayer <wouter@denayer.com>

Co-authored-by: Wouter Denayer <wouter@denayer.com>
2021-03-31 19:59:16 +02:00
Marcin Czeczko
0eb48e6abe
[automower] Add planner, calendar and command channels (#8802)
* [Automower] Enhanced binding:
	- Added support for the planner and calendar data
	- Added command channels
	- Updated docs

Signed-off-by: Marcin Czeczko <marcin.czeczko@gmail.com>

* [Automower] Fixed consts with channel ids after removal of channel
groups. Improved the mower state update:
- Cache the last read state from API
- Use cached mower state so the items linked will always be up to date
  without the need to wait for API refresh period.
- Use timeZoneProvider to user user set timezone.

Signed-off-by: Marcin Czeczko <marcin.czeczko@gmail.com>

* Rolledback NotNullByDefault annotation

Signed-off-by: Marcin Czeczko <marcin.czeczko@gmail.com>
2021-03-31 10:31:17 +02:00
Andrew Fiddian-Green
ad7472847f
[velux] fix 'required' tag again (#10417)
Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
2021-03-30 21:34:07 +02:00
lolodomo
843e8d2904
[bindings l-n] Fix deprecated tag "required" (#10420)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2021-03-30 21:33:23 +02:00
lolodomo
62a0e7ac02
[somfytahoma] New method to send a command to several devices in the same place (#10347)
* [somfytahoma] New method to send a command to several devices in the same place

Also include the place into the inbox label (discovery)

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

* Review comment: remove unnecessary method

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2021-03-29 22:00:40 +02:00
lolodomo
bd56fd8e5d
[bindings a-k] Fix deprecated tag "required" (#10410)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2021-03-29 22:00:06 +02:00
Ondrej Pecta
89ae8afa49
[somfytahoma] Fixed bug causing Gateway and Actiongroups get never ONLINE (#10355)
Signed-off-by: Ondrej Pecta <opecta@gmail.com>
2021-03-28 18:52:33 +02:00
Sebastian Prehn
d2edd69f36
[lgwebos] Fix text message size bug (#10404)
Fixes #10403

Signed-off-by: Sebastian Prehn <sebastian.prehn@gmx.de>
2021-03-28 17:21:05 +02:00
Kai Kreuzer
1d8b0df4a7
[mecmeter] Initial contribution of mecmeter binding (#9075)
* Initial contribution of mecmeter binding

Also-by: Klaus Berger <klaus.berger@verbund.com>
Also-by: Florian Pazour <florian.pazour@verbund.com>
Signed-off-by: Kai Kreuzer <kai@openhab.org>

* addressed review feedback

Signed-off-by: Kai Kreuzer <kai@openhab.org>

* added codeowners entry

Signed-off-by: Kai Kreuzer <kai@openhab.org>

* addressed review comments

Signed-off-by: Kai Kreuzer <kai@openhab.org>
2021-03-28 11:20:21 +02:00
Christoph Weitkamp
b1e48e0db9
[openweathermap] Added support for Air Pollution API (#10343)
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2021-03-27 20:04:02 +01:00
Wouter Born
1fa1f54272
[picotts] Add null annotations (#10392)
Signed-off-by: Wouter Born <github@maindrain.net>
2021-03-27 18:34:00 +01:00
M Valla
bfa7f32dd5
Move to io.github.opewebnet4j 0.4.1 from Maven Central. Fixes #10298 and #10395 (#10397)
Signed-off-by: Massimo Valla <mvcode00@gmail.com>
2021-03-27 18:33:04 +01:00
Ion Marusic
767cbb19f0
[MiHome] Add a Bridge property for the network interface to be used for multicast traffic (#9619)
Signed-off-by: Ion Marusic <ion.marusic@gmail.com>
2021-03-27 17:43:57 +01:00
Nathan Prins
506ef2e115
[pioneeravr] Added support for Pioneer VSX-922 AVR (#10328)
Tested all channels and confirmed that they work for this model.

Signed-off-by: Nathan Prins <nathanprins@hotmail.com>
2021-03-26 18:33:03 +01:00
Christoph Weitkamp
0a2a6e738a
[sensebox] Gracefully handle JsonSyntaxException (#10348)
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2021-03-26 17:47:05 +01:00
Andrew Fiddian-Green
361a6726fc
[velux] Stability checks and improvements in slip io (#10119) 2021-03-26 17:13:37 +01:00
Wouter Born
6e1119a49a
Fix broken configfile GAV with karaf:kar (#10391)
The groupId variable results in the wrong configfile GAV when building a single KAR with karaf:kar for an add-on.

Signed-off-by: Wouter Born <github@maindrain.net>
2021-03-26 08:50:31 +01:00
Peter Schraffl
31dd73e93d
[bsblan] Updated the link to the BSB-LAN device repository in README.md (#10382)
Repository of the BSB-LAN device has been renamed.

Signed-off-by: Schraffl Peter <p.schraffl@gmx.at>
2021-03-25 18:23:27 +01:00
Hans-Jörg Merk
635127b0e5
Fix Typo in ReadMe (#10389) 2021-03-25 13:08:36 +01:00
Wouter Born
1d34872c61
[lifx] Improve firmware version support (#10384)
* [lifx] Improve firmware version support

When the firmware of a light is upgraded the supported features can change.
With these changes the binding uses the features based on the light firmware version.
Also corrects some of the temperature ranges based on the LIFX products description.

Signed-off-by: Wouter Born <github@maindrain.net>
2021-03-24 23:39:34 +01:00
Jan Gustafsson
5477fa5fb1
[tellstick] Fix for NPE (#10377) (#10378)
Signed-off-by: Jan Gustafsson <jannegpriv@gmail.com>
2021-03-23 08:39:17 +01:00
Gabor Bicskei
c709f52d66
GPS accuracy state display pattern changed (#10374)
Signed-off-by: Gabor Bicskei <gbicskei@gmail.com>
2021-03-22 19:06:16 +01:00
lolodomo
0d9b20a5e3
[pulseaudio] Fix deprecated tag "required" (#10373)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2021-03-21 21:50:56 +01:00
lolodomo
1c9cd6e2cb
[bticinosmarther] Fix deprecated tag "required" (#10372)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2021-03-21 21:49:56 +01:00
Conte Andrea
2e770a375e
[openwebnet] add support for Energy Meter (#10191)
Signed-off-by: Andrea Conte <andrea@conte.com>
2021-03-21 20:26:21 +01:00
lolodomo
65b7467e56
[enocean] Do not set attr "required" for the param "senderIdOffset" (#10370)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2021-03-21 19:18:11 +01:00
lolodomo
36d5d1fe1b
[plclogo] Fix deprecated tag "required" (#10368)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2021-03-21 19:17:49 +01:00
lolodomo
8293647df5
[dmx] Fix deprecated tag "required" (#10363)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2021-03-21 19:17:27 +01:00
lolodomo
5c3941e0ad
[miele] Fix deprecated tag "required" (#10369)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2021-03-21 17:12:45 +01:00
Johannes Ott
cdd99c9e5b
[influxdb] Add option for using metadata value as measurement name (#9943)
* Add option for using metadata value as measurement name

Also-by: Joan Pujol <joanpujol@gmail.com>
Signed-off-by: Johannes Ott <info@johannes-ott.net>
2021-03-21 16:48:16 +01:00
lolodomo
bc3725a9a3
[tellstick] Fix deprecated tag "required" (#10367)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2021-03-21 16:42:56 +01:00
lolodomo
de15410747
[wemo] Fix deprecated tag "required" (#10365)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2021-03-21 16:42:13 +01:00
lolodomo
17091e7141
[digitalstrom] Fix deprecated tag "required" (#10364)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2021-03-21 16:41:35 +01:00
lolodomo
47ed851aa6
[velux] Fix deprecated tag "required" (#10362)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2021-03-21 16:40:29 +01:00
lolodomo
88022b1125
[somfytahoma] Improved handling of target temperature command (#10336)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2021-03-21 14:23:07 +01:00
lolodomo
b707ffb8c4
[knx] Fix deprecated tag "required" (#10361)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2021-03-21 14:11:05 +01:00
lolodomo
ebdb9164a3
[enocean] Fix deprecated tag "required" (#10353)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2021-03-20 16:13:55 +01:00
lolodomo
14888e0612
[somfytahoma] Fix deprecated tag "required" (#10352)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2021-03-20 16:10:26 +01:00
lolodomo
2c0015dda7
[onewire] Fix deprecated tag "required" (#10354)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2021-03-20 16:09:32 +01:00
Björn Brings
a38b51e256
[ValloxMV] Adding Co2 measurement (#10324)
Signed-off-by: bjoernbrings <bjoernbrings@web.de>
2021-03-19 21:24:39 +01:00
Kai Kreuzer
104360e094
Change dependency group id to version available on Maven Central (#10350)
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2021-03-19 13:42:45 +01:00
Wouter Born
fe0c35d22f
Fix Java and Jetty deprecations (#10349)
Signed-off-by: Wouter Born <github@maindrain.net>
2021-03-19 10:40:14 +01:00
Wouter Born
580f293766
Resolve itest runbundles for Gson and Commons Lang upgrades and fix JsonParser deprecations (#10345)
* Resolve itest runbundles for Gson and Commons Lang upgrades
* Fix JsonParser deprecations too
* Fix feature verification

Signed-off-by: Wouter Born <github@maindrain.net>
2021-03-18 12:15:15 +01:00
Kai Kreuzer
009208adee
[nanoleaf] Refactored code to use core features and more (#10101)
This is a bigger refactoring bringing these (breaking) changes:
- System channel types are used where applicable
- Obsolete channels (such as power) were removed
- Some channel types were marked "advanced"
- "Tap" channels were converted to a trigger channel type providing a "system button" behavior
- Layout can now be requested by a console command
- Command options for effect channel are dynamically provided
- Log level has been reduced where appropriate
- HTTP request timeouts were reduced
- handleRemoval now returns quickly as expected
- Fixed hanging thread / infinite loop when requesting layouts for non-square panels
- Various other smaller enhancements and fixes
- Documentation has been adapted accordingly

Signed-off-by: Kai Kreuzer <kai@openhab.org>
2021-03-17 09:12:04 +01:00
Markus Michels
c582dda1d5
[magentatv] Adapt to new Telekom OAuth flow (required to retrieve the userId) (#10267)
Signed-off-by: Markus Michels <markus7017@gmail.com>
2021-03-16 21:54:55 +01:00
Georgios Moutsos
754751c19b
[caddx] Corrected wrong casing on enum members to uppercase (#10344)
Signed-off-by: Georgios Moutsos <georgios.moutsos@gmail.com>
2021-03-16 20:53:50 +01:00
Ethan Dye
df4a22ba9b
[OmniLink] Minor restructuring of binding code (#10280)
* Minor restructuring of binding code

Signed-off-by: Ethan Dye <mrtops03@gmail.com>

* Ensure that SystemType is present before switch

Signed-off-by: Ethan Dye <mrtops03@gmail.com>

* Log on invalid System Type

Signed-off-by: Ethan Dye <mrtops03@gmail.com>
2021-03-16 20:51:25 +01:00
KHOne23
63450a32c3
[nuki] Update README.md (#10342) 2021-03-16 13:13:41 +01:00
Wouter Born
f3503430b4
Rework more commons-lang usages (#10314)
* Reworks many commons-lang usages to use standard Java
* Updates all remaining commons.lang imports to commons.lang3

Related to openhab/openhab-addons#7722

Signed-off-by: Wouter Born <github@maindrain.net>
2021-03-16 12:38:16 +01:00
Matthew Skinner
16fba31556
[ipcamera] Improve Hikvision alarm reliability (#10319)
Signed-off-by: Matthew Skinner <matt@pcmus.com>
2021-03-15 23:58:11 +01:00
Christoph Weitkamp
04da89cc4f
[openweathermap] Added hint about deprecation of UV Index API (#10326)
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2021-03-15 23:25:32 +01:00
Georgios Moutsos
279e87851c
[caddx] Correct thing status on bridge initialization (#10317)
* Log event message construction improved

Signed-off-by: Georgios Moutsos <georgios.moutsos@gmail.com>

* Changed level to debug for some logs

Signed-off-by: Georgios Moutsos <georgios.moutsos@gmail.com>

* Added status request commands to b send when the bridge initializes

Signed-off-by: Georgios Moutsos <georgios.moutsos@gmail.com>

* Don't change the label of the zone

Signed-off-by: Georgios Moutsos <georgios.moutsos@gmail.com>

* Removed comment

Signed-off-by: Georgios Moutsos <georgios.moutsos@gmail.com>
2021-03-15 23:20:22 +01:00
Bernd Weymann
85a66994b4
[e3dc] documentation fix (#10337)
* Fixed mixed up description in thing.xmls, readme.de and translation

Signed-off-by: Bernd Weymann <bernd.weymann@gmail.com>

* spotless run

Signed-off-by: Bernd Weymann <bernd.weymann@gmail.com>
2021-03-15 23:15:00 +01:00
Kai Kreuzer
f972d06db9
[airvisualnode] Change dependency group id to version available on Maven Central (#10333)
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2021-03-15 16:03:57 +01:00
Wouter Born
ee59803df8
Remove org.jetbrains.annotations.NotNull (#10334)
Only Eclipse JDT annotations should be used, see:

https://www.openhab.org/docs/developer/guidelines.html#null-annotations

Signed-off-by: Wouter Born <github@maindrain.net>
2021-03-14 23:22:52 +01:00
lolodomo
a5a7070d71
[sonos] Fix discovery of Ikea SYYMFONISK models (#10323)
Fix #10313

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2021-03-14 18:16:40 +01:00
Scott H
5f1dd38083
[chromecast] Added play URL actions to chromecast binding (#10245)
* Added play url actions to chromeCast binding

Signed-off-by: Scott Hanson <scooter_seh@yahoo.com>
2021-03-14 18:16:30 +01:00
lolodomo
849442cd47
[somfytahoma] Setting of channels at init + UoM for channels (#10300)
Fix #10291
Fix #10285

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2021-03-14 14:20:52 +01:00
Mark Herwege
286bced20e
[nikohomecontrol] Add shutter invert and fix connection with NHC does not recover (#10281)
* Ignore devices.changed event.

Signed-off-by: Mark Herwege <mark.herwege@telenet.be>

* Null warnings cleanup.

Signed-off-by: Mark Herwege <mark.herwege@telenet.be>

* Remove @NonNullByDefault({})

Signed-off-by: Mark Herwege <mark.herwege@telenet.be>

* Shorten logger messages.

Signed-off-by: Mark Herwege <mark.herwege@telenet.be>

* Introduce rollershutter invert flag.

Signed-off-by: Mark Herwege <mark.herwege@telenet.be>

* Add null annotations.

Signed-off-by: Mark Herwege <mark.herwege@telenet.be>

* Connection resilience improvements and log level cleanup.

Signed-off-by: Mark Herwege <mark.herwege@telenet.be>

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

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

Co-authored-by: Fabian Wolter <github@fabian-wolter.de>
2021-03-13 20:44:36 +01:00
GiviMAD
affc082fb5
[androiddebugbridge] fix power wake lock and minor fixes (#10316)
Signed-off-by: Miguel <miguelwork92@gmail.com>
2021-03-13 20:26:57 +01:00
Matthew Skinner
f085dc02a1
[espmilighthub] Fix things stay initializing (#10315)
Fixed bug caused by asking a bridge thing for its bridge's UID instead of just the UID.

Signed-off-by: Matthew Skinner <matt@pcmus.com>
2021-03-13 20:25:08 +01:00
mlobstein
493f8c4ebe
[oppo] Fix setting verbose mode at startup issue (#10306)
Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>
2021-03-13 20:21:27 +01:00
Michael Wodniok
c6423120c9
[icalendar] Fixes #10303: small changes to docs (#10304)
Signed-off-by: Michael Wodniok <michi@noorganization.org>
2021-03-13 20:18:37 +01:00
lolodomo
94e8e8b3b6
[somfytahoma] Add tag representation_property in things XML files (#10299)
Fix #10296

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2021-03-13 20:16:18 +01:00
mlobstein
c8eb88fc53
[atlona] Fix PROPERTY_VERSION not displaying correct value on UHD models (#10279)
Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>
2021-03-13 20:10:05 +01:00
Jürgen Baginski
b846bf1c56
[openhabcloud] Add note about missing ability to delete things/items/rules (#10258)
Signed-off-by: Jürgen Baginski <opus42@gmx.de>
2021-03-13 20:05:52 +01:00
DerFetzer
6b8589440f
[WLED] Zero out MSB as it will be treated as white (#10252)
Signed-off-by: Matthias Fetzer <kontakt@der-fetzer.de>
2021-03-13 20:00:42 +01:00
TomoKRK
a213d3d296
[yeelight] Add mono4 and strip6 (#10222)
Adding additional models to deviceType enum - "mono4" and "strip6" (please note this is not a typo in "strip6" - six is at the end and without 'e')   - based on the analysis of the debug info those new models are not being recognised by Yeelight binding in OH3 and as a result the bulb or the led stripe is constantly showing offline despite correct device id.
2021-03-13 19:52:33 +01:00
Marc
89fcefdb7c
[mongodb] Collection per Item (#10202)
Put Item in separate Collections

Signed-off-by: Marc <iseli_marc@hotmail.com>
2021-03-13 19:48:19 +01:00
eugen
e7950ddbd1
[homekit] make usage of mDNS configurable (#10286)
* make usage of mDNS configurable

Signed-off-by: Eugen Freiter <freiter@gmx.de>
2021-03-12 17:18:09 +01:00
Wouter Born
f3a517e4e1
[lifx] Fix all SAT findings (#10307)
* Remove dependency on commons-lang classes
* Use HexUtils
* Fix/add missing initial contribution author lines
* Add unit test for MACAddress
* Rename protocol package to dto

Signed-off-by: Wouter Born <github@maindrain.net>
2021-03-10 09:52:39 +01:00
Michael Rumpf
e9cd6de033
[mcp23017] Fixes #9503 by updating Pi4j to the recently released version 1.4. (#10293)
This version introduces Java 11 compatibility by implementing a missing
function as native code and thus dropping the dependency to the
function jdk.internal.misc.SharedSecrets.
See https://github.com/Pi4J/pi4j/issues/442 for details.

Signed-off-by: Michael Rumpf <michael@rumpfonline.de>
2021-03-07 16:31:39 +01:00
Wouter Born
051c764789
Upgrade Jackson to 2.12.2 (#10288)
* Adds a jackson.version property to simplify managing the version
* Make sure the specified version is used as add-on dependency by excluding Jackson from transitive dependencies
* Use openhab.tp-jackson feature with dynamodb
* Remove jackson-dataformat-cbor dependency from features which is now also provided by the openhab.tp-jackson feature

Signed-off-by: Wouter Born <github@maindrain.net>
2021-03-07 10:19:32 +01:00
Ethan Dye
2939e8b84b
[OmniLink] Use jomnilink for command numbers (#10273)
Signed-off-by: Ethan Dye <mrtops03@gmail.com>
2021-03-03 14:04:38 -08:00
Markus Michels
3af0392724
[shelly] Improved Motion Support, Support CoIoT Unicast, fixes (#10220)
* New feature: Shelly Manager

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

* Removed Shelly Manager to reduce PR size (will be another PR)

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

* CoIoT initialization handles new COIOT options for the device,
sensorSleepTime is now adadvanced; Roller set position 0/100 is mapped
to UP/DOWN; Reference to Shelly Manager removed from README

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

* Nullpointer check added on settings.coiot (4Pro has this null)

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

* README updated

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

* Use regex to extract fw version from string, check fw version to detect
restarted, README updated, moved channel sensorSleepTime from group
device to sensors

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

* Review changes

Signed-off-by: Markus Michels <markus7017@gmail.com>
2021-03-03 17:43:02 +01:00
mlobstein
51ddbdb84d
[epsonprojector] Fix ONLINE status reporting (#10266)
* Epsonprojector - Fix ONLINE status reporting
* review changes

Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>
2021-03-02 10:21:39 -08:00
Justin
037bfa77ea
[http] Add intersection character to descriptions. (#10250)
* [http] Add intersection character to descriptions.
* Adjust description to pass spotless (line widths).

Signed-off-by: Justin Wilczek <justinwilczek@gmail.com>
2021-03-01 19:29:24 -08:00
Kai Kreuzer
97c30afaab
[ecobee] Fix logging levels (#10255)
* Fix logging levels
* addressed review comment

Signed-off-by: Kai Kreuzer <kai@openhab.org>
2021-03-01 19:23:12 -08:00
Marcel
22390b203b
[miio] add & improve dreame vacuums p2036.p2041o,p2056o,p2057 (#10254)
Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
2021-03-01 19:07:11 -08:00
Christian Güdel
62e829f968
[Tesla] Add SSO handler to authenticate against Tesla SSO service (#10259)
Signed-off-by: Christian Güdel <cg@dmesg.ch>
2021-03-01 15:19:10 +01:00
Scherzin83
f6282cd50e
[http] FIX Player Converter State Issue #10066 (#10213)
Signed-off-by: Matthias Scherzinger <scherzin@outlook.com>
2021-02-28 21:31:22 +01:00
Piwoxar
583509e49d
Additional check for convert to double (#10224)
Signed-off-by: Hans-Dietert Loew <hdloew@googlemail.com>
2021-02-28 21:27:53 +01:00
BigGeorgeTx
3f9f3f25f6
Update README.md (#10261)
fix typo (cannels to channels)
2021-02-28 21:24:19 +01:00
Rene Scherer
f7ab69689f
[surepetcare] Sure Petcare Binding (#9713)
Signed-off-by: Rene Scherer <rene@scherer-online.com>
2021-02-28 18:39:13 +01:00
Marcel
f6521f6fd9
[mmio] sync device list to latest and cleanup chuangimi plug (#10249)
Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
2021-02-26 21:23:16 -08:00
Dan Cunningham
42edf53a5a
[MyQ] Initial commit of the MyQ binding for OH3 (#9347)
* Rebase with main, update license headers
* Small PR cleanups
* One last small PR cleanup
* Syntactical sugar
* Updated error handling
* Spelling mistake

Signed-off-by: Dan Cunningham <dan@digitaldan.com>
2021-02-26 14:50:25 -08:00
Marcel
fdc22c0a4c
[miio] add support for zhimi.airpurifier.vb2 Mi Air Purifier Pro H (#10183)
* [miio] add support for zhimi.airpurifier.vb2 Mi Air Purifier Pro H

close #10174 

* [miio] update modes to values visible in app
* [miio] cleanup and fix valuu mapping
* [miio] fix duration

Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
2021-02-26 10:58:56 -08:00
Christopher Schirner
522586156c
[ftpupload] Add configurable passive port (#10127)
* Add configurable passive port
* Don't use apache library; Use standard Java
* Ran spotless:apply
* Update readme

Signed-off-by: schinken <schinken@bamberg.ccc.de>

Co-authored-by: Hilbrand Bouwkamp <hilbrand@h72.nl>
2021-02-26 10:55:19 -08:00
Mark Hilbush
dc9c2f3fe8
[squeezebox] Fix for Spotify and Tidal favorites (#10244)
Signed-off-by: Mark Hilbush <mark@hilbush.com>
2021-02-26 10:51:58 -08:00
Marcel
8fde1c3988
[miio] fix bundle restart error (#10190)
Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
2021-02-25 15:53:19 -08:00
eugen
23ff9a0221
[homekit] make use of openHAB mDNS service (#10076)
* make use of openHAB mdns service
* remove unnecessary null check
* add network configuration back

Signed-off-by: Eugen Freiter <freiter@gmx.de>
2021-02-25 15:51:07 -08:00
Marcel
d16bb98ed3
[miio] add support 5 zhimi heaters (#10231)
* [miio] Add zhimi heaters

add new
zhimi.heater.ma2 Mi Smart Space Heater S
zhimi.heater.ma3 Mi Smart Baseboard Heater E
zhimi.heater.mc2 Mi Smart Space Heater S
zhimi.heater.na1 Smartmi Smart Fan
zhimi.heater.nb1 Smartmi Smart Fan Heater

improving existing
zhimi.heater.za1 Smartmi Radiant Heater Smart Version
zhimi.heater.za2 Smartmi Smart Convector Heater 1S
zhimi.heater.zb1 Smartmi Smart Convector Heater 1S

* [miio] add some more options
* remove accidental development file
* [miio] fix number:duration
* [miio] remove channeltype from heaters

Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
2021-02-25 15:45:56 -08:00
Pete
cdf044c070
[bluetooth] Fix disappearing bluetooth devices in Inbox (#10187)
* [bluetooth] Notify things again when they are removed from listeners like Inbox
* [bluetooth] Add javadoc on retractDiscoveryResult()

Signed-off-by: Peter Rosenberg <prosenb.dev@gmail.com>
2021-02-25 14:51:34 -08:00
Christoph Weitkamp
71ffce707e
[deconz] Pimp properties and channel types with proper categories (#10217)
* Pimp properties and channel types with proper categories
* Update bundles/org.openhab.binding.deconz/src/main/resources/OH-INF/thing/sensor-thing-types.xml

Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>

Co-authored-by: Matthew Skinner <matt@pcmus.com>
2021-02-25 14:13:59 -08:00
Bob A
fb26536d97
[alarmdecoder] Doc update (#10143)
* [alarmdecoder] Doc update

Signed-off-by: Bob Adair <bob.github@att.net>
2021-02-25 14:12:12 -08:00
Mark Hilbush
9af7ae8884
[squeezebox] Add sleep channel (#10196)
Signed-off-by: Mark Hilbush <mark@hilbush.com>
2021-02-25 13:56:02 -08:00
Pawel Pieczul
3a19b29662
[loxone] Support for HTTPS websocket connections. (#10185)
Signed-off-by: Pawel Pieczul <pieczul@gmail.com>
2021-02-25 13:46:04 -08:00
Marcel
e86cc6b219
[miio] add support for Smartmi Standing Fan 3 zhimi.fan.za5 (#10229)
Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
2021-02-25 10:30:48 -08:00
eugen
50a01b439d
[homekit] extend support of inverted flag to other accessories (#10212)
Signed-off-by: Eugen Freiter <freiter@gmx.de>
2021-02-25 10:28:34 -08:00
Marcel
6d2211a2e9
[miio] add support for deerma Humidifier (#10181)
* [miio] deerma Humidifier

Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
2021-02-25 10:25:39 -08:00
Marcel
d1d42c4de9
[miio] additional vacuum channels for advanced rules (#10180)
* [miio] add feature channels
* [miio] additional vacuum channels for advanced rules
* [miio] update readme

Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
2021-02-25 10:22:45 -08:00
Kai Kreuzer
8928e8520c
[bluetooth] Adapt labels of discovery results to standard (#10209)
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2021-02-25 10:17:39 -08:00
MikeTheTux
a9bddff5ad
[keba] Improve connection establishment and stability (#10179)
Signed-off-by: Michael Weger <weger.michael@gmx.net>

* - worked in review findings
- introduced QuantityTypes
- removed redundant pwmpilotcurrent (duplicate of maxpilotcurrent)
- added maxpilotcurrentdutycyle
2021-02-25 16:29:40 +01:00
Matthew Skinner
6b624f0e1c
[ipcamera] Improve Dahua alarms (#10078)
Signed-off-by: Matthew Skinner <matt@pcmus.com>
2021-02-24 18:07:48 +01:00
Fredo70
7050a1478e
[mystrom] Add support for myStrom Bulb (#9910)
* Add support to myStrom Bulb

Add properties to myStrom devices and an action to refresh the properties.

Signed-off-by: Frederic Chastagnol <fchastagnol@fredoware.ch>

* Fixes according to review comments

Signed-off-by: Frederic Chastagnol <fchastagnol@fredoware.ch>

* Update bundles/org.openhab.binding.mystrom/README.md

Co-authored-by: J-N-K <J-N-K@users.noreply.github.com>

* Fixes according to review comments

Signed-off-by: Frederic Chastagnol <fchastagnol@fredoware.ch>

* Use system color temperature channel type

channel type system.color-temperature is used and values mapped from 1-18 to 0-100%

Signed-off-by: Frederic Chastagnol <fchastagnol@fredoware.ch>

* Better tracking of colour and brightness values

Format power state
Signed-off-by: Frederic Chastagnol <fchastagnol@fredoware.ch>

Co-authored-by: J-N-K <J-N-K@users.noreply.github.com>
2021-02-23 23:33:12 +01:00
Markus Michels
fd1f7ebe75
[shelly] Add Shelly Motion, minor improvements (#10054)
* Support for Shelly Motion, some minotr improvements, README updated

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

* minor changes

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

* Bug fixes from hardening

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

* review changes applied

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

* review change

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

* review changes, fix creations of sensors#motion and device#externalPower
for H%T; moved images/uiroller*.png to doc/images

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

* missing in last fix

Signed-off-by: Markus Michels <markus7017@gmail.com>
2021-02-23 09:48:13 +01:00
Stefan Triller
fe7b91f4b7
[novafinedust] Use fire and forget commands to configure device (#10210)
Since the device does not follow its own protocol, we do not evaluate its
replies to our configuration commands but rather do a fire and forget.

Signed-off-by: Stefan Triller <github@stefantriller.de>
2021-02-22 19:13:51 +01:00
lolodomo
17f7041524
[voicerss] Add support for voices (#10184)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2021-02-20 17:21:52 +01:00
Daniel Weber
fd1c96677e
[enocean] Improved device discovery and added SMACK capability (#10157)
* Added SMACK teach in
 * Teached in devices can be teach out on a repeated teach in
 * Improved detection of RPS devices, device types can be better distinguished now
 * Bugfixes for discovery fallback to GenericThings
 * Responses to message requests are send automatically now, no need for linking SEND_COMMAND channel

Fixes #10156

Signed-off-by: Daniel Weber <uni@fruggy.de>
2021-02-20 17:13:28 +01:00
Andrew Fiddian-Green
a9f440dba2
[hue] Eliminate NPE in #9985 (#10199)
* [hue] extra null check

Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
2021-02-19 20:16:26 +01:00
Pantastisch
1c5f0d1797
[icloud] Add german translation (#10164)
Signed-off-by: Panagiotis Doulgeris panagiotis.doulgeris@outlook.com
Signed-off-by: Pantastisch <45369229+Pantastisch@users.noreply.github.com>
2021-02-19 14:35:23 +01:00
leoguiders
0082cd11ae
[modbus.sunspec] Fix decimal number handling for inverter channel types (#10195)
Signed-off-by: Jan Philipp Giel <mail@philsown.de>
2021-02-18 14:07:31 +01:00
Jan Gustafsson
0853aa7cea
[tellstick] Fix for #9841, adding support for Tellstick local API. (#10020)
* Fix for #9841.

Signed-off-by: Jan Gustafsson <jannegpriv@gmail.com>
2021-02-18 09:33:22 +01:00
Stefan Roellin
8a4b87e04e
[mpd] fix invalid volume (#10166)
Fixes #10142.

Signed-off-by: Stefan Roellin <stefan@roellin-baumann.ch>
Also-by: Jan N. Klug <jan.n.klug@rub.de>
2021-02-17 21:06:34 +01:00
Niklas Dörfler
c0cec8028c
[pilight] Pilight Binding initial contribution (#9744)
Signed-off-by: Niklas Dörfler <niklas@doerfler-el.de>
2021-02-17 19:59:54 +01:00
Henrik Tóth
2b3e08de43
[pixometer] Update README.md, Typos corrected (#10168)
Accepted without sign-off under small patch exemption.
2021-02-17 17:36:13 +01:00
Gaël L'hopital
da5c4c8650
[Synopanalyzer] Adding French localization, correction on overcast channel (#10113)
* Adding French localization of the binding
* Correction on overcast channel
* Correcting nullable issues

Signed-off-by: clinique <gael@lhopital.org>
2021-02-17 11:50:14 +01:00
Seb Boulet
cb9a118581
[gpio] Added instructions in case raspi-config is not available (#9899)
Signed-off-by: Seb Boulet <SebBoulet@users.noreply.github.com>
2021-02-17 11:47:42 +01:00
Sami Salonen
fbf55d5886
[modbus] fix defaults for tcp and serial things and some other minor cleanup (#10147)
* [modbus] More strict nullness. Remove apache.commons.lang from itests
* [modbus] Defaults for tcp and serial things according to docs
* [modbus] further explicit defaults
* [modbus] document default encoding for serial.
RTU is pretty much the only one used in the field.
Previous default was ascii implicitly.
* [modbus] verify defaults are used for undefined configuration parameters

Signed-off-by: Sami Salonen <ssalonen@gmail.com>
2021-02-17 11:41:40 +01:00
lolodomo
fe496c7389
[rotel] Fix command to select PC USB source (ASCII v2 mode) (#10165)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2021-02-17 11:38:27 +01:00
Eiko Wagenknecht
4495c53f7e
[homematic] [doc] Usage of custom ID not supported (#10131)
Fixes https://github.com/openhab/openhab-addons/issues/10114

Signed-off-by: Eiko Wagenknecht <eiko.wagenknecht@web.de>
2021-02-16 15:28:11 -08:00
Ethan Dye
6f9d80ea9e
[OmniLink] Fix OmniLink temperature/humidity sensors (#10130)
Signed-off-by: Ethan Dye <mrtops03@gmail.com>
2021-02-16 12:48:07 -08:00
Pete
7abeb97396
[bluetooth.generic] Enable BLE notification for linked channels (#10122)
* [bluetooth] Add BluetoothDevice.isNotifying()
* [bluetooth] Improve Characteristic properties support
* [bluez] Improve Characteristic properties support
* [bluetooth] Add BluetoothDevice.canNotify()
* [bluez] Also catch DBusExecutionException on read value
* [bluetooth.generic] Activate notifications for linked channels where characteristics are able to notify
* [bluez] Adjust javadoc
* [bluegiga] Add BluetoothDevice.isNotifying() support
* [bluegiga] Fix notification enabled check
* [bluetooth] move canNotify() to Characteristic
* [bluegiga] rename notificationEnabled to notifying
* [bluetooth.generic] use handlerToChannels to subscribe to notifications
* [bluetooth.generic] implement TODOs of canRead()/canWrite()
* [bluetooth.generic] optimize ChannelUID
* [bluetooth.generic] use channelUids for link check

Signed-off-by: Peter Rosenberg <prosenb.dev@gmail.com>
2021-02-16 12:26:34 -08:00
Andrew Fiddian-Green
596b261d47
[hdpowerview] Eliminate nightly crash dump in OH3 (#10118)
* [hdpowerview] refactor from jax-rs to http client
* [hdpowerview] adopt proposals of code reviewer
* [hdpowerview] adopt additional proposals of code reviewer
* [hdpowerview] provide exception class name

Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
2021-02-16 12:22:27 -08:00
eugen
e828baccca
[homekit] add support for flag "inverted" to lock accessory (#10169)
* add support for inverted to lock
* run spotless

Signed-off-by: Eugen Freiter <freiter@gmx.de>
2021-02-16 10:19:37 -08:00
leoguiders
caa445a22b
[modbus.sunspec] Handle floating point numbers for voltage types (#10175)
Signed-off-by: Jan Philipp Giel <mail@philsown.de>
2021-02-16 18:57:04 +01:00
Ethan Dye
5c3c1db52e
[OmniLink] Fix spelling of status (#10161)
Signed-off-by: Ethan Dye <mrtops03@gmail.com>
2021-02-15 09:33:11 -08:00
pali
71dbf2ed1b
[bluetooth.bluegiga] Introduced better initialization functionality (#10148)
* [bluetooth.bluegiga] Introduced better initialization functionality

+ other improvements
* [bluetooth.bluegiga] Review change
* [bluetooth.bluegiga] Fixed typo

Signed-off-by: Pauli Anttila <pauli.anttila@gmail.com>
2021-02-15 09:08:14 -08:00
Kai Kreuzer
928859ab86
[bluetooth.generic] Define supported bridge types for generic BT devices (#10155)
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2021-02-14 14:33:07 -08:00
lolodomo
944682d1f1
[remoteopenhab] Connection to the remote server through openHAB Cloud (#10138)
Fix #10055

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2021-02-14 20:00:14 +01:00
Connor Petty
b9c5a0d158
[bluetooth] Expire discovery snapshots so that devices can be rediscovered (#10099)
Signed-off-by: Connor Petty <mistercpp2000+gitsignoff@gmail.com>
2021-02-14 19:52:18 +01:00
cURLy bOi
77c9138598
[voicerss] Added all supported languages (#10146)
Extended the original collection with all the languages currently listed on the VoiceRSS API website. Please consider including in main branch.

Signed-off-by: cURLy bOi <curly.boi.89@gmail.com>
2021-02-14 17:00:03 +01:00
mgwoj
90ff809cb6
[http] Added example and explanation how to provide multiple headers (#10141) 2021-02-13 19:44:34 -08:00
Fabian Wolter
1604149f5c
[lcn] Fix RVar setpoint modification for modules before 2006 (#10115)
Signed-off-by: Fabian Wolter <github@fabian-wolter.de>
2021-02-13 13:55:21 -08:00
Christoph Weitkamp
b4ca793963
[hue] Removed internal vendor Map and minor additional improvements (#10137)
* Removed internal vendor Map and minor additional improvements
* Incorporated comments from review

Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2021-02-13 13:48:40 -08:00
pali
5b20a7df1c
[nibeheatpump] Fixed compile error in RasPi (#10135)
Signed-off-by: Pauli Anttila <pauli.anttila@gmail.com>
2021-02-13 12:11:17 -08:00
Christoph Weitkamp
28510e8260
[melcloud] Fixed representation property (#10133)
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2021-02-13 12:10:26 -08:00
Christian Oeing
a796e472ec
[boschshc] Release v1.1 (#10097)
* #72 changed use units of measure for the twinguard humidity and purity values

all other QuantityTypes in bindingcode are fine

* #77 changed title of binding to Bosch Smart Home

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

* #62 Try to restart long polling when it fails before taking the thing offline

* #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

* #74 Run the whole long polling response handling in a new thread to not get timeout from HTTP client

* #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.

* Use direct formatting of logger.trace instead of String.format

* #76 Use i18n texts instead of raw translations for status messages about failed long polling

* #76 Use logger.debug instead of logger.warn for long poll error as it is handled now

* #78 defined api-version

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

* logging bundle version

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

* #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
* added newline

Signed-off-by: Gerd Zanker <gerd.zanker@web.de>
Signed-off-by: Christian Oeing <christian.oeing@slashgames.org>
2021-02-13 12:09:30 -08:00
pali
51db639853
[bluetooth.enoceanble] Changed logging level for discovered devices (#10134)
Signed-off-by: Pauli Anttila <pauli.anttila@gmail.com>
2021-02-13 12:00:17 -08:00
Christoph Weitkamp
6829ff657a
[deconz] Fixed wrong channel type for extended color light (#10132)
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2021-02-13 12:50:20 +01:00
Christoph Weitkamp
9ee4e942e8
[deconz] Use system default channel types for lights (#10126)
* Use system default channel types for lights

Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2021-02-12 11:52:18 +01:00
goopilot
4493c915db
Update README.md (#10124)
Signed-off-by: Alexandr Salamatov <wpgnetworks@gmail.com>
2021-02-11 08:42:46 +01:00
Markus Storm
48a5a17b81
[modbus.sunspec] fix wrong unit in binding docs (#10120)
Signed-off-by: Markus Storm <markus.storm@gmx.net>
2021-02-10 19:47:23 +01:00
goopilot
5a0a325344
[folderwatcher] Initial contribution (#10045)
Signed-off-by: Alexandr Salamatov <wpgnetworks@gmail.com>
2021-02-10 19:45:47 +01:00
Georg Siebke
95259b1095
[somfytahoma] Retry command submission when tahoma gateway is busy. (#10023)
* Retry command submission when tahome gateway is busy.
* Changed log level, cosmetic changes
* Store list of scheduled retries; cancelled when handler is disposed.
* Made retryFutures thread-safe

Signed-off-by: Georg Siebke <github@georgsiebke.de>
2021-02-09 13:03:22 -08:00
Andrew Fiddian-Green
18e028a632
[hue] Implementing "[discovery.upnp] Devices may apply a grace period" (#9985)
* [hue] implement PR #2144 in openhab.core
* [hue] add binding configuration parameter; return long

Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
2021-02-09 12:52:11 -08:00
GiviMAD
f8d5ae081b
[androiddebugbridge] check device awake state and minor fixes (#10106)
* check device awake state and minor fixes
* avoid update awake channel when not linked

Signed-off-by: Miguel <miguelwork92@gmail.com>
2021-02-08 17:25:52 -08:00
Michael Rumpf
717ef5950a
GH-9936 Fixed datatype for brightness of the ambient light (#10065)
The ceiling10 Yeelight lamp has 2 dimmer for brightness:
"bright" for the main light and bg_bright for the ambient light.
Both are of type dimmer and accept percentage values between 1 and 100.
This fix changes the datatype of the bg_bright property from Number
to Dimmer in the device mapping database file ceiling4, which is also
the one that is used for the ceiling10 lamp.

Accepted without sign-off under minor change exemption.
2021-02-08 23:40:02 +01:00
niebochod
a3f54134ca
[pushover] Update README.md (#10094)
"format" parameter value for HTML seems that should be "html", not "HTML"

"HTML" seems to have no affect when using sendPriorityMessage, but "html" works.

Accepted without sign-off under minor change exemption.
2021-02-08 23:34:38 +01:00
Martin Herbst
ac02141d0b
[Homematic] Removed Apache Commons (#10035)
Signed-off-by: Martin Herbst <develop@mherbst.de>
2021-02-08 23:26:56 +01:00
Florian Mueller
a58676dc41
[Broadlinkthermostat] Initial contribution (#9260)
Signed-off-by: Florian Mueller <f.l.o.mueller@web.de>
2021-02-08 23:08:09 +01:00
Stefan Triller
f9fbb765fb
[smartmeter] Fix Thing OFFLINE Communication Error due Exception in last PR (#10088)
Fixes #10087

Signed-off-by: Stefan Triller <github@stefantriller.de>
2021-02-08 23:05:10 +01:00
Flole998
c01f5ceb72
[Tankerkoenig]: Lower minimum refresh interval (#10070)
As per https://creativecommons.tankerkoenig.de (in the "Terms"-section) we should not make more than 1 request per 5 minutes, this changes the limit accordingly and allows doing so.

Signed-off-by: Flole <flole@flole.de>
2021-02-08 23:03:58 +01:00
Ron Isaacson
7898f4f911
[powermax] Improved error handling for Powermax binding (#9817)
* Improved error handling for Powermax binding

Catch all exceptions, and take all Powermax things offline in the event
of a communication failure. Also adds a 5-minute watchdog for
connections in Standard (non-Powerlink) mode.

* More Powermax error handling improvements

1. Mark the bridge and all things as offline when communication is lost
2. Bubble all I/O exceptions up to the bridge status
3. Set all channels to UnDefType.NULL when bridge goes offline
4. Ignore CRC errors on messages of type 0xF1
5. Don't try and download partition settings for panels that don't support partitions
6. Fix logging levels to avoid unnecessary non-DEBUG messages

Signed-off-by: Ron Isaacson <isaacson.ron@gmail.com>
2021-02-08 22:48:38 +01:00
J-N-K
b65e932650
[amazonechocontrol] fix smarthome device naming (#10084)
* fix smarthome device naming
* toString

Signed-off-by: Jan N. Klug <jan.n.klug@rub.de>
2021-02-07 13:56:31 -08:00
J-N-K
7269cbfbf5
[loxone] fix representation property (#10086)
Signed-off-by: Jan N. Klug <jan.n.klug@rub.de>
2021-02-07 19:44:39 +01:00
Christoph Weitkamp
ca359153d8
[googletts] Remove references to Paper UI (#10089)
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2021-02-07 15:23:46 +01:00
J-N-K
97298e55a7
[networkupstools] fix tests (#10082)
Signed-off-by: Jan N. Klug <jan.n.klug@rub.de>
2021-02-07 13:44:47 +01:00
Christoph Weitkamp
1210fec9f9
Adjustments for nullness annotated TypeParser (#10068)
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2021-02-07 11:43:17 +01:00
eugen
8a2ac82b07
[homekit] make min and max temperature units depedent on useFahrenheitTemperature setting (#10074)
Signed-off-by: Eugen Freiter <freiter@gmx.de>
2021-02-06 23:04:32 -08:00
mlobstein
10b9b562ad
[epsonprojector] Always set ready=true on disconnect and improve documentation (#10079)
* Always set ready on disconnect and improve documentation
* improve documentation

Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>
2021-02-06 18:32:34 -08:00
cedricboon
fa307e203e
[velbus] Fixed reading of alarm clock status on VMB4AN. (#10058)
Added support for VMBVP1

Signed-off-by: Cedric Boon <cedric.boon@hotmail.com>
2021-02-06 18:30:29 -08:00
eugen
9f0ec10a7d
[homekit] add support for dimmer item for slat accessories (#10019)
Signed-off-by: Eugen Freiter <freiter@gmx.de>
2021-02-06 17:59:14 +01:00
Hilbrand Bouwkamp
93fac19be8
[denonmarantz] Update protocol reference in readme (#10044)
Signed-off-by: Hilbrand Bouwkamp <hilbrand@h72.nl>
2021-02-06 17:21:57 +01:00
Bernhard Bauer
e04cf82c10
[helioseasycontrols] Internationalization + actions for messages - Attempt 2 (#9772)
* Internationalization + actions for messages

- Internationalization of UI relevant texts
- Better support for the error/warning/info/status messages received
from the device

Signed-off-by: Bernhard Bauer <bern77@gmail.com>

* Review inputs + improvements

- inputs from @ssalonen
- additional action to retrieve all messages collectively
- added rule example for handling the collective message action
- added semantic tags in items example

Signed-off-by: Bernhard Bauer <bern77@gmail.com>

* mvn spotless:apply

Signed-off-by: Bernhard Bauer <bern77@gmail.com>

* Update bundles/org.openhab.binding.modbus.helioseasycontrols/README.md

Co-authored-by: Fabian Wolter <github@fabian-wolter.de>
Signed-off-by: Bernhard Bauer <bern77@gmail.com>

* Update bundles/org.openhab.binding.modbus.helioseasycontrols/README.md

Co-authored-by: Fabian Wolter <github@fabian-wolter.de>
Signed-off-by: Bernhard Bauer <bern77@gmail.com>

* Update bundles/org.openhab.binding.modbus.helioseasycontrols/src/main/java/org/openhab/binding/modbus/helioseasycontrols/internal/HeliosEasyControlsHandler.java

Co-authored-by: Fabian Wolter <github@fabian-wolter.de>
Signed-off-by: Bernhard Bauer <bern77@gmail.com>

* Update bundles/org.openhab.binding.modbus.helioseasycontrols/src/main/resources/OH-INF/i18n/helioseasycontrols_de.properties

Co-authored-by: Fabian Wolter <github@fabian-wolter.de>
Signed-off-by: Bernhard Bauer <bern77@gmail.com>

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

Co-authored-by: Fabian Wolter <github@fabian-wolter.de>
Signed-off-by: Bernhard Bauer <bern77@gmail.com>

* Review inputs from @fwolter

Signed-off-by: Bernhard Bauer <bern77@gmail.com>

* Inputs from @fwolter

- changed return type for actions with a single return value
- corrected findings from static code analysis

Signed-off-by: Bernhard Bauer <bern77@gmail.com>

* Removed configurationPid from TranslationProvider

Signed-off-by: Bernhard Bauer <bern77@gmail.com>

* Changes requested by @fwolter

Signed-off-by: Bernhard Bauer <bern77@gmail.com>

* Changed log level to debug when catching InterruptedException

Signed-off-by: Bernhard Bauer <bern77@gmail.com>

Co-authored-by: Fabian Wolter <github@fabian-wolter.de>
2021-02-06 17:19:01 +01:00
lolodomo
32fa27aaba
[remoteopenhab] Suppress the IP check (#10049)
Fix #10026

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2021-02-06 17:15:52 +01:00
lolodomo
5141781fe7
[remoteopenhab] New setting to restart the SSE connection after inact… (#10063)
* [remoteopenhab] New setting to restart the SSE connection after inactivity

Fix #9680

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

* Review comments: doc

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2021-02-06 17:12:22 +01:00
lolodomo
3e7ecbf79c
[remoteopenhab] Detect a remote server shutdown and reconnect properly (#10060)
when the remote server is alive again

Related to #9680

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2021-02-06 10:52:47 +01:00
Arjen Korevaar
f4c2769552
[openthermgateway] Added support for firmware version 5.0 (#10040)
* Added commands for second central heating circuit
* Added command for temperature sensor
* Added controlsetpoint2 and ch2_enable channels

Signed-off-by: Arjen Korevaar <a.korevaar@mephix.com>
2021-02-05 09:06:09 +01:00
basse04
9498590edb
[kostalinverter] Add Second Generation (Piko10-20) type inverters (#8574)
* Binding redesigned 20200923 by Örjan Backsell

Signed-off-by: basse04 orjan.backsell@gmail.com
Also-by: Christian Schneider <>
Also-by: René Stakemeier <>
Also-by: Christoph Weitkamp <>


This is the upgraded version of Kostal Inverter extended with
functionality for the Inverter type of Second generation PIKO 10-20
[kostalinverter], regarded OH3.
[WIP]

Signed-off-by: basse04 <orjan.backsell@gmail.com>

* Binding redesigned 20200923 by Örjan Backsell

Signed-off-by: basse04 orjan.backsell@gmail.com
Also-by: Christian Schneider <>
Also-by: René Stakemeier <>
Also-by: Christoph Weitkamp <>


This is the upgraded version of Kostal Inverter extended with
functionality for the Inverter type of Second generation PIKO 10-20
[kostalinverter] regarded oH3
[WIP]

Signed-off-by: basse04 <orjan.backsell@gmail.com>

* Binding redesigned 20200923 by Örjan Backsell

Signed-off-by: basse04 orjan.backsell@gmail.com
Also-by: Christian Schneider <>
Also-by: René Stakemeier <>
Also-by: Christoph Weitkamp <>


This is the upgraded version of Kostal Inverter extended with
functionality for the Inverter type of Second generation PIKO 10-20
[kostalinverter] regarded oH3
[WIP]

Signed-off-by: basse04 <orjan.backsell@gmail.com>

* Binding redesigned 20200923 by Örjan Backsell

Signed-off-by: basse04 orjan.backsell@gmail.com
Also-by: Christian Schneider <>
Also-by: René Stakemeier <>
Also-by: Christoph Weitkamp <>


This is the upgraded version of Kostal Inverter extended with
functionality for the Inverter type of Second generation PIKO 10-20
[kostalinverter] regarded oH3
[WIP]

Signed-off-by: basse04 <orjan.backsell@gmail.com>

* Binding redesigned 20200924 by Örjan Backsell

Signed-off-by: basse04 orjan.backsell@gmail.com
Also-by: Christian Schneider <>
Also-by: René Stakemeier <>
Also-by: Christoph Weitkamp <>


This is the upgraded version of Kostal Inverter extended with
functionality for the Inverter type of Second generation PIKO 10-20
[kostalinverter] regarded oH3
[WIP]

Signed-off-by: basse04 <orjan.backsell@gmail.com>

* Binding redesigned 20200924 by Örjan Backsell

Signed-off-by: basse04 orjan.backsell@gmail.com
Also-by: Christian Schneider <>
Also-by: René Stakemeier <>
Also-by: Christoph Weitkamp <>

Changes made in
org.openhab.binding.internal.kostal.inverter.secondgeneration.SecondGenerationHandler.java
found by Travis tests.

Signed-off-by: basse04 <orjan.backsell@gmail.com>

* Binding redesigned 20201007 by Örjan Backsell

Signed-off-by: basse04 orjan.backsell@gmail.com
Also-by: Christian Schneider <>
Also-by: René Stakemeier <>
Also-by: Christoph Weitkamp <>

Done changes in:
Channels.xml
PIKO1020.xml
README.md
SecondGeneration.xml
SecondGenerationChannelConfiguration.java

Signed-off-by: basse04 <orjan.backsell@gmail.com>

* Binding redesigned 20201008 by Örjan Backsell

Signed-off-by: basse04 <orjan.backsell@gmail.com>

* Binding redesigned 20201012 by Örjan Backsell, regarded to @fwolter
requested changes

Signed-off-by: basse04 orjan.backsell@gmail.com
Also-by: Christian Schneider <>
Also-by: René Stakemeier <>
Also-by: Christoph Weitkamp <>
Signed-off-by: basse04 <orjan.backsell@gmail.com>

* Binding redesigned 20201028 by Örjan Backsell, regarded to @cpmeister
requested changes.

Signed-off-by: basse04 orjan.backsell@gmail.com
Also-by: Christian Schneider <>
Also-by: René Stakemeier <>
Also-by: Christoph Weitkamp <>
Signed-off-by: basse04 <orjan.backsell@gmail.com>

* Binding redesigned 20201105 by Örjan Backsell

Signed-off-by: basse04 orjan.backsell@gmail.com
Also-by: Christian Schneider <>
Also-by: René Stakemeier <>
Also-by: Christoph Weitkamp <>
Signed-off-by: basse04 <orjan.backsell@gmail.com>

* Binding redesigned 20200923 by Örjan Backsell

'
Signed-off-by: basse04 orjan.backsell@gmail.com
Also-by: Christian Schneider <>
Also-by: René Stakemeier <>
Also-by: Christoph Weitkamp <>
'
Signed-off-by: basse04 <orjan.backsell@gmail.com>

* Binding redesigned 20201111 by Örjan Backsell

Signed-off-by: basse04 <orjan.backsell@gmail.com>

* Binding redesigned 20201117 by Örjan Backsell

'
Signed-off-by: basse04 orjan.backsell@gmail.com
Also-by: Christian Schneider <>
Also-by: René Stakemeier <>
Also-by: Christoph Weitkamp <>


This is the upgraded version of Kostal Inverter extended with
functionality for the Inverter type of Second generation PIKO 10-20
[kostalinverter]
[WIP]
'

Signed-off-by: basse04 <orjan.backsell@gmail.com>

* Binding redesigned 20201119 by Örjan Backsell

Signed-off-by: basse04 <orjan.backsell@gmail.com>

* Binding redesigned 20201125 by Örjan Backsell

Signed-off-by: basse04 <orjan.backsell@gmail.com>

* Binding redesigned 20201130 by Örjan Backsell

Signed-off-by: basse04 <orjan.backsell@gmail.com>

* Binding redesigned 20201130, 1630 by Örjan Backsell

Signed-off-by: basse04 <orjan.backsell@gmail.com>

* Binding redesigned 20201202 by Örjan Backsell

Signed-off-by: basse04 <orjan.backsell@gmail.com>

* Binding redesigned 20201204 by Örjan Backsell

Signed-off-by: basse04 <orjan.backsell@gmail.com>

* Redesigned 20201204 by Örjan Backsell

Signed-off-by: basse04 <orjan.backsell@gmail.com>

* Binding redesigned 20201010 by Örjan Backsell

Signed-off-by: basse04 <orjan.backsell@gmail.com>

* Binding redesigned 20210112 by Örjan Backsell

'
Signed-off-by: basse04 orjan.backsell@gmail.com
Also-by: Christian Schneider <>
Also-by: René Stakemeier <>
Also-by: Christoph Weitkamp <>

This is the upgraded version of Kostal Inverter extended with
functionality for the Inverter type of Second generation PIKO 10-20
[kostalinverter]
'

Signed-off-by: basse04 <orjan.backsell@gmail.com>

* Binding redesigned 20210114 by Örjan Backsell

Signed-off-by: basse04 <orjan.backsell@gmail.com>

* Binding redesigned 20210119 by Örjan Backsell

Signed-off-by: basse04 <orjan.backsell@gmail.com>

* Binding (KostalInverterFactory.java)redesigned 20210119 by Örjan
Backsell

Signed-off-by: basse04 <orjan.backsell@gmail.com>

* Binding redesigned 20210125 by Örjan Backsell

* Binding redesigned 20200923 by Örjan Backsell

(KostalInverterFactory.java)

Signed-off-by: basse04 <orjan.backsell@gmail.com>

* Binding redesigned 20210125 by Örjan Backsell

Signed-off-by: basse04 <orjan.backsell@gmail.com>
2021-02-04 23:17:04 +01:00
Boris Krivonog
6878384df9
[nikobus] added option to reverse rollershutter commands (#10047)
* Added option to reverse rollershutter commands - UP -> DOWN and DOWN -> UP - might happen if rollershuter module's output is wired differently.

* Fixed PR comments.

Signed-off-by: Boris Krivonog <boris.krivonog@inova.si>
2021-02-04 13:59:44 -08:00
eugen
0d13b8d1ef
[homekit] add support for number and dimmer item type to window covering accessory (#10051)
Signed-off-by: Eugen Freiter <freiter@gmx.de>
2021-02-04 12:09:19 -08:00
mlobstein
da387618fd
[tivo] Add IR code commands to dropdown and documentation (#10046)
* Add IR code commands to dropdown and documentation
* Add link to community for advanced UI creation

Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>
2021-02-04 11:54:16 -08:00
Stefan Triller
00d2aabcb5
[novafinedust] Optimizations on access to the serial port (#10005)
* [novafinedust] Test for optimizations on access to the serial port

- retry logic if port does not yet exist on startup
- do not write sleep command on shutdown if port has issues
- no not register data listener on port but wait for data instead to be
  compatible with RFC2217 serial over network implementation
- ignore all buffered data from device during initialization to get the
  device into a defined state

* Adress review comments

- moved most "normal" logging to TRACE level
- used lambda function

* Improve error messages as requested in the review

Signed-off-by: Stefan Triller <github@stefantriller.de>
2021-02-04 11:49:43 -08:00
Marcel
40dbd50943
[miio] Add support for viomi S9 vacuum (v18) (#9878)
* [miio] Add support for viomi S9 vacuum (v18)
* [miio] improved translations & wider columns readme
* [miio] Apply review suggestions

Signed-off-by: Marcel Verpaalen marcel@verpaalen.com
2021-02-04 11:48:24 -08:00
Mathias
6b4fc99164
[unifi] Added support for UniFi OS (#10041)
Signed-off-by: Mathias Maes <watcherwhale@maes.family>
2021-02-04 20:34:38 +01:00
Bob Raker
d452469450
[smartthings]Fix discovery service bug and enhancement to SmartApp for OH3 (#9889)
Signed-off-by: Bob Raker <rjraker@gmail.com>
2021-02-04 09:48:15 +01:00
Daniel Weber
96f15c59ba
[enocean] Added support for Heat Recovery Ventilation devices (#9465) (#9468)
* [enocean] Added support for Heat Recovery Ventilation devices (#9465)

 * Implemented EEP family D2_50
 * Added new thing type (heatRecoveryVentilation) and channels for heat recovery ventilation units

Fixes #9465

* [enocean] Added support for Heat Recovery Ventilation devices (#9465)

 * code refactoring (JAVA11 improvements)

Fixes #9465

* [enocean] Added support for Heat Recovery Ventilation devices (#9465)

 * Removed unnecessary EEP classes
 * Made final fields static
 * Added @NonNullByDefault to EEP Class

Fixes #9465

* [enocean] Added support for Heat Recovery Ventilation devices (#9465)

 * Removed @NonNullByDefault to not mess up PR with non related changes

Fixes #9465

Signed-off-by: Daniel Weber <uni@fruggy.de>
2021-02-03 22:18:35 -08:00
Sebastian Garske
d6fe0e1328
[WLED] Fix brightness handling for HSBType (Fixes #9836) (#9863)
* Fix brightness
* Revert to old beahaviour if segments are used
* Fix formatting
* Remove unused Var

Signed-off-by: Sebastian Garske <sebgarske@gmail.com>
2021-02-03 22:08:21 -08:00
eugen
bd949518de
[homekit] mapping configuration improvements (#9932)
* add support for custom mapping
* add screenshot
* remove unnecessary variable
* make parameter nullable to avoid not required list instances

Signed-off-by: Eugen Freiter <freiter@gmx.de>
2021-02-03 22:06:20 -08:00
Hilbrand Bouwkamp
ff9454596e
[networkupstools] Some sat improvements (#10017)
Signed-off-by: Hilbrand Bouwkamp <hilbrand@h72.nl>
2021-02-03 22:04:50 -08:00
Markus Michels
c4a3b1e6ba
[shelly] Improved documentation, support for UNI, 1L, Color Bulb (#9508)
* This PR merges the 2.5 code base with new features, a bunch of bug fixes
and improved documentation. Parts of the code has been re-factored and
vaious issues are fixed/optimized along the way.

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

* Minor fixed, support for Shelly Color Bulb, Shelly Motion

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

* Review changes applied

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

* review change applied

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

* review changes

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

* Review changes

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

* review changes

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

* README updated

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

* review change

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

* review change

Signed-off-by: Markus Michels <markus7017@gmail.com>
2021-02-03 22:25:19 +01:00
Stefan Triller
bc5ffb26e2
[smartmeter] Fix trying to create channels from invalid data (#10008)
Fixes #6762

* Fix Unit tests
The method was used to create the pattern for a regex and for building
the channel id. I ave separated them now. At least the tests are green ;)

Signed-off-by: Stefan Triller <github@stefantriller.de>
2021-02-03 21:37:00 +01:00
stefan-hoehn
570f86d043
[nanoleaf] CODEOWNERs, add Shapes Support, beta-firmware support (#10029)
Signed-off-by: Stefan Höhn <stefan@andreaundstefanhoehn.de>
2021-02-03 21:26:13 +01:00
Sonic-Amiga
f9a982e548
[irobot] Some enhancements (#9973)
* [irobot] Roomba: Add more properties.
On request by @falkena, also some i7 specifics

* [irobot] Roomba: Add map_upload channel. 
Controls uploading Clean Map(tm) to the cloud.

* [irobot] discovery: Get rid of empty while() loop
Rewrite the loop so that it doesn't have empty body any more, this gets rid of
one more static analyzer warning. Added dumping the whole IDENT packet on TRACE
level, aids implementing support for newer devices.

Signed-off-by: Pavel Fedin <pavel_fedin@mail.ru>
2021-02-03 11:31:30 +01:00
J-N-K
899d8d2e9f
[http] add POST/PUT support for state requests (#10022)
Signed-off-by: Jan N. Klug <jan.n.klug@rub.de>
2021-02-03 11:28:44 +01:00
Marcel
4088241033
[miio] add support yeelink.light.colora Yeelight Smart LED Bulb 1SE (#10037)
Closes #9360

Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
2021-02-03 11:19:56 +01:00
Marcel
6f59b178b8
[miio] add channel for is_locating (#10036)
close: #10033

Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
2021-02-03 11:18:50 +01:00
Marcel
056e4c4103
[miio] update zhimi humiddifier ca4 (#10032)
https://community.openhab.org/t/zhimi-humidifier-ca4-issue/116009

Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
2021-02-03 11:05:03 +01:00
Jürgen Weber
e037c1be91
[exec] add support for *BSD OSes (#10021)
Signed-off-by: Juergen Weber <weberjn@gmail.com>
2021-02-03 10:44:44 +01:00
lolodomo
c1cec8e11e
[sonos] Fix battery level (Move) (#10024)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2021-02-03 10:43:09 +01:00
Sami Salonen
51ea77f022
[modbus] Modbus transformations: cascaded/chained transformations and new-style transformation string (#9945)
* [modbus] Cascaded transforms with ∩
* [modbus] README to mention cascaded transformations
* [modbus] Take cascaded transformation into use
* [modbus] README to show preference towards new syntax
* [modbus] examples to use new syntax
* [modbus] fix test
* [modbus] remove apache commons lang dependency
- see also PR #10002
- I removed equals and hashCode implementation all-together, I could not see they played any role in practice.

Signed-off-by: Sami Salonen <ssalonen@gmail.com>
2021-02-02 08:33:07 +01:00
Fabian Wolter
0be7f60438
[modbus.sbc] Initial contribution (#9174)
Signed-off-by: Fabian Wolter <github@fabian-wolter.de>
2021-02-02 08:28:58 +01:00
lolodomo
ff3ff933af
[linky] One unique method to update daily and weekly data channels (#9840)
Also check data availability for the peak consumption of yesterday
Also log power peak data

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2021-02-01 12:42:27 +01:00
Fabian Wolter
3a2c996aab
[lcn] Fix several bugs in measurement processing with firmware before 2013 (#9991)
Signed-off-by: Fabian Wolter <github@fabian-wolter.de>
2021-02-01 12:09:09 +01:00
Sami Salonen
d5e83e395b
[modbus] Replace apache commons lang usage with plain java (#10002)
* [modbus] fix item creation in tests

Signed-off-by: Sami Salonen <ssalonen@gmail.com>
2021-02-01 12:07:52 +01:00
lolodomo
0f8f72dd2e
[sonos] Add new channel for microphone (Arc, Beam, Move, One) (#9999)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2021-01-31 22:49:46 +01:00
Stefan Triller
f2ea947424
[smartmeter] Fix NPE while trying to get ChannelType (#10007)
Fixes #10006

Signed-off-by: Stefan Triller <github@stefantriller.de>
2021-01-31 21:59:22 +01:00
lolodomo
4c7f9efffa
[remoteopenhab] Prefer StringContentProvider (#10001)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2021-01-31 21:15:55 +01:00
lolodomo
024b36a814
[sonos] Add new channels for battery (Sonos Move) (#9998)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2021-01-31 21:07:23 +01:00
Fabian Wolter
fd1caea5aa
[pidcontroller] Reset command Item; Fix read-only states of config parameters (#9992)
* [pidcontroller] Reset state of command Item after command has been processed
* Fix read-only state of item parameters

Signed-off-by: Fabian Wolter <github@fabian-wolter.de>
2021-01-31 21:03:25 +01:00
J-N-K
f1aec07181
[amazondashbutton] fix representation property (#9988)
* fix representation property

Signed-off-by: Jan N. Klug <jan.n.klug@rub.de>

* address review comments

Signed-off-by: Jan N. Klug <jan.n.klug@rub.de>
2021-01-30 20:59:58 +01:00
Marcel
f58df8fd25
[miio] validate response id matching command id (#9966)
* [miio] validate response id matching command id

This PR prevents out of sync issues in case devices are too slow to
respond or the timeout is set too short.

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

* [miio] spotless adding space

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

* [miio] update based on review

Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
2021-01-30 12:05:08 +01:00
neutmute
7a867c4b08
[influxdb] Update README.md (#9989) 2021-01-30 12:02:46 +01:00
Matthew Skinner
b2bb9176e5
[espmilighthub] Initial contribution (#9218)
* espmilighthub inital

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

Co-authored-by: Fabian Wolter <github@fabian-wolter.de>
Co-authored-by: Connor Petty <mistercpp2000+gitsignoff@gmail.com>
2021-01-29 12:05:55 -08:00
Paul Vogel
80c52f4fc0
[homematic] Use .equals() to compare two Integers instead of == (code style fix) (#9976)
Signed-off-by: Paul Vogel <github@paulvogel.me>
2021-01-29 20:36:42 +01:00
J-N-K
429183b75b
[amazonechocontrol] fix api url (#9982)
Signed-off-by: Jan N. Klug <jan.n.klug@rub.de>
2021-01-29 20:33:32 +01:00
Marcel
db3e2b690c
[miio] remove unit from color temperature (#9970)
Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
2021-01-29 14:07:54 +01:00
J-N-K
8494a0e3ba
[http] Fix duplicate commands on PlayerItemConverter (#9981)
Fixes #9957

Signed-off-by: Jan N. Klug <jan.n.klug@rub.de>
2021-01-29 09:59:20 +01:00
Johannes Einig
2127ac23c8
[heos] Fix runtime error; Support for new Denon "Home" speaker added (#9935)
* Support for Denon "Home" speaker as bridge added
* Fixed a runtime issue if no serial number is provided by the player, by using the PID as a fallback if no serial number is available

Signed-off-by: Wire82 <johannes.einig@me.com>
2021-01-28 22:41:28 +01:00
Gaël L'hopital
6473935482
[OpenUV] Marked the SafeExposure channel as extensible so user can add it via UI. (#9967)
Signed-off-by: clinique <gael@lhopital.org>
2021-01-27 09:08:29 -08:00
Marcel
e4ac982119
[miio] add support for zhimi.humidifier.cb2 Smartmi Evaporative Humidifier (#9968)
* [miio] add support for zhimi.humidifier.cb2 Smartmi Evaporative
Humidifier

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

* [miio] remove java notation from readme

Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
2021-01-27 16:23:03 +01:00
Arjen Korevaar
5a7be93670
[openthermgateway] fix automatic reconnect after connection attempt fails (#9965)
* Added callback to disconnected() when connection attempt fails

Signed-off-by: Arjen Korevaar <a.korevaar@mephix.com>

* Updated version number

Signed-off-by: Arjen Korevaar <a.korevaar@mephix.com>

* Cancel reconnect task when disposing

Signed-off-by: Arjen Korevaar <a.korevaar@mephix.com>
2021-01-27 15:32:50 +01:00
lolodomo
3ec52433d8
[sonos] Add support for Sonos Move (#9962)
* [sonos] Add support for Sonos Move

Fix #9950 

* README: updated list of supported Sonos models

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2021-01-26 18:39:13 -08:00
Christoph Weitkamp
7141a091ff
[hue] Added support for different color temperature capabilities and added Channel to set value in Kelvin (#9939)
* Added support for color temperature capabilities and set value in Kelvin
* Use system default channel type

Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2021-01-26 09:27:14 -08:00