Commit Graph

1775 Commits

Author SHA1 Message Date
Marcel
4d8c6b304b
[miio] support sending openclose commands (#11581)
* [miio] support sending openclose commands

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

* [miio] fix contact sending

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

* [miio] switch

Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
2021-11-14 13:40:05 +01:00
Boris Krivonog
edafc1970b
[nikobus] added option to set rollershutter position (#11548)
Signed-off-by: Boris Krivonog boris.krivonog@inova.si
Signed-off-by: Boris Krivonog <boris.krivonog@inova.si>
2021-11-14 11:33:39 +01:00
jlaur
666214749b
[danfossairunit] Add default i18n properties file (#11580)
* Fix namespace issue.

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

* Add default i18n properties file.

Fixes #11578

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

* Internationalize thing status descriptions.

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

* Add missing configuration option description.

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2021-11-14 11:13:22 +01:00
Wouter Born
585a671e36
Use POM packaging with index BOMs (#11520)
Looks like only the POM dependencies are used by the indexer, so the JAR is unused and useless as this warning correctly indicates when you build them:

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

Signed-off-by: Wouter Born <github@maindrain.net>
2021-11-13 13:44:37 +01:00
lolodomo
99144d6193
[sonyprojector] Allow translation of exception messages that can be d… (#11392)
* [sonyprojector] Allow translation of exception messages that can be displayed in MainUI

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2021-11-13 00:29:32 +01:00
lolodomo
43b8aadf13
[remoteopenhab] Add all default translations to properties file (#11373)
Allows translating the remote openHAB binding strings with Crowdin.

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2021-11-12 22:00:31 +01:00
mlobstein
5c8e2a2bbf
[nuvo] Minor README edit and move logo to openhab-docs (#11556)
Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>
2021-11-12 21:19:09 +01:00
lolodomo
b63545636a
[meteoblue] Add default translations to properties file (#11561)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2021-11-12 21:16:33 +01:00
lolodomo
5694d8a3c8
[voicerss] Add default translations to properties file (#11575)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2021-11-12 21:14:54 +01:00
Sami Salonen
dcca9c0ac6
[openhabcloud] reconnect on connection errors (#11153)
* [openhabcloud] reconnect on connection errors

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

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

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

* [openhabcloud] Update Socket IO dependency to 1.0.1

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

* [openhabcloud] feature.xml updated also with socket io 1.0.1

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

* [openhabcloud] Re-connect manually on error events when not connected

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

* [openhabcloud] less loud logging on retries

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

* [openhabcloud] removing unnecessary conditional in logging

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

* [openhabcloud] javadoc corrections and clarifications

Signed-off-by: Sami Salonen <ssalonen@gmail.com>
2021-11-12 21:06:47 +01:00
lolodomo
58e7cb67bb
[rfxcom] Add default translations to properties file (#11532)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2021-11-12 11:43:06 +01:00
Christoph Weitkamp
c048268aa7
Added default i18n properties file (#11574)
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2021-11-12 11:37:01 +01:00
Christoph Weitkamp
65e22f2f12
[googletts] Added default i18n properties file (#11569)
* Added default i18n properties file

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

* Incorported comments from review

Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2021-11-12 10:15:19 +01:00
Andrew Fiddian-Green
cb13ec6f1a
[hdpowerview] Secondary shade position was inverted (#11552)
* [hdpowerview] get secondary shade position value was inverted

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

* [hdpowerview] remove testing Jar from PR

Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
2021-11-12 01:23:25 +01:00
Daniel Rosengarten
e98f7a9591
[velbus] Fix typo in the Counter Channel name for VMB7IN (#11521) (#11553)
* [velbus] Add new functionality PRESSED and LONG PRESSED and fix bug

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

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

Fix bug :

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

Signed-off-by: Daniel Rosengarten <github@praetorians.be>

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

Co-authored-by: cedricboon <cedric.boon@hotmail.com>
Signed-off-by: Daniel Rosengarten <github@praetorians.be>

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

Co-authored-by: cedricboon <cedric.boon@hotmail.com>
Signed-off-by: Daniel Rosengarten <github@praetorians.be>

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

Co-authored-by: cedricboon <cedric.boon@hotmail.com>
Signed-off-by: Daniel Rosengarten <github@praetorians.be>

* Add trigger on channel when using button simulation

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

Signed-off-by: Daniel Rosengarten <github@praetorians.be>

* Fix redundant superinterface DiscoveryService

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

Signed-off-by: Daniel Rosengarten <github@praetorians.be>

* Fix bug #11521

Typo in the Counter Channel name for VMB7IN.

Signed-off-by: Daniel Rosengarten <github@praetorians.be>

Co-authored-by: cedricboon <cedric.boon@hotmail.com>
2021-11-12 01:14:06 +01:00
Jonas Hohaus
688f1af8f3
[phc] Fix OH3 bug and add support for multible commands (#11554)
* Remove advanced option in group-type

Signed-off-by: Jonas Hohaus <jh@gnlpf.net>

* Add support for multiple commands in one message

Signed-off-by: Jonas Hohaus <jh@gnlpf.net>
2021-11-12 01:05:14 +01:00
Christian Kittel
2c7acbcc21
Prevent a timeout from the server from stopping the binding (#11555)
Signed-off-by: EvilPingu <ckittel@gmx.de>
2021-11-12 00:45:50 +01:00
jlaur
afdbd09eb3
[hue] Add workaround for LK Wiser products (#11572)
* Add workaround for LK Wiser products.

Fixes #11571

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

* Optimize vendor check.

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2021-11-11 23:50:07 +01:00
Marcel
40d8e1c175
[miio] Initial i18n properties file for Xiaomi miio binding (#11563)
* [miio] Initial i18n properties file

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

* [miio] add status msg to i18n

Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
2021-11-11 23:10:47 +01:00
Christoph Weitkamp
610e58a06e
Added default i18n properties file (#11565)
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2021-11-11 22:01:47 +01:00
Christoph Weitkamp
1f41b29ea9
Added default i18n properties file (#11570)
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2021-11-11 21:30:39 +01:00
Christoph Weitkamp
1147b646f3
Added default i18n properties file (#11567)
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2021-11-11 21:24:05 +01:00
Christoph Weitkamp
5847db28c8
Added default i18n properties file (#11566)
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2021-11-11 21:21:31 +01:00
Christoph Weitkamp
34cf1b9899
Added missing translations for command options (#11564)
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2021-11-11 21:16:54 +01:00
openhab-bot
4f59c5e8b0
New Crowdin updates (#11539)
* New translations powermax.properties (French)

* New translations openhabcloud.properties (German)

* New translations avmfritz.properties (German)

* New translations mail.properties (German)

* New translations hue.properties (German)

* New translations airquality.properties (French)

* New translations ntp.properties (German)

* New translations velux.properties (German)

* New translations mail.properties (German)

* New translations hue.properties (German)

* New translations avmfritz.properties (German)

* New translations pixometer.properties (German)

* New translations openuv.properties (French)
2021-11-11 13:26:04 +01:00
Stefan Triller
062f454406
[mqtt.homeassistant] Fix MQTT Vacuum serialization names (#11550)
While integrating the review comments, I did not remember that some
variable names are written as they are because they result from some
deserialization.

This small PR fixes this.

Signed-off-by: Stefan Triller <github@stefantriller.de>
2021-11-10 17:06:45 +01:00
boc-tothefuture
2a8e9b6e93
[nuvo] fixes protocol errors when connecting via an MPS4 (#11511)
Signed-off-by: Brian O'Connell <boc-tothefuture@users.noreply.github.com>

Co-authored-by: Brian O'Connell <boc-tothefuture@users.noreply.github.com>
2021-11-10 09:31:57 +01:00
lolodomo
c58be803fc
[hue] Factorize thing configurations (#11535)
* Reduce the number of strings to translate
* Remove wrong key for channel pattern

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2021-11-09 17:56:40 +01:00
Gaël L'hopital
7bd71fdf12
[AirQuality] Tagging channels, prepared for Crowdin, dynamic channels (#11192)
* Adding semantic tags
Adding alert level and code refined.

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

* Commiting intermediate work

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

* Complete review of the binding.
Added measures for each pollutant.
Added extensible channel for pollutant sensibility.

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

* Finishing translation

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

* One last code cleansing to be ready to push

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

* Documentation updates

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

* Spotless apply

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

* Correcting conflicting file

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

* Code review correction

Signed-off-by: Gael L'hopital <gael@lhopital.org>

* Introducing a bridge to Api

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

* Code review correction

Signed-off-by: clinique <gael@lhopital.org>
2021-11-09 08:59:13 +01:00
lolodomo
c79fd06256
[hue] Internationalization of discovery results (#11501)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2021-11-08 13:53:42 +01:00
Christoph Weitkamp
dfe577aec5
[openhabcloud] Added default i18n properties file (#11547)
* Added default i18n properties file
* Added translation property for service label

Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2021-11-08 12:58:29 +01:00
Christoph Weitkamp
a1f67aadc4
[deconz] Added default i18n properties file (#11546)
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2021-11-08 10:57:57 +01:00
Christoph Weitkamp
cde7f75b9c
Add missing entries to the default properties file (#11545)
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2021-11-08 09:43:10 +01:00
lolodomo
f902bd478c
[kodi] Add missing entries to the default properties file (#11542)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2021-11-08 08:21:12 +01:00
lolodomo
b8686a6625
[weathercompany] Add missing entries to the default properties file (#11541)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2021-11-08 08:20:52 +01:00
lolodomo
02c2665999
[openuv] Add missing entries to the default properties file (#11540)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2021-11-08 08:20:33 +01:00
Stefan Triller
8dd4559443
[mqtt.homeassistant] Implement Vacuum discovery for Homeassistant MQTT (#11216)
* Implement Vacuum discovery for Homeassistant MQTT

Closes #8988

Signed-off-by: Stefan Triller <github@stefantriller.de>

* Addressed review comments

Signed-off-by: Stefan Triller <github@stefantriller.de>

* Spotless run again

Signed-off-by: Stefan Triller <github@stefantriller.de>
2021-11-07 15:57:41 +01:00
openhab-bot
56323f3f63
New Crowdin updates (#11536)
* New translations mail.properties (French)

* New translations twitter.properties (French)
2021-11-07 08:46:15 +01:00
LukasA83
a6fd6a3545
[jsscripting] Update GraalJS to 21.3 to allow method selection via JavaScript (#11437)
Signed-off-by: Lukas Agethen <lukas83@gmx.de>
2021-11-06 19:18:40 +01:00
Wouter Born
d4510f3fef
Always run OSGi HTTP service on random port in itests (#11523)
It is probably always a good idea to run the OSGi HTTP service on a random available port in itests.
So when this is always done it prevents future issues and removes a bit of duplication.

Signed-off-by: Wouter Born <github@maindrain.net>
2021-11-06 10:13:40 +01:00
lolodomo
207da1cffc
[mail] Extend properties file with all default translations (#11530)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2021-11-06 10:11:55 +01:00
lolodomo
360c6caf5c
[twitter] Extend properties file with all default translations (#11528)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2021-11-06 10:08:57 +01:00
openhab-bot
ffa0b04cac
New Crowdin updates (#11518)
* New translations lametrictime.properties (French)

* New translations thingstate.properties (French)

* New translations twitter.properties (French)

* New translations tradfri.properties (French)

* New translations vigicrues.properties (French)
2021-11-05 19:37:03 +01:00
Wouter Born
42b6a19d3d
Fix wrong build result when single add-on build fails (#11522)
Fixes the issue that single add-on builds that fail are not marked as such in GitHub Actions.

Signed-off-by: Wouter Born <github@maindrain.net>
2021-11-05 18:42:16 +01:00
Christoph Weitkamp
8a838fbc0f
[hue] Fixed unicode character in translation (#11519)
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2021-11-05 15:21:48 +01:00
Wouter Born
0ae2a2b751
Suppress bnd warnings for unused imports/exports (#11513)
Ignores warnings like:

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

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

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

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

Signed-off-by: Wouter Born <github@maindrain.net>
2021-11-05 13:56:58 +01:00
lolodomo
554e7574d1
[weathercompany] Fix internationalization of discovery service (#11499)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2021-11-05 12:10:10 +01:00
Christoph Weitkamp
05caddab85
[dwdunwetter] Fixed broken link in documentation (#11512)
- Fixed broken link in documentation

Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2021-11-04 17:49:18 +01:00
Marcel
7861a9c8f4
[miio] Add support 3 yeelights (#11492)
Add support for
yeelink.light.mono6 - Mi Smart LED Bulb
yeelink.light.monoa - Yeelight LED smart bulb W3(dimmable)
yeelink.light.monob - Yeelight GU10 Smart Bulb W1(dimmable)

Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
2021-11-04 09:07:45 +01:00
Wouter Born
49aa537036
GitHub Actions workflow improvements (#11507)
* Checkout merged branches for pull requests
* Add support for incremental add-on builds to speed up PR builds
* Echo the mvn command used for builds

Signed-off-by: Wouter Born <github@maindrain.net>
2021-11-04 09:05:39 +01:00