Commit Graph

2747 Commits

Author SHA1 Message Date
Arne Seime
9313310b5e
[tibber] Add channel for tomorrows prices and timestamps as JSON array (#13416)
Signed-off-by: Arne Seime <arne.seime@gmail.com>
2022-10-11 22:14:19 +02:00
dependabot[bot]
97956d30e9
[jdbc] Upgrade derby from 10.12.1.1 to 10.14.2.0 (#13038)
* Use derby instead of derbyclient, fix bnd optional package imports
* Update versions add dynamic package import for custom JDBC drivers
* Prevent redundant null check warnings

Signed-off-by: Wouter Born <github@maindrain.net>
2022-10-11 21:54:19 +02:00
Holger Friedrich
4e69e17f41
[knx] Improve localization (#13293)
* [knx] Improve localization

- introduce localization of error messages
- add new strings for common exceptions
- provide helper functions for translation
- add test cases

Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2022-10-11 21:18:17 +02:00
openhab-bot
baa8d208ea
New translations shelly.properties (German) (#13534) 2022-10-10 20:14:16 +02:00
Gaël L'hopital
e3d0039675
[gce] Avoid conflicts with things file defined (#13526)
* Avoiding dynamic creation of channels when channels already exists

Signed-off-by: clinique <gael@lhopital.org>
2022-10-10 18:42:49 +02:00
GiviMAD
c63e596680
[voskstt] fix sdk update and disable internal info logs (#13536)
* [voskstt] fix sdk update
* [voskstt] change internal sdk log level to warning

Signed-off-by: Miguel Álvarez <miguelwork92@gmail.com>
2022-10-10 18:34:48 +02:00
mlobstein
f431bfc013
[nuvo] Add Image channel for album art (#13498)
* Add Image channel for Album Art

Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>
2022-10-10 15:53:05 +02:00
Cody Cutrer
507e714dd0
[homekit] fix BooleanItemReader to work with DimmerItems (#13507)
* [homekit] fix BooleanItemReader to work with DimmerItems

DimmerItems have a PercentType state, which is easily convertible
to OnOffType, but is not inherited from it. So take that into account.

i.e. a variable speed fan can use a single DimmerItem for both
ActiveStatus and RotationSpeed.

* [homekit] Document that Dimmer is a possible item type for several booleans

Signed-off-by: Cody Cutrer <cody@cutrer.us>
2022-10-10 13:36:23 +02:00
Cody Cutrer
d83c32cd24
[homekit] allow configuring maxValue on VOCDensity (#13508)
* [homekit] allow configuring maxValue on VOCDensity

the default of 1000 is quite low in reality. tested and confirmed
working with iOS 16

* [homekit] allow step value to be configured for VOCDensity

Signed-off-by: Cody Cutrer <cody@cutrer.us>
2022-10-10 13:30:13 +02:00
alexf2015
6a27f17611
fix a bug reported by community: https://community.openhab.org/t/easee-binding/135492/58 (#13527)
Signed-off-by: Alexander Friese <af944580@googlemail.com>
2022-10-10 09:28:42 +02:00
Wouter Born
3f5bee114d
[jpa] Fix Derby driver no longer included (#13532)
According to the add-on documentation the Derby driver is included which was no longer the case.
The derby version was also changed because 10.16.1.1 is for Java 17+.

Signed-off-by: Wouter Born <github@maindrain.net>
2022-10-10 09:25:32 +02:00
dependabot[bot]
8e73299ba5
[ftpupload] Upgrade dependencies (#12693)
Also-by: dependabot[bot] <support@github.com>
Signed-off-by: Wouter Born <github@maindrain.net>
2022-10-09 23:50:27 +02:00
dependabot[bot]
27068048ce
Bump protobuf-java in /bundles/org.openhab.voice.googlestt (#13491)
Bumps [protobuf-java](https://github.com/protocolbuffers/protobuf) from 3.19.2 to 3.19.6.
- [Release notes](https://github.com/protocolbuffers/protobuf/releases)
- [Changelog](https://github.com/protocolbuffers/protobuf/blob/main/generate_changelog.py)
- [Commits](https://github.com/protocolbuffers/protobuf/compare/v3.19.2...v3.19.6)

---
updated-dependencies:
- dependency-name: com.google.protobuf:protobuf-java
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-09 23:49:09 +02:00
openhab-bot
4590c54557
New Crowdin updates (#13523)
* New translations netatmo.properties (French)

* New translations nobohub.properties (French)
2022-10-09 13:10:10 +02:00
Gaël L'hopital
359c97b8ac
[netatmo] Ensure all events are retrieved since they are buffered (#13505)
* Adding logic to ensure we retrieve all events.

Signed-off-by: clinique <gael@lhopital.org>
2022-10-09 12:17:08 +02:00
Andreas Berger
c2d792d2f3
[fineoffsetweatherstation] Fix README.md (#13506)
* fix typo
* link community thread
* add note for derived values

Signed-off-by: Andreas Berger <andreas@berger-freelancer.com>
2022-10-09 11:28:48 +02:00
Cody Cutrer
0409484c2e
[homekit] allow RelativeHumidity as an optional characteristic on Thermostat (#13504)
also support QuantityType as a valid state type for double characteristics
(such as RelativeHumidity).

Signed-off-by: Cody Cutrer <cody@cutrer.us>
2022-10-09 11:01:25 +02:00
Cody Cutrer
0aa28e5d40
[homekit] get min/max/step values from state description if possible (#13510)
this helps to auto-configure if the binding is providing the necessary info

metadata config still overrides

Signed-off-by: Cody Cutrer <cody@cutrer.us>
2022-10-09 10:55:32 +02:00
Georgios Moutsos
7f1a096dca
[caddx] Changed Hashmap keys from BigDecimal to int (#13521)
Signed-off-by: Georgios Moutsos <georgios.moutsos@gmail.com>
2022-10-09 09:41:34 +02:00
openhab-bot
337241f40e
New Crowdin updates (#13514)
* New translations ambientweather.properties (Italian)
* New translations amazonechocontrol.properties (Italian)
* New translations jpa.properties (Italian)
* New translations openwebnet.properties (Italian)
2022-10-09 09:40:59 +02:00
Cody Cutrer
ccc199f429
[homekit] Allow Long type in configuration for numbers (#13509)
I.e. if it's set from a Ruby script

Signed-off-by: Cody Cutrer <cody@cutrer.us>
2022-10-09 09:04:06 +02:00
Matthew Skinner
3aac15df62
Fix mjpeg wont open multiple streams when port is not 80 (#13502)
Signed-off-by: Matthew Skinner <matt@pcmus.com>
2022-10-08 21:26:51 +02:00
Wouter Born
0306f4508f
[jpa] Add dynamic import, upgrade dependencies, add UI config (#13516)
* Adds a dynamic package import so JDBC drivers on the classpath can be used
* Upgrades OpenJPA from 2.4.0 to 3.2.2
* Upgrades Derby JDBC driver from 10.11.1.1 to 10.16.1.1
* Adds config.xml and ConfigurableService annotation so add-on can be configured using the UI
* Adds null annotations on all classes
* Prevent NPEs and some code cleanup

See also:

* https://openjpa.apache.org/builds/3.2.2/apache-openjpa/RELEASE-NOTES.html
* https://community.openhab.org/t/jpa-with-mysql-or-mariadb/138679

Fixes #13375

Signed-off-by: Wouter Born <github@maindrain.net>
2022-10-08 21:25:05 +02:00
Fabian Wolter
d18322f860
[network] Fix wake-on-lan functions in DSL rules (#13519)
Signed-off-by: Fabian Wolter <github@fabian-wolter.de>
2022-10-08 21:19:16 +02:00
Gaël L'hopital
a4781b4770
[netatmo] Adding Door/Window sensor (#13503)
* Initial PR to add NADoorTag to netatmo binding

Signed-off-by: clinique <gael@lhopital.org>
2022-10-08 18:49:44 +02:00
lolodomo
61187f89a0
[netatmo] Fix the description of the new channel request-count (#13512)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-10-08 12:51:11 +02:00
lolodomo
312b62487c
[linky] Avoid internal server error (getting power peak early in the … (#13482)
* [linky] Avoid internal server error (getting power peak early in the morning)

Fix #13377

The binding now requests power peak data for 2 days (yesterday and the day before).

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-10-08 10:10:46 +02:00
Cody Cutrer
98677c18b3
[mqtt.homeassistant] ensure availability topics get subscribed (#13466)
HASS registers availability topics before calling start(), so
the AbstractMQTTThingHandler was never subscribing/starting the
availability channel(s). So do so in start() of the base class.

I checked other implementations, and either they already handle
re-registering availabilityTopics in their start()
(GenericMQTTThingHandler), or they don't use availabilityTopics
at all from the base class and manage it themselves (Homie).

Note that this shows up as newly-added HASS things not having
a problem (because the components aren't discovered until after
the ThingHandler is started), but if you restart OpenHAB or
disable/enable the thing, the channels (and components) are
cached, thus how availabilityTopics are known before starting.

Signed-off-by: Cody Cutrer <cody@cutrer.us>
2022-10-08 09:12:28 +02:00
Gaël L'hopital
959e65814b
Handle properly UNKNOWN module types in discovery (#13500)
Signed-off-by: clinique <gael@lhopital.org>
2022-10-07 13:15:04 +02:00
Gaël L'hopital
56d72ca1c3
[netatmo] Buffer last event requests per child modules (#13489)
* Buffer last event requests per child modules
This is targetted to decrease the number of requests transmitted to Netatmo API.
Solves #13358

Signed-off-by: clinique <gael@lhopital.org>
2022-10-07 11:56:15 +02:00
Gaël L'hopital
cc6e4fad61
[netatmo] Adding a request counter (#13494)
* Adding a request counter channel to Api Bridge thing.

Signed-off-by: clinique <gael@lhopital.org>
2022-10-07 11:48:41 +02:00
Hans-Jörg Merk
31820ad740
Update README.md (#13497) 2022-10-06 23:15:55 +02:00
Gaël L'hopital
e14ce7d9eb
[netatmo] Handling camera ping timeouts (#13487)
* Solves #13486

Signed-off-by: clinique <gael@lhopital.org>
2022-10-06 14:44:26 +02:00
M Valla
2519ec7236
[openwebnet] add support for basic Scenarios (WHO=0) (#13473)
* [openwebnet] added first support for WHO=0 scenarios
* [openwebnet] channels indent
* [openwebnet] formatting
* [openwebnet] set WHO=0 thing online automatically. Update to openwebnet4j 0.9.0

Signed-off-by: Massimo Valla <mvcode00@gmail.com>
2022-10-06 08:33:01 +02:00
Andreas Lanz
6e4f78458d
[SunSpec] Add missing Inverter Status, Add Channel for Vendor-Specific Status (#13480)
* [SunSpec] Added missing InverterStatus

See e.g., https://github.com/sunspec/models/blob/master/json/model_101.json#L307

* [SunSpec] Added Channel for Vendor Specific Status

* [SunSpec] Fixing two old TODOs

VA and VAR are defined as alternate unit for WATT so no breaking change.

Signed-off-by: Andreas Lanz <alanz@gmx.de>
2022-10-05 07:49:31 +02:00
openhab-bot
232cef371a
New translations jellyfin.properties (Italian) (#13488) 2022-10-04 12:29:59 +02:00
Jacob Laursen
12389f083d
Consolidate and optimize datetime conversions (#13483)
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-10-04 08:59:59 +02:00
Markus Michels
6835c278e1
[shelly] Add Plus/Pro support, some bugfixes (#13439)
* Plus/Pro support and some refactoring, bugfixes

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

* Review changes applied

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

* review changes

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

Signed-off-by: Markus Michels <markus7017@gmail.com>
2022-10-04 08:00:50 +02:00
Felix Lo
d2dde9768f
[openhabcloud] sleepSocketIO(long delay) halts entire io.socket thread #13210 (#13421)
* sleepSocketIO(long delay) halts entire io.socket thread CI #6047

Signed-off-by: lsafelix75 <lsafelix75@gmail.com>
2022-10-03 19:43:43 +02:00
openhab-bot
3074ee3de8
New Crowdin updates (#13481)
* New translations influxdb.properties (French)
* New translations tado.properties (Italian)
* New translations ecowatt.properties (Italian)
* New translations solarmax.properties (Italian)
2022-10-03 17:21:26 +02:00
Hilbrand Bouwkamp
0560a0e333
[unifi] Detect all PoE ports, and set PoE thing offline if no data could be found (#13455)
* [unifi] Set PoE thing offline if no data could be found

This would better reflect the PoE thing status if there is a problem with either the data from the api or a configuration problem (like invalid port number).

* [unifi] Fix bug to detect PoE ports when first port is not PoE port

The binding assumed either all ports or no ports were PoE, and asssumed if port 0 was not PoE none was PoE.
However, some switches have ports starting at port 5 to be PoE. Therefor changed code to just test each port if it is PoE.

Signed-off-by: Hilbrand Bouwkamp <hilbrand@h72.nl>
2022-10-03 13:02:46 +02:00
Cody Cutrer
64d97374ad
[homekit] allow NumberItems for BatteryLowStatus (#13449)
* [homekit] allow NumberItems for BatteryLowStatus

use a lowThreshold metadata config to infer if it's low

Signed-off-by: Cody Cutrer <cody@cutrer.us>
2022-10-03 12:13:39 +02:00
alexf2015
e9848e27e8
[easee] Fix binding not working after Easee cloud API has been unavailable (#13469)
* fix #13463

Signed-off-by: Alexander Friese <af944580@googlemail.com>
2022-10-02 18:28:33 +02:00
Jan Vybíral
c9decdbe49
[nuki] Disabled warning for things created from textual config (#13331)
* Removed warning shown when thing is created with hexadecimal warning for read-only things
* Added missing configuration parameters into documentation

Signed-off-by: Jan Vybíral <jan.vybiral1@gmail.com>
2022-10-02 18:10:40 +02:00
Andrew Fiddian-Green
5c7eaa33ac
[tado] Channels are visible depending on device type and capabilities (#13301)
* [tado] create zone channels dynamically
* [tado] add JUnit test classes
* [tado] eliminate maven compiler warnings
* [tado] code optimisation
* [tado] read me
* [tado] current temperature & humidity also dynamic
* [tado] battery/window channels
* [tado] simplify channel builder
* [tado] fix bundle initialisation bug
* [tado] fix insert positions
* [tado] add channel type categories
* [tado] refactor battery checker
* [tado] create capabilities support in caller vs callee
* [tado] method doesn't throw exception
* [tado] remove new line
* [velux] add self to code owners
* [tado] capitalize categories

Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
2022-10-02 17:46:16 +02:00
Sami Salonen
8d9dfb20e3
[bluetooth.ruuvitag] Correct parse of NA temperature & acceleraiton (#13279)
Fixed by bumping support library fi.tkgwf.ruuvi:ruuvitag-comon
https://github.com/Scrin/ruuvitag-common-java/releases/tag/v1.0.2

Signed-off-by: Sami Salonen <ssalonen@gmail.com>
2022-10-02 14:32:22 +02:00
lolodomo
32747e825f
[ecowatt] Fix a typo in a channel description (#13476)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-10-02 12:54:27 +02:00
GiviMAD
d24e3eadc3
[androiddebugbridge] Add mDNS discovery for android tv (#13462)
* [androiddebugbridge] add mDNS discovery for android tv

Signed-off-by: Miguel Álvarez <miguelwork92@gmail.com>
2022-10-02 12:38:59 +02:00
openhab-bot
3c306e7c06
New Crowdin updates (#13474)
* New translations openweathermap.properties (French)

* New translations openuv.properties (French)

* New translations openhabcloud.properties (French)

* New translations ecowatt.properties (French)
2022-10-02 12:33:47 +02:00
Jacob Laursen
c706ac8478
[jdbc] Fix warnings and apply null annotations (#13429)
* Fix warnings and apply null annotations

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-10-02 11:14:41 +02:00