]> git.basschouten.com Git - openhab-addons.git/log
openhab-addons.git
4 years ago[upb] Fix race condition (#11366)
Marcus Better [Mon, 11 Oct 2021 19:44:44 +0000 (15:44 -0400)]
[upb] Fix race condition (#11366)

There was a harmless race condition between a message being written
and the PIM being initalized to message mode by the binding. This adds
a latch to ensure writes happen after initalization.

Signed-off-by: Marcus Better <marcus@better.se>
4 years ago[openweathermap] Bridge status set to ONLINE when no attached things (#11360)
lolodomo [Mon, 11 Oct 2021 11:15:46 +0000 (13:15 +0200)]
[openweathermap] Bridge status set to ONLINE when no attached things (#11360)

Fix #11191

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
4 years ago[modbus] Clarifying error messages with invalid configuration (#11292)
Sami Salonen [Mon, 11 Oct 2021 10:41:35 +0000 (13:41 +0300)]
[modbus] Clarifying error messages with invalid configuration (#11292)

Resolves #10814

Signed-off-by: Sami Salonen <ssalonen@gmail.com>
4 years ago[miele] State/program/phase: Add raw channels and improve text channels (#11341)
jlaur [Sun, 10 Oct 2021 18:34:55 +0000 (20:34 +0200)]
[miele] State/program/phase: Add raw channels and improve text channels (#11341)

* Add raw channels for state, program and phase.
* Provide program/phase texts when missing from XGW 3000 and for multicast.
* Consistent handling of missing program/phase text across all appliance types.
* Fix tumble dryer example configuration.
* Changed tumble dryer Finished phase text for consistency.

Fixes #11335

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
4 years agoRemove deprecated XStream.setupDefaultSecurity calls (#11365)
Wouter Born [Sun, 10 Oct 2021 18:30:07 +0000 (20:30 +0200)]
Remove deprecated XStream.setupDefaultSecurity calls (#11365)

The XStream.setupDefaultSecurity method is deprecated since XStream 1.4.18.
It no longer does anything, because this is the default in newer XStream versions.

Signed-off-by: Wouter Born <github@maindrain.net>
4 years agoAlign translation filenames with Crowdin (#11362)
Wouter Born [Sun, 10 Oct 2021 09:02:53 +0000 (11:02 +0200)]
Align translation filenames with Crowdin (#11362)

Crowdin is configured to generate translations for languages without countries.

Signed-off-by: Wouter Born <github@maindrain.net>
4 years ago[ntp] Add default translations properties file (#11363)
Wouter Born [Sun, 10 Oct 2021 08:52:39 +0000 (10:52 +0200)]
[ntp] Add default translations properties file (#11363)

This allows for translating the NTP Binding strings with Crowdin.

Signed-off-by: Wouter Born <github@maindrain.net>
4 years ago[openhabcloud] Add required registration before connection (#11168)
mtraxiot [Sun, 10 Oct 2021 08:14:48 +0000 (19:14 +1100)]
[openhabcloud] Add required registration before connection (#11168)

4 years ago[ipcamera] Fix several issues and some improvements (#11300)
Matthew Skinner [Sun, 10 Oct 2021 08:12:18 +0000 (19:12 +1100)]
[ipcamera] Fix several issues and some improvements (#11300)

* Fixes an issue now that the binding is not polling the snapshot anymore where the jpg could return an old image from cache.
* Fixes an issue that could be caused if you spammed the refresh key whilst watching ipcamera.mjpeg
* Improvements in stopping the servlet and stopping any open streams if the pause button is pressed on a camera thing.
* Reduces memory, thread and open file descriptor resource use.
* Fixes empty passwords create bad log output for logged ffmpeg commands.
* Fix for INSTAR cameras that created a WARN about bad user/pass when setting up the alarm server.

Closes #11301

Signed-off-by: Matthew Skinner <matt@pcmus.com>
4 years ago[powermax] Add null annotations (#11275)
lolodomo [Sun, 10 Oct 2021 08:04:37 +0000 (10:04 +0200)]
[powermax] Add null annotations (#11275)

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
4 years ago[rrd4j] Upgrade rrd4j, improve exception handling (#11355)
Wouter Born [Sat, 9 Oct 2021 19:56:09 +0000 (21:56 +0200)]
[rrd4j] Upgrade rrd4j, improve exception handling (#11355)

* Upgrades rrd4j to 3.8
* Fixes deprecations
* Updates RRD4jChartServlet for ChartProvider API changes
* Improves RRD4jChartServlet exception handling

For the rrd4j changelog see:

https://raw.githubusercontent.com/rrd4j/rrd4j/master/changelog.txt

Related to openhab/openhab-core#2502

Signed-off-by: Wouter Born <github@maindrain.net>
4 years agoUpdate README.md (#11354)
JanSchellenberg [Sat, 9 Oct 2021 17:58:46 +0000 (19:58 +0200)]
Update README.md (#11354)

Added the Teufel 3sixty to the Radio mode list.

4 years agoUpdate bnd to 6.0.0 (#11359)
Wouter Born [Sat, 9 Oct 2021 17:57:33 +0000 (19:57 +0200)]
Update bnd to 6.0.0 (#11359)

For release notes, see:

https://github.com/bndtools/bnd/wiki/Changes-in-6.0.0

Related to openhab/openhab-core#2514

Signed-off-by: Wouter Born <github@maindrain.net>
4 years agoSwitch properties files encoding from ISO-8859-1 to UTF-8 (#11349)
Wouter Born [Sat, 9 Oct 2021 17:56:49 +0000 (19:56 +0200)]
Switch properties files encoding from ISO-8859-1 to UTF-8 (#11349)

* Switch properties files encoding from ISO-8859-1 to UTF-8

Crowdin will generate translations in this encoding, so this prevents a lot of diffs which makes it easier to review future Crowdin PRs.

Related to openhab/openhab-core#2298

Signed-off-by: Wouter Born <github@maindrain.net>
4 years ago[feed] added channel for enclosure link on latest entry (#11345)
Jürgen Pabel [Sat, 9 Oct 2021 16:32:44 +0000 (18:32 +0200)]
[feed] added channel for enclosure link on latest entry (#11345)

Signed-off-by: Juergen Pabel <juergen@pabel.net>
4 years ago[upb] Fix retry logic (#11342)
Marcus Better [Sat, 9 Oct 2021 14:29:09 +0000 (10:29 -0400)]
[upb] Fix retry logic (#11342)

* [upb] Fix retry logic

The retry logic was broken so it never retried. This fixes it and adds
unit tests for the serial communication and retry behavior.

Signed-off-by: Marcus Better <marcus@better.se>
* Remove excessive log

Signed-off-by: Marcus Better <marcus@better.se>
4 years agoAdded support to send an Image directly (#11346)
Christoph Weitkamp [Sat, 9 Oct 2021 13:35:18 +0000 (15:35 +0200)]
Added support to send an Image directly (#11346)

Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
4 years ago[pulseaudio] Fix sink-input configuration and other (#11272) (#11276)
dalgwen [Sat, 9 Oct 2021 09:44:20 +0000 (11:44 +0200)]
[pulseaudio] Fix sink-input configuration and other (#11272) (#11276)

* [pulseaudio] Fix sink-input configuration  and other small improvements (#11272)

The binding requires a parameter to activate the parsing of sink-input entries on the pulseaudio server. This patch :
- document this behaviour
- fix the parsing of these parameters if a configuration file is used (the old method of casting launched a class cast exception)

Other small improvements :
- Force a refresh/new parsing when the configuration changes
- Fix scheduled disconnection : if a sound is played during the grace period, the scheduled disconnection is postponed, not added to the last
- add a possibility to never disconnect the audio sink (in order to have a lower latency when playing sound)
Closes #11272

Signed-off-by: Gwendal Roulleau <gwendal.roulleau@gmail.com>
* Small fixes after proofreading

Signed-off-by: Gwendal Roulleau <gwendal.roulleau@gmail.com>
Co-authored-by: Gwendal Roulleau <gwendal.roulleau@gmail.com>
4 years ago[systeminfo] Fix heap graph too high on axis. (#11351)
Matthew Skinner [Sat, 9 Oct 2021 08:16:23 +0000 (19:16 +1100)]
[systeminfo] Fix heap graph too high on axis. (#11351)

Was calculating the “used heap” based on max heap size and not on the currently allocated size.

Signed-off-by: Matthew Skinner <matt@pcmus.com>
4 years agoAbstract over bin paths using env (#11339)
Matthias Herrmann [Wed, 6 Oct 2021 14:19:38 +0000 (16:19 +0200)]
Abstract over bin paths using env (#11339)

Signed-off-by: Matthias Herrmann <matthias.mh.herrmann@gmail.com>
4 years ago[darksky] Added hint about Dark Sky API deprecation (#11347)
Christoph Weitkamp [Tue, 5 Oct 2021 15:56:56 +0000 (17:56 +0200)]
[darksky] Added hint about Dark Sky API deprecation (#11347)

Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
4 years ago[netatmo] Updated dev portal URLs in 1st step of README (#11194)
hutdev [Mon, 4 Oct 2021 14:33:08 +0000 (16:33 +0200)]
[netatmo] Updated dev portal URLs in 1st step of README (#11194)

URLs for the Netatmo developer portal seem to have changed

4 years ago[myq] Fixes a serious issue that could wipe out cookies across an entire OH instance...
Dan Cunningham [Mon, 4 Oct 2021 05:41:41 +0000 (22:41 -0700)]
[myq] Fixes a serious issue that could wipe out cookies across an entire OH instance for bindings using the shared Jetty client (#11343)

Signed-off-by: Dan Cunningham <dan@digitaldan.com>
4 years agoNew Crowdin updates (#10570)
openhab-bot [Sun, 3 Oct 2021 20:14:10 +0000 (22:14 +0200)]
New Crowdin updates (#10570)

Signed-off-by: Wouter Born <github@maindrain.net>
4 years ago[BMWConnectedDrive] Authorization fix + channel enhancements (#11213) (#11263) (...
Bernd Weymann [Sun, 3 Oct 2021 06:15:07 +0000 (08:15 +0200)]
[BMWConnectedDrive] Authorization fix + channel enhancements (#11213) (#11263) (#11264)

4 years agofix: Support Quantity Types (#11229)
Peter Schraffl [Sat, 2 Oct 2021 23:38:28 +0000 (01:38 +0200)]
fix: Support Quantity Types (#11229)

Signed-off-by: Schraffl Peter <p.schraffl@gmx.at>
4 years ago[magentatv] Fix: Start UPNP listener to catch power off button, thing id in log ...
Markus Michels [Sat, 2 Oct 2021 21:02:28 +0000 (23:02 +0200)]
[magentatv] Fix: Start UPNP listener to catch power off button, thing id in log (#11238)

* Fix: Start UPNP listener to catch power off button, thing id in log
messages

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

Signed-off-by: Markus Michels <markus7017@gmail.com>
4 years ago[miele] Temperature channel improvements: UoM, categories and descriptions (#11329)
jlaur [Sat, 2 Oct 2021 17:57:22 +0000 (19:57 +0200)]
[miele] Temperature channel improvements: UoM, categories and descriptions (#11329)

* Improvements for temperature channels

Fixes #11317

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
* Added jlaur as miele binding maintainer

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
* Fix spinning speed for washing machines

Fixes #11317

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
* Added time as category for DateTime-related channels

Fixes #11317

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
* Elapsed/remaining time channels are no longer marked as advanced.

Fixes #11317

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
* Fixed type for temperature item examples.

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
* Document all states (cross-appliance).

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
* Improved error handling for getTemperatureState

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
* Split current/target temperature into two channel types for label reuse

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
* Fix possible NullPointerException

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
* Distinguish between oven program temperatures

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
* Mark oven program temperature 1 and 2 as advanced.

Fixes #11317

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
4 years ago[Astro] Removing org.apache.commons.* (#11327)
Gaël L'hopital [Sat, 2 Oct 2021 12:16:23 +0000 (14:16 +0200)]
[Astro] Removing org.apache.commons.* (#11327)

* Removing org.apache.commons.*
Some code cleansing

Signed-off-by: Gaël L'hopital <gael@lhopital.org>
* Some more code cleansing.

Signed-off-by: Gaël L'hopital <gael@lhopital.org>
* Satisfy integration tests

Signed-off-by: Gaël L'hopital <gael@lhopital.org>
* Taking in account @lolodomo feed-back

Signed-off-by: Gaël L'hopital <gael@lhopital.org>
4 years ago[dsmr] Fix payload length calculation for Smarty meters (#11328)
Hilbrand Bouwkamp [Thu, 30 Sep 2021 20:59:54 +0000 (22:59 +0200)]
[dsmr] Fix payload length calculation for Smarty meters (#11328)

Fixes #10932
Supersedes #10933 and adds a unit test.

Also-by: Alexander Hotz <alex.hotz@gmail.com>
Signed-off-by: Hilbrand Bouwkamp <hilbrand@h72.nl>
4 years ago[influxdb] Add info that it's no good idea to override the item tag via metadata...
Matthias Glaub [Thu, 30 Sep 2021 18:59:26 +0000 (20:59 +0200)]
[influxdb] Add info that it's no good idea to override the item tag via metadata (#11316)

* add info that it's no good idea to override the item tag via metadata

closes #11288

Signed-off-by: Matthias Glaub <magl@magl.net>
4 years ago[heliosventilation] reference modbus.helioseasycontrols binding (#11324)
Bernhard Bauer [Thu, 30 Sep 2021 17:21:30 +0000 (19:21 +0200)]
[heliosventilation] reference modbus.helioseasycontrols binding (#11324)

* Update README.md

Signed-off-by: Bernhard Bauer <bern77@gmail.com>
4 years ago[helioseasycontrols] reference heliosventilation binding (#11325)
Bernhard Bauer [Thu, 30 Sep 2021 17:09:24 +0000 (19:09 +0200)]
[helioseasycontrols] reference heliosventilation binding (#11325)

* [helioseasycontrols] reference heliosventilation binding

There are two binding supporting different types of Helios ventilation systems. Cross referencing the bindings in their descriptions should help users identify the right binding for their device.

Signed-off-by: Bernhard Bauer <bern77@gmail.com>
4 years agoBump netty.io to 4.1.68.Final (#11326)
Matthew Skinner [Thu, 30 Sep 2021 16:48:52 +0000 (02:48 +1000)]
Bump netty.io to 4.1.68.Final (#11326)

Update to latest Netty which has 2 security fixes in it.

https://netty.io/news/2021/09/09/4-1-68-Final.html

Signed-off-by: Matthew Skinner <matt@pcmus.com>
4 years ago[systeminfo] Add 2 new channels for Java heap (#11322)
Matthew Skinner [Thu, 30 Sep 2021 07:14:31 +0000 (17:14 +1000)]
[systeminfo] Add 2 new channels for Java heap (#11322)

* Add heap measuring.
* refactor to remove apache.commons

Signed-off-by: Matthew Skinner <matt@pcmus.com>
4 years ago[miele] Fix supercool/superfreeze for fridges/fridge-freezers (#11321)
jlaur [Thu, 30 Sep 2021 07:00:26 +0000 (09:00 +0200)]
[miele] Fix supercool/superfreeze for fridges/fridge-freezers (#11321)

* Fix typos.

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
* Do not expose getTypeClass through interface.

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
* Fix channel supercool for fridges and partially fix supercool/superfreeze for fridge-freezers.

Fixes #11320

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
* Fix two-way channel synchronization for supercool/superfreeze for fridge-freezer.

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
4 years ago[Luxtronik] Fix possible out ouf bound error for older heatpumps (#11318)
Stefan Giehl [Tue, 28 Sep 2021 22:09:34 +0000 (00:09 +0200)]
[Luxtronik] Fix possible out ouf bound error for older heatpumps (#11318)

* [Luxtronik] Fix possible out ouf bound error for older heatpumps

Signed-off-by: Stefan Giehl <stefangiehl@gmail.com>
* fix typo

Signed-off-by: Stefan Giehl <stefangiehl@gmail.com>
4 years ago[tplinksmarthome] Added new devices EP10, EP40, KL125, and KL135 (#11282)
Hilbrand Bouwkamp [Tue, 28 Sep 2021 16:28:15 +0000 (18:28 +0200)]
[tplinksmarthome] Added new devices EP10, EP40, KL125, and KL135 (#11282)

Closes #11156

Signed-off-by: Hilbrand Bouwkamp <hilbrand@h72.nl>
4 years ago[nanoleaf] Reimplement touch detection based on SSE, stabilize behavior, add swipe...
stefan-hoehn [Tue, 28 Sep 2021 07:07:12 +0000 (09:07 +0200)]
[nanoleaf] Reimplement touch detection based on SSE, stabilize behavior, add swipe support (#11133)

* [nanoleaf] reimplement touch detection based on sse, stabilize behavior
* [nanoleaf] add swipe support
* [nanoleaf] add / tested full shapes support

Signed-off-by: Stefan Höhn <stefan@andreaundstefanhoehn.de>
4 years ago[lifx] Add channels for controlling absolute color temperature in Kelvin (#11309)
Wouter Born [Mon, 27 Sep 2021 20:00:01 +0000 (22:00 +0200)]
[lifx] Add channels for controlling absolute color temperature in Kelvin (#11309)

* [lifx] Add channels for controlling absolute color temperature in Kelvin

Adds an 'abstemperature' channel to all Thing Types for controlling the absolute color temperature in Kelvin.
MultiZone lights also have 'abstemperaturezone' channels that allow for controlling the color temperature of a zone in Kelvin.
These channels make it easier to use the same color temperature with lights that have a different color temperature range.
Furthermore the channel type tags have been updated which simplifies using the generated items with the semantic model.

Signed-off-by: Wouter Born <github@maindrain.net>
4 years ago[mail] Add support for e-mail headers (#11307)
Andrew Fiddian-Green [Mon, 27 Sep 2021 08:38:13 +0000 (09:38 +0100)]
[mail] Add support for e-mail headers (#11307)

Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
4 years ago[danfossairunit] Fix network reliability issues and setting of all channel values...
jlaur [Mon, 27 Sep 2021 05:58:10 +0000 (07:58 +0200)]
[danfossairunit] Fix network reliability issues and setting of all channel values to zero (#11172)

* Fix Potential null pointer accesses
* Added constants for TCP port and poll interval in seconds.
* Extract interface from DanfossAirUnitCommunicationController.
* Remove unused constants which seems to be left-overs from skeleton.
* Added constant for discovery timeout value for readability.
* Created handler subfolder for DanfossAirUnitHandler (like discovery) for consistency with other bindings.
* Handle lost connection gracefully without updating all channels to zero.
* Fix infinitly blocking network calls preventing proper error handling.
* Fix thing status being reset to ONLINE after failing to update all channels.
* Fix error handling when receiving invalid manual fan step.

Fixes #11167
Fixes #11188

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
4 years agoFix/remove outdated "Default Tags" (#11313)
Wouter Born [Mon, 27 Sep 2021 05:33:56 +0000 (07:33 +0200)]
Fix/remove outdated "Default Tags" (#11313)

There used to be the following "Default Tags" which are no longer used in the current semantic model:

* Lighting
* Switchable
* CurrentTemperature
* TargetTemperature
* CurrentHumidity

See:

* https://www.openhab.org/docs/developer/bindings/thing-xml.html#default-tags
* https://www.openhab.org/docs/tutorial/model.html#semantic-model

Signed-off-by: Wouter Born <github@maindrain.net>
4 years ago[pidcontroller] Improve logging (#11312)
Fabian Wolter [Mon, 27 Sep 2021 05:30:16 +0000 (07:30 +0200)]
[pidcontroller] Improve logging (#11312)

Signed-off-by: Fabian Wolter <github@fabian-wolter.de>
4 years ago[mielecloud] Increase timeout for integration tests (#11306)
Björn Lange [Sun, 26 Sep 2021 17:05:35 +0000 (19:05 +0200)]
[mielecloud] Increase timeout for integration tests (#11306)

Signed-off-by: Björn Lange <bjoern.lange@tu-dortmund.de>
4 years agoAllow multi release JARs to resolve (#11303)
Matthew Skinner [Sun, 26 Sep 2021 14:16:07 +0000 (00:16 +1000)]
Allow multi release JARs to resolve (#11303)

This allows bnd to resolve multi release jar files.

A number of people have posted they have troubles adding dependancies on the forum with this error.
`Classes found in the wrong directory: {META-INF/versions/9/module-info.class=module-info}`

Issue about it is here:
https://github.com/bndtools/bnd/issues/2227

An alternative fix is to add the following into each bindings pom.xml

```
  <properties>
    <bnd.fixupmessages>"Classes found in the wrong directory"; is:=warning</bnd.fixupmessages>
  </properties>
```

Not sure what the correct way to handle this is but these are two ways I have tested.

Signed-off-by: Matthew Skinner <matt@pcmus.com>
4 years agoAdd new channels for water and power consumption for washing machines and dishwashers...
jlaur [Sat, 25 Sep 2021 19:09:26 +0000 (21:09 +0200)]
Add new channels for water and power consumption for washing machines and dishwashers. (#11298)

Fixes #11297

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
4 years ago[wolfsmartset] Initial contribution (#10751)
Bo Biene [Sat, 25 Sep 2021 19:07:54 +0000 (21:07 +0200)]
[wolfsmartset] Initial contribution (#10751)

Signed-off-by: Bo Biene <openhab.github@biene.eu>
4 years agoMake sure bridge status is set when returning from initialize (#11289)
Kai Kreuzer [Sat, 25 Sep 2021 17:10:12 +0000 (19:10 +0200)]
Make sure bridge status is set when returning from initialize (#11289)

Signed-off-by: Kai Kreuzer <kai@openhab.org>
4 years agoFix coffee machine auto-discovery. (#11302)
jlaur [Sat, 25 Sep 2021 14:50:24 +0000 (16:50 +0200)]
Fix coffee machine auto-discovery. (#11302)

Fixes #8779

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
4 years agoFix IllegalArgumentException when using oven channel 'type' (#11287)
jlaur [Wed, 22 Sep 2021 19:32:32 +0000 (21:32 +0200)]
Fix IllegalArgumentException when using oven channel 'type' (#11287)

Fixes #11286

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
4 years ago[modbus] Remove helioseasycontrols binding.xml causing binding identification issues...
Wouter Born [Wed, 22 Sep 2021 06:35:06 +0000 (08:35 +0200)]
[modbus] Remove helioseasycontrols binding.xml causing binding identification issues (#11281)

There should only be one binding.xml file for each binding.

Fixes #8973

Signed-off-by: Wouter Born <github@maindrain.net>
4 years ago[metrics] Fix configuration PID and add file based configuration example (#11280)
Wouter Born [Wed, 22 Sep 2021 06:34:09 +0000 (08:34 +0200)]
[metrics] Fix configuration PID and add file based configuration example (#11280)

Fixes #11279

Signed-off-by: Wouter Born <github@maindrain.net>
4 years ago[modbus] DEVELOPERS.md: fix jamod dependency in demo app (#11278)
Sami Salonen [Tue, 21 Sep 2021 20:01:43 +0000 (23:01 +0300)]
[modbus] DEVELOPERS.md: fix jamod dependency in demo app (#11278)

As discussed in #8551. See comment from fwolter at Sep 23 2020.:
https://github.com/openhab/openhab-addons/issues/8551#issuecomment-697237105

Signed-off-by: Sami Salonen <ssalonen@gmail.com>
4 years ago[modbus] Fix link to modbus developer documentation (#11277)
Sami Salonen [Tue, 21 Sep 2021 19:58:54 +0000 (22:58 +0300)]
[modbus] Fix link to modbus developer documentation (#11277)

Resolves #8382

Signed-off-by: Sami Salonen <ssalonen@gmail.com>
4 years ago[mikrotik] Mikrotik RouterOS Binding - Initial contribution (#10014)
Oleg Vivtash [Tue, 21 Sep 2021 17:40:57 +0000 (20:40 +0300)]
[mikrotik] Mikrotik RouterOS Binding - Initial contribution (#10014)

* [mikrotik] Initial contribution
Build fix
Linter concerns fixed
Post-review updates
Apply suggestions from code review

Co-authored-by: Matthew Skinner <matt@pcmus.com>
[mikrotik] Byte channels UOM update
[mikrotik] UOM updates; minor improvements
[mikrotik] ThingTypes update

Signed-off-by: Oleg Vivtash <oleg@vivtash.net>
* [mikrotik] Version bump, bugfix (thanks @radokristof)

Signed-off-by: Oleg Vivtash <oleg@vivtash.net>
* [mikrotik] Raw uptime channel removed

Signed-off-by: Oleg Vivtash <oleg@vivtash.net>
* [mikrotik] Traces removed

Signed-off-by: Oleg Vivtash <oleg@vivtash.net>
* [mikrotik] Readme update

Signed-off-by: Oleg Vivtash <oleg@vivtash.net>
* [mikrotik] More Null checks

Signed-off-by: Oleg Vivtash <oleg@vivtash.net>
* [mikrotik] thing-types update

Signed-off-by: Oleg Vivtash <oleg@vivtash.net>
* [mikrotik] Units update

Signed-off-by: Oleg Vivtash <oleg@vivtash.net>
* [mikrotik] Readme signal update

Signed-off-by: Oleg Vivtash <oleg@vivtash.net>
* [mikrotik] Rate channels unit fix

Signed-off-by: Oleg Vivtash <oleg@vivtash.net>
* [mikrotik] Work on codestyle report and some compiler warnings

Signed-off-by: Oleg Vivtash <oleg@vivtash.net>
* [mikrotik] No more compiler warnings

Signed-off-by: Oleg Vivtash <oleg@vivtash.net>
* [mikrotik] Minus null check

Signed-off-by: Oleg Vivtash <oleg@vivtash.net>
Co-authored-by: Fabian Wolter <github@fabian-wolter.de>
Co-authored-by: Fabian Wolter <github@fabian-wolter.de>
4 years ago[ipcamera] Move to using port 8080 servlet not Netty. (#11160)
Matthew Skinner [Tue, 21 Sep 2021 17:39:46 +0000 (03:39 +1000)]
[ipcamera] Move to using port 8080 servlet not Netty. (#11160)

* Move to using 8080 servlet not Netty.

Signed-off-by: Matthew Skinner <matt@pcmus.com>
* Add some mjpeg features to servlet.

Signed-off-by: Matthew Skinner <matt@pcmus.com>
* Fix autofps bug

Signed-off-by: Matthew Skinner <matt@pcmus.com>
* Reached feature parity.

Signed-off-by: Matthew Skinner <matt@pcmus.com>
* Cleanup serverPort from cameras.

Signed-off-by: Matthew Skinner <matt@pcmus.com>
* bug fixes.

Signed-off-by: Matthew Skinner <matt@pcmus.com>
* Refactor groups.

Signed-off-by: Matthew Skinner <matt@pcmus.com>
* Bug fixes to groups

Signed-off-by: Matthew Skinner <matt@pcmus.com>
* Update readme

Signed-off-by: Matthew Skinner <matt@pcmus.com>
* Cleanup

Signed-off-by: Matthew Skinner <matt@pcmus.com>
* clean up 2.

Signed-off-by: Matthew Skinner <matt@pcmus.com>
* bug fixes.

Signed-off-by: Matthew Skinner <matt@pcmus.com>
* Improve snapshot fetching for autofps.

Signed-off-by: Matthew Skinner <matt@pcmus.com>
* Make functions synchronized.

Signed-off-by: Matthew Skinner <matt@pcmus.com>
* Fixes.

Signed-off-by: Matthew Skinner <matt@pcmus.com>
* Abstract servlets

Signed-off-by: Matthew Skinner <matt@pcmus.com>
* Fix NPE warnings

Signed-off-by: Matthew Skinner <matt@pcmus.com>
* Remove ability to go child or parent folders.

Signed-off-by: Matthew Skinner <matt@pcmus.com>
* autofps improvement

Signed-off-by: Matthew Skinner <matt@pcmus.com>
4 years ago[systeminfo] Upgrade OSHI dependency for latest fixes/improvements (#11274)
Wouter Born [Mon, 20 Sep 2021 12:49:32 +0000 (14:49 +0200)]
[systeminfo] Upgrade OSHI dependency for latest fixes/improvements (#11274)

Upgrades OSHI from 4.5.2 to 5.8.2.

For all OSHI fixes and improvements, see:

https://github.com/oshi/oshi/blob/master/CHANGELOG.md#580-2021-07-18-581-2021-08-22-582-2021-09-05

Signed-off-by: Wouter Born <github@maindrain.net>
4 years ago[openweathermap]: Fix NPE on OneCall-API (#125740) and reduce min refreshInterval...
Oliver Raible [Mon, 20 Sep 2021 05:48:19 +0000 (07:48 +0200)]
[openweathermap]:  Fix NPE on OneCall-API (#125740) and reduce min refreshInterval to support paid plans (#11255)

* fix NullPointerException at OneCall-API
* reduce min refreshInterval from 10 to 1 min to support paid plans

Signed-off-by: ehora <oliver.raible@yapoware.com>
4 years ago[LuxtronikHeatpump] Adds additional setting for heating limit temperature (#11273)
Stefan Giehl [Sun, 19 Sep 2021 20:32:00 +0000 (22:32 +0200)]
[LuxtronikHeatpump] Adds additional setting for heating limit temperature (#11273)

* [Luxtronik Heatpump] Adds additional setting for heating limit temperature

Signed-off-by: Stefan Giehl <stefangiehl@gmail.com>
4 years ago[telegram] [influxdb] Update okhttp3 lib (#11130)
Matthew Skinner [Sun, 19 Sep 2021 20:08:13 +0000 (06:08 +1000)]
[telegram] [influxdb] Update okhttp3 lib (#11130)

Signed-off-by: Matthew Skinner <matt@pcmus.com>
4 years ago[chamberlainmyq] Added new Close Error and Open Error Switch Items fo… (#11115)
ofirster [Sun, 19 Sep 2021 20:06:35 +0000 (23:06 +0300)]
[chamberlainmyq] Added new Close Error and Open Error Switch Items fo… (#11115)

Signed-off-by: Ofir Strull <ofir@veev.com>
4 years ago[mqtt-homeassistant] Refactoring: fixed under_score/CamelCase usages and nullable...
antroids [Sun, 19 Sep 2021 20:04:14 +0000 (23:04 +0300)]
[mqtt-homeassistant] Refactoring: fixed under_score/CamelCase usages and nullable annotations (#11120)

Signed-off-by: Anton Kharuzhy <antroids@gmail.com>
4 years ago[miio] Automatic create experimental support for (unsupported) miot devices (#11149)
Marcel [Sun, 19 Sep 2021 20:01:22 +0000 (22:01 +0200)]
[miio] Automatic create experimental support for (unsupported) miot devices (#11149)

Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
4 years ago[kodi] Add channel for KODI JSON-RPC call Input.ButtonEvent (#11181)
Thomas [Sun, 19 Sep 2021 19:59:19 +0000 (21:59 +0200)]
[kodi] Add channel for KODI JSON-RPC call Input.ButtonEvent (#11181)

Signed-off-by: Thomas Schumm <thomas.schumm@yahoo.de>
4 years agoAdded possiblity to send WOL Requests to configured Hostname, also removed unnecessar...
Jonathan S [Sun, 19 Sep 2021 19:55:39 +0000 (21:55 +0200)]
Added possiblity to send WOL Requests to configured Hostname, also removed unnecessary unit from Timeout Annotation in WakeOnLanPacketSenderTest (#11199)

Signed-off-by: Jonathan Saxen <jonathan@saxen.info>
4 years ago[melcloud] Fix thing type id in documentation
DirkSander [Sun, 19 Sep 2021 10:06:27 +0000 (12:06 +0200)]
[melcloud] Fix thing type id in documentation

4 years ago[melcloud] Fix thing type id in documentation
DirkSander [Sun, 19 Sep 2021 10:05:17 +0000 (12:05 +0200)]
[melcloud] Fix thing type id in documentation

4 years ago[lifx] Support HEV clean cycle (#11262)
Wouter Born [Sun, 19 Sep 2021 09:45:06 +0000 (11:45 +0200)]
[lifx] Support HEV clean cycle (#11262)

* Implement HEV packets
* Add colorhevlight thing type with a hevcycle channel
* Update documentation

Signed-off-by: Wouter Born <github@maindrain.net>
4 years agoRename feature.xml in order to exclude it from feature aggregation (#11266)
Kai Kreuzer [Sun, 19 Sep 2021 09:40:55 +0000 (11:40 +0200)]
Rename feature.xml in order to exclude it from feature aggregation (#11266)

Signed-off-by: Kai Kreuzer <kai@openhab.org>
4 years ago[surepetcare] Check for null before updating pet location channels (#11235)
Maarten Blokker [Sun, 19 Sep 2021 09:40:16 +0000 (11:40 +0200)]
[surepetcare] Check for null before updating pet location channels (#11235)

fixes #11234

Signed-off-by: Maarten Blokker <maarten.blokker@outlook.com>
4 years ago[miele] Fix multicast and multi-protocol support (ZigBee/Wi-Fi) (#11244)
jlaur [Sat, 18 Sep 2021 20:59:18 +0000 (22:59 +0200)]
[miele] Fix multicast and multi-protocol support (ZigBee/Wi-Fi) (#11244)

* Fix multicast and multi-protocol support (ZigBee/Wi-Fi)
* Fix channel description referring to hood but also used for oven and other appliances.
* Fix auto-discovery finding already configured things through files.

Fixes #11242

Fixes #11243

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
4 years agoUpgrade to Karaf 4.3.3 (#11261)
Wouter Born [Sat, 18 Sep 2021 17:33:18 +0000 (19:33 +0200)]
Upgrade to Karaf 4.3.3 (#11261)

* Syncs the karaf.version so the new Maven plugin is used
* Resolves itest runbundles for the new runtime dependencies

Signed-off-by: Wouter Born <github@maindrain.net>
4 years ago[telegram] Add event channels and Answer overload (#9251)
Michael Murton [Sat, 18 Sep 2021 13:08:00 +0000 (09:08 -0400)]
[telegram] Add event channels and Answer overload (#9251)

* Add event channels and Answer overload

Signed-off-by: Michael Murton <6764025+CrazyIvan359@users.noreply.github.com>
4 years ago[homematic] Remove double press events and improve long press events for button trigg...
maniac103 [Sat, 18 Sep 2021 12:32:40 +0000 (14:32 +0200)]
[homematic] Remove double press events and improve long press events for button trigger (#11186)

HM devices provide not only 'long press' events, but also 'long
press continued' (sent in configured long press interval) and 'long
press released' events. So far, those events were swallowed in the
button datapoint handler.
Improve the situation by forwarding those events to the button trigger
channel, making them usable in e.g. rules that react on button long
presses.

A double press timeout of 2 seconds is too long and disturbs single
press processing. Additionally, for double press processing to be
useful, the first press would need to be swallowed until double press
timeout elapses, which is not what happened here: the first PRESS was
sent out as SINGLE_PRESS event, making it impossible to meaningfully
distinguish the 'single press' and 'double press' events within rules.

If needed, double press handling can be implemented equally well within
a rule.

Signed-off-by: Danny Baumann <dannybaumann@web.de>
4 years ago[somfytahoma] Fixed rssi channels creation & properties updating (#11254)
Ondrej Pecta [Sat, 18 Sep 2021 11:56:36 +0000 (13:56 +0200)]
[somfytahoma] Fixed rssi channels creation & properties updating (#11254)

Signed-off-by: Ondrej Pecta <opecta@gmail.com>
4 years ago[hdpowerview] Add Hub configuration option hardRefreshBatteryLevel (#11260)
jlaur [Sat, 18 Sep 2021 11:55:04 +0000 (13:55 +0200)]
[hdpowerview] Add Hub configuration option hardRefreshBatteryLevel (#11260)

* Add Hub configuration option hardRefreshBatteryLevel for refreshing battery status more frequently.
* Explicitly update battery channels to Undefined when data is missing or invalid.

Fixes #11259

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
4 years agoImprove discovery service (#11258)
mlobstein [Sat, 18 Sep 2021 11:51:30 +0000 (06:51 -0500)]
Improve discovery service (#11258)

Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>
4 years agoSupport for SHA-256 (#11240)
Pawel Pieczul [Fri, 17 Sep 2021 06:40:11 +0000 (08:40 +0200)]
Support for SHA-256 (#11240)

Signed-off-by: Pawel Pieczul <pieczul@gmail.com>
4 years ago[metrics] Add Java Management Extensions (JMX) metrics exporter (#11249)
Wouter Born [Thu, 16 Sep 2021 07:11:12 +0000 (09:11 +0200)]
[metrics] Add Java Management Extensions (JMX) metrics exporter (#11249)

* Add Java Management Extensions (JMX) metrics exporter
* Use groups in metrics add-on configuration
* Improve null annotations
* Update documentation

Signed-off-by: Wouter Born <github@maindrain.net>
4 years ago[groovyscripting] Update Groovy to 3.0.9 (#11251)
Wouter Born [Wed, 15 Sep 2021 17:02:17 +0000 (19:02 +0200)]
[groovyscripting] Update Groovy to 3.0.9 (#11251)

For all bugfixes and improvements, see:

http://groovy-lang.org/changelogs/changelog-3.0.9.html

Signed-off-by: Wouter Born <github@maindrain.net>
4 years ago[miio] add support for Smartmi Fresh Air System (zhimi.airfresh.va4&va2) (#11164)
Marcel [Tue, 14 Sep 2021 14:57:57 +0000 (16:57 +0200)]
[miio] add support for Smartmi Fresh Air System (zhimi.airfresh.va4&va2) (#11164)

* [miio] add support for Smartmi Fresh Air System (zhimi.airfresh.va4&va2)

Add support for
* Smartmi Fresh Air System (zhimi.airfresh.va4)
* Smartmi Fresh Air System (zhimi.airfresh.va2)

Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
* [miio] fix 2 commands and add some formatting

Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
* [miio] fix copy paste error

Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
* [miio] airfresh channelnames

Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
* [miio] merge & count devices

Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
4 years ago[kaleidescape] Add configuration option to auto load metadata channels without rules...
mlobstein [Tue, 14 Sep 2021 14:55:48 +0000 (09:55 -0500)]
[kaleidescape] Add configuration option to auto load metadata channels without rules (#11231)

* Add configuration option to auto load metadata channels

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

Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>
4 years ago[miio] Add support for Yeelight Jade Smart LED Ceiling Light (#11241)
Marcel [Mon, 13 Sep 2021 17:54:35 +0000 (19:54 +0200)]
[miio] Add support for Yeelight Jade Smart LED Ceiling Light (#11241)

Add support for  yeelink.light.ceil26 - Yeelight Jade Smart LED Ceiling
Light C2001

Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
4 years agoResolve runbundles for XStream upgrade (#11236)
Wouter Born [Sun, 12 Sep 2021 09:44:58 +0000 (11:44 +0200)]
Resolve runbundles for XStream upgrade (#11236)

Related to openhab/openhab-core#2482

Signed-off-by: Wouter Born <github@maindrain.net>
4 years ago[icalendar] Fix internal calculation for retrieving events for command tags (#11178)
Michael Wodniok [Sat, 11 Sep 2021 14:18:08 +0000 (16:18 +0200)]
[icalendar] Fix internal calculation for retrieving events for command tags (#11178)

* [icalendar] Fixes #11084: Different method for retrieving events

Replaced retrieval of events for CommandTags by another, already implemented method, fixing wrong behaviour in case of moved or removed events. Also updated dependencies to get this binding resolvable again.

Signed-Off-By: Michael Wodniok <michi@noorganization.org>
4 years ago[myq] Switch to using oAuth for logins (#11183)
Dan Cunningham [Sat, 11 Sep 2021 11:41:28 +0000 (04:41 -0700)]
[myq] Switch to using oAuth for logins (#11183)

* change MyQ binding to use now required oAuth for authentication

Signed-off-by: Dan Cunningham <dan@digitaldan.com>
* Clean up error handling

Signed-off-by: Dan Cunningham <dan@digitaldan.com>
* Cleanup checkstyle errors

Signed-off-by: Dan Cunningham <dan@digitaldan.com>
* missing newline

Signed-off-by: Dan Cunningham <dan@digitaldan.com>
* Remove unused classes

Signed-off-by: Dan Cunningham <dan@digitaldan.com>
* Add token listener

Signed-off-by: Dan Cunningham <dan@digitaldan.com>
* add a redirect limit...just in case

Signed-off-by: Dan Cunningham <dan@digitaldan.com>
* Don't resue the oAuth service if we have been disosed or its closed.  Reduce logging verbosity.

Signed-off-by: Dan Cunningham <dan@digitaldan.com>
* Force login if we get a 401 response

Signed-off-by: Dan Cunningham <dan@digitaldan.com>
4 years ago[remoteopenhab] Example with a connection to myopenhab.org (#11237)
lolodomo [Sat, 11 Sep 2021 11:35:27 +0000 (13:35 +0200)]
[remoteopenhab] Example with a connection to myopenhab.org (#11237)

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
4 years ago[telegram] Fixes exceptions that stop rules/actions from finishing (#11215)
Matthew Skinner [Sat, 11 Sep 2021 11:34:23 +0000 (21:34 +1000)]
[telegram] Fixes exceptions that stop rules/actions from finishing (#11215)

* reorder channel updates.

Signed-off-by: Matthew Skinner <matt@pcmus.com>
* catch exceptions.

Signed-off-by: Matthew Skinner <matt@pcmus.com>
* Spotless fixed

Signed-off-by: Matthew Skinner <matt@pcmus.com>
* increase timeout.

Signed-off-by: Matthew Skinner <matt@pcmus.com>
* Fix NPE in action from causing issues.

Signed-off-by: Matthew Skinner <matt@pcmus.com>
* fix logger.

Signed-off-by: Matthew Skinner <matt@pcmus.com>
4 years ago[linky] Removed from the distribution until it is fixed (#11233)
lolodomo [Fri, 10 Sep 2021 13:07:25 +0000 (15:07 +0200)]
[linky] Removed from the distribution until it is fixed (#11233)

* [linky] Removed from the distribution until it is fixed

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
* Apply spotless

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
4 years agoCorrectly disable unstable test (#11232)
Kai Kreuzer [Thu, 9 Sep 2021 07:35:14 +0000 (09:35 +0200)]
Correctly disable unstable test (#11232)

Signed-off-by: Kai Kreuzer <kai@openhab.org>
4 years ago[miio] Avoid shutting down shared executor service (#11166)
Marcel [Wed, 8 Sep 2021 20:13:32 +0000 (22:13 +0200)]
[miio] Avoid shutting down shared executor service (#11166)

* [miio] Avoid shutting down shared executor service

* Closing #11152
* Better identify communication threads

Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
4 years ago[pulseaudio] Fix playing time with pulseaudio sink (#11170) (#11171)
dalgwen [Wed, 8 Sep 2021 19:08:05 +0000 (21:08 +0200)]
[pulseaudio] Fix playing time with pulseaudio sink (#11170) (#11171)

Fixes #11170 by introducing an intelligent thread.sleep (getting the duration of the sound, if possible, then wait the appropriate time for letting the sound play). By the way, the method to get the sound duration is not as easy as I thought.

Also fix a minor issue with the last volume not propertly saved.

And fix some minor warnings by using final local variable.

Signed-off-by: Gwendal ROULLEAU <gwendal.roulleau@gmail.com>
4 years ago[hdpowerview] Add new battery level channel (#11206)
jlaur [Wed, 8 Sep 2021 18:36:59 +0000 (20:36 +0200)]
[hdpowerview] Add new battery level channel (#11206)

* Introduce new batteryLevel channel.

Fixes #11205

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
4 years ago[wemo] Add dimensions for power/energy channel types for Insight Switch. (#11208)
jlaur [Wed, 8 Sep 2021 18:36:03 +0000 (20:36 +0200)]
[wemo] Add dimensions for power/energy channel types for Insight Switch. (#11208)

* Add dimensions for power/energy channel types for Insight Switch.

Fixes #11207

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
4 years agoFix broken things file support. (#11218)
jlaur [Wed, 8 Sep 2021 18:34:08 +0000 (20:34 +0200)]
Fix broken things file support. (#11218)

Fixes #8877

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
4 years agofix: Add Group Definition (#11226)
Peter Schraffl [Wed, 8 Sep 2021 18:16:23 +0000 (20:16 +0200)]
fix: Add Group Definition (#11226)

Signed-off-by: Schraffl Peter <p.schraffl@gmx.at>
4 years ago[powermax] Introduce some new channels for better status reporting (#10624)
Ron Isaacson [Wed, 8 Sep 2021 16:58:35 +0000 (12:58 -0400)]
[powermax] Introduce some new channels for better status reporting (#10624)

* [powermax] Introduce some new channels for better status reporting

* New panel channels:
    - Ringing indicator (the siren is currently sounding)
    - Date/time the last message was received from the panel
    - List of all active alarms and alerts (similar to panel's
      Memory list, but items get removed from the list as conditions
      resolve)
* New zone channels:
    - Alarmed indicator (zone is in alarm, or has an alarm in memory)
    - Tamper alarm indicator (same but for a tamper condition)
    - Inactive indicator
    - Tamper indicator (zone is actively tampered right now)
    - Last status message received for this zone, and when
* Use descriptive names for zones in log messages. If you create a
  Thing for a zone, it will use that Thing's label in all reporting
  for that zone. If there's no Thing then it will attempt to use the
  zone label from the panel (e.g. "Basement").
* Clear all channels during startup to keep from displaying stale
  values loaded from persistence
* Also includes some minor SAT fixes (checkstyle, spotbugs)

Signed-off-by: Ron Isaacson <isaacson.ron@gmail.com>
* Incorporate review feedback from lolodomo

Signed-off-by: Ron Isaacson <isaacson.ron@gmail.com>
4 years ago[doorbird] fix controller id (#11190)
TheTrueRandom [Tue, 7 Sep 2021 20:48:33 +0000 (22:48 +0200)]
[doorbird] fix controller id (#11190)

Signed-off-by: True Random <rantruedom@gmail.com>
4 years agoAdded Twitter binding (#11212)
Scott H [Sun, 5 Sep 2021 16:11:40 +0000 (12:11 -0400)]
Added Twitter binding (#11212)

Signed-off-by: Scott Hanson <scooter_seh@yahoo.com>