Commit Graph

2312 Commits

Author SHA1 Message Date
jimtng
f4532a9e88
[jrubyscripting] Fix UI configuration property id (#12650)
Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
2022-04-25 11:18:50 +02:00
Jacob Laursen
241a613d65
[wemo] Fix UPnP resubscription after lost network connection (#12648)
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-04-25 11:16:47 +02:00
Hans-Jörg Merk
270c917e66
[mail] Fix UnsupportedDataTypeException (#12568)
Also-by: Jan N. Klug <jan.n.klug@rub.de>
Signed-off-by: Hans-Jörg Merk <github@hmerk.de>
2022-04-25 11:01:58 +02:00
Bernd Weymann
c8d64ddeeb
[mybmw] new binding contribution (#12006)
* solve pom.xml conflict

Signed-off-by: Bernd Weymann <bernd.weymann@gmail.com>

* authorization working

Signed-off-by: Bernd Weymann <bernd.weymann@gmail.com>

* Fully Authorization integration & cleanup

Signed-off-by: Bernd Weymann <bernd.weymann@gmail.com>

* make project compilable

Signed-off-by: Bernd Weymann <bernd.weymann@gmail.com>

* make code compilable & buildable

Signed-off-by: Bernd Weymann <bernd.weymann@gmail.com>

* fix discovery test

Signed-off-by: Bernd Weymann <bernd.weymann@gmail.com>

* fix property test

Signed-off-by: Bernd Weymann <bernd.weymann@gmail.com>

* fix unit tests

Signed-off-by: Bernd Weymann <bernd.weymann@gmail.com>

* unit tests fixed

Signed-off-by: Bernd Weymann <bernd.weymann@gmail.com>

* solve checkstyle high & medium

Signed-off-by: Bernd Weymann <bernd.weymann@gmail.com>

* include all status update channel calls

Signed-off-by: Bernd Weymann <bernd.weymann@gmail.com>

* correct Closed/Connected/Locked states

Signed-off-by: Bernd Weymann <bernd.weymann@gmail.com>

* add charge statistics

Signed-off-by: Bernd Weymann <bernd.weymann@gmail.com>

* add ChargingProfile channels

Signed-off-by: Bernd Weymann <bernd.weymann@gmail.com>

* add charging sessions

Signed-off-by: Bernd Weymann <bernd.weymann@gmail.com>

* add discovery properties

Signed-off-by: Bernd Weymann <bernd.weymann@gmail.com>

* provide general check-control info

Signed-off-by: Bernd Weymann <bernd.weymann@gmail.com>

* add test data for different vehicles

Signed-off-by: Bernd Weymann <bernd.weymann@gmail.com>

* fix some checkstyle

Signed-off-by: Bernd Weymann <bernd.weymann@gmail.com>

* add more vehicles to unit test

Signed-off-by: Bernd Weymann <bernd.weymann@gmail.com>

* add F11 test

Signed-off-by: Bernd Weymann <bernd.weymann@gmail.com>

* add service mileage

Signed-off-by: Bernd Weymann <bernd.weymann@gmail.com>

* add check controls

Signed-off-by: Bernd Weymann <bernd.weymann@gmail.com>

* add fingerprint mechanism

Signed-off-by: Bernd Weymann <bernd.weymann@gmail.com>

* cleanup channels after rework

Signed-off-by: Bernd Weymann <bernd.weymann@gmail.com>

* bugfixe requesting vehicles

Signed-off-by: Bernd Weymann <bernd.weymann@gmail.com>

* fix brand handling

Signed-off-by: Bernd Weymann <bernd.weymann@gmail.com>

* anonymous fingerprint

Signed-off-by: Bernd Weymann <bernd.weymann@gmail.com>

* add charge statistics channels

Signed-off-by: Bernd Weymann <bernd.weymann@gmail.com>

* add tire channels

Signed-off-by: Bernd Weymann <bernd.weymann@gmail.com>

* remove range max channels

Signed-off-by: Bernd Weymann <bernd.weymann@gmail.com>

* resolve last checkstyle issues

Signed-off-by: Bernd Weymann <bernd.weymann@gmail.com>

* fix chrge profile updates

Signed-off-by: Bernd Weymann <bernd.weymann@gmail.com>

* fix remote service execution

Signed-off-by: Bernd Weymann <bernd.weymann@gmail.com>

* fix image handling

Signed-off-by: Bernd Weymann <bernd.weymann@gmail.com>

* adapt service & checkcontrol handling

Signed-off-by: Bernd Weymann <bernd.weymann@gmail.com>

* bugfix session selection

Signed-off-by: Bernd Weymann <bernd.weymann@gmail.com>

* rework km / mi handling

Signed-off-by: Bernd Weymann <bernd.weymann@gmail.com>

* introduce fallbacks for range calculations

Signed-off-by: Bernd Weymann <bernd.weymann@gmail.com>

* unit tests for all available vehicle fingerprints

Signed-off-by: Bernd Weymann <bernd.weymann@gmail.com>

* bugfixes during creation of HMI and translations

Signed-off-by: Bernd Weymann <bernd.weymann@gmail.com>

* bugfix translation and language selection

Signed-off-by: Bernd Weymann <bernd.weymann@gmail.com>

* introduce climate-now start / stop

Signed-off-by: Bernd Weymann <bernd.weymann@gmail.com>

* bugfixes translation

Signed-off-by: Bernd Weymann <bernd.weymann@gmail.com>

* add all fuelindicator fields

Signed-off-by: Bernd Weymann <bernd.weymann@gmail.com>

* correct remote service ids, commands and translations

Signed-off-by: Bernd Weymann <bernd.weymann@gmail.com>

* cleanup remote requsts and responses

Signed-off-by: Bernd Weymann <bernd.weymann@gmail.com>

* add remote response examples

Signed-off-by: Bernd Weymann <bernd.weymann@gmail.com>

* rework command options

Signed-off-by: Bernd Weymann <bernd.weymann@gmail.com>

* remove unused timezoneprovider

Signed-off-by: Bernd Weymann <bernd.weymann@gmail.com>

* locale language debugging

Signed-off-by: Bernd Weymann <bernd.weymann@gmail.com>

* fix range value calculation

Signed-off-by: Bernd Weymann <bernd.weymann@gmail.com>

* introduce charge-info channel

Signed-off-by: Bernd Weymann <bernd.weymann@gmail.com>

* localize charge info string

Signed-off-by: Bernd Weymann <bernd.weymann@gmail.com>

* smaller charge status fixes

Signed-off-by: Bernd Weymann <bernd.weymann@gmail.com>

* 1st readme adaptions plus corresponding bugfixes

Signed-off-by: Bernd Weymann <bernd.weymann@gmail.com>

* bugfix date time conversion

Signed-off-by: Bernd Weymann <bernd.weymann@gmail.com>

* readme channel group update

Signed-off-by: Bernd Weymann <bernd.weymann@gmail.com>

* add motion status

Signed-off-by: Bernd Weymann <bernd.weymann@gmail.com>

* raw test anonymous fingerprint

Signed-off-by: Bernd Weymann <bernd.weymann@gmail.com>

* revert motion status

Signed-off-by: Bernd Weymann <bernd.weymann@gmail.com>

* bugfixes todo sections

Signed-off-by: Bernd Weymann <bernd.weymann@gmail.com>

* china login

Signed-off-by: Bernd Weymann <bernd.weymann@gmail.com>

* remove unnecessary info logging

Signed-off-by: Bernd Weymann <bernd.weymann@gmail.com>

* spell check and example update

Signed-off-by: Bernd Weymann <bernd.weymann@gmail.com>

* resolve codeowner conflicts

Signed-off-by: Bernd Weymann <bernd.weymann@gmail.com>

* delete rex responses

Signed-off-by: Bernd Weymann <bernd.weymann@gmail.com>

* bugfix linux characters

Signed-off-by: Bernd Weymann <bernd.weymann@gmail.com>

* bugfix unit test with static time comparison

Signed-off-by: Bernd Weymann <bernd.weymann@gmail.com>

* Copyright header adaption

Signed-off-by: Bernd Weymann <bernd.weymann@gmail.com>

* add raw data channel

Signed-off-by: Bernd Weymann <bernd.weymann@gmail.com>

* add address channel

Signed-off-by: Bernd Weymann <bernd.weymann@gmail.com>

* add motion channel

Signed-off-by: Bernd Weymann <bernd.weymann@gmail.com>

* add mild hybrid vehicle support

Signed-off-by: Bernd Weymann <bernd.weymann@gmail.com>

* review comment corrections

Signed-off-by: Bernd Weymann <bernd.weymann@gmail.com>

* correct review comments

Signed-off-by: Bernd Weymann <bernd.weymann@gmail.com>

* resolve bom conflict

Signed-off-by: Bernd Weymann <bernd.weymann@gmail.com>
2022-04-25 08:12:55 +02:00
Ondrej Pecta
ad71ca0055
[prowl] Added the message priority setting feature (#12647)
Signed-off-by: Ondrej Pecta <opecta@gmail.com>
2022-04-24 21:00:20 +02:00
boc-tothefuture
433ab4dcd4
Fix Nuvo Grand Concerto Detection (#12613)
Signed-off-by: Brian OConnell <broconne@gmail.com>
2022-04-24 09:14:24 +02:00
Doug Culnane
dfd4beac82
[renault] API key to configuration parameter and rule update. (#12636)
* [renault] API key to configuration parameter and rule update.

Signed-off-by: Doug Culnane <doug@culnane.net>
2022-04-23 09:10:33 +02:00
Дилян Палаузов
6451afae5c
automation.jsscripting/README: hypelink (#12638) 2022-04-22 15:29:26 +02:00
Дилян Палаузов
e44eb7d679
automation.jsscripting/README: typo (#12637) 2022-04-22 15:28:10 +02:00
Bernd Weymann
3aaebde800
BMW ConnectedDrive binding removal (#12634)
Signed-off-by: Bernd Weymann <bernd.weymann@gmail.com>
2022-04-22 10:47:53 +02:00
Mark Herwege
3123810b98
Fix null pointer exception for invalid protocolInfo. (#12632)
Signed-off-by: Mark Herwege <mark.herwege@telenet.be>
2022-04-22 08:53:58 +02:00
Ethan Dye
aefdf06db0
[OmniLink] Remove extraneous newlines (#12630)
Signed-off-by: Ethan Dye <mrtops03@gmail.com>
2022-04-20 18:18:19 +02:00
Gaël L'hopital
3b77d114fc
[somfytahoma] Adding Moving channel to Rollershutter (#12605)
* Adding Moving channel to Rollershutter

Signed-off-by: clinique <gael@lhopital.org>
2022-04-19 19:17:14 +02:00
Ethan Dye
b6fa985fa3
[OmniLink] Fix daylight savings when setting date/time (#12546)
* Fix daylight savings when setting date/time
* Use an action to set date/time
* Add default time zone detection and i18n

Signed-off-by: Ethan Dye <mrtops03@gmail.com>
2022-04-18 22:07:58 +02:00
Andrew Fiddian-Green
485ee144b0
[velux] Improvements to documentation (#12604)
* [velux] update readme per #12601; delete dead web links
* [velux] improve readability

Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
2022-04-18 19:43:14 +02:00
stuart938503
a9c203998c
[TapoControl] Added guidance for internet isolation of P110 (#12620)
* Added guidance for internet isolation of P110

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

Co-authored-by: Fabian Wolter <github@fabian-wolter.de>
2022-04-18 19:41:01 +02:00
lolodomo
6b56b40fe1
[sonos] Avoid empty thing (type) ID in discovery (#12626)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-04-18 19:36:56 +02:00
lolodomo
e42202d2e5
[luftdateninfo] Fix tests (fix thing UID and thing type UID) (#12624)
Fix #12622

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-04-18 19:35:48 +02:00
lolodomo
4329115f00
[irobot] Fix failing test (fix thing UID) (#12623)
Fix #12621

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-04-18 19:35:17 +02:00
Markus Michels
532a03375a
[shelly] TRV+Motion2 support, various fixes & enhancements (#12325)
* TRV support, various fixes & enhancements

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

* #12236 fixed

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

* TRV support competed

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

* Complete TRV support

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

* - TRV polling optimized

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

* # WARNING: head commit changed in the meantime

- Shelly Motion 2 support
- TRV polling optimized
- channel creatiom of ledStatusLed fixed if no ledPowerLed was created
- Handling of sensor.status_error fixed when = no error (0/"0")
- channel timerActive was missing for Dimmer 1/2
- Motion timestamp channels were 1h off
- exception with data format while initializing a bulb fixed
- README updated

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

* - added new TRV value boost minute, polling remnoved on valve position
changes (req. latest firmware)
- fix: don't create accu channels for roller
- fix: fix Id for some status messages

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

* log types revised

Signed-off-by: Markus Michels <markus7017@gmail.com> (github: markus7017)
Signed-off-by: Markus Michels <markus7017@gmail.com>
2022-04-18 19:32:16 +02:00
lolodomo
2d1b337987
[avmfritz] Do not create a thing type UID using an empty ID (#12617)
Fix #12614

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-04-18 19:25:40 +02:00
lolodomo
c1073cd89f
[rotel] Refactor to separate comm handling from protocol handling (#12521)
* [rotel] Refactor to separate comm handling from protocol handling

Each protocol is now handled in a separate class.

Allow to reduce the size of class RotelConnector

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

* buildCommandMessage now throwing RotelException

Comment added when RotelException is catched without any specific
handling

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-04-18 19:23:52 +02:00
lolodomo
9a7df9fb5b
[transform.map] Fix tests on Windows (#12625)
Fix #12619

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-04-18 19:22:02 +02:00
JacekKac
cc2cde2ace
typo in valve accessorie (#12616) 2022-04-18 13:50:22 +02:00
Ondrej Pecta
640ee600d9
[somfytahoma] improvements for the Hitachi air to water heating system (#12612)
Signed-off-by: Ondrej Pecta <opecta@gmail.com>
2022-04-17 20:22:37 +02:00
lolodomo
2a4482a26a
[sonos] Discovery of unsupported models without exception (#12609)
* [sonos] Discovery of unsupported models without exception
* Unit tests added for method extractModelName
* Replace extractModelName by buildThingTypeIdFromModelName

Transform the found model name into a valid thing type ID when trying
to match a thing type

This could avoid an IllegalArgumentException thrown by the discovery
service when new models will be introduced on the market.

Should be compatible with Bubble UPnP Server which modifies the model
name

A message is now logged for unsupported Sonos models.

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-04-16 22:38:44 +02:00
lolodomo
77ed54d338
[sonos] Support added for models Five and Roam SL (#12607)
Fix #12596
Fix #12610

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-04-16 14:23:20 +02:00
J-N-K
320dd8ab00
[transform.map] Refactor service to use TransformationConfigurationRegistry (#12433)
This is the reference implementation for using the new `TransformationConfigurationRegistry`. The localization tests can be omitted as this is covered by tests in the core component.

Signed-off-by: Jan N. Klug <github@klug.nrw>
2022-04-14 00:04:16 +02:00
Wouter Born
abc786c6a2
Replace deprecated Google OAuth OOB flow (#12602)
This replaces the deprecated OOB OAuth flow used in the Nest Binding and Google STT/TTS add-ons.

Instead they will now use https://www.google.com as redirect_uri.
The instructions in the README and config descriptions have been updated for this change.

See: https://developers.googleblog.com/2022/02/making-oauth-flows-safer.html#disallowed-oob

Fixes #12455

Signed-off-by: Wouter Born <github@maindrain.net>
2022-04-12 22:39:10 +02:00
Kai Kreuzer
a868111a54
Remove synchronization to avoid deadlocks (#12603)
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2022-04-12 09:10:03 +02:00
Дилян Палаузов
15f67c1457
[transform.javascript] Fix typo (#12597) 2022-04-11 12:21:24 +02:00
Gwendal Roulleau
2be9a658d5
[pulseaudio] Small bugfixes and rewrite (#12581)
* [pulseaudio] small fixes and rewrite

- All classes are now @NonNullByDefault
- all build warnings cleared
- no more need for a watchdog scheduled thread for every pulseaudio device : the bridge now handles sending information to child
- fix bug : exception at startup when child handler try to get information from the bridge too soon is now handled by waiting 2 seconds if necessary
- fix bug : playing MP3 with high bitrate is now OK with the replacement of the ResetableInputStream by a standard BufferedInputStream that handle mark/reset method better
- fix bug : ghost device listener no longer receive event after dispose
- fix bug : discovery doesn't show already added thing anymore
- Updating the status bridge to ONLINE only AFTER the update method is done.
- Use the bridgeStatusChanged method in the childhandler to get opportunity to test if the child could go ONLINE, (and by the way initialize the audiosink and audiosource, has they also need information from the bridge)

Signed-off-by: Gwendal Roulleau <gwendal.roulleau@gmail.com>
Co-authored-by: Laurent Garnier <lg.hc@free.fr>
2022-04-10 00:25:45 +02:00
Holger Friedrich
f65ee6c3a8
[knx] Add option to use CEMI frame format for serial devices. (#12593)
CEMI frame format is used by newer serial devices like kBerry.
Calimero library can be configured to use CEMI instead of default EMI.

Followup on #10407. Relates to #4026.

Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2022-04-09 18:17:52 +02:00
Wouter Born
b3ade70e29
Fix SAT MarkdownCheck image location findings (#12591)
This fixes all the MarkdownCheck "Images must be located in the doc/ folder." findings.

Fixes #12590

Signed-off-by: Wouter Born <github@maindrain.net>
2022-04-09 16:56:13 +02:00
joepadmiraal
47526b1f01
Remove duplicate text and some spelling errors in the Spotify addon readme. Signed-off-by: Joep Admiraal <joep@groovytunes.nl> (#12592) 2022-04-09 16:25:24 +02:00
mlobstein
7613cbcd76
[epsonprojector] Fix discovery service to prevent erroneous inbox items (#12586)
* Fix discovery service to prevent erroneous inbox items
* improve EPSON string matching

Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>
2022-04-09 16:10:36 +02:00
sheilbronn
0370ac61ba
Update README.md (#12580)
Clarify/Correct the explanation of poll/reply example.
2022-04-09 10:36:00 +02:00
Holger Friedrich
08d03d9ddf
[knx] Minor wording changes to documentation (#12589)
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2022-04-09 09:18:10 +02:00
Holger Friedrich
7e35341f23
[knx] Handle exceptions during initial read (#12520)
fixes #7239

Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2022-04-08 22:25:14 +02:00
Wouter Born
972149fb3f
[modbus] Make tests more stable (#12584)
This fixes the issue of the integration tests sometimes failing because channels have not yet been linked causing item state to remain null.

Signed-off-by: Wouter Born <github@maindrain.net>
2022-04-08 14:32:32 +02:00
Andrew Fiddian-Green
9bb68a7415
[openthermgateway] warning log if trying to create a legacy Thing type (#12585)
Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
2022-04-07 20:21:59 +02:00
openhab-bot
921bd95af6
New Crowdin updates (#12578)
* New translations digitalstrom.properties (German)

* New translations pixometer.properties (German)

* New translations amazondashbutton.properties (German)

* New translations amazondashbutton.properties (Hungarian)

* New translations amazondashbutton.properties (Italian)

* New translations amazondashbutton.properties (Ukrainian)
2022-04-05 21:07:04 +02:00
jesperskriasoft
873d615316
[luxom] Initial contribution (#12310)
Signed-off-by: Kris Jespers <kriasoft@telenet.be>
2022-04-05 20:02:27 +02:00
Wouter Born
707ecaf47b
Reduce Mockito stubbing warnings (#12576)
See also: openhab/openhab-core#2893

Signed-off-by: Wouter Born <github@maindrain.net>
2022-04-05 00:06:49 +02:00
lolodomo
da9c34b13c
[km200] Cleanup semantic tags (#12573)
Related to #12262

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-04-04 23:45:55 +02:00
lolodomo
36fcdb9dd4
Fix unexpected leading space in default translations (#12574)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-04-04 21:48:54 +02:00
lolodomo
2202e0b56e
Don't limit serial port options (#12572)
* Don't limit serial port options

Related to openhab/openhab-core#2798

* [herzborg] Remove default value for serial port parameter

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-04-04 21:48:09 +02:00
Thomas Karl Pietrowski
2a2389a7e5
[senechome] Avoid null pointer errors (#12512)
Looks like the new generation of SenecIES power storage systems, which are using LiPo technology, provide additional data in the JSON array.
This data is not available in the old generation, which lead to missing data, when asking for a key and in further null pointer exceptions when going deeper in the data structure.

Therefore making a trivial check to detect the new generation of devices and skip the troubling section entirely.
CON: The section of items would not be updated. A to-do is of course to split the old and new generation into separate models of devices.

Fixes #11606

Also-By: Erwin Guib <eguib@web.de>
Also-By: Korbinian Probst <kp.droid.dev@gmail.com>
Signed-off-by: Thomas Karl Pietrowski <thopiekar@gmail.com>
2022-04-04 15:06:42 +02:00
Gaël L'hopital
cdf4101a94
[linky] Adressing issue #11642 (#12561)
* [linky] Addressing issue #11642
Apparently all the mess came from default write buffer size of Jetty client. Maybe during an update of jetty lib in the core.
I also corrected daily data that does not seem to accept J+1 anymore and three SAT findings

While I was here, enhanced LinkyException

Signed-off-by: clinique <gael@lhopital.org>
2022-04-04 10:14:43 +02:00
dalgwen
f1a1bd5f1d
[marytts] Fix incorrect wav header (#12571)
With this simple fix, MaryTTS creates the correct wav header for the audio inputstream (audioformat is now assigned before we use it)

Signed-off-by: Gwendal Roulleau <gwendal.roulleau@gmail.com>
2022-04-04 08:50:30 +02:00