Commit Graph

1536 Commits

Author SHA1 Message Date
Anders Alfredsson
1e57450e3f
[Smhi] Ensure trailing zeroes are removed before updating channels (#11353)
* Ensure unnecessary trailing zeroes are removed, to avoid issues with transformations.

Signed-off-by: Anders Alfredsson <andersb86@gmail.com>

* Change to use setScale()

Signed-off-by: Anders Alfredsson <andersb86@gmail.com>
2021-10-16 13:38:51 +02:00
Stefan Giehl
19cd505b0c
[tr064] fix incorrectly reported decibel values for DSL Noise Margin and Attenuation (#11337)
* [tr064] fix incorrectly reported decibel values for DSL Noise Margin and Attenuation

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

* apply review feedback

Signed-off-by: Stefan Giehl <stefangiehl@gmail.com>
2021-10-16 11:33:31 +02:00
Jan Gustafsson
18d26aa821
[verisure] Adapted to new authentication process and support for non MFA activated user. (#11228) (#11265)
* [verisure] Adapted to new authentication process and support for non MFA activated user. (#11228)

Signed-off-by: Jan Gustafsson <jannegpriv@gmail.com>

* Updated after code review.

Signed-off-by: Jan Gustafsson <jannegpriv@gmail.com>

* Updated after code review.

Signed-off-by: Jan Gustafsson <jannegpriv@gmail.com>

* Updated after code review.

Signed-off-by: Jan Gustafsson <jannegpriv@gmail.com>
2021-10-16 11:28:08 +02:00
Christoph Weitkamp
ef07105b8c
[logreader] Added hint about case sensitive patterns (#11379)
* [logreader] Added hint about case sensitive patterns

- Added hint about case sensitive patterns

Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>

* Incorporated comments from review

Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>

* Incorporated comments from review

Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2021-10-16 11:27:10 +02:00
Christoph Weitkamp
58a094b09a
[avmfritz] Added support for DECT500 and HAN-FUN bulbs (#11348)
* Added support for DECT500 and HAN-FUN bulbs

Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>

* Incorporated comment from review

Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2021-10-16 07:27:27 +02:00
jlaur
406f9c1364
[miele] Document known programs and phases (#11377)
* Document known programs and phases.
* Clarify description for superfreeze.

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2021-10-15 21:45:21 +02:00
Hans-Jörg Merk
42c830bfda
[wemo] fix wrong brightness value for dimmer switch (#11385)
* [wemo] fix wrong brightness value for dimmer switch

Signed-off-by: Hans-Jörg Merk <github@hmerk.de>

* Update bundles/org.openhab.binding.wemo/src/main/java/org/openhab/binding/wemo/internal/handler/WemoDimmerHandler.java

Co-authored-by: Hilbrand Bouwkamp <hilbrand@h72.nl>

* Remove @Nullable on simple variable

Co-authored-by: Hilbrand Bouwkamp <hilbrand@h72.nl>
2021-10-15 19:37:07 +02:00
Markus Storm
c6a89bebdd
[sunspec modbus] fix thing example (#11380)
The Thing definition in () in l193 references the *name* that was assigned in l192, correct? So they should match.
Or do I misunderstand the mapping here ?

Signed-off-by: Markus Storm <markus.storm@gmx.net>
2021-10-15 18:00:40 +02:00
mlobstein
23b4a623c2
[benqprojector] Update broken link in README (#11383)
* Update broken link in README

Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>
2021-10-14 18:41:06 +02:00
Hans-Jörg Merk
f1e7f19d4e
[ekey] initial contribution / oh1 migration (#10996)
* [ekey] initial contribution / oh1 migration

Signed-off-by: Hans-Jörg Merk <github@hmerk.de>
2021-10-12 21:15:14 +02:00
CountBigBang
4b13a26f15
[enocean] Add second action for two rocker switches (Fixes #9750) (#10769)
* Added new channel:
   * secondActionPressed: Indicates if second action of rocker switch is pressed too
* Added two new profiles for channel rockerSwitchAction:
   * rockerswitchaction-toggle-switch
   * rockerswitchaction-toggle-player
* EnOceanSensorHandler can now handle extensible channels too
* EEP F6-02 refactoring

Also-by: Dietmar Franzen <dfranzen@fb3.fra-uas.de>
Signed-off-by: Daniel Weber <uni@fruggy.de>
2021-10-12 21:01:57 +02:00
lolodomo
cc92423d90
[sonyprojector] Fix typo in translation keys (#11374)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2021-10-12 18:59:11 +02:00
lolodomo
00e496e6ca
[sonyprojector] Add all default translations to properties file (#11368)
Allows translating the sonyprojector binding strings with Crowdin.

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2021-10-11 21:46:01 +02:00
Marcus Better
30753d70b8
[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>
2021-10-11 21:44:44 +02:00
lolodomo
60b4dad600
[openweathermap] Bridge status set to ONLINE when no attached things (#11360)
Fix #11191

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2021-10-11 13:15:46 +02:00
Sami Salonen
22e8a37ee9
[modbus] Clarifying error messages with invalid configuration (#11292)
Resolves #10814

Signed-off-by: Sami Salonen <ssalonen@gmail.com>
2021-10-11 12:41:35 +02:00
jlaur
01c0b199fd
[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>
2021-10-10 20:34:55 +02:00
Wouter Born
d4e15bfbd6
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>
2021-10-10 20:30:07 +02:00
Wouter Born
3253fbece8
Align translation filenames with Crowdin (#11362)
Crowdin is configured to generate translations for languages without countries.

Signed-off-by: Wouter Born <github@maindrain.net>
2021-10-10 11:02:53 +02:00
Wouter Born
82f76b6c96
[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>
2021-10-10 10:52:39 +02:00
mtraxiot
d232a61c56
[openhabcloud] Add required registration before connection (#11168) 2021-10-10 10:14:48 +02:00
Matthew Skinner
9e190e8667
[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>
2021-10-10 10:12:18 +02:00
lolodomo
99f595450a
[powermax] Add null annotations (#11275)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2021-10-10 10:04:37 +02:00
Wouter Born
2b5431df00
[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>
2021-10-09 21:56:09 +02:00
JanSchellenberg
dd432270e8
Update README.md (#11354)
Added the Teufel 3sixty to the Radio mode list.
2021-10-09 19:58:46 +02:00
Wouter Born
5132d939c6
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>
2021-10-09 19:57:33 +02:00
Wouter Born
798abaa4ca
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>
2021-10-09 19:56:49 +02:00
Jürgen Pabel
6fab06243c
[feed] added channel for enclosure link on latest entry (#11345)
Signed-off-by: Juergen Pabel <juergen@pabel.net>
2021-10-09 18:32:44 +02:00
Marcus Better
d6748cd481
[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>
2021-10-09 16:29:09 +02:00
Christoph Weitkamp
becb8a48f4
Added support to send an Image directly (#11346)
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2021-10-09 15:35:18 +02:00
dalgwen
83fd01498a
[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>
2021-10-09 11:44:20 +02:00
Matthew Skinner
f3fbcb622f
[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>
2021-10-09 10:16:23 +02:00
Matthias Herrmann
61324f8b96
Abstract over bin paths using env (#11339)
Signed-off-by: Matthias Herrmann <matthias.mh.herrmann@gmail.com>
2021-10-06 16:19:38 +02:00
Christoph Weitkamp
192be0def8
[darksky] Added hint about Dark Sky API deprecation (#11347)
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2021-10-05 17:56:56 +02:00
hutdev
6b979d1b05
[netatmo] Updated dev portal URLs in 1st step of README (#11194)
URLs for the Netatmo developer portal seem to have changed
2021-10-04 16:33:08 +02:00
Dan Cunningham
ccfe232d49
[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>
2021-10-04 07:41:41 +02:00
openhab-bot
0ce4e8cb56
New Crowdin updates (#10570)
Signed-off-by: Wouter Born <github@maindrain.net>
2021-10-03 22:14:10 +02:00
Bernd Weymann
af007f4369
[BMWConnectedDrive] Authorization fix + channel enhancements (#11213) (#11263) (#11264) 2021-10-03 08:15:07 +02:00
Peter Schraffl
437fb7f336
fix: Support Quantity Types (#11229)
Signed-off-by: Schraffl Peter <p.schraffl@gmx.at>
2021-10-03 01:38:28 +02:00
Markus Michels
937a331f67
[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>
2021-10-02 23:02:28 +02:00
jlaur
8d38276dce
[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>
2021-10-02 19:57:22 +02:00
Gaël L'hopital
b1f412377f
[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>
2021-10-02 14:16:23 +02:00
Hilbrand Bouwkamp
1b80f1d492
[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>
2021-09-30 22:59:54 +02:00
Matthias Glaub
46e1b675cb
[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>
2021-09-30 20:59:26 +02:00
Bernhard Bauer
c09991c08c
[heliosventilation] reference modbus.helioseasycontrols binding (#11324)
* Update README.md

Signed-off-by: Bernhard Bauer <bern77@gmail.com>
2021-09-30 19:21:30 +02:00
Bernhard Bauer
def637933b
[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>
2021-09-30 19:09:24 +02:00
Matthew Skinner
6508ac3f9f
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>
2021-09-30 18:48:52 +02:00
Matthew Skinner
48b63759d9
[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>
2021-09-30 09:14:31 +02:00
jlaur
b28413c6f1
[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>
2021-09-30 09:00:26 +02:00
Stefan Giehl
ff272bc828
[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>
2021-09-29 00:09:34 +02:00