Commit Graph

1724 Commits

Author SHA1 Message Date
Marcel
40b3db468b
[miio] fix action channel miot for empty input with parameters (#11794)
Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
2021-12-16 09:03:42 +01:00
Matthew Skinner
82df34131c
Fix Global off blocks lights turning on (#11797)
Signed-off-by: Matthew Skinner <matt@pcmus.com>
2021-12-16 08:58:51 +01:00
Nuesel
e54dec524b
iRobot zone support added (#11783)
Signed-off-by: Nuesel <nuesel@gruenbaer.net>
2021-12-16 08:53:30 +01:00
quidam
956f6e722e
[avmfritz] Prevent attempt to set brightness of blinds (#11790)
Signed-off-by: Ulrich Mertin <mail@ulrich-mertin.de>
2021-12-15 18:48:07 +01:00
openhab-bot
09105cae8e
New Crowdin updates (#11774)
* New translations mqttbroker.properties (Hungarian)

* New translations exec.properties (Hungarian)

* New translations jinja.properties (Hungarian)

* New translations js.properties (Hungarian)

* New translations regex.properties (Hungarian)

* New translations jsonpath.properties (Hungarian)

* New translations scale.properties (Hungarian)

* New translations xslt.properties (Hungarian)

* New translations xpath.properties (Hungarian)
2021-12-15 18:44:18 +01:00
Wouter Born
07a1976c81
Add default translations for binding add-ons (#11760)
* Add default translations for binding add-ons

This makes the texts used by these add-ons translatable with Crowdin.

To keep the PR simple, it only adds default translations for add-ons which do not yet have any default translations properties file.
We can do follow up PRs for adding missing key/values to add-ons that already have these files or to remove duplications.

There are several add-ons in this PR that do have non-English translation files, so I'll upload those to Crowdin when the PR is merged.

Signed-off-by: Wouter Born <github@maindrain.net>
2021-12-15 18:40:21 +01:00
Christoph Weitkamp
05e782ec1a
[avmfritz] Fixed update of data for blinds (#11773)
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2021-12-15 13:53:29 +01:00
jlaur
caa9e3500d
Fix deprecated channels on reinitialization. (#11779)
Fixes #11778

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2021-12-15 11:41:50 +01:00
lordjaxom
a1e84cff73
[wled] add configuration to sort state options of channels effects and palettes (#11785)
Signed-off-by: Sascha Volkenandt <sascha@akv-soft.de>
2021-12-15 11:36:17 +01:00
Matthew Skinner
88d74b72ea
Fix two events being logged when off. (#11786)
Signed-off-by: Matthew Skinner <matt@pcmus.com>
2021-12-15 11:30:21 +01:00
Hans van den Bogert
4291729c7b
[omnikinverter] feature: Add channels for voltage and current (#11645)
Signed-off-by: Hans van den Bogert <hansbogert@gmail.com>
2021-12-15 09:20:21 +01:00
jlaur
c71e5bd083
Reduce log level to TRACE for full request/response logging. (#11782)
Fixes #11781

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2021-12-14 17:32:29 +01:00
Dan Cunningham
22b9be1390
[jsscripting] Update library and change config PID (#11777)
* Use OH standrard component pid naming, default injection to true.
* Bump openhab-js

Signed-off-by: Dan Cunningham <dan@digitaldan.com>
2021-12-14 08:30:32 +01:00
Dan Cunningham
4481ecff61
[jsscripting] openhab-js integration (#11656)
Fixes #11222

Signed-off-by: Dan Cunningham <dan@digitaldan.com>
2021-12-13 08:13:13 +01:00
Jonathan Gilbert
306c30eda1
GraalJS now uses automation/js (#11719)
* GraalJS now uses automation/js

Signed-off-by: Jonathan Gilbert <jpg@trillica.com>
2021-12-12 23:06:37 +01:00
olivierkeke
5d52435dea
[teleinfo] Add support for Standard tic mode (#11375)
* Add a ticMode parameter to serial controller

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

* Improve checksum verification

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

* Add parameter to deactivate checksum verification

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

* Add standard field labels

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

* Add things and channels for standard tic mode

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

* Add standard tic mode timestamp

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

* Fix typo

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

* Add some required null annotation

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

* Add parser for relais states

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

* Add relais channels and refactor standard mode channels

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

* Add @NonNullByDefault on enum

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

* Update documentation

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

* Fix formula in documentation

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

* Fix code issues

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

* Move channel type description in same file than channel group type description

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

* Add pattern specification to dateTime channel type

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

* Add missing channelGroup id in channel UID

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

* Add trace log

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

* Fix group labels

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

* Make labels uppercase

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

* Make options lowercase

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

* Simplify group label

Signed-off-by: Olivier Marceau <hollysaiqs@marceau.ovh>
2021-12-12 22:58:36 +01:00
Marcel
f8a6522100
[miio] add BT Devices channel to chuangmi plug (#11715)
* [miio] add BT Devices channel to chuangmi plug

* Shows the  bluetooth  devices connected to the plug (plug as BT
gateway)
* Add refresh interval functionality to reduce load on device
* Change public to private for the private functions in conversions.
* Add test for new conversion
* Update miio.properties

Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
2021-12-12 22:21:20 +01:00
Marcel
ba58f96d33
[miio] Add support for Roidmi EVE roidmi.vacuum.v60 (#11727)
Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
2021-12-12 22:13:11 +01:00
Marcel
1e179e77d7
[miio] Improve Viomi vacuums, add docking and route channel & mapping (#11763)
Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
2021-12-12 22:10:51 +01:00
pali
45729890b1
[js-transform] inline java script support (#11473)
* [js-transform] inline java script support

Signed-off-by: Pauli Anttila <pauli.anttila@gmail.com>
2021-12-12 22:09:36 +01:00
Sönke Küper
26729956bc
[deutschebahn] Implemented filters for trains in timetable (#11745)
* Implemented filters within timetable.

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

* Added position information for filtertokens, to allow detailled failure information

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

* Added documentation for non matching values.

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

* Applied review remarks.

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

Co-authored-by: Sönke Küper <soenkekueper@gmx.de>
2021-12-12 19:32:58 +01:00
Wouter Born
e752b51662
Add default translations for io add-ons (#11753)
* Add default translations for io add-ons

This makes the texts used by these add-ons translatable with Crowdin.

Signed-off-by: Wouter Born <github@maindrain.net>
2021-12-12 19:32:51 +01:00
openhab-bot
69c130e1ba
New Crowdin updates (#11762)
* New translations openweathermap.properties (German)

* New translations openweathermap.properties (German)

* New translations urtsi.properties (German)
2021-12-12 18:02:05 +01:00
Dan Cunningham
387f8a3a0d
[myq] Fix for controlling lights (#11765)
Signed-off-by: Dan Cunningham <dan@digitaldan.com>
2021-12-12 17:40:51 +01:00
Pieter Buts
75238b8495
Fix xml unmarshalling exception in DenonMarantzHttpConnector.java (#11766) 2021-12-12 17:15:16 +01:00
M Valla
aba67bcfd8
[openwebnet] Add support for Dry Contact and IR interfaces for WHO=25 (#11747)
* [openwebnet] updated where parameter labels

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

* [openwebnet] added support for DryContact/IR interfaces

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

* [openwebnet] updated README

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

* [openwebnet] checkstyle

Signed-off-by: Massimo Valla <mvcode00@gmail.com>
2021-12-12 13:58:27 +01:00
M Valla
67f7de1403
[openwebnet] reduced log messages during UPnP bridge discovery (#11705)
Signed-off-by: Massimo Valla <mvcode00@gmail.com>
2021-12-12 13:21:52 +01:00
Holger Friedrich
4a58a5158c
[knx] Upgrade Calimero library to release 2.5. (#11759)
- Upstream update of base library for KNX access from v2.4 to v2.5.
- Adapt AbstractKNXClient to new interface and replace calls of deprecated
  methods.
Fixes #6849.

Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2021-12-12 12:55:09 +01:00
Christoph Weitkamp
e9ac2be397
[urtsi] Fixed leading spaces in translations (#11757)
* Fixed leading spaces in translations
* Add @text in binding.xml
* Added @text in urtsi.properties

Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2021-12-12 12:02:14 +01:00
Matthew Skinner
6077ce3c44
[ipcamera] Add new channel lastEventData for detailed extra data on alarms (#11748)
* Add new channel
* Last Event Data channel finished.
* Remove info logging.
* Fix bugs
* Fix ONVIF wont use different ports in xaddr paths.

Signed-off-by: Matthew Skinner <matt@pcmus.com>
2021-12-12 09:08:53 +01:00
Mark Herwege
cafed142e7
Add virtual flag handling. (#11751)
Signed-off-by: Mark Herwege <mark.herwege@telenet.be>
2021-12-11 19:39:40 +01:00
Martin Herbst
adecb53042
[homematic] Improve (re)connect handling to Homematic gateways (#11429)
* Use globally unique id for registration of callback to allow ...

the connection of multiple OH installations with one CCU.

The bridge id is not sufficient for this purpose because it is same in
all OH installations.


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

* Retry callback re-registration after connection is resumed

Some services on the CCU need longer to start and are not available
immediately after the connection to the CCU has been resumed.

Improves the solution for #8808

Fixes #10439

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

* Description was missing.

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

* Changed setting name and description to avoid confusion


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

* Added a troubleshooting tip to solve a communication problem


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

* Shortened the label name to follow the guide lines

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

* Print more information about the reason for the failure

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

* Using scheduler thread pool and simplified configuration

Instead of configuring separate values for retry delays and number of
retries only the maximum time for retries can be configured.
The init method uses fixed delays.

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

* Don't retry to send if gateway does not answer at all

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

* Improved reconnect handling

- unregister callback not necessary if connection is lost
- wait 30s until clients and servers are restarted to give the gateway
some time to recover

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

* Spotless

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

* Cancel an active future if the binding is stopped

Signed-off-by: Martin Herbst <develop@mherbst.de>
2021-12-11 18:34:22 +01:00
openhab-bot
a1cded9fa3
New Crowdin updates (#11712)
* New translations ambientweather.properties (Italian)

* New translations amazondashbutton.properties (Italian)

* New translations openwebnet.properties (Italian)

* New translations lghombot.properties (Swedish)

* New translations playstation.properties (Swedish)

* New translations urtsi.properties (German)

* New translations chromecast.properties (German)

* New translations openhabcloud.properties (French)

* New translations openhabcloud.properties (Hungarian)

* New translations openhabcloud.properties (German)

* New translations logreader.properties (German)

* New translations googletts.properties (German)

* New translations avmfritz.properties (German)

* New translations thingstate.properties (French)

* New translations sncf.properties (French)

* New translations openweathermap.properties (German)

* New translations twitter.properties (French)

* New translations nikohomecontrol.properties (French)

* New translations gce.properties (French)

* New translations synopanalyzer.properties (French)

* New translations vigicrues.properties (French)

* New translations airquality.properties (French)

* New translations meteoblue.properties (French)

* New translations xmltv.properties (French)

* New translations sncf.properties (French)
2021-12-11 18:03:51 +01:00
Wouter Born
e7849c0060
Add default translations for persistence add-ons (#11754)
This makes the texts used by these add-ons translatable with Crowdin.

Signed-off-by: Wouter Born <github@maindrain.net>
2021-12-11 18:02:00 +01:00
Wouter Born
1b3818c329
Add default translations for transform add-ons (#11755)
This makes the texts used by these add-ons translatable with Crowdin.

Signed-off-by: Wouter Born <github@maindrain.net>
2021-12-11 18:01:29 +01:00
Florian Albrecht
13ca0d5500
[mqtt] Fix avail topics subscription after Brige Restart (#9851)
Fixes #9850

Signed-off-by: Florian Albrecht <cw.florian.albrecht@gmx.de>
2021-12-11 17:57:13 +01:00
nimric
ba3dfe3ed6
[jdbc] Add support for TimescaleDB (#11090) (#11091)
Signed-off-by: Riccardo Nimser-Joseph <github@nimric.de>

Co-authored-by: Riccardo Nimser-Joseph <github@nimric.de>
2021-12-11 17:50:40 +01:00
Sönke Küper
f2996aa723
Updated jsoup to 1.14.3 and adjusted some addons to use the provided version instaed of compile time dependency. (#11643)
Signed-off-by: Sönke Küper <soenkekueper@gmx.de>

Co-authored-by: Sönke Küper <soenkekueper@gmx.de>
2021-12-11 17:21:42 +01:00
jlaur
9f339c8ec4
[hdpowerview] Add support for enabling/disabling automations (#11637)
* Add support for enabling/disabling automations.

Fixes #11516

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

* Fix class description.

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

* Document automation channel and channel groups.

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

* Update scene example in documentation.

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

* Consolidate method for getting channel map.

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

* Extract channel updating from data fetching methods.

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

* Draft implementation of better automation description.

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

* Simplify and optimize building weekday string.

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

* Further simplify building weekday string.

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

* Update scheduled event channels when modified.

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

* Update scene channels when modified.

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

* Update scene group channels when modified.

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

* Fix cache synchronization during initialization.

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

* Reduced code duplication.

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

* Shorten time formatting.

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

* Danish translations for dynamic channels.

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

* Simplify, optimize and fix dynamic channel creation.

Channel order is now preserved when updating an existing channel.

Scenes and scene collection are sorted correctly.

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

* Provide backwards compatibility for deprecated channels.

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

* Document purpose of createDeprecatedSceneChannels.

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

* Cleaned up poll method for improved readability.

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

* Fix potential race condition when initialize() is called while updating channels.

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2021-12-11 17:20:11 +01:00
Flole998
145bd0ec97
[Homematic] Fix "Channel not found for Datapoint"-Errors (#11493)
Signed-off-by: Flole <flole@flole.de>
2021-12-11 17:02:27 +01:00
dalgwen
374a89a9fb
[pulseaudio] Add reencoding to play more audio formats (#11630) (#11631)
Add a pass to reencode PCM sound in 16 bit, 44100 hz, 2 channels, before sending it to the pulseaudio audio sink.

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

Co-authored-by: Gwendal Roulleau <gwendal.roulleau@gmail.com>
2021-12-11 13:08:03 +01:00
Frieso Aeschbacher
15b83cc40f
[dominoswiss] Initial contribution (#11585)
* Added Dominoswiss to CODEOWNERS and POMs

Signed-off-by: Frieso Aeschbacher <frieso.aeschbacher@gmail.com>

* Intitial contribution of Dominoswiss Binding

Signed-off-by: Frieso Aeschbacher <frieso.aeschbacher@gmail.com>

* Typo in pom.xml

Signed-off-by: Frieso Aeschbacher <frieso.aeschbacher@gmail.com>

* Fixed inputs from fwolter

Signed-off-by: Frieso Aeschbacher <frieso.aeschbacher@gmail.com>

* Fixed inputs from fwolter

Signed-off-by: Frieso Aeschbacher <frieso.aeschbacher@gmail.com>

* Fixed localWriter Issue

Signed-off-by: Frieso Aeschbacher <frieso.aeschbacher@gmail.com>

* Update bom/openhab-addons/pom.xml

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

Co-authored-by: Fabian Wolter <github@fabian-wolter.de>
2021-12-11 13:05:41 +01:00
Flole998
ebf2a76311
[Hueemulation] Fix xy change response (#10692)
Signed-off-by: Flole <flole@flole.de>
2021-12-11 11:35:33 +01:00
Jonathan Gilbert
c1b10c8363
Added simple Shared Cache into scope (#11693)
Signed-off-by: Jonathan Gilbert <jpg@trillica.com>
2021-12-11 11:13:55 +01:00
Wouter Born
e4b0d3f7ac
[plugwise] Fix 'power' channel not correctly updated with power production (#11746)
This fixes the issue that the 'power' channel would not update with the correct state because the number of pulses in the PowerInformationResponseMessage is signed instead of unsigned.
When the binding detected these strange readings it would normally log: "Circle (...) is in a kind of error state ...".

Signed-off-by: Wouter Born <github@maindrain.net>
2021-12-11 10:56:48 +01:00
Paul
3586146145
Fix link to JN-UG-3091.pdf #11736 (#11743)
Signed-off-by: prsnbrg <mail@paulrosenberg.de>
2021-12-10 15:46:03 +01:00
eugen
b89ae048e2
[homekit] make min/max values for Color Temperature configurable (#11717)
* make min/max values for ColorTemprature configurable

Signed-off-by: Eugen Freiter <freiter@gmx.de>
2021-12-10 00:20:28 +01:00
Mark Herwege
46971554e3
[nikohomecontrol] Fix dimmer control sequence (#11737)
* Fix dimmer control sequence

Signed-off-by: Mark Herwege <mark.herwege@telenet.be>
2021-12-09 18:59:18 +01:00
Stewart Cossey
85929a1d31
Fix smart water alert level. (#11734)
Signed-off-by: Stewart Cossey <stewart.cossey@gmail.com>
2021-12-09 12:35:29 +01:00
Stewart Cossey
dc11890f32
Change status channel from hash map values to state description options. (#11739)
Signed-off-by: Stewart Cossey <stewart.cossey@gmail.com>
2021-12-09 09:00:18 +01:00