]> git.basschouten.com Git - openhab-addons.git/log
openhab-addons.git
3 years ago[mqtt.homeassistant] ensure availability topics get subscribed (#13466)
Cody Cutrer [Sat, 8 Oct 2022 07:12:28 +0000 (01:12 -0600)]
[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>
3 years agoHandle properly UNKNOWN module types in discovery (#13500)
Gaël L'hopital [Fri, 7 Oct 2022 11:15:04 +0000 (13:15 +0200)]
Handle properly UNKNOWN module types in discovery (#13500)

Signed-off-by: clinique <gael@lhopital.org>
3 years ago[netatmo] Buffer last event requests per child modules (#13489)
Gaël L'hopital [Fri, 7 Oct 2022 09:56:15 +0000 (11:56 +0200)]
[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>
3 years ago[netatmo] Adding a request counter (#13494)
Gaël L'hopital [Fri, 7 Oct 2022 09:48:41 +0000 (11:48 +0200)]
[netatmo] Adding a request counter (#13494)

* Adding a request counter channel to Api Bridge thing.

Signed-off-by: clinique <gael@lhopital.org>
3 years agoUpdate README.md (#13497)
Hans-Jörg Merk [Thu, 6 Oct 2022 21:15:55 +0000 (23:15 +0200)]
Update README.md (#13497)

3 years ago[netatmo] Handling camera ping timeouts (#13487)
Gaël L'hopital [Thu, 6 Oct 2022 12:44:26 +0000 (14:44 +0200)]
[netatmo] Handling camera ping timeouts (#13487)

* Solves #13486

Signed-off-by: clinique <gael@lhopital.org>
3 years ago[openwebnet] add support for basic Scenarios (WHO=0) (#13473)
M Valla [Thu, 6 Oct 2022 06:33:01 +0000 (08:33 +0200)]
[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>
3 years ago[SunSpec] Add missing Inverter Status, Add Channel for Vendor-Specific Status (#13480)
Andreas Lanz [Wed, 5 Oct 2022 05:49:31 +0000 (07:49 +0200)]
[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>
3 years agoNew translations jellyfin.properties (Italian) (#13488)
openhab-bot [Tue, 4 Oct 2022 10:29:59 +0000 (12:29 +0200)]
New translations jellyfin.properties (Italian) (#13488)

3 years agoConsolidate and optimize datetime conversions (#13483)
Jacob Laursen [Tue, 4 Oct 2022 06:59:59 +0000 (08:59 +0200)]
Consolidate and optimize datetime conversions (#13483)

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
3 years ago[shelly] Add Plus/Pro support, some bugfixes (#13439)
Markus Michels [Tue, 4 Oct 2022 06:00:50 +0000 (08:00 +0200)]
[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>
3 years ago[openhabcloud] sleepSocketIO(long delay) halts entire io.socket thread #13210 (#13421)
Felix Lo [Mon, 3 Oct 2022 17:43:43 +0000 (01:43 +0800)]
[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>
3 years agoNew Crowdin updates (#13481)
openhab-bot [Mon, 3 Oct 2022 15:21:26 +0000 (17:21 +0200)]
New Crowdin updates (#13481)

* New translations influxdb.properties (French)
* New translations tado.properties (Italian)
* New translations ecowatt.properties (Italian)
* New translations solarmax.properties (Italian)

3 years ago[unifi] Detect all PoE ports, and set PoE thing offline if no data could be found...
Hilbrand Bouwkamp [Mon, 3 Oct 2022 11:02:46 +0000 (13:02 +0200)]
[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>
3 years ago[homekit] allow NumberItems for BatteryLowStatus (#13449)
Cody Cutrer [Mon, 3 Oct 2022 10:13:39 +0000 (04:13 -0600)]
[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>
3 years ago[easee] Fix binding not working after Easee cloud API has been unavailable (#13469)
alexf2015 [Sun, 2 Oct 2022 16:28:33 +0000 (18:28 +0200)]
[easee] Fix binding not working after Easee cloud API has been unavailable (#13469)

* fix #13463

Signed-off-by: Alexander Friese <af944580@googlemail.com>
3 years ago[nuki] Disabled warning for things created from textual config (#13331)
Jan Vybíral [Sun, 2 Oct 2022 16:10:40 +0000 (18:10 +0200)]
[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>
3 years ago[tado] Channels are visible depending on device type and capabilities (#13301)
Andrew Fiddian-Green [Sun, 2 Oct 2022 15:46:16 +0000 (16:46 +0100)]
[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>
3 years ago[bluetooth.ruuvitag] Correct parse of NA temperature & acceleraiton (#13279)
Sami Salonen [Sun, 2 Oct 2022 12:32:22 +0000 (15:32 +0300)]
[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>
3 years ago[ecowatt] Fix a typo in a channel description (#13476)
lolodomo [Sun, 2 Oct 2022 10:54:27 +0000 (12:54 +0200)]
[ecowatt] Fix a typo in a channel description (#13476)

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
3 years ago[androiddebugbridge] Add mDNS discovery for android tv (#13462)
GiviMAD [Sun, 2 Oct 2022 10:38:59 +0000 (12:38 +0200)]
[androiddebugbridge] Add mDNS discovery for android tv (#13462)

* [androiddebugbridge] add mDNS discovery for android tv

Signed-off-by: Miguel Álvarez <miguelwork92@gmail.com>
3 years agoNew Crowdin updates (#13474)
openhab-bot [Sun, 2 Oct 2022 10:33:47 +0000 (12:33 +0200)]
New Crowdin updates (#13474)

* New translations openweathermap.properties (French)

* New translations openuv.properties (French)

* New translations openhabcloud.properties (French)

* New translations ecowatt.properties (French)

3 years ago[jdbc] Fix warnings and apply null annotations (#13429)
Jacob Laursen [Sun, 2 Oct 2022 09:14:41 +0000 (11:14 +0200)]
[jdbc] Fix warnings and apply null annotations (#13429)

* Fix warnings and apply null annotations

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
3 years ago[LuxtronikHeatpump] Adds discovery service (#11907)
Stefan Giehl [Sat, 1 Oct 2022 15:15:16 +0000 (17:15 +0200)]
[LuxtronikHeatpump] Adds discovery service (#11907)

* [LuxtronikHeatpump] Adds discovery service

Signed-off-by: Stefan Giehl <stefangiehl@gmail.com>
3 years agoAdded URL path support. (#13436)
Tobias Liese [Sat, 1 Oct 2022 13:32:11 +0000 (15:32 +0200)]
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>
3 years ago[ipcamera] FFmpeg based alarms will now auto restart if stopped (#13446)
Matthew Skinner [Sat, 1 Oct 2022 12:19:25 +0000 (22:19 +1000)]
[ipcamera] FFmpeg based alarms will now auto restart if stopped (#13446)

* FFmpeg alarms now auto restart

Signed-off-by: Matthew Skinner <matt@pcmus.com>
3 years ago[nuki] Fixed nukiId migration for devices with shorter nukiId (#13088) (#13470)
Jan Vybíral [Sat, 1 Oct 2022 11:45:35 +0000 (13:45 +0200)]
[nuki] Fixed nukiId migration for devices with shorter nukiId (#13088) (#13470)

Signed-off-by: Jan Vybíral <jan.vybiral1@gmail.com>
3 years ago[netatmo] Room-Thing offline after restart (#13467)
Gaël L'hopital [Sat, 1 Oct 2022 10:50:22 +0000 (12:50 +0200)]
[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>
3 years ago[jrubyscripting] clean up assignment of class objects (#13451)
Cody Cutrer [Fri, 30 Sep 2022 20:47:53 +0000 (14:47 -0600)]
[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>
3 years ago[tapocontrol] Fix authentication issue making plugin unusable (#13468)
Peter Hicks [Fri, 30 Sep 2022 19:41:53 +0000 (20:41 +0100)]
[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>
3 years ago[lcn] Improve logging (#13460)
Fabian Wolter [Thu, 29 Sep 2022 07:01:20 +0000 (09:01 +0200)]
[lcn] Improve logging (#13460)

Signed-off-by: Fabian Wolter <github@fabian-wolter.de>
3 years ago[echonetlite] Initial contribution (#11999)
Michael Barker [Wed, 28 Sep 2022 21:23:57 +0000 (10:23 +1300)]
[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>
3 years agoupdated example to match frontdoor_lockstates (#13441)
martin1338 [Wed, 28 Sep 2022 19:33:21 +0000 (21:33 +0200)]
updated example to match frontdoor_lockstates (#13441)

command numbers where changed, see lines 80 and following -> adjusted the example and reorderd the commands

3 years ago[remoteopenhab] Optimize filtering of ALIVE events (#13432)
lolodomo [Wed, 28 Sep 2022 18:39:20 +0000 (20:39 +0200)]
[remoteopenhab] Optimize filtering of ALIVE events (#13432)

* [remoteopenhab] Optimize handling of ALIVE events

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
3 years agoNew translations pushover.properties (German) (#13454)
openhab-bot [Tue, 27 Sep 2022 20:40:22 +0000 (22:40 +0200)]
New translations pushover.properties (German) (#13454)

3 years ago[solarmax] Add default translations (#13452)
lolodomo [Tue, 27 Sep 2022 15:21:07 +0000 (17:21 +0200)]
[solarmax] Add default translations (#13452)

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
3 years ago[solarmax] Initial contribution (#10414)
Jamie Townsend [Tue, 27 Sep 2022 05:51:10 +0000 (07:51 +0200)]
[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>
3 years agoNew Crowdin updates (#13448)
openhab-bot [Mon, 26 Sep 2022 21:04:07 +0000 (23:04 +0200)]
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)

3 years ago[touchwand] Add port configuration to websocket (#13440)
Roie Geron [Mon, 26 Sep 2022 17:05:50 +0000 (20:05 +0300)]
[touchwand] Add port configuration to websocket (#13440)

* add port configuration to websocket

Signed-off-by: Roie Geron <roie.geron@gmail.com>
3 years ago[mqtt.generic] fix range of RGB values (#13426)
Cody Cutrer [Mon, 26 Sep 2022 17:03:37 +0000 (11:03 -0600)]
[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>
3 years ago[homekit] allow group items of the correct type anywhere that type is needed (#13236)
Cody Cutrer [Mon, 26 Sep 2022 16:58:59 +0000 (10:58 -0600)]
[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>
3 years agoAdded a second code owner (#13442)
Andrew Fiddian-Green [Mon, 26 Sep 2022 11:24:15 +0000 (12:24 +0100)]
Added a second code owner (#13442)

* Added codeowner

Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
3 years ago[ecowatt] Shorter labels for channel options (#13438)
lolodomo [Sun, 25 Sep 2022 19:01:26 +0000 (21:01 +0200)]
[ecowatt] Shorter labels for channel options (#13438)

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
3 years ago[KVV] Replace underlying API (#13186)
Maximilian Heß [Sun, 25 Sep 2022 12:29:10 +0000 (14:29 +0200)]
[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>
3 years ago[velux] Bridge status shows offline when communication fails (#13406)
Andrew Fiddian-Green [Sun, 25 Sep 2022 11:17:10 +0000 (12:17 +0100)]
[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>
3 years ago[pulseaudio] Apply real disconnection when needed (#13338)
Gwendal Roulleau [Sun, 25 Sep 2022 10:59:30 +0000 (12:59 +0200)]
[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>
3 years ago[miele] Migrate start channel to full DateTime channel and add end channel (#13393)
Jacob Laursen [Sun, 25 Sep 2022 09:29:26 +0000 (11:29 +0200)]
[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>
3 years ago[touchwand] Fix thermostat target temperature command (#13427)
Roie Geron [Sun, 25 Sep 2022 08:25:10 +0000 (11:25 +0300)]
[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>
3 years agoHow to support OpenWeatherMap one call api 3.0. (#13414)
rossbuggins [Sat, 24 Sep 2022 19:15:19 +0000 (20:15 +0100)]
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>
3 years ago[fsinternetradio] Add Ruark R5 to tested devices & mode list (#13325)
Timo Grossenbacher [Sat, 24 Sep 2022 09:38:38 +0000 (11:38 +0200)]
[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>
3 years agoNew translations bluetooth.properties (Dutch) (#13431)
openhab-bot [Thu, 22 Sep 2022 19:39:55 +0000 (21:39 +0200)]
New translations bluetooth.properties (Dutch) (#13431)

3 years ago[ecowatt] Unit tests for methods getting channel state from API response (#13419)
lolodomo [Wed, 21 Sep 2022 22:28:28 +0000 (00:28 +0200)]
[ecowatt] Unit tests for methods getting channel state from API response (#13419)

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
3 years ago[Tesla] Add event stream & handling post new authentication process by Tesla (#13116)
Karel Goderis [Wed, 21 Sep 2022 19:55:27 +0000 (21:55 +0200)]
[Tesla] Add event stream & handling post new authentication process by Tesla (#13116)

Signed-Off-By: Karel Goderis <karel.goderis@me.com>
3 years agoFix ClassCastException for LocalDateTime (#13425)
Jacob Laursen [Wed, 21 Sep 2022 17:10:02 +0000 (19:10 +0200)]
Fix ClassCastException for LocalDateTime (#13425)

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
3 years agoUpdate Shelly and Tradfri bindings for upgrade to Californium 2.7.3 (#13407)
Wouter Born [Wed, 21 Sep 2022 10:19:19 +0000 (12:19 +0200)]
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>
3 years ago[jrubyscripting] Update to JRuby 9.3.8.0 (#13424)
jimtng [Wed, 21 Sep 2022 07:51:04 +0000 (17:51 +1000)]
[jrubyscripting] Update to JRuby 9.3.8.0 (#13424)

Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
3 years ago[mqtt.homeassistant] support availability_templates (#13397)
Cody Cutrer [Mon, 19 Sep 2022 21:00:01 +0000 (15:00 -0600)]
[mqtt.homeassistant] support availability_templates (#13397)

Signed-off-by: Cody Cutrer <cody@cutrer.us>
3 years agoNew Crowdin updates (#13415)
openhab-bot [Mon, 19 Sep 2022 14:23:54 +0000 (16:23 +0200)]
New Crowdin updates (#13415)

* New translations ecowatt.properties (Italian)
* New translations jellyfin.properties (Italian)

3 years ago[openhabcloud] improved logging for troubleshooting purposes (#12430)
Sami Salonen [Mon, 19 Sep 2022 13:41:16 +0000 (16:41 +0300)]
[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>
3 years ago[nuvo] Add NuvoNet source communication capabilities (#12042)
mlobstein [Mon, 19 Sep 2022 06:00:46 +0000 (01:00 -0500)]
[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>
3 years agoreadme typo: callbackIP needs to match to code (#13410)
Bernd Weymann [Sun, 18 Sep 2022 19:45:00 +0000 (21:45 +0200)]
readme typo: callbackIP needs to match to code (#13410)

Signed-off-by: Bernd Weymann <bernd.weymann@gmail.com>
3 years ago[mqtt.homeassistant] More readable label for discovered things (#13402)
Sami Salonen [Sun, 18 Sep 2022 19:22:06 +0000 (22:22 +0300)]
[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>
3 years ago[mqtt.homeassistant] sensors with a state_class are numeric (#13398)
Cody Cutrer [Sun, 18 Sep 2022 17:46:07 +0000 (11:46 -0600)]
[mqtt.homeassistant] sensors with a state_class are numeric (#13398)

see reference in code comment, but a measurement sensor is assumed to
be numeric, even if it doesn't have a unit

Signed-off-by: Cody Cutrer <cody@cutrer.us>
3 years ago[mqtt.homeassistant] Stable jsondb discovery result (#13401)
Sami Salonen [Sun, 18 Sep 2022 16:20:49 +0000 (19:20 +0300)]
[mqtt.homeassistant] Stable jsondb discovery result (#13401)

* [mqtt.homeassistant] Stable jsondb serialization for discovery results

Similar to openhab/openhab-core#2436, we want
to have consistent ordering of data in JSONDB. This is fixing the jsondb
order for mqtt.homeassistant discovery results, specifically, the
"topics" property.

* [mqtt.homeassistant] order using full topic string, not by subcomponent

Signed-off-by: Sami Salonen <ssalonen@gmail.com>
3 years ago[ecowatt] Initial contribution (#13404)
lolodomo [Sun, 18 Sep 2022 15:52:18 +0000 (17:52 +0200)]
[ecowatt] Initial contribution (#13404)

* [ecowatt] Initial contribution

This binding uses the Ecowatt API to expose clear signals to adopt the right gestures and to ensure a good supply of electricity for all in France.

Close #13351

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
* Update bundles/org.openhab.binding.ecowatt/src/main/resources/OH-INF/thing/thing-types.xml

Signed-off-by: Fabian Wolter <github@fabian-wolter.de>
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
Signed-off-by: Fabian Wolter <github@fabian-wolter.de>
Co-authored-by: Fabian Wolter <github@fabian-wolter.de>
3 years ago[androiddebugbridge] fix get current package and get mac address (#13390)
GiviMAD [Sun, 18 Sep 2022 15:44:59 +0000 (17:44 +0200)]
[androiddebugbridge] fix get current package and get mac address (#13390)

Signed-off-by: Miguel Álvarez <miguelwork92@gmail.com>
Signed-off-by: Miguel Álvarez <miguelwork92@gmail.com>
3 years ago[openwebnet] improved README for AUX and ENERGY (#13408)
M Valla [Sun, 18 Sep 2022 15:24:39 +0000 (17:24 +0200)]
[openwebnet] improved README for AUX and ENERGY (#13408)

Signed-off-by: Massimo Valla <mvcode00@gmail.com>
Signed-off-by: Massimo Valla <mvcode00@gmail.com>
3 years ago[miio] Qingping Air Monitor (cgllc.airmonitor.s1) support is broken (#13262)
Dmitry [Sun, 18 Sep 2022 15:23:22 +0000 (18:23 +0300)]
[miio] Qingping Air Monitor (cgllc.airmonitor.s1) support is broken (#13262)

* [miio] Qingping Air Monitor (cgllc.airmonitor.s1) support is broken #13258
1.  Custom refresh command for "battery" was defined . The device with "4.1.8_9999" firmware version does not allowed to obtain this information by this way which prevents to obtain other values. The solution should work for both old firmware (the battery information would be requested as before) and it does not prevent the device with new firmware from sending other values (I checked it).

Signed-off-by: Dmitry Malenok <_mak_@bk.ru>
* [miio] Qingping Air Monitor (cgllc.airmonitor.s1) support is broken #13258
1.  The comment clarifying the "battery" parameter behavior was added.

Signed-off-by: Dmitry Malenok <_mak_@bk.ru>
Signed-off-by: Dmitry Malenok <_mak_@bk.ru>
3 years ago[jellyfin] add play by id channels and update sdk (#13389)
GiviMAD [Sun, 18 Sep 2022 11:01:18 +0000 (13:01 +0200)]
[jellyfin] add play by id channels and update sdk (#13389)

* [jellyfin] add play by id channels and update sdk
* [jellyfin] add missed Playing Item Id channel

Signed-off-by: Miguel Álvarez <miguelwork92@gmail.com>
3 years agoAdapt to core-changes (added JNA to tp) (#13298)
J-N-K [Sun, 18 Sep 2022 09:30:39 +0000 (11:30 +0200)]
Adapt to core-changes (added JNA to tp) (#13298)

Signed-off-by: Jan N. Klug <github@klug.nrw>
3 years ago[radiothermostat] Ignore updates if thermostat data is invalid (#13394)
mlobstein [Sat, 17 Sep 2022 15:49:59 +0000 (10:49 -0500)]
[radiothermostat] Ignore updates if thermostat data is invalid (#13394)

* Ignore updates if data is invalid

Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>
3 years agoConfigure zone on panel even if the channel is not yet linked (#13380)
Haavar Valeur [Sat, 17 Sep 2022 15:02:09 +0000 (08:02 -0700)]
Configure zone on panel even if the channel is not yet linked (#13380)

Signed-off-by: Haavar Valeur <haavar@haavar.com>
3 years ago[ipcamera] Fix ONVIF fails to reconnect (#13396)
Matthew Skinner [Sat, 17 Sep 2022 08:51:55 +0000 (18:51 +1000)]
[ipcamera] Fix ONVIF fails to reconnect (#13396)

* Fix reconnecting issues
* Cleanup logging.

Signed-off-by: Matthew Skinner <matt@pcmus.com>
3 years ago[vosk] Upgrade sdk and handle UnsatisfiedLinkError exceptions (#13391)
GiviMAD [Sat, 17 Sep 2022 07:27:09 +0000 (09:27 +0200)]
[vosk] Upgrade sdk and handle UnsatisfiedLinkError exceptions (#13391)

* [vosk] update sdk
* [vosk] handle unsatisfied link error exceptions

Signed-off-by: Miguel Álvarez <miguelwork92@gmail.com>
3 years ago[jsscripting] Update openhab-js to 2.0.3 (#13385)
Florian Hotze [Tue, 13 Sep 2022 19:57:09 +0000 (21:57 +0200)]
[jsscripting] Update openhab-js to 2.0.3 (#13385)

* [jsscripting] Update openhab-js to 2.0.3
* [jsscripting] Update README

Signed-off-by: Florian Hotze <florianh_dev@icloud.com>
3 years agoConsider TimeZoneProvider to build states for time-stamp channels (#13386)
Christoph Weitkamp [Tue, 13 Sep 2022 19:53:52 +0000 (21:53 +0200)]
Consider TimeZoneProvider to build states for time-stamp channels (#13386)

Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
3 years agofix README.md (#13387)
alexf2015 [Tue, 13 Sep 2022 19:51:58 +0000 (21:51 +0200)]
fix README.md (#13387)

Signed-off-by: Alexander Friese <af944580@googlemail.com>
3 years agoFix date cast exception (#13382)
Jacob Laursen [Mon, 12 Sep 2022 16:16:25 +0000 (18:16 +0200)]
Fix date cast exception (#13382)

After upgrading mysql-connector to 8.0.30 this exception was thrown: class java.time.LocalDateTime cannot be cast to class java.sql.Timestamp

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
3 years ago[fineoffsetweatherstation] Fix measurands (#13381)
Andreas Berger [Mon, 12 Sep 2022 15:16:10 +0000 (17:16 +0200)]
[fineoffsetweatherstation] Fix measurands (#13381)

* fix the PIEZO_GAIN10 measurand
* skip RAIN_PRIO measurand
* skip RCSATION measurand

Signed-off-by: Andreas Berger <andreas@berger-freelancer.com>
3 years ago[velux] Correction to channel label (#13379)
Andrew Fiddian-Green [Sun, 11 Sep 2022 14:16:44 +0000 (15:16 +0100)]
[velux] Correction to channel label (#13379)

Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
3 years ago[velux] Vane position channel is visible when required (#13271)
Andrew Fiddian-Green [Sun, 11 Sep 2022 10:44:16 +0000 (11:44 +0100)]
[velux] Vane position channel is visible when required (#13271)

* [velux] make vanePosition channel dynamic
* [velux] change category of window position from 'blinds' to 'window'

Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
3 years ago[systeminfo] Add CPU load channel, update dependencies (#13292)
Mark Herwege [Sun, 11 Sep 2022 09:06:52 +0000 (11:06 +0200)]
[systeminfo] Add CPU load channel, update dependencies (#13292)

* Add CPU load channel, update dependencies
* use PercentType, correct process CPU load
* Add and fix test

Signed-off-by: Mark Herwege <mark.herwege@telenet.be>
3 years ago[rotel] New channel to select FM/DAB/iRadio preset (#13285)
lolodomo [Sun, 11 Sep 2022 08:08:50 +0000 (10:08 +0200)]
[rotel] New channel to select FM/DAB/iRadio preset (#13285)

* [rotel] New channel to select FM/DAB/iRadio preset

For models RCX-1500, RDG-1520, RT-11, RT-1570, T11 and T14

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
3 years agoNew translations unifi.properties (Dutch) (#13372)
openhab-bot [Sun, 11 Sep 2022 00:22:35 +0000 (02:22 +0200)]
New translations unifi.properties (Dutch) (#13372)

3 years ago[linky] Docker specificities (#13348)
lolodomo [Sat, 10 Sep 2022 15:00:28 +0000 (17:00 +0200)]
[linky] Docker specificities (#13348)

Related to #13336

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
3 years ago[unifi] Fix portoverride to not remove any other data (#13362)
Hilbrand Bouwkamp [Sat, 10 Sep 2022 14:59:42 +0000 (16:59 +0200)]
[unifi] Fix portoverride to not remove any other data (#13362)

When a user has configured additional settings on a PoE port, like name.
These settings where lost when changing the PoEPort status in openHAB.
This was because in the binding only some information of the override was stored and when writing the new state this information would have been sent too.
In this change the object to store the override has been replaced by a plain json object. Therefore we don't have to know what is in it and all information is kept.

Signed-off-by: Hilbrand Bouwkamp <hilbrand@h72.nl>
3 years ago[Easee] Initial contribution (#12954)
alexf2015 [Sat, 10 Sep 2022 14:57:21 +0000 (16:57 +0200)]
[Easee] Initial contribution (#12954)

* initial binding version

Signed-off-by: Alexander Friese <af944580@gmail.com>
3 years ago[hdpowerview] Correct shade capabilities information (#13330)
Andrew Fiddian-Green [Sat, 10 Sep 2022 08:01:54 +0000 (09:01 +0100)]
[hdpowerview] Correct shade capabilities information (#13330)

* [hdpowerview] corrections to capabilities database

Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
3 years ago[Konnected] Taking configured onValue into account when sending status to actuator...
Haavar Valeur [Sat, 10 Sep 2022 06:48:03 +0000 (23:48 -0700)]
[Konnected] Taking configured onValue into account when sending status to actuator (#13360)

* Taking configured onvalue into account when sending status to actuator
* Added documentation for onValue configuration

Signed-off-by: Haavar Valeur <haavar@haavar.com>
3 years agoNew translations shelly.properties (German) (#13366)
openhab-bot [Fri, 9 Sep 2022 20:13:10 +0000 (22:13 +0200)]
New translations shelly.properties (German) (#13366)

3 years ago[upnpcontrol] Prepare dynamic channels and status messages for translation (#13364)
Mark Herwege [Thu, 8 Sep 2022 20:25:18 +0000 (22:25 +0200)]
[upnpcontrol] Prepare dynamic channels and status messages for translation (#13364)

* prepare dynamic channels and status messages for translation

Signed-off-by: Mark Herwege <mark.herwege@telenet.be>
3 years ago[jablotron] Added thermometers support for JA100F alarms (#13361)
Ondrej Pecta [Thu, 8 Sep 2022 19:18:42 +0000 (21:18 +0200)]
[jablotron] Added thermometers support for JA100F alarms (#13361)

Signed-off-by: Ondrej Pecta <opecta@gmail.com>
3 years agoFixed example thing. Made names less ambiguous (#13363)
Haavar Valeur [Thu, 8 Sep 2022 11:29:31 +0000 (04:29 -0700)]
Fixed example thing. Made names less ambiguous (#13363)

Signed-off-by: Haavar Valeur <haavar@haavar.com>
3 years ago[dsmr] Made additional key for smarty meter an option (#13359)
Hilbrand Bouwkamp [Wed, 7 Sep 2022 09:08:04 +0000 (11:08 +0200)]
[dsmr] Made additional key for smarty meter an option (#13359)

* [dsmr] Made additional key for smarty meter optional

Signed-off-by: Hilbrand Bouwkamp <hilbrand@h72.nl>
3 years ago[remoteopenhab] Fix the pattern to parse DateTime (#13349)
lolodomo [Tue, 6 Sep 2022 18:27:31 +0000 (20:27 +0200)]
[remoteopenhab] Fix the pattern to parse DateTime (#13349)

Re-use the same pattern as defined in class DateTimeTyoe.

Allows the support of 0 to 9 digits after the seconds.

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
3 years ago[Konnected] Using default onvalue if configured is null (#13354)
Haavar Valeur [Tue, 6 Sep 2022 18:24:33 +0000 (11:24 -0700)]
[Konnected] Using default onvalue if configured is null (#13354)

* Using default onvalue if configured is null
* Using DTO for channel configuration. Changing channel config parameter names to camel case

Signed-off-by: Haavar Valeur <haavar@haavar.com>
3 years ago[remoteopenhab] Handle REFRESH command as any command (#13350)
lolodomo [Mon, 5 Sep 2022 15:54:27 +0000 (17:54 +0200)]
[remoteopenhab] Handle REFRESH command as any command (#13350)

The received command (REFRESH) is transmitted as a REFRESH command to
the remote item.

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
3 years ago[nuvo] Fix MPS4 flag and online status reporting (#13345)
mlobstein [Sat, 3 Sep 2022 15:44:39 +0000 (10:44 -0500)]
[nuvo] Fix MPS4 flag and online status reporting (#13345)

* Fix mps4 flag and online status reporting
* Update missing statuses

Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>
3 years ago[avmfritz] Allow to set every userdefined color (#13317)
Christoph Weitkamp [Sat, 3 Sep 2022 12:42:31 +0000 (14:42 +0200)]
[avmfritz] Allow to set every userdefined color (#13317)

* Added INCREASE/DECREASE commands for brightness/color Channels
* Fixed NPE in HeatingModel
* Use set unmapped color command for color control of bulbs

Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
3 years agoUpdate API URL. (#13306)
Stewart Cossey [Sat, 3 Sep 2022 12:32:43 +0000 (00:32 +1200)]
Update API URL. (#13306)

Signed-off-by: Stewart Cossey <stewart.cossey@gmail.com>