Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update #1

Merged
merged 118 commits into from
Mar 27, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
118 commits
Select commit Hold shift + click to select a range
596b261
[hdpowerview] Eliminate nightly crash dump in OH3 (#10118)
andrewfg Feb 16, 2021
7abeb97
[bluetooth.generic] Enable BLE notification for linked channels (#10122)
PRosenb Feb 16, 2021
6f9d80e
[OmniLink] Fix OmniLink temperature/humidity sensors (#10130)
ecdye Feb 16, 2021
4495c53
[homematic] [doc] Usage of custom ID not supported (#10131)
eikowagenknecht Feb 16, 2021
fe496c7
[rotel] Fix command to select PC USB source (ASCII v2 mode) (#10165)
lolodomo Feb 17, 2021
fbf55d5
[modbus] fix defaults for tcp and serial things and some other minor …
ssalonen Feb 17, 2021
cb9a118
[gpio] Added instructions in case raspi-config is not available (#9899)
SebBoulet Feb 17, 2021
da5c4c8
[Synopanalyzer] Adding French localization, correction on overcast ch…
clinique Feb 17, 2021
2b3e08d
[pixometer] Update README.md, Typos corrected (#10168)
realthk Feb 17, 2021
c0cec80
[pilight] Pilight Binding initial contribution (#9744)
niklasdoerfler Feb 17, 2021
8a4b87e
[mpd] fix invalid volume (#10166)
stefanroellin Feb 17, 2021
0853aa7
[tellstick] Fix for #9841, adding support for Tellstick local API. (#…
jannegpriv Feb 18, 2021
0082cd1
[modbus.sunspec] Fix decimal number handling for inverter channel typ…
leoguiders Feb 18, 2021
1c5f0d1
[icloud] Add german translation (#10164)
Pantastisch Feb 19, 2021
a9f440d
[hue] Eliminate NPE in #9985 (#10199)
andrewfg Feb 19, 2021
fd1c966
[enocean] Improved device discovery and added SMACK capability (#10157)
fruggy83 Feb 20, 2021
17f7041
[voicerss] Add support for voices (#10184)
lolodomo Feb 20, 2021
a30b5df
remove @J-N-K from CODEOWNERS (#10108)
J-N-K Feb 20, 2021
fe7b91f
[novafinedust] Use fire and forget commands to configure device (#10210)
t2000 Feb 22, 2021
fd1f7eb
[shelly] Add Shelly Motion, minor improvements (#10054)
markus7017 Feb 23, 2021
7050a14
[mystrom] Add support for myStrom Bulb (#9910)
Fredo70 Feb 23, 2021
6b624f0
[ipcamera] Improve Dahua alarms (#10078)
Skinah Feb 24, 2021
a9bddff
[keba] Improve connection establishment and stability (#10179)
MikeTheTux Feb 25, 2021
8928e85
[bluetooth] Adapt labels of discovery results to standard (#10209)
kaikreuzer Feb 25, 2021
d1d42c4
[miio] additional vacuum channels for advanced rules (#10180)
marcelrv Feb 25, 2021
6d2211a
[miio] add support for deerma Humidifier (#10181)
marcelrv Feb 25, 2021
50a01b4
[homekit] extend support of inverted flag to other accessories (#10212)
yfre Feb 25, 2021
e86cc6b
[miio] add support for Smartmi Standing Fan 3 zhimi.fan.za5 (#10229)
marcelrv Feb 25, 2021
3a19b29
[loxone] Support for HTTPS websocket connections. (#10185)
ppieczul Feb 25, 2021
9af7ae8
[squeezebox] Add sleep channel (#10196)
mhilbush Feb 25, 2021
fb26536
[alarmdecoder] Doc update (#10143)
bobadair Feb 25, 2021
71ffce7
[deconz] Pimp properties and channel types with proper categories (#1…
cweitkamp Feb 25, 2021
cdf044c
[bluetooth] Fix disappearing bluetooth devices in Inbox (#10187)
PRosenb Feb 25, 2021
d16bb98
[miio] add support 5 zhimi heaters (#10231)
marcelrv Feb 25, 2021
23ff9a0
[homekit] make use of openHAB mDNS service (#10076)
yfre Feb 25, 2021
8fde1c3
[miio] fix bundle restart error (#10190)
marcelrv Feb 25, 2021
dc9c2f3
[squeezebox] Fix for Spotify and Tidal favorites (#10244)
mhilbush Feb 26, 2021
5225861
[ftpupload] Add configurable passive port (#10127)
schinken Feb 26, 2021
fdc22c0
[miio] add support for zhimi.airpurifier.vb2 Mi Air Purifier Pro H (#…
marcelrv Feb 26, 2021
42edf53
[MyQ] Initial commit of the MyQ binding for OH3 (#9347)
digitaldan Feb 26, 2021
f6521f6
[mmio] sync device list to latest and cleanup chuangimi plug (#10249)
marcelrv Feb 27, 2021
f7ab696
[surepetcare] Sure Petcare Binding (#9713)
renescherer Feb 28, 2021
3f9f3f2
Update README.md (#10261)
BigGeorgeTx Feb 28, 2021
583509e
Additional check for convert to double (#10224)
Piwoxar Feb 28, 2021
f6282cd
[http] FIX Player Converter State Issue #10066 (#10213)
Scherzin83 Feb 28, 2021
9c112a9
Update bnd to 5.3.0 (#10257)
wborn Feb 28, 2021
62e829f
[Tesla] Add SSO handler to authenticate against Tesla SSO service (#1…
cguedel Mar 1, 2021
22390b2
[miio] add & improve dreame vacuums p2036.p2041o,p2056o,p2057 (#10254)
marcelrv Mar 2, 2021
97c30af
[ecobee] Fix logging levels (#10255)
kaikreuzer Mar 2, 2021
037bfa7
[http] Add intersection character to descriptions. (#10250)
Jzooor Mar 2, 2021
51ddbdb
[epsonprojector] Fix ONLINE status reporting (#10266)
mlobstein Mar 2, 2021
3af0392
[shelly] Improved Motion Support, Support CoIoT Unicast, fixes (#10220)
markus7017 Mar 3, 2021
2939e8b
[OmniLink] Use jomnilink for command numbers (#10273)
ecdye Mar 3, 2021
f2eea9e
Improve CODEOWNERS (#10289)
wborn Mar 6, 2021
051c764
Upgrade Jackson to 2.12.2 (#10288)
wborn Mar 7, 2021
e9cd6de
[mcp23017] Fixes #9503 by updating Pi4j to the recently released vers…
mrumpf Mar 7, 2021
f3a517e
[lifx] Fix all SAT findings (#10307)
wborn Mar 10, 2021
e7950dd
[homekit] make usage of mDNS configurable (#10286)
yfre Mar 12, 2021
89fcefd
[mongodb] Collection per Item (#10202)
marciseli Mar 13, 2021
04d4caa
[homematic] Additional check for convert to double (#10207)
Piwoxar Mar 13, 2021
a213d3d
[yeelight] Add mono4 and strip6 (#10222)
TomoKRK Mar 13, 2021
6b85894
[WLED] Zero out MSB as it will be treated as white (#10252)
DerFetzer Mar 13, 2021
b846bf1
[openhabcloud] Add note about missing ability to delete things/items/…
Mar 13, 2021
c8eb88f
[atlona] Fix PROPERTY_VERSION not displaying correct value on UHD mod…
mlobstein Mar 13, 2021
94e8e8b
[somfytahoma] Add tag representation_property in things XML files (#1…
lolodomo Mar 13, 2021
c642312
[icalendar] Fixes #10303: small changes to docs (#10304)
daMihe Mar 13, 2021
493f8c4
[oppo] Fix setting verbose mode at startup issue (#10306)
mlobstein Mar 13, 2021
f085dc0
[espmilighthub] Fix things stay initializing (#10315)
Skinah Mar 13, 2021
affc082
[androiddebugbridge] fix power wake lock and minor fixes (#10316)
GiviMAD Mar 13, 2021
286bced
[nikohomecontrol] Add shutter invert and fix connection with NHC does…
mherwege Mar 13, 2021
849442c
[somfytahoma] Setting of channels at init + UoM for channels (#10300)
lolodomo Mar 14, 2021
5f1dd38
[chromecast] Added play URL actions to chromecast binding (#10245)
computergeek1507 Mar 14, 2021
a5a7070
[sonos] Fix discovery of Ikea SYYMFONISK models (#10323)
lolodomo Mar 14, 2021
ee59803
Remove org.jetbrains.annotations.NotNull (#10334)
wborn Mar 14, 2021
f972d06
[airvisualnode] Change dependency group id to version available on Ma…
kaikreuzer Mar 15, 2021
85a6699
[e3dc] documentation fix (#10337)
weymann Mar 15, 2021
279e878
[caddx] Correct thing status on bridge initialization (#10317)
jossuar Mar 15, 2021
04da89c
[openweathermap] Added hint about deprecation of UV Index API (#10326)
cweitkamp Mar 15, 2021
16fba31
[ipcamera] Improve Hikvision alarm reliability (#10319)
Skinah Mar 15, 2021
f350343
Rework more commons-lang usages (#10314)
wborn Mar 16, 2021
63450a3
[nuki] Update README.md (#10342)
KHOne23 Mar 16, 2021
df4a22b
[OmniLink] Minor restructuring of binding code (#10280)
ecdye Mar 16, 2021
754751c
[caddx] Corrected wrong casing on enum members to uppercase (#10344)
jossuar Mar 16, 2021
c582dda
[magentatv] Adapt to new Telekom OAuth flow (required to retrieve the…
markus7017 Mar 16, 2021
009208a
[nanoleaf] Refactored code to use core features and more (#10101)
kaikreuzer Mar 17, 2021
580f293
Resolve itest runbundles for Gson and Commons Lang upgrades and fix J…
wborn Mar 18, 2021
fe0c35d
Fix Java and Jetty deprecations (#10349)
wborn Mar 19, 2021
104360e
Change dependency group id to version available on Maven Central (#10…
kaikreuzer Mar 19, 2021
a38b51e
[ValloxMV] Adding Co2 measurement (#10324)
bjoernbrings Mar 19, 2021
2c0015d
[onewire] Fix deprecated tag "required" (#10354)
lolodomo Mar 20, 2021
14888e0
[somfytahoma] Fix deprecated tag "required" (#10352)
lolodomo Mar 20, 2021
ebdb916
[enocean] Fix deprecated tag "required" (#10353)
lolodomo Mar 20, 2021
b707ffb
[knx] Fix deprecated tag "required" (#10361)
lolodomo Mar 21, 2021
88022b1
[somfytahoma] Improved handling of target temperature command (#10336)
lolodomo Mar 21, 2021
47ed851
[velux] Fix deprecated tag "required" (#10362)
lolodomo Mar 21, 2021
17091e7
[digitalstrom] Fix deprecated tag "required" (#10364)
lolodomo Mar 21, 2021
de15410
[wemo] Fix deprecated tag "required" (#10365)
lolodomo Mar 21, 2021
bc3725a
[tellstick] Fix deprecated tag "required" (#10367)
lolodomo Mar 21, 2021
cdd99c9
[influxdb] Add option for using metadata value as measurement name (#…
DerOetzi Mar 21, 2021
5c3941e
[miele] Fix deprecated tag "required" (#10369)
lolodomo Mar 21, 2021
8293647
[dmx] Fix deprecated tag "required" (#10363)
lolodomo Mar 21, 2021
36d5d1f
[plclogo] Fix deprecated tag "required" (#10368)
lolodomo Mar 21, 2021
65b7467
[enocean] Do not set attr "required" for the param "senderIdOffset" (…
lolodomo Mar 21, 2021
2e770a3
[openwebnet] add support for Energy Meter (#10191)
aconte80 Mar 21, 2021
1c9cd6e
[bticinosmarther] Fix deprecated tag "required" (#10372)
lolodomo Mar 21, 2021
0d9b20a
[pulseaudio] Fix deprecated tag "required" (#10373)
lolodomo Mar 21, 2021
c709f52
GPS accuracy state display pattern changed (#10374)
gbicskei Mar 22, 2021
5477fa5
[tellstick] Fix for NPE (#10377) (#10378)
jannegpriv Mar 23, 2021
1d34872
[lifx] Improve firmware version support (#10384)
wborn Mar 24, 2021
635127b
Fix Typo in ReadMe (#10389)
hmerk Mar 25, 2021
31dd73e
[bsblan] Updated the link to the BSB-LAN device repository in README.…
hypetsch Mar 25, 2021
6e1119a
Fix broken configfile GAV with karaf:kar (#10391)
wborn Mar 26, 2021
361a672
[velux] Stability checks and improvements in slip io (#10119)
andrewfg Mar 26, 2021
0a2a6e7
[sensebox] Gracefully handle JsonSyntaxException (#10348)
cweitkamp Mar 26, 2021
506ef2e
[pioneeravr] Added support for Pioneer VSX-922 AVR (#10328)
nathanprins Mar 26, 2021
767cbb1
[MiHome] Add a Bridge property for the network interface to be used f…
ratza Mar 27, 2021
bfa7f32
Move to io.github.opewebnet4j 0.4.1 from Maven Central. Fixes #10298 …
mvalla Mar 27, 2021
1fa1f54
[picotts] Add null annotations (#10392)
wborn Mar 27, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
20 changes: 11 additions & 9 deletions CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
/bundles/org.openhab.binding.boschindego/ @jofleck
/bundles/org.openhab.binding.boschshc/ @stefan-kaestle @coeing @GerdZanker
/bundles/org.openhab.binding.bosesoundtouch/ @marvkis @tratho
/bundles/org.openhab.binding.broadlinkthermostat/ @flo_02_mu
/bundles/org.openhab.binding.broadlinkthermostat/ @flo-02-mu
/bundles/org.openhab.binding.bsblan/ @hypetsch
/bundles/org.openhab.binding.bticinosmarther/ @MrRonfo
/bundles/org.openhab.binding.buienradar/ @gedejong
Expand All @@ -52,12 +52,12 @@
/bundles/org.openhab.binding.daikin/ @caffineehacker
/bundles/org.openhab.binding.danfossairunit/ @pravussum
/bundles/org.openhab.binding.darksky/ @cweitkamp
/bundles/org.openhab.binding.deconz/ @J-N-K
/bundles/org.openhab.binding.deconz/ @openhab/add-ons-maintainers
/bundles/org.openhab.binding.denonmarantz/ @jwveldhuis
/bundles/org.openhab.binding.digiplex/ @rmichalak
/bundles/org.openhab.binding.digitalstrom/ @MichaelOchel @msiegele
/bundles/org.openhab.binding.dlinksmarthome/ @MikeJMajor
/bundles/org.openhab.binding.dmx/ @J-N-K
/bundles/org.openhab.binding.dmx/ @openhab/add-ons-maintainers
/bundles/org.openhab.binding.doorbird/ @mhilbush
/bundles/org.openhab.binding.draytonwiser/ @andrew-schofield
/bundles/org.openhab.binding.dscalarm/ @RSStephens
Expand Down Expand Up @@ -102,7 +102,7 @@
/bundles/org.openhab.binding.heos/ @Wire82
/bundles/org.openhab.binding.homematic/ @FStolte @gerrieg @mdicke2s
/bundles/org.openhab.binding.hpprinter/ @cossey
/bundles/org.openhab.binding.http/ @J-N-K
/bundles/org.openhab.binding.http/ @openhab/add-ons-maintainers
/bundles/org.openhab.binding.hue/ @cweitkamp
/bundles/org.openhab.binding.hydrawise/ @digitaldan
/bundles/org.openhab.binding.hyperion/ @tavalin
Expand Down Expand Up @@ -144,7 +144,7 @@
/bundles/org.openhab.binding.luftdateninfo/ @weymann
/bundles/org.openhab.binding.lutron/ @actong @bobadair
/bundles/org.openhab.binding.magentatv/ @markus7017
/bundles/org.openhab.binding.mail/ @J-N-K
/bundles/org.openhab.binding.mail/ @openhab/add-ons-maintainers
/bundles/org.openhab.binding.max/ @marcelrv
/bundles/org.openhab.binding.mcp23017/ @aogorek
/bundles/org.openhab.binding.melcloud/ @lucacalcaterra @paulianttila @thewiep
Expand All @@ -171,6 +171,7 @@
/bundles/org.openhab.binding.mqtt.generic/ @davidgraeff
/bundles/org.openhab.binding.mqtt.homeassistant/ @davidgraeff
/bundles/org.openhab.binding.mqtt.homie/ @davidgraeff
/bundles/org.openhab.binding.myq/ @digitaldan
/bundles/org.openhab.binding.mystrom/ @pail23
/bundles/org.openhab.binding.nanoleaf/ @raepple @stefan-hoehn
/bundles/org.openhab.binding.neato/ @jjlauterbach
Expand All @@ -194,7 +195,7 @@
/bundles/org.openhab.binding.omnikinverter/ @hansbogert
/bundles/org.openhab.binding.omnilink/ @ecdye
/bundles/org.openhab.binding.onebusaway/ @sdwilsh
/bundles/org.openhab.binding.onewire/ @J-N-K
/bundles/org.openhab.binding.onewire/ @openhab/add-ons-maintainers
/bundles/org.openhab.binding.onewiregpio/ @aogorek
/bundles/org.openhab.binding.onkyo/ @pail23 @paulianttila
/bundles/org.openhab.binding.opengarage/ @psmedley
Expand All @@ -208,6 +209,7 @@
/bundles/org.openhab.binding.paradoxalarm/ @theater
/bundles/org.openhab.binding.pentair/ @jsjames
/bundles/org.openhab.binding.phc/ @gnlpfjh
/bundles/org.openhab.binding.pilight/ @stefanroellin @niklasdoerfler
/bundles/org.openhab.binding.pioneeravr/ @Stratehm
/bundles/org.openhab.binding.pixometer/ @Confectrician
/bundles/org.openhab.binding.pjlinkdevice/ @nils
Expand Down Expand Up @@ -246,7 +248,7 @@
/bundles/org.openhab.binding.smartmeter/ @msteigenberger
/bundles/org.openhab.binding.smartthings/ @BobRak
/bundles/org.openhab.binding.smhi/ @pacive
/bundles/org.openhab.binding.snmp/ @J-N-K
/bundles/org.openhab.binding.snmp/ @openhab/add-ons-maintainers
/bundles/org.openhab.binding.solaredge/ @alexf2015
/bundles/org.openhab.binding.solarlog/ @johannrichard
/bundles/org.openhab.binding.somfymylink/ @loungeflyz
Expand All @@ -256,6 +258,7 @@
/bundles/org.openhab.binding.sonyprojector/ @lolodomo
/bundles/org.openhab.binding.spotify/ @Hilbrand
/bundles/org.openhab.binding.squeezebox/ @digitaldan @mhilbush
/bundles/org.openhab.binding.surepetcare/ @renescherer @HerzScheisse
/bundles/org.openhab.binding.synopanalyzer/ @clinique
/bundles/org.openhab.binding.systeminfo/ @svilenvul
/bundles/org.openhab.binding.tacmi/ @twendt @Wolfgang1966 @marvkis
Expand All @@ -269,7 +272,7 @@
/bundles/org.openhab.binding.tivo/ @mlobstein
/bundles/org.openhab.binding.touchwand/ @roieg
/bundles/org.openhab.binding.tplinksmarthome/ @Hilbrand
/bundles/org.openhab.binding.tr064/ @J-N-K
/bundles/org.openhab.binding.tr064/ @openhab/add-ons-maintainers
/bundles/org.openhab.binding.tradfri/ @cweitkamp @kaikreuzer
/bundles/org.openhab.binding.unifi/ @mgbowman
/bundles/org.openhab.binding.unifiedremote/ @GiviMAD
Expand Down Expand Up @@ -304,7 +307,6 @@
/bundles/org.openhab.io.imperihome/ @pdegeus
/bundles/org.openhab.io.neeo/ @tmrobert8
/bundles/org.openhab.io.openhabcloud/ @kaikreuzer
/bundles/org.openhab.io.transport.modbus/ @ssalonen
/bundles/org.openhab.persistence.dynamodb/ @ssalonen
/bundles/org.openhab.persistence.influxdb/ @lujop
/bundles/org.openhab.persistence.jdbc/ @openhab/add-ons-maintainers
Expand Down
10 changes: 10 additions & 0 deletions bom/openhab-addons/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1026,6 +1026,11 @@
<artifactId>org.openhab.binding.phc</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.openhab.addons.bundles</groupId>
<artifactId>org.openhab.binding.pilight</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.openhab.addons.bundles</groupId>
<artifactId>org.openhab.binding.pioneeravr</artifactId>
Expand Down Expand Up @@ -1266,6 +1271,11 @@
<artifactId>org.openhab.binding.squeezebox</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.openhab.addons.bundles</groupId>
<artifactId>org.openhab.binding.surepetcare</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.openhab.addons.bundles</groupId>
<artifactId>org.openhab.binding.synopanalyzer</artifactId>
Expand Down
Empty file.
8 changes: 7 additions & 1 deletion bundles/org.openhab.binding.airvisualnode/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,15 @@

<name>openHAB Add-ons :: Bundles :: AirVisual Node Air Quality Monitor Binding</name>

<properties>
<bnd.importpackage>
!jcifs
</bnd.importpackage>
</properties>

<dependencies>
<dependency>
<groupId>org.samba.jcifs</groupId>
<groupId>jcifs</groupId>
<artifactId>jcifs</artifactId>
<version>1.3.17</version>
<scope>compile</scope>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

<feature name="openhab-binding-airvisualnode" description="AirVisual Node Binding" version="${project.version}">
<feature>openhab-runtime-base</feature>
<bundle dependency="true" start-level="80">mvn:org.samba.jcifs/jcifs/1.3.17</bundle>
<bundle start-level="80">mvn:org.openhab.addons.bundles/org.openhab.binding.airvisualnode/${project.version}</bundle>
</feature>
</features>
6 changes: 4 additions & 2 deletions bundles/org.openhab.binding.alarmdecoder/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@ There are several versions of the adapter available:
This binding allows openHAB to access the state of wired or wireless contacts and motion detectors connected to supported alarm panels, as well as the state of attached keypads and the messages send to attached LRR devices.
Support is also available for sending keypad commands, including special/programmable keys supported by your panel.

For those upgrading from the OH1 version of the binding, the [original OH1 README](https://www.openhab.org/v2.5/addons/bindings/alarmdecoder1/) file is available for reference.

## Supported Things

The binding supports the following thing types:
Expand Down Expand Up @@ -311,3 +309,7 @@ The alarmdecoder device cannot query the panel for the state of individual zones
For this reason, the binding puts contacts into the "unknown" state (UNDEF), *until the panel goes into the READY state*.
At that point, all contacts for which no update messages have arrived are presumed to be in the CLOSED state.
In other words: to get to a clean slate after an openHAB restart, close all doors/windows such that the panel is READY.

## Reference Information

The protocol used to communicate with the Alarm Decoder is described [here](https://www.alarmdecoder.com/wiki/index.php/Protocol).
2 changes: 1 addition & 1 deletion bundles/org.openhab.binding.amazonechocontrol/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -429,7 +429,7 @@ sitemap flashbriefings label="Flash Briefings"

## Smart Home Devices

Note: the cannels of smartHomeDevices and smartHomeDeviceGroup will be created dynamically based on the capabilities reported by the amazon server. This can take a little bit of time.
Note: the channels of smartHomeDevices and smartHomeDeviceGroup will be created dynamically based on the capabilities reported by the amazon server. This can take a little bit of time.
The polling interval configured in the Account Thing to get the state is specified in minutes and has a minimum of 10. This means it takes up to 10 minutes to see the state of a channel. The reason for this low interval is, that the polling causes a big server load for the Smart Home Skills.

#### Supported Things
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
import java.util.concurrent.ScheduledFuture;
import java.util.concurrent.TimeUnit;

import org.apache.commons.lang.StringUtils;
import org.eclipse.jdt.annotation.NonNullByDefault;
import org.eclipse.jdt.annotation.Nullable;
import org.openhab.binding.ambientweather.internal.config.BridgeConfig;
Expand Down Expand Up @@ -128,7 +127,7 @@ public void initialize() {
*/
private boolean hasApplicationKey() {
String configApplicationKey = getConfigAs(BridgeConfig.class).applicationKey;
if (StringUtils.isEmpty(configApplicationKey)) {
if (configApplicationKey == null || configApplicationKey.isEmpty()) {
updateStatus(ThingStatus.OFFLINE, ThingStatusDetail.CONFIGURATION_ERROR, "Missing application key");
return false;
}
Expand All @@ -141,7 +140,7 @@ private boolean hasApplicationKey() {
*/
private boolean hasApiKey() {
String configApiKey = getConfigAs(BridgeConfig.class).apiKey;
if (StringUtils.isEmpty(configApiKey)) {
if (configApiKey == null || configApiKey.isEmpty()) {
updateStatus(ThingStatus.OFFLINE, ThingStatusDetail.CONFIGURATION_ERROR, "Missing API key");
return false;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
import java.util.Map;
import java.util.concurrent.ConcurrentHashMap;

import org.apache.commons.lang.StringUtils;
import org.json.JSONObject;
import org.openhab.binding.ambientweather.internal.model.DeviceJson;
import org.openhab.binding.ambientweather.internal.model.EventDataGenericJson;
Expand Down Expand Up @@ -318,8 +317,9 @@ private synchronized void handleData(String jsonData) {
logger.debug("Listener: Data: {}", jsonData);
try {
EventDataGenericJson data = gson.fromJson(jsonData, EventDataGenericJson.class);
if (StringUtils.isNotEmpty(data.macAddress)) {
sendWeatherDataToHandler(data.macAddress, jsonData);
String macAddress = data == null ? null : data.macAddress;
if (macAddress != null && !macAddress.isEmpty()) {
sendWeatherDataToHandler(macAddress, jsonData);
}
} catch (JsonSyntaxException e) {
logger.info("Listener: Exception parsing subscribed event: {}", e.getMessage());
Expand Down
2 changes: 1 addition & 1 deletion bundles/org.openhab.binding.androiddebugbridge/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ If you are not familiar with adb I suggest you to search "How to enable adb over

## Supported Things

This binding was tested on the Fire TV Stick (android version 7.1.2, volume control not working) and Nexus5x (android version 8.1.0, everything works nice), please update this document if you tested it with other android versions to reflect the compatibility of the biding.
This binding was tested on the Fire TV Stick (android version 7.1.2, volume control not working) and Nexus5x (android version 8.1.0, everything works nice), please update this document if you tested it with other android versions to reflect the compatibility of the binding.

## Discovery

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ public String getCurrentPackage() throws AndroidDebugBridgeDeviceException, Inte
if (packageActivityName.contains("/"))
return packageActivityName.split("/")[0];
}
throw new AndroidDebugBridgeDeviceReadException("can read package name");
throw new AndroidDebugBridgeDeviceReadException("Unable to read package name");
}

public boolean isAwake()
Expand All @@ -137,7 +137,7 @@ public boolean isScreenOn() throws InterruptedException, AndroidDebugBridgeDevic
logger.debug("Unable to parse device wake lock: {}", e.getMessage());
}
}
throw new AndroidDebugBridgeDeviceReadException("can read screen state");
throw new AndroidDebugBridgeDeviceReadException("Unable to read screen state");
}

public boolean isPlayingMedia(String currentApp)
Expand Down Expand Up @@ -175,12 +175,12 @@ public int getPowerWakeLock() throws InterruptedException, AndroidDebugBridgeDev
String lockResp = runAdbShell("dumpsys", "power", "|", "grep", "Locks", "|", "grep", "'size='");
if (lockResp.contains("=")) {
try {
return Integer.parseInt(lockResp.replace("\n", "").split("=")[1]);
return Integer.parseInt(lockResp.replace("\n", "").split("=")[1].trim());
} catch (NumberFormatException e) {
logger.debug("Unable to parse device wake lock: {}", e.getMessage());
}
}
throw new AndroidDebugBridgeDeviceReadException("can read wake lock");
throw new AndroidDebugBridgeDeviceReadException("Unable to read wake lock");
}

private void setVolume(int stream, int volume)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@

import javax.measure.quantity.Angle;

import org.apache.commons.lang.time.DateFormatUtils;
import org.apache.commons.lang3.time.DateFormatUtils;
import org.eclipse.jdt.annotation.NonNullByDefault;
import org.eclipse.jdt.annotation.Nullable;
import org.openhab.binding.astro.internal.action.AstroActions;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
import static java.util.Calendar.SECOND;
import static java.util.Collections.singletonList;
import static java.util.stream.Collectors.toList;
import static org.apache.commons.lang.time.DateUtils.truncatedEquals;
import static org.apache.commons.lang3.time.DateUtils.truncatedEquals;
import static org.openhab.binding.astro.internal.AstroBindingConstants.*;
import static org.openhab.binding.astro.internal.util.DateTimeUtils.*;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
import java.util.Date;
import java.util.regex.Pattern;

import org.apache.commons.lang.time.DateUtils;
import org.apache.commons.lang3.time.DateUtils;
import org.openhab.binding.astro.internal.config.AstroChannelConfig;
import org.openhab.binding.astro.internal.model.Range;
import org.slf4j.Logger;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1118,7 +1118,7 @@ public void responseReceived(String response) {
}

m = versionHdPattern.matcher(response);
if (m.matches()) {
if (!capabilities.isUHDModel() && m.matches()) {
handleVersionResponse(m, response);
return;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ public Set<ThingTypeUID> getSupportedThingTypeUIDs() {
properties.put("host", url.getHost());
properties.put("user", "admin");
properties.put("password", "admin");
properties.put("port", new Integer(port));
properties.put("port", Integer.valueOf(port));

DiscoveryResult result = DiscoveryResultBuilder.create(uid).withProperties(properties).withLabel(label)
.build();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@
package org.openhab.binding.autelis.internal.handler;

import java.io.StringReader;
import java.nio.charset.StandardCharsets;
import java.util.Base64;
import java.util.Collections;
import java.util.HashMap;
import java.util.Map;
Expand All @@ -25,14 +27,11 @@
import javax.xml.xpath.XPathExpressionException;
import javax.xml.xpath.XPathFactory;

import org.apache.commons.lang.StringUtils;
import org.eclipse.jetty.client.HttpClient;
import org.eclipse.jetty.client.api.ContentResponse;
import org.eclipse.jetty.client.api.Request;
import org.eclipse.jetty.http.HttpHeader;
import org.eclipse.jetty.http.HttpStatus;
import org.eclipse.jetty.util.B64Code;
import org.eclipse.jetty.util.StringUtil;
import org.openhab.binding.autelis.internal.AutelisBindingConstants;
import org.openhab.binding.autelis.internal.config.AutelisConfiguration;
import org.openhab.core.library.types.DecimalType;
Expand Down Expand Up @@ -288,17 +287,17 @@ private void configure() {
String username = configuration.user;
String password = configuration.password;

if (StringUtils.isBlank(username)) {
if (username == null || username.isBlank()) {
updateStatus(ThingStatus.OFFLINE, ThingStatusDetail.CONFIGURATION_ERROR, "username must not be empty");
return;
}

if (StringUtils.isBlank(password)) {
if (password == null || password.isBlank()) {
updateStatus(ThingStatus.OFFLINE, ThingStatusDetail.CONFIGURATION_ERROR, "password must not be empty");
return;
}

if (StringUtils.isBlank(host)) {
if (host == null || host.isBlank()) {
updateStatus(ThingStatus.OFFLINE, ThingStatusDetail.CONFIGURATION_ERROR, "hostname must not be empty");
return;
}
Expand All @@ -314,7 +313,8 @@ private void configure() {
}

baseURL = "http://" + host + ":" + port;
basicAuthentication = "Basic " + B64Code.encode(username + ":" + password, StringUtil.__ISO_8859_1);
basicAuthentication = "Basic "
+ Base64.getEncoder().encodeToString((username + ":" + password).getBytes(StandardCharsets.ISO_8859_1));
logger.debug("Autelius binding configured with base url {} and refresh period of {}", baseURL, refresh);

initPolling(0);
Expand Down Expand Up @@ -443,7 +443,7 @@ private void pollAutelisController() {
}
}

if (StringUtils.isEmpty((value))) {
if (value == null || value.isEmpty()) {
continue;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@
*/
package org.openhab.binding.bigassfan.internal;

import org.apache.commons.lang.StringUtils;

/**
* The {@link BigAssFanConfig} is responsible for storing the BigAssFan thing configuration.
*
Expand Down Expand Up @@ -60,13 +58,13 @@ public void setMacAddress(String macAddress) {
}

public boolean isValid() {
if (StringUtils.isBlank(label)) {
if (label == null || label.isBlank()) {
return false;
}
if (StringUtils.isBlank(ipAddress)) {
if (ipAddress == null || ipAddress.isBlank()) {
return false;
}
if (StringUtils.isBlank(macAddress)) {
if (macAddress == null || macAddress.isBlank()) {
return false;
}
return true;
Expand Down
Loading