Commit Graph

1301 Commits

Author SHA1 Message Date
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