Commit Graph

2131 Commits

Author SHA1 Message Date
Cody Cutrer
923fb12b7d
[mqtt.homie] handle exceptions parsing attributes (#12254)
fixes #10711

technically this code is in mqtt.generic, but it's only used by Homie.

in particular, if an incoming string doesn't match an enum, this will now
just ignore the value instead of raising an exception to be caught somewhere inside
of Hive MQTT, and eventually timing out and logging that mandatory topics weren't
received, instead of logging a pointer to the actual problem. this makes it so that
if there's a homie $datatype openhab doesn't understand (like duration), it will be
able to get to the point of just choosing a string channel

also did some minor debug logging cleanup for mqtt:
 * fixed a typo
 * when logging homie device name from the thing handler, use the config deviceid,
   since we likely don't have the attributes from MQTT yet

Signed-off-by: Cody Cutrer <cody@cutrer.us>
2022-02-23 13:38:00 +01:00
Ondrej Pecta
957b69277d
[somfytahoma] Added support for the Hitachi Yutaki devices (#12302)
Signed-off-by: Ondrej Pecta <opecta@gmail.com>
2022-02-23 08:45:14 +01:00
jimtng
c0ebdbdb6b
[daikin] Fix Special Mode and Streamer support (#12324)
* [daikin] Fix Special Mode support

Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
2022-02-23 08:37:25 +01:00
Mark Hilbush
307450352c
Properly handle when zm installed on root directory (#12348)
Signed-off-by: Mark Hilbush <mark@hilbush.com>
2022-02-23 00:38:02 +01:00
lsiepel
2e1ea32e8f
[plugwiseha] Improve cache and timeout handling (#12345)
* Rework caching and timeout handling
* Fix another caching related issue

Signed-off-by: Leo Siepel <leosiepel@gmail.com>
2022-02-22 21:00:43 +01:00
eugen
9e6b952b66
fix storage usage (#12305)
Signed-off-by: Eugen Freiter <freiter@gmx.de>
2022-02-22 06:50:19 +01:00
Wouter Born
00e16f5b4e
[flicbutton] Fix SAT @NonNull findings (#12334)
Signed-off-by: Wouter Born <github@maindrain.net>
2022-02-20 23:42:45 +01:00
Gaël L'hopital
cabcaa9698
[network] Adressing issue #11503 (#12316)
Signed-off-by: clinique <gael@lhopital.org>
2022-02-20 23:24:49 +01:00
lolodomo
6ef311304f
Remove some of the empty XML tag "description" (#12332)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-02-20 23:16:16 +01:00
lolodomo
d868f0bbd9
[flicbutton] Add missing i18n translations properties (#12333)
Related to #9234

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-02-20 23:15:42 +01:00
openhab-bot
7d0809db31
New Crowdin updates (#12229)
* New translations deconz.properties (Italian)
* New translations dynamodb.properties (Finnish)
* New translations guntamatic.properties (Italian)
* New translations ipp.properties (German)
* New translations luxtronikheatpump.properties (German)
* New translations mqtt.properties (Italian)
* New translations openwebnet.properties (German)
* New translations voskstt.properties (Italian)
* New translations watsonstt.properties (Italian)
2022-02-20 22:02:01 +01:00
Patrick Fink
6c104e241a
[flicbutton] Initial contribution FlicButton Binding (#9234)
* [flicbutton] Initial contribution FlicButton Binding

Signed-off-by: Patrick Fink <mail@pfink.de>

* [flicbutton] Add config parameter address for FlicButton thing

Signed-off-by: Patrick Fink <mail@pfink.de>

* [flicbutton] Run spotless

Signed-off-by: Patrick Fink <mail@pfink.de>

* [flicbutton] Code cleanup & docs improvement

Signed-off-by: Patrick Fink <mail@pfink.de>

* Apply suggestions from code review

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

* [flicbutton] Update LICENSE

Signed-off-by: Patrick Fink <mail@pfink.de>

* [flicbutton] Apply suggestions from code review (2) & update to 3.1-SNAPSHOT

Signed-off-by: Patrick Fink <mail@pfink.de>

* [flicbutton] Apply suggestions from code review (3) & fix offline status

Signed-off-by: Patrick Fink <mail@pfink.de>

* [flicbutton] Fix 3rd party source for proper IDE integration

Signed-off-by: Patrick Fink <mail@pfink.de>

* [flicbutton] Simplify config parsing

Signed-off-by: Patrick Fink <mail@pfink.de>

* [flicbutton] Move everything to internal package

Signed-off-by: Patrick Fink <mail@pfink.de>

* [flicbutton] Remove hyphens from port parameter docs example

Signed-off-by: Patrick Fink <mail@pfink.de>

* [flicbutton] Change maintainer to openHAB project

Signed-off-by: Patrick Fink <mail@pfink.de>

* Apply docs suggestions + update to 3.2.0-SNAPSHOT

Signed-off-by: Patrick Fink <mail@pfink.de>

Co-authored-by: Matthew Skinner <matt@pcmus.com>

* [flicbutton] Fix bridge offline & reconnect handling

Signed-off-by: Patrick Fink <mail@pfink.de>

* [flicbutton] Close open socket on dispose

Signed-off-by: Patrick Fink <mail@pfink.de>

* [flicbutton] Improve exception error message in ThingStatus

Signed-off-by: Patrick Fink <mail@pfink.de>

* [flicbutton] Fix README title

Signed-off-by: Patrick Fink <mail@pfink.de>

* [flicbutton] Improve exception error message in ThingStatus

Signed-off-by: Patrick Fink <mail@pfink.de>

* [flicbutton] Style fixes

Signed-off-by: Patrick Fink <mail@pfink.de>

* [flicbutton] Use trace log level for button clicks & status changes

Signed-off-by: Patrick Fink <mail@pfink.de>

* Apply doc improvements from code review

Signed-off-by: Patrick Fink <mail@pfink.de>

Co-authored-by: Matthew Skinner <matt@pcmus.com>

* [flicbutton] Add binding to bom/openhab-addons

Signed-off-by: Patrick Fink <mail@pfink.de>

* [flicbutton] Cleanup / remove guava leftover

Signed-off-by: Patrick Fink <mail@pfink.de>

* [flicbutton] Remove online status description

Signed-off-by: Patrick Fink <mail@pfink.de>

* [flicbutton] Improve flicd hostname label

Signed-off-by: Patrick Fink <mail@pfink.de>

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

* [flicbutton] Do not catch IllegalArgumentException anymore as its not neeed

Signed-off-by: Patrick Fink <mail@pfink.de>

* [flicbutton] Use debug log level instead of info

Signed-off-by: Patrick Fink <mail@pfink.de>

* [flicbutton] Update version and license

Signed-off-by: Patrick Fink <mail@pfink.de>

* [flicbutton] Fix SAT warnings, e.g. add null handling annotations

Signed-off-by: Patrick Fink <mail@pfink.de>

* [flicbutton] Fix SAT warnings (2)

Signed-off-by: Patrick Fink <mail@pfink.de>

* [flicbutton] Concurrency refactoring & fixes

Signed-off-by: Patrick Fink <mail@pfink.de>

* [flicbutton] Cancel initialization task also when already running

Signed-off-by: Patrick Fink <mail@pfink.de>

* [flicbutton] Add javadoc and move FLIC_OPENHAB_EVENT_TRIGGER_MAP constant to constants class

Signed-off-by: Patrick Fink <mail@pfink.de>

* [flicbutton] Use ThingStatusDetail.OFFLINE.GONE when Flic button was removed from bridge

Signed-off-by: Patrick Fink <mail@pfink.de>

* [flicbutton] Fix FlicSimpleclientDiscoveryServiceImpl javadoc

Signed-off-by: Patrick Fink <mail@pfink.de>

* [flicbutton] Fix required definition of thing types

Signed-off-by: Patrick Fink <mail@pfink.de>

Co-authored-by: Fabian Wolter <github@fabian-wolter.de>
Co-authored-by: Matthew Skinner <matt@pcmus.com>
2022-02-20 21:53:30 +01:00
Wouter Born
51bbd34cd7
[bluetooth] Add missing default translations (#12329)
This will allow for translating the Bluetooth Binding in Crowdin.

Signed-off-by: Wouter Born <github@maindrain.net>
2022-02-20 20:26:10 +01:00
Wouter Born
8559651166
[mqtt] Add default translations (#12328)
This will allow for translating the MQTT Binding in Crowdin.

Signed-off-by: Wouter Born <github@maindrain.net>
2022-02-20 20:12:31 +01:00
GiviMAD
27538fa87f
[watsonstt] lazy abort (#12318)
* [watsonstt] lazy abort

Signed-off-by: Miguel Álvarez Díez <miguelwork92@gmail.com>
2022-02-20 14:25:47 +01:00
Jacob Laursen
c03dbfd520
Interrupt current thread on InterruptedException (#12323)
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-02-20 14:22:40 +01:00
GiviMAD
4d77608da1
[googlestt] lazy abort (#12317)
Signed-off-by: Miguel Álvarez Díez <miguelwork92@gmail.com>
2022-02-20 12:45:31 +01:00
Christoph Weitkamp
a517e6e768
[openweathermap] Call Thread.currentThread().interrupt() on InterruptedException (#12314)
* Call Thread.currentThread().interrupt() on InterruptedException

Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2022-02-20 12:35:51 +01:00
GiviMAD
9bb43461fb
[voskstt] initial contribution (#12249)
Signed-off-by: Miguel Álvarez Díez <miguelwork92@gmail.com>
2022-02-19 21:52:04 +01:00
jimtng
6000bc75fb
[daikin] Add the ability to disable background discovery (#12300)
Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
2022-02-19 21:50:12 +01:00
Jacob Laursen
2e72ac78fd
[hdpowerview] Add support for setting repeater LED color and brightness (#12308)
* Add support for setting repeater LED color and brightness.

Fixes #12307

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-02-19 21:48:38 +01:00
Wouter Born
33b613d283
[hueemulation] Provide non-null context to TriggerHandlerCallback (#12320)
This prevents NPEs and a compilation issue when openhab/openhab-core#2763 is merged.

Signed-off-by: Wouter Born <github@maindrain.net>
2022-02-19 21:37:51 +01:00
Christoph Weitkamp
187937fbd1
Catch exception in case of connection to database failed during activation of servive (#12313)
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2022-02-19 21:37:23 +01:00
ranzen84
3b0c2ca19f
Update README.md (#12322) 2022-02-19 21:35:11 +01:00
eugen
f29034fe87
[homekit] mark item dirty only if it has homekit metadata (#12293)
* mark item dirty only if it has homekit metadata

Signed-off-by: Eugen Freiter <freiter@gmx.de>
2022-02-19 09:21:52 +01:00
Christoph Weitkamp
bc7e01726f
[openweathermap] Code cleanup (#12311)
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2022-02-18 08:47:35 +01:00
Christoph Weitkamp
b5e480bd30
Allow default sound parameter value (#12309)
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2022-02-17 23:03:31 +01:00
Ben Jones
2b80c0ea97
[amplipi] Add support for incremental volume control (#12297)
Signed-off-by: Ben Jones <ben.jones12@gmail.com>
2022-02-17 09:30:30 +01:00
jimtng
f18ee99b08
[daikin] Fix communication errors by retrying failed http requests (#12239)
* [daikin] Fix communication errors by retrying failed http requests

Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
2022-02-16 07:35:19 +01:00
Pawel
85866c63c0
[bluetooth.airthings] Catch all exceptions in a scheduled task to prevent future executions from being suppressed (#12261)
* Fixes #9862

Catch all exceptions in scheduled task to prevent future executions from being suppressed.

Signed-off-by: Pawel Switalski <switalski.pw@gmail.com>
Signed-off-by: Pawel <s-pw@example.com>
2022-02-16 07:30:39 +01:00
jimtng
baa9aacf50
[fronius] Fix communication errors by retrying failed http requests (#12255)
* [fronius] Fix communication errors by retrying failed http requests

Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
2022-02-15 23:50:37 +01:00
Christoph Weitkamp
f70290a5ae
Fixed modbus integration tests (#12292)
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2022-02-14 13:04:39 +01:00
lolodomo
909d3d8c42
[omnilink] Removed tags from channel type lock_switch (#12288)
Related to #12262

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-02-14 12:42:45 +01:00
lolodomo
4330e96ce7
[airquality] Cleanup semantic tags (#12290)
Related to #12262

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-02-14 07:49:04 +01:00
lolodomo
ab83767fcf
[millheat] Cleanup semantic tags (#12289)
Related to #12262

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-02-14 07:48:24 +01:00
lolodomo
a0c31e0cfa
[deconz] Cleanup semantic tags (#12287)
* [deconz] Cleanup semantic tags

Related to #12262

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-02-13 22:50:50 +01:00
lolodomo
43d1175c78
[vigicrues] Cleanup semantic tags (#12286)
Related to #12262

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-02-13 21:49:11 +01:00
lolodomo
78a5d5d6ad
[openweathermap] Cleanup semantic tags (#12285)
Related to #12262

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-02-13 21:35:20 +01:00
lolodomo
02033c229d
[sonyprojector] Fix tags for channel type powerstate (#12283)
Related to #12262

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-02-13 21:16:53 +01:00
lolodomo
f484faafd0
[sagercaster] Cleanup semantic tags (#12284)
Related to #12262

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-02-13 21:12:58 +01:00
lolodomo
631c7d8c79
[souliss] Remove tags from channel type power (#12282)
Related to #12262

Follow-up #12269

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-02-13 20:41:36 +01:00
Jacob Laursen
b750d85a11
Use system channel types for humidity and outdoor temperature (#12277)
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-02-13 19:56:51 +01:00
lolodomo
7d3f3c56a7
[souliss] Fix semantic tags (#12269)
Related to #12262

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-02-13 16:26:01 +01:00
lolodomo
8b91e2172f
[openwebnet] Fix tags for channel shutter (#12271)
Related to #12262

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-02-13 12:50:47 +01:00
lolodomo
c576b1e894
[dmx] Fix tags for channel color_temperature (#12265)
Related to #12262

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-02-13 12:49:52 +01:00
lolodomo
b25753cb17
[lifx] Cleanup semantic tags (#12274)
Related to #12262

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-02-13 12:48:06 +01:00
lolodomo
1197c67bbb
Replace unknown category DimmableLight by Light (#12264)
Also replace unknwon category DimmableCT by ColorLight

Fix #12263

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-02-13 09:40:29 +01:00
Dan Cunningham
b7e064a872
[hydrawise] Support unused zones (#12275)
* [hydrawise] Support unused zones
Fixes #12209

Signed-off-by: Dan Cunningham <dan@digitaldan.com>
2022-02-13 09:15:20 +01:00
lolodomo
a7e6fe648d
[max] Use defined semantic tags (#12268)
Related to #12262

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-02-12 23:11:26 +01:00
lolodomo
e0b1c58c5a
[shelly] Category added to channel type sensorHumidity (#12266)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-02-12 23:09:00 +01:00