Commit Graph

3016 Commits

Author SHA1 Message Date
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
Stefan Giehl
c41c38405e
[LuxtronikHeatpump] Adds discovery service (#11907)
* [LuxtronikHeatpump] Adds discovery service

Signed-off-by: Stefan Giehl <stefangiehl@gmail.com>
2022-10-01 17:15:16 +02:00
Tobias Liese
8b4607a4f1
Added URL path support. (#13436)
Changes:
Fix: Now using KTOR instead of building the url by simple string concad. This fixes the https and port 443 bug that existed prier to this change. (https://example.com would look like: https://example.com:443)
Added: Support for jellyfins Base URL option. This allows the addon to be used on installations were jellyfin uses a base path.

Signed-off-by: tliese <mail@tobiasliese.me>
2022-10-01 15:32:11 +02:00
Matthew Skinner
cc50497f31
[ipcamera] FFmpeg based alarms will now auto restart if stopped (#13446)
* FFmpeg alarms now auto restart

Signed-off-by: Matthew Skinner <matt@pcmus.com>
2022-10-01 14:19:25 +02:00
Jan Vybíral
a646fe34e0
[nuki] Fixed nukiId migration for devices with shorter nukiId (#13088) (#13470)
Signed-off-by: Jan Vybíral <jan.vybiral1@gmail.com>
2022-10-01 13:45:35 +02:00
Gaël L'hopital
cedf6d9035
[netatmo] Room-Thing offline after restart (#13467)
* Correcting issue by late loading of the capability.
* Handle MAXIMUM_USAGE_REACHED at ApiBridgeHandler level.

Signed-off-by: clinique <gael@lhopital.org>
2022-10-01 12:50:22 +02:00
Cody Cutrer
7b8ae535e9
[jrubyscripting] clean up assignment of class objects (#13451)
pass the actual class objects through, and post-process in Ruby, to
avoid the rescue nil -- and by extension, any issues with visibility
into private objects from JRuby.

Signed-off-by: Cody Cutrer <cody@cutrer.us>
2022-09-30 22:47:53 +02:00
Peter Hicks
2a02f2c7ef
[tapocontrol] Fix authentication issue making plugin unusable (#13468)
The tapocontrol plugin uses a static UUID which is now causing a an API rate limit exceeded error from the TP-Link API.  This commit generates a separate UUID for every login attempt.

Signed-off-by: Peter Hicks <peter.hicks@opentraintimes.com>
2022-09-30 21:41:53 +02:00
Fabian Wolter
08375cd3a8
[lcn] Improve logging (#13460)
Signed-off-by: Fabian Wolter <github@fabian-wolter.de>
2022-09-29 09:01:20 +02:00
Michael Barker
c244391d08
[echonetlite] Initial contribution (#11999)
* First implementation of Echonet Lite Java Bindings.  Only supports Mitsubishi Home Heat Pumps.

Signed-off-by: Michael Barker <mikeb01@gmail.com>
2022-09-28 23:23:57 +02:00
martin1338
f74f3ecd02
updated example to match frontdoor_lockstates (#13441)
command numbers where changed, see lines 80 and following -> adjusted the example and reorderd the commands
2022-09-28 21:33:21 +02:00
lolodomo
d00ca1caeb
[remoteopenhab] Optimize filtering of ALIVE events (#13432)
* [remoteopenhab] Optimize handling of ALIVE events

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-09-28 20:39:20 +02:00