Commit Graph

2709 Commits

Author SHA1 Message Date
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
openhab-bot
6069286ffd
New translations pushover.properties (German) (#13454) 2022-09-27 22:40:22 +02:00
lolodomo
4b69af686f
[solarmax] Add default translations (#13452)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-09-27 17:21:07 +02:00
Jamie Townsend
015a370392
[solarmax] Initial contribution (#10414)
* SolarMax Binding Initial implementation

Signed-off-by: Jamie Townsend <jamie_townsend@hotmail.com>

* #10413 camelCaserizeTheChannelNames

Signed-off-by: Jamie Townsend <jamie_townsend@hotmail.com>

* #10413 Delete commented code and Refactor Brute Force Command Discovery into something commitable

Signed-off-by: Jamie Townsend <jamie_townsend@hotmail.com>

* 10413 Delete commented code and Refactor Brute Force Command Discovery into something commitable

Signed-off-by: Jamie Townsend <jamie_townsend@hotmail.com>

* #10413 Codestyle

Signed-off-by: Jamie Townsend <jamie_townsend@hotmail.com>

* 10413 Codestyle

Signed-off-by: Jamie Townsend <jamie_townsend@hotmail.com>

* #10413 corrected sat-plugin errors

Signed-off-by: Jamie Townsend <jamie_townsend@hotmail.com>

* #10413 updates from code reviews in PR #10414

Signed-off-by: Jamie Townsend <jamie_townsend@hotmail.com>

* 10413 mvn spotless:apply

Signed-off-by: Jamie Townsend <jamie_townsend@hotmail.com>

* 10413 Updated to 3.2.0-SNAPSHOT

Signed-off-by: Jamie Townsend <jamie_townsend@hotmail.com>

* Fixed conflicts introduced by foreign commit.

Signed-off-by: Jamie Townsend <jamie_townsend@hotmail.com>

* Updated copyright years

Signed-off-by: Jamie Townsend <jamie_townsend@hotmail.com>

* Ran  mvn spotless:apply to resolve formatting issues

Signed-off-by: Jamie Townsend <jamie_townsend@hotmail.com>

* Updates from review

Signed-off-by: Jamie Townsend <jamie_townsend@hotmail.com>

* Switch to using Units & move softwareVersion & buildNumber to properties

Signed-off-by: Jamie Townsend <jamie_townsend@hotmail.com>

* A couple of review related updates

Signed-off-by: Jamie Townsend <jamie_townsend@hotmail.com>

* A couple more review related changes.

Signed-off-by: Jamie Townsend <jamie_townsend@hotmail.com>

* Added Full Example to README.md

Signed-off-by: Jamie Townsend <jamie_townsend@hotmail.com>

* Update parent pom.xml version

Signed-off-by: Jamie Townsend <jamie_townsend@hotmail.com>

* Update bundles/org.openhab.binding.solarmax/src/main/java/org/openhab/binding/solarmax/internal/SolarMaxHandlerFactory.java

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

* Update bundles/org.openhab.binding.solarmax/src/main/java/org/openhab/binding/solarmax/internal/SolarMaxHandlerFactory.java

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

Signed-off-by: Jamie Townsend <jamie_townsend@hotmail.com>
Signed-off-by: Fabian Wolter <github@fabian-wolter.de>
Co-authored-by: Fabian Wolter <github@fabian-wolter.de>
2022-09-27 07:51:10 +02:00
openhab-bot
24d5f2ddc7
New Crowdin updates (#13448)
* New translations openwebnet.properties (German)
* New translations sonos.properties (German)
* New translations openhabcloud.properties (German)
* New translations hueemulation.properties (German)
* New translations epsonprojector.properties (German)
* New translations hpprinter.properties (German)
* New translations http.properties (German)
* New translations knx.properties (German)
* New translations lcn.properties (German)
* New translations magentatv.properties (German)
* New translations onkyo.properties (German)
* New translations fineoffsetweatherstation.properties (German)
* New translations openweathermap.properties (German)
2022-09-26 23:04:07 +02:00
Roie Geron
58168c205f
[touchwand] Add port configuration to websocket (#13440)
* add port configuration to websocket

Signed-off-by: Roie Geron <roie.geron@gmail.com>
2022-09-26 19:05:50 +02:00
Cody Cutrer
517fe44b36
[mqtt.generic] fix range of RGB values (#13426)
Range is 0..255, not 0..250.

rgb -> hsv -> rgb still isn't perfect, but it's better. In
particular, I found this when using HSBType.BLUE in a test,
and it was coming out as 0,0,250 in RGB. It now comes out as
a proper 0,0,255.

Signed-off-by: Cody Cutrer <cody@cutrer.us>
2022-09-26 19:03:37 +02:00
Cody Cutrer
e4fe6889d0
[homekit] allow group items of the correct type anywhere that type is needed (#13236)
this is a theme, and I've extracted a helper method and applied it to several
other locations as well

example, I have a double-sliding door, with two contact sensors
in the alarm system, defined as:

```
Group:Contact:AND(CLOSED,OPEN) DeckDoor_Contact "Deck Door [%s]" <door> (gExteriorDoors, gWarningVisibility_Contact, gDoor, lMainFloor, gInflux) { homekit="ContactSensor" [instance=2] }
Contact DeckNDoor_Contact "Deck Door North" <door> (gInflux, DeckDoor_Contact, gGreatContacts) { channel="dscalarm:zone:46c52f35:zone11:zone_status" }
Switch DeckNDoor_Tamper "Deck Door North Tamper [%s]" <warning> (gTamper, gWarningVisibility_Switch) { channel="dscalarm:zone:46c52f35:zone11:zone_tamper" }
Contact DeckSDoor_Contact "Deck Door South" <door> (gInflux, DeckDoor_Contact, gGreatContacts) { channel="dscalarm:zone:46c52f35:zone12:zone_status" }
Switch DeckSDoor_Tamper "Deck Door South Tamper [%s]" <warning> (gTamper, gWarningVisibility_Switch) { channel="dscalarm:zone:46c52f35:zone12:zone_tamper" }
```

This allows the Group:Contact to be used for the ContactSensor.

Signed-off-by: Cody Cutrer <cody@cutrer.us>
2022-09-26 18:58:59 +02:00
lolodomo
5bbd729ba2
[ecowatt] Shorter labels for channel options (#13438)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-09-25 21:01:26 +02:00
Maximilian Heß
8ab5f629c3
[KVV] Replace underlying API (#13186)
* [KVV] Replace underlying API

The underlying API does no longer work so it is replace. An API key is no longer necessary.
Users need to replace the `stopId` in there station thing configuration. See README.md for details.

Signed-off-by: Maximilian Hess <mail@ne0h.de>
Co-authored-by: Laurent Garnier <lg.hc@free.fr>
2022-09-25 14:29:10 +02:00
Andrew Fiddian-Green
79309cb746
[velux] Bridge status shows offline when communication fails (#13406)
* [velux] dynamically update bridge on-/off- line state

Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
2022-09-25 13:17:10 +02:00
Gwendal Roulleau
b7cbf2ba72
[pulseaudio] Apply real disconnection when needed (#13338)
* [pulseaudio] Removing isIdle test

The isIdle boolean was not properly handled.
When disconnection is called, isIdle is not relevant : we should always honnor the disconnection request.
In fact, isIdle prevented disconnection when it is necessary (example : when a IOException occurs when sending audio to sink)

+Little bug fix on volume parsing: some volume request doesn't respond with a space after the comma separating left/right channel.

* [pulseaudio] Enhancement to the idle detection for disconnection

Using a counter to count client instead of a isIdle variable, which was not thread safe.
The PulseaudioSimpleProtocolStream parent class is now the sole responsible for closing source or sink stream.

* [pulseaudio] Small performance enhancement

Avoid a costly synchronized operation for a method called very often.

Signed-off-by: Gwendal Roulleau <gwendal.roulleau@gmail.com>
2022-09-25 12:59:30 +02:00
Jacob Laursen
af0ac6e474
[miele] Migrate start channel to full DateTime channel and add end channel (#13393)
* Migrate start/finish channels to full DateTime channels
* Unmark start and duration as advanced channels
* Add end channel

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-09-25 11:29:26 +02:00
Roie Geron
96b77ed541
[touchwand] Fix thermostat target temperature command (#13427)
* Fix target temperature command 

1) Fix target temperature command 
2) fixed typo in log

* Allow update status even if the unit is not alive

Seems 'acwand' status is always "DOWN" so ignore this and just log debug

Signed-off-by: Roie Geron <roie.geron@gmail.com>
2022-09-25 10:25:10 +02:00
rossbuggins
80804a59b0
How to support OpenWeatherMap one call api 3.0. (#13414)
Add OpenCall API version property.

Allowing for version 3.0 API to be set.

Signed-off-by: Ross Buggins <20972856+rossbuggins@users.noreply.github.com>
2022-09-24 21:15:19 +02:00
Timo Grossenbacher
6241d6f369
[fsinternetradio] Add Ruark R5 to tested devices & mode list (#13325)
* Add Ruark R5 to tested devices & mode list

Signed-off-by: Timo Grossenbacher <timo@timogrossenbacher.ch>
2022-09-24 11:38:38 +02:00
openhab-bot
19894aa894
New translations bluetooth.properties (Dutch) (#13431) 2022-09-22 21:39:55 +02:00
lolodomo
e4917c3b4a
[ecowatt] Unit tests for methods getting channel state from API response (#13419)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2022-09-22 00:28:28 +02:00
Karel Goderis
062a7c1e76
[Tesla] Add event stream & handling post new authentication process by Tesla (#13116)
Signed-Off-By: Karel Goderis <karel.goderis@me.com>
2022-09-21 21:55:27 +02:00
Jacob Laursen
3e5dde0474
Fix ClassCastException for LocalDateTime (#13425)
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2022-09-21 19:10:02 +02:00
Wouter Born
487811fdfd
Update Shelly and Tradfri bindings for upgrade to Californium 2.7.3 (#13407)
* Update Shelly and Tradfri bindings for upgrade to Californium 2.7.3

* Fixes deprecated API usages
* Resolves itest runbundles

Signed-off-by: Wouter Born <github@maindrain.net>
2022-09-21 12:19:19 +02:00
jimtng
fafdf2d7a3
[jrubyscripting] Update to JRuby 9.3.8.0 (#13424)
Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
2022-09-21 09:51:04 +02:00
Cody Cutrer
8656ba501a
[mqtt.homeassistant] support availability_templates (#13397)
Signed-off-by: Cody Cutrer <cody@cutrer.us>
2022-09-19 23:00:01 +02:00
openhab-bot
b6ddb6bb0a
New Crowdin updates (#13415)
* New translations ecowatt.properties (Italian)
* New translations jellyfin.properties (Italian)
2022-09-19 16:23:54 +02:00
Sami Salonen
67843ffbfd
[openhabcloud] improved logging for troubleshooting purposes (#12430)
* [openhabcloud] Sensor UUID and secret in logging

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

* [openhab] More logging. Lambda callbacks

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

* [openhabcloud] Sensor short UUID/secret completely

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

* [openhabcloud] pong milliseconds

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

* [openhabcloud] Log websecket factory HTTP calls and PACKETs (on connect)

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

* [openhabcloud] Sensor more secrets

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

* [openhabcloud] abort connect on exceptional errors

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

* [openhabcloud] remove dead code

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

* [openhabcloud] Socket.IO http logging only with TRACE level enabled

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

* [openhabcloud] logging level tuning

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

* [openhabcloud] fix typo sensored->censored

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

* [openhabcloud] warn level logging (not info) when disconnected

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

Signed-off-by: Sami Salonen <ssalonen@gmail.com>
2022-09-19 15:41:16 +02:00
mlobstein
89c73a0d81
[nuvo] Add NuvoNet source communication capabilities (#12042)
* Add NuvoNet source communication

Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>

* fix readme

Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>

* remove commented code

Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>

* Add startup/shutdown keypad messages

Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>

* Minor cleanup before code review

Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>

* Add configurable favorites labels

Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>

* add new config item to i18n properties

Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>

* Fix restart detection and improve version matching

Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>

* review changes

Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>

* Increment version number

Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>

* remove repeated word in channels.xml

Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>

* Review changes

Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>

Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>
2022-09-19 08:00:46 +02:00
Bernd Weymann
cbe41951fd
readme typo: callbackIP needs to match to code (#13410)
Signed-off-by: Bernd Weymann <bernd.weymann@gmail.com>
2022-09-18 21:45:00 +02:00
Sami Salonen
295df504c8
[mqtt.homeassistant] More readable label for discovered things (#13402)
* [mqtt.openassistant] Better labels for discoverd things

This PR introduces more simple label for things, instead of
"My Sensor (Sensor, Sensor, Sensor, Sensor, Sensor, Switch)" we have
simply "Me Sensor (5x Sensor, Switch)".

Signed-off-by: Sami Salonen <ssalonen@gmail.com>
2022-09-18 21:22:06 +02:00