Commit Graph

1766 Commits

Author SHA1 Message Date
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
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
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
Hilbrand Bouwkamp
b35c00c752
[tplinksmarthome] Added new devices EP10, EP40, KL125, and KL135 (#11282)
Closes #11156

Signed-off-by: Hilbrand Bouwkamp <hilbrand@h72.nl>
2021-09-28 18:28:15 +02:00
stefan-hoehn
d3d1c7ae0a
[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>
2021-09-28 09:07:12 +02:00
Wouter Born
89ef91bad3
[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>
2021-09-27 22:00:01 +02:00
Andrew Fiddian-Green
b2db32da96
[mail] Add support for e-mail headers (#11307)
Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
2021-09-27 10:38:13 +02:00
jlaur
8255f29320
[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>
2021-09-27 07:58:10 +02:00
Wouter Born
2f4a27217f
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>
2021-09-27 07:33:56 +02:00
Fabian Wolter
0363ba4588
[pidcontroller] Improve logging (#11312)
Signed-off-by: Fabian Wolter <github@fabian-wolter.de>
2021-09-27 07:30:16 +02:00
jlaur
27383fcd64
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>
2021-09-25 21:09:26 +02:00
Bo Biene
8440745ceb
[wolfsmartset] Initial contribution (#10751)
Signed-off-by: Bo Biene <openhab.github@biene.eu>
2021-09-25 21:07:54 +02:00
Kai Kreuzer
277c65f43a
Make sure bridge status is set when returning from initialize (#11289)
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2021-09-25 19:10:12 +02:00
jlaur
f4816f5449
Fix coffee machine auto-discovery. (#11302)
Fixes #8779

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2021-09-25 16:50:24 +02:00
jlaur
c3ac604cdb
Fix IllegalArgumentException when using oven channel 'type' (#11287)
Fixes #11286

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2021-09-22 21:32:32 +02:00
Wouter Born
1f18dda301
[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>
2021-09-22 08:35:06 +02:00
Wouter Born
36b6b5b8c8
[metrics] Fix configuration PID and add file based configuration example (#11280)
Fixes #11279

Signed-off-by: Wouter Born <github@maindrain.net>
2021-09-22 08:34:09 +02:00
Sami Salonen
b2d89d8c7f
[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>
2021-09-21 22:01:43 +02:00
Sami Salonen
ff75646015
[modbus] Fix link to modbus developer documentation (#11277)
Resolves #8382

Signed-off-by: Sami Salonen <ssalonen@gmail.com>
2021-09-21 21:58:54 +02:00
Oleg Vivtash
5ae1567ba8
[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>
2021-09-21 19:40:57 +02:00
Matthew Skinner
fd646a59bd
[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>
2021-09-21 19:39:46 +02:00
Wouter Born
20f8a56560
[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>
2021-09-20 14:49:32 +02:00
Oliver Raible
02fffccdad
[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>
2021-09-20 07:48:19 +02:00
Stefan Giehl
8e94d8d8b9
[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>
2021-09-19 22:32:00 +02:00
Matthew Skinner
27a341311e
[telegram] [influxdb] Update okhttp3 lib (#11130)
Signed-off-by: Matthew Skinner <matt@pcmus.com>
2021-09-19 22:08:13 +02:00
ofirster
66956d736f
[chamberlainmyq] Added new Close Error and Open Error Switch Items fo… (#11115)
Signed-off-by: Ofir Strull <ofir@veev.com>
2021-09-19 22:06:35 +02:00
antroids
e1e9f90da1
[mqtt-homeassistant] Refactoring: fixed under_score/CamelCase usages and nullable annotations (#11120)
Signed-off-by: Anton Kharuzhy <antroids@gmail.com>
2021-09-19 22:04:14 +02:00
Marcel
2fb86d7138
[miio] Automatic create experimental support for (unsupported) miot devices (#11149)
Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
2021-09-19 22:01:22 +02:00
Thomas
b0cbefdf7a
[kodi] Add channel for KODI JSON-RPC call Input.ButtonEvent (#11181)
Signed-off-by: Thomas Schumm <thomas.schumm@yahoo.de>
2021-09-19 21:59:19 +02:00
Jonathan S
8a7f15e232
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>
2021-09-19 21:55:39 +02:00
DirkSander
cfdabc4060
[melcloud] Fix thing type id in documentation 2021-09-19 12:06:27 +02:00
DirkSander
b154034816
[melcloud] Fix thing type id in documentation 2021-09-19 12:05:17 +02:00
Wouter Born
344011c2ad
[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>
2021-09-19 11:45:06 +02:00
Kai Kreuzer
0a7a9ae281
Rename feature.xml in order to exclude it from feature aggregation (#11266)
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2021-09-19 11:40:55 +02:00
Maarten Blokker
ebd268a42e
[surepetcare] Check for null before updating pet location channels (#11235)
fixes #11234

Signed-off-by: Maarten Blokker <maarten.blokker@outlook.com>
2021-09-19 11:40:16 +02:00
jlaur
0c021ec795
[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>
2021-09-18 22:59:18 +02:00
Michael Murton
51cb1aabd5
[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>
2021-09-18 15:08:00 +02:00
maniac103
88975dcd13
[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>
2021-09-18 14:32:40 +02:00
Ondrej Pecta
cbe537a43b
[somfytahoma] Fixed rssi channels creation & properties updating (#11254)
Signed-off-by: Ondrej Pecta <opecta@gmail.com>
2021-09-18 13:56:36 +02:00
jlaur
805d56dc08
[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>
2021-09-18 13:55:04 +02:00
mlobstein
84ba4fc333
Improve discovery service (#11258)
Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>
2021-09-18 13:51:30 +02:00
Pawel Pieczul
3fc7c6559c
Support for SHA-256 (#11240)
Signed-off-by: Pawel Pieczul <pieczul@gmail.com>
2021-09-17 08:40:11 +02:00
Wouter Born
30198e273a
[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>
2021-09-16 09:11:12 +02:00
Wouter Born
ba3a9bb01a
[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>
2021-09-15 19:02:17 +02:00
Marcel
357d699cdd
[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>
2021-09-14 16:57:57 +02:00
mlobstein
db935d3a3b
[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>
2021-09-14 16:55:48 +02:00
Marcel
f0df1a45cc
[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>
2021-09-13 19:54:35 +02:00
Michael Wodniok
962853811a
[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>
2021-09-11 16:18:08 +02:00
Dan Cunningham
7efc3e9e81
[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>
2021-09-11 13:41:28 +02:00
lolodomo
f055795c28
[remoteopenhab] Example with a connection to myopenhab.org (#11237)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2021-09-11 13:35:27 +02:00
Matthew Skinner
d0c435b9bd
[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>
2021-09-11 13:34:23 +02:00
lolodomo
ce8fac8df2
[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>
2021-09-10 15:07:25 +02:00
Kai Kreuzer
195d532aa7
Correctly disable unstable test (#11232)
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2021-09-09 09:35:14 +02:00
Marcel
31cde42da5
[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>
2021-09-08 22:13:32 +02:00
dalgwen
0a96792a93
[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>
2021-09-08 21:08:05 +02:00
jlaur
56a0449ce1
[hdpowerview] Add new battery level channel (#11206)
* Introduce new batteryLevel channel.

Fixes #11205

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2021-09-08 20:36:59 +02:00
jlaur
8f836a08ea
[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>
2021-09-08 20:36:03 +02:00
jlaur
5ae581f4e1
Fix broken things file support. (#11218)
Fixes #8877

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2021-09-08 20:34:08 +02:00
Peter Schraffl
bb1ad2a453
fix: Add Group Definition (#11226)
Signed-off-by: Schraffl Peter <p.schraffl@gmx.at>
2021-09-08 20:16:23 +02:00
Ron Isaacson
d4983c4991
[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>
2021-09-08 18:58:35 +02:00
TheTrueRandom
0a1f23f98d
[doorbird] fix controller id (#11190)
Signed-off-by: True Random <rantruedom@gmail.com>
2021-09-07 22:48:33 +02:00
Jan Vybíral
d1171ca809
[nuki] Opener support and discovery (#10672)
* [nuki] Opener support and discovery (#10671)

* Added Opener support
* New Smartlock channels
* Discovery support
* Secured communication using hashed token
* Improved callback handling

Signed-off-by: Jan Vybíral <jan.vybiral1@gmail.com>

* Fixed code style problems

Signed-off-by: Jan Vybíral <jan.vybiral1@gmail.com>

* Id of bridge is unique for openhab instance

Signed-off-by: Jan Vybíral <jan.vybiral1@gmail.com>

* Added compatibility with smart lock created by previous binding version

Signed-off-by: Jan Vybíral <jan.vybiral1@gmail.com>

* Secure token configuration + threading improvements

Added configuration option to enable or disable using hashed token
for bridge API authentication.
Turning bridge offline when device request fails.
All HTTP calls made async so that openhab thread is not blocked.

Signed-off-by: Jan Vybíral <jan.vybiral1@gmail.com>

* Only discover bridges which return some response

Only bridges which return 200 or 403 response are discovered.
Nuki API might return bridges which no longer exists or are on different
network and are not reachable. We do not want to put these in inbox, only those
who respond do HTTP calls.

Signed-off-by: Jan Vybíral <jan.vybiral1@gmail.com>

* Changed ownership of nuki binding

Signed-off-by: Jan Vybíral <jan.vybiral1@gmail.com>

* Code review changes

* Fixed @Nullable annotations
* Fixed too many logger messages
* Rewritten configuration to use configuration class

Signed-off-by: Jan Vybíral <jan.vybiral1@gmail.com>

* Code review changes

* NukiId moved back to configuration and switched to configuration classes in all devices
* Doorbell ringing channel switched to trigger channel

Signed-off-by: Jan Vybíral <jan.vybiral1@gmail.com>

* Code review changes

* Channel description reformatted into table
* Fixed bug where repeated bridge discovery was overwriting existing bridge properties

Signed-off-by: Jan Vybíral <jan.vybiral1@gmail.com>

* Fixed ringactionTimestamp property name

Signed-off-by: Jan Vybíral <jan.vybiral1@gmail.com>

* Fixed search of changed thing in HTTP callback

Signed-off-by: Jan Vybíral <jan.vybiral1@gmail.com>

* Improvements to uuid generation

* Bridge id is generated only from bridgeId property, making it stable across openhab installations
* Using InstanceUUID as unique callback identifier instead of bridge id

Signed-off-by: Jan Vybíral <jan.vybiral1@gmail.com>

* Improved duplicate thing discovery

* Implemented duplicate thing detection using openHAB ThingRegistry

Signed-off-by: Jan Vybíral <jan.vybiral1@gmail.com>

* Code review changes

* Fixed all nullable warnings
* Fixed README formatting

Signed-off-by: Jan Vybíral <jan.vybiral1@gmail.com>
2021-09-05 11:50:23 +02:00
Scott H
b37022c5d7
[Twitter] 3.0 Twitter Binding (#10241)
* [twitter][WIP] Initial contribution

using the 1.x binding as a template, I created a new Twitter Binding.

Signed-off-by: Scott Hanson <scooter_seh@yahoo.com> (github: computergeek1507)
Signed-off-by: Scott Hanson <scooter_seh@yahoo.com>

* trying to fix twitter4j dependency stuff

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

* add to bundle POM

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

* trying to fix build

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

* Fixed dependency issues, Got Actions working

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

* updating readme

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

* fix class name

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

* Fixes based on review

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

* Cleanup based on review and mvn checks

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

* grammar fix

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

* remove Apache dependencies

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

* added Null Checks based on review

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

* change null check around

Signed-off-by: Scott Hanson <scooter_seh@yahoo.com>
2021-09-05 09:33:00 +02:00
jlaur
0087c8c828
[hdpowerview] Add new signal strength channel (#11198)
* Add new signal strength channel.

Fixes #11197

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2021-09-04 15:49:33 +02:00
jlaur
3a36b1e70d
Fix channel lowBattery being updated to ON when no battery status available. (#11201)
Fixes #11200

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2021-09-04 15:48:19 +02:00
Wouter Born
6c3e937f02
[lifx] Add missing color feature to a few products (#11180)
Updates the LIFX Candle (PID 68) and LIFX Clean (PID 90, 99) products to support color features.

Signed-off-by: Wouter Born <github@maindrain.net>
2021-08-31 19:43:38 +02:00
mlobstein
cd69c77cd5
[oppo] Remove logo from README (#11176)
Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>
2021-08-31 14:41:11 +02:00
Jørgen Melhus
2e8fb907ca
[bluetooth.bluegiga] Fix CompareObjectsWithEquals findings regression causing all devices to be beacons
Signed-off-by: Jørgen Melhus <5099412+jmelhus@users.noreply.github.com>
2021-08-31 13:05:09 +02:00
Marcel
fac7edc270
[miio] add support for mi airfryers (careli.fryer.maf01,2&3) (#11142)
Also includes update of models names db

Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
2021-08-29 22:17:43 +02:00
Marcel
492682c5cf
[miio] improve readme: restructure & map customizing feature (#11143)
Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
2021-08-29 20:18:31 +02:00
Mark Hilbush
b2b3ad274b
API changed location of event counts (#11159)
Signed-off-by: Mark Hilbush <mark@hilbush.com>
2021-08-26 19:09:26 +02:00
jlaur
4e50a985e6
[hdpowerview] Add new batteryVoltage channel (#11155)
* Add new batteryVoltage channel.

Fixes #11154

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>

* Fix documentation for lowBattery.

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>

* Organized channels into two groups: Shade and Battery.

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>

* Revert breaking change.

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2021-08-26 18:57:27 +02:00
antroids
36377a790e
[mqtt-homeassistant] MQTT Homeassistant test concurrency bug fixed (#11161)
Signed-off-by: Anton Kharuzhy <antroids@gmail.com>

Co-authored-by: Anton Kharuzhy <antroids@gmail.com>
2021-08-26 14:46:53 +02:00
mlobstein
81989112d1
Fix equalsIgnoreCase issue (#11140)
Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>
2021-08-24 19:05:32 +02:00
mlobstein
5ce27e3407
Fix equalsIgnoreCase issue (#11141)
Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>
2021-08-24 19:04:17 +02:00
jlaur
be17654767
Renamed channel manual_fan_speed to manual_fan_step for consistency. (#11147)
Fixes #10621

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2021-08-24 18:59:35 +02:00
Mark Hilbush
5cb228570d
Fix parsing to handle when volume is a float (#11151)
Signed-off-by: Mark Hilbush <mark@hilbush.com>
2021-08-24 14:44:02 +02:00
OneYellowLemon
4988522173
Make spacing consistent (#11145)
Signed-off-by: OneYellowLemon <66096725+OneYellowLemon@users.noreply.github.com>
2021-08-23 21:51:40 +02:00
kennetn
73f7a86dd8
[irobot] Minor readme corrections (#11124)
* Minor readme corrections

Minor clarification originally described here https://community.openhab.org/t/irobot-9xx-on-openhab/17774/196

Signed-off-by: kennetn <kennetn@gmail.com>
2021-08-22 12:04:33 +02:00
Julio Vilmar Gesser
aee601cc3d
[semsportal] Fix lastUpdate parse format to accept the format provided by the inverter (#11127)
* Fixed lastUpdate date formating

Signed-off-by: Julio Gesser <jgesser@gmail.com>
2021-08-22 12:02:10 +02:00
Allan Seidel
14cd779530
Update README.md (#11131)
Corrected the humidifier mode label.
2021-08-22 11:58:38 +02:00
Ryz
bf94b06d0b
Changed minimum Z-Way polling interval to 1 second. (#11122)
Signed-off-by: Ryz <mirco.heitmann@gmail.com>
2021-08-22 11:57:25 +02:00
Matthew Skinner
300ed046a8
[telegram] Send message if a file download fails and bug fixes. (#11125)
* Send message when pic/vid/ani fails to DL
* Upgrade lib to 5.2.0 and fix error.

Signed-off-by: Matthew Skinner <matt@pcmus.com>
2021-08-22 11:54:34 +02:00
Anders Alfredsson
c084ec3a5b
Fix IndexOutOfBoundsException in aggregator function (#11113)
Signed-off-by: Anders Alfredsson <andersb86@gmail.com>
2021-08-22 11:53:11 +02:00
jlaur
9fed16d8bb
[danfossairunit] Change Humidity channel type from Number to Number:Dimensionless (#11121)
* Change Humidity channel from Number to Number:Dimensionless
* Fix documentation for temperature channels.

Fixes #9755

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2021-08-22 11:52:05 +02:00
jlaur
44538c5409
[danfossairunit] Add channel descriptions and categories (#11129)
* Use system default channel type for battery level.
* Add channel categories where applicable
* Add missing channel descriptions (and fix two existing)

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
2021-08-22 11:50:33 +02:00
Stefan Giehl
5f6d9b91ef
Fix/update channels for setting hot water target temperature (#11135)
Signed-off-by: Stefan Giehl <stefangiehl@gmail.com>
2021-08-22 11:49:33 +02:00
Stefan Triller
b6aa401cf9
[robonect] Channel for distance from charging station on remote start (#11137)
New channel "status-distance" that shows the distance of the robot from
its charging station while it is searching for the remote starting point.

Signed-off-by: Stefan Triller <github@stefantriller.de>
2021-08-22 11:45:55 +02:00
Jan Gustafsson
02d8e43d37
Fix for #10982 - Binding not working properly HANDLER_REGISTERING_ERROR (#11108)
Signed-off-by: Jan Gustafsson <jannegpriv@gmail.com>
2021-08-16 14:06:16 +02:00
Marcel
62f169d649
[miio] map improvement cropping and customizable colors/parameters (#11110)
* [miio] make robo map drawing customizable

Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>

* [miio] Add cropping possibility for vacuum map

Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>

* miio minor edit

Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
2021-08-16 14:03:33 +02:00
Marcel
0d286e7a89
[miio] improve/add properties for qmi powerstrip (#11118)
improve mija vacuum channels

Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
2021-08-16 14:02:09 +02:00
antroids
3a7835e122
[mqtt-homeassistant] climate.mqtt support (#10690)
* MQTT.Homeassistant Climate support

Signed-off-by: Anton Kharuzhy <antroids@gmail.com>

* MQTT.Homeassistant synthetic config test added

Signed-off-by: Anton Kharuzhy <antroids@gmail.com>

* MQTT.Homeassistant refactoring

Signed-off-by: Anton Kharuzhy <antroids@gmail.com>

* MQTT.Homeassistant discovery test added

Signed-off-by: Anton Kharuzhy <antroids@gmail.com>

* MQTT.Homeassistant thing handler test added

Signed-off-by: Anton Kharuzhy <antroids@gmail.com>

* MQTT.Homeassistant switch test added

Signed-off-by: Anton Kharuzhy <antroids@gmail.com>

* MQTT.Homeassistant Climate test added

Signed-off-by: Anton Kharuzhy <antroids@gmail.com>

* MQTT.Homeassistant author header added

Signed-off-by: Anton Kharuzhy <antroids@gmail.com>

* MQTT.Homeassistant copyright header added

Signed-off-by: Anton Kharuzhy <antroids@gmail.com>

* MQTT.Homeassistant test fixed

Signed-off-by: Anton Kharuzhy <antroids@gmail.com>

* MQTT.Homeassistant test fixed

Signed-off-by: Anton Kharuzhy <antroids@gmail.com>

* MQTT.Homeassistant test infrastructure updated. Added tests with mqtt publishing and commands posting.

Signed-off-by: Anton Kharuzhy <antroids@gmail.com>

* MQTT.Homeassistant fixed Climate#send_if_off handling

Signed-off-by: Anton Kharuzhy <antroids@gmail.com>

* MQTT.Homeassistant do not filter the power command

Signed-off-by: Anton Kharuzhy <antroids@gmail.com>

* MQTT.Homeassistant climate unit test added

Signed-off-by: Anton Kharuzhy <antroids@gmail.com>

* Update bundles/org.openhab.binding.mqtt.homeassistant/src/main/java/org/openhab/binding/mqtt/homeassistant/internal/DiscoverComponents.java

Redundant annotation removed

Co-authored-by: Fabian Wolter <github@fabian-wolter.de>

* MQTT.Homeassistant Redundant @Nullable annotations removed

Signed-off-by: Anton Kharuzhy <antroids@gmail.com>

* MQTT.Homeassistant Unit tests added for all components

Signed-off-by: Anton Kharuzhy <antroids@gmail.com>

* MQTT.Homeassistant Unit tests stability fix

Signed-off-by: Anton Kharuzhy <antroids@gmail.com>

* MQTT.Homeassistant @NonNullByDefault removed from Device, config.dto package created

Signed-off-by: Anton Kharuzhy <antroids@gmail.com>

* MQTT.Homeassistant Climate author added

Signed-off-by: Anton Kharuzhy <antroids@gmail.com>

* MQTT.Homeassistant Device.sw_version renamed

Signed-off-by: Anton Kharuzhy <antroids@gmail.com>

* MQTT.Homeassistant tests wait timeout increased to 10s

Signed-off-by: Anton Kharuzhy <antroids@gmail.com>

Co-authored-by: antroids <antroids@gmail.com>
Co-authored-by: Fabian Wolter <github@fabian-wolter.de>
2021-08-15 11:48:26 +02:00
Marcel
9f09db1f18
[miio] add support for Mi Smart Standing Fan 2 (dmaker.fan.p18) (#11106)
closing #11053

Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
2021-08-14 13:40:36 +02:00
mlobstein
5d6fa4a460
Update Nuvo README (#11107)
Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>
2021-08-14 13:39:11 +02:00
mlobstein
1321049973
Add Roku TV channels (#11087)
Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>
2021-08-11 12:06:40 +02:00
Matthew Skinner
333e7d2ef2
Fix IndexOutOfBoundsException and remove Sleep. (#11089)
Signed-off-by: Matthew Skinner <matt@pcmus.com>
2021-08-11 12:02:19 +02:00
Michael B
9f35e7ba31
Added inverted info for rollershutters (#11094)
Currently openHAB and the CCU are using different values for the same state of a rollershutter.
Added information about this under Troubleshooting and listed some examples.

Signed-off-by: Michael Bredehorn <michael@bredehorn.nrw>
2021-08-11 12:00:30 +02:00
Sami Salonen
497c09ee05
[dynamodb] AWS setup guidance updated in docs (#11092)
Signed-off-by: Sami Salonen <ssalonen@gmail.com>
2021-08-11 11:57:26 +02:00
Marcel
8dbe57947d
[miio] add moppath & carpet area to robomap (#11097)
Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
2021-08-11 11:56:09 +02:00
Matthew Skinner
8e7f4a0e41
Sematic Tags added. (#11098)
Signed-off-by: Matthew Skinner <matt@pcmus.com>
2021-08-11 11:55:26 +02:00
Christoph Weitkamp
8a774cb1c5
[openweathermap] Fix ozone mapping in DTO (#11086)
- Fix ozone mapping in DTO

Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2021-08-08 14:22:13 +02:00
Andrew Fiddian-Green
2e8700e7c4
[mqtt] Discovery services shall not unsubscribe unless they have already subscribed (#10566)
* [mqqt] do not allow unsubscribe unless already subscribed

Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
2021-08-08 14:18:01 +02:00
lolodomo
bcd89086f2
[homeconnect] 2 channels added for washer appliance (#11071)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2021-08-07 20:55:32 +02:00
lolodomo
e3b8b937c4
[homeconnect] Use getLinkedChannel rather than getThingChannel (#11069)
when the purpose is only to call the method updateState

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2021-08-04 20:10:33 +02:00
lolodomo
ebb2662870
[homeconnect] Fix update of channels linked to program options (#10990)
Fix #10955

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2021-08-04 15:52:56 +02:00
lolodomo
f09dfa0f93
[networkupstools] Missing status added (#11082)
Fix #9276

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2021-08-03 14:33:01 +02:00
Petr27
138aef19a7
Fix DIR3100 and Auna Connect CD mode (#11058) 2021-08-02 21:47:49 +02:00
Björn Lange
699b7712c3
[mielecloud] Remove e-mail parameter validation (#11073)
Signed-off-by: Björn Lange <bjoern.lange@tu-dortmund.de>
2021-08-02 21:45:41 +02:00
Matthew Skinner
91879336e3
[ipcamera] Improve FFmpeg motion detection to support wider FPS range (#11067)
* Fix urls are null until binding restarts.


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

* Change to using port config.


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

* automate the ffmpeg output folder to follow the UID.


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

* spotless fixes.


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

* Update readme.


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

* change to using the userdata folder.


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

* change to better field description.


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

* Add advanced.


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

* Add link to docs.


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

* improve readme.

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

* improve example path in readme.


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

* Update bundles/org.openhab.binding.ipcamera/README.md

Cut and paste bandit strikes again. thanks.

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

Co-authored-by: Fabian Wolter <github@fabian-wolter.de>

* Change to using ipcamera as folder loc.

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

* Improve Ffmpeg motion and refactor to remove compiler warnings.

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

Co-authored-by: Fabian Wolter <github@fabian-wolter.de>
2021-08-01 20:06:28 +02:00
Dan Cunningham
e465155d84
[hydrawise] Migrate to new GraphQL based API (#10947)
* [hydrawise] Migrated to new GraphQL based API

Fixes #7261

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

* Addressed PR comments.

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

* Address PR review comments.

Signed-off-by: Dan Cunningham <dan@digitaldan.com>
2021-08-01 20:03:37 +02:00
Kai Kreuzer
f25cc8d14a
[amplipi] Initial contribution of AmpliPi binding (#10983)
* Initial contribution of AmpliPi binding

Signed-off-by: Kai Kreuzer <kai@openhab.org>

* change http client from cxf jax-rs to Jetty

Signed-off-by: Kai Kreuzer <kai@openhab.org>

* applied spotless

Signed-off-by: Kai Kreuzer <kai@openhab.org>

* Remove Jackson dependency

Signed-off-by: Kai Kreuzer <kai@openhab.org>

* Add support for input handling

Signed-off-by: Kai Kreuzer <kai@openhab.org>

* Clean up, improvements and documentation

Signed-off-by: Kai Kreuzer <kai@openhab.org>

* Remove unused password from configuration class

Signed-off-by: Kai Kreuzer <kai@openhab.org>

* Remove example properties file

Signed-off-by: Kai Kreuzer <kai@openhab.org>

* revert change in .gitignore

Signed-off-by: Kai Kreuzer <kai@openhab.org>

* Update README

Signed-off-by: Kai Kreuzer <kai@openhab.org>

* Address review feedback

Signed-off-by: Kai Kreuzer <kai@openhab.org>

* Handle ExecutionException as network error

Signed-off-by: Kai Kreuzer <kai@openhab.org>
2021-08-01 12:25:29 +02:00
lolodomo
b468582e13
[homeconnect] New how-to entry in doc about OAuth files (#11076)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2021-08-01 12:18:41 +02:00
mlobstein
440554dcc1
update README (#11075)
Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>
2021-08-01 09:24:37 +02:00
Kai Kreuzer
e1eb18ee3f
Fix SAT error (#11074)
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2021-07-31 22:10:14 +02:00
Kai Kreuzer
955faaec0c
Apply spotless (#11072)
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2021-07-31 21:02:53 +02:00
Mathias Maes
9e7f23e921
[unifi] Fixed 404 error with reconnect and no default value set for UniFiOS Checkbox (#11004)
* Fixed 404 error by obtaining Csrf token before login

Signed-off-by: Mathias Maes <watcherwhale@maes.family>

* Only try to obtain a csrf token when using UniFi OS

Signed-off-by: Mathias Maes <watcherwhale@maes.family>

* Updated documentation

Signed-off-by: Mathias Maes <watcherwhale@maes.family>

* Updated thing configuration in README.md

Signed-off-by: Mathias Maes <watcherwhale@maes.family>
2021-07-31 18:55:34 +02:00
Tobi
a1ec5eb241
[tr064] Add Wifi Signal Strength & Wifi Speed channels to LAN Subdevice (#10959)
* Add channels to tr064

Signed-off-by: Tobias Löbermann <tobiloeb@gmail.com>

* Set typeId for macSignalStrength channels

Signed-off-by: Tobias Loebermann <tobiloeb@gmail.com>

* adjust README with correct channel names.

Signed-off-by: Tobias Loebermann <tobiloeb@gmail.com>

* Add JavaDoc and separate post processors.

Signed-off-by: Tobias Loebermann <tobiloeb@gmail.com>

* Use UNDEF as default for signal-strength

Signed-off-by: Tobias Loebermann <tobiloeb@gmail.com>

* Update README.md documentation

Signed-off-by: Tobias Loebermann <tobiloeb@gmail.com>
2021-07-31 13:01:20 +02:00
pali
4b57ea28c8
[js-transform] Introduced support for additional parameters (#10901)
* [js-transform] Introduced support for additional parameters


Signed-off-by: Pauli Anttila <pauli.anttila@gmail.com>

* Added junit tests and updated readme

Signed-off-by: Pauli Anttila <pauli.anttila@gmail.com>

* Typo fixes

Signed-off-by: Pauli Anttila <pauli.anttila@gmail.com>

* Typo fix

Signed-off-by: Pauli Anttila <pauli.anttila@gmail.com>

* Fixed junit test

Signed-off-by: Pauli Anttila <pauli.anttila@gmail.com>
2021-07-31 12:42:50 +02:00
Thomas Lauterbach
02c2513e28
[enocean] Adds support for the D2_06_50 EEP type (#10949)
* Initial D2_06_20 EEP Implementation.

Signed-off-by: Thomas Lauterbach <lauterbachthomas@gmail.com>

* added data validation

Signed-off-by: Thomas Lauterbach <lauterbachthomas@gmail.com>

* added channels for calibration

Signed-off-by: Thomas Lauterbach <lauterbachthomas@gmail.com>

* added manufacturer ID for discovery

Signed-off-by: Thomas Lauterbach <lauterbachthomas@gmail.com>

* Revert "added data validation"

This reverts commit 945101056b.

Signed-off-by: Thomas Lauterbach <lauterbachthomas@gmail.com>

* fixing discovery by setting manufacturerId

Signed-off-by: Thomas Lauterbach <lauterbachthomas@gmail.com>

* fix spotless

Signed-off-by: Thomas Lauterbach <lauterbachthomas@gmail.com>

* added calibration channels

Signed-off-by: Thomas Lauterbach <lauterbachthomas@gmail.com>

* removed validation override

Signed-off-by: Thomas Lauterbach <lauterbachthomas@gmail.com>

* added manufacturer suffix

Signed-off-by: Thomas Lauterbach <lauterbachthomas@gmail.com>

* channel description updated

Signed-off-by: Thomas Lauterbach <lauterbachthomas@gmail.com>

* added calibration channels

Signed-off-by: Thomas Lauterbach <lauterbachthomas@gmail.com>

* mentioning calibration channels in documentation

Signed-off-by: Thomas Lauterbach <lauterbachthomas@gmail.com>

* shortened thing label

Signed-off-by: Thomas Lauterbach <lauterbachthomas@gmail.com>

Co-authored-by: Thomas Lauterbach <lauterbachthomas@gmail.com>
2021-07-31 12:24:10 +02:00
Ondrej Pecta
677804c485
[orbitbhyve] Initial contribution (#10426)
* [orbitbhyve] initial contribution

Signed-off-by: Ondrej Pecta <opecta@gmail.com>

* [orbitbhyve] improvements based on code review

Signed-off-by: Ondrej Pecta <opecta@gmail.com>

* [orbitbhyve] next bunch of fixes related to code review

Signed-off-by: Ondrej Pecta <opecta@gmail.com>

* Update bundles/org.openhab.binding.orbitbhyve/src/main/java/org/openhab/binding/orbitbhyve/internal/OrbitBhyveHandlerFactory.java

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

Co-authored-by: Fabian Wolter <github@fabian-wolter.de>
2021-07-31 12:01:22 +02:00
fragger42
882374fbcc
[yamahareceiver] Add possiblity to switch HDMI outputs on and off on Yamaha receivers (openhab#6327) (#11063)
* Add possiblity to switch HDMI outputs on and off on Yamaha receivers
(openhab#6327)

Signed-off-by: Bernhard Gruber <b-gruber@gmx.de>
2021-07-31 11:52:45 +02:00
Kai Kreuzer
207dab57b9
Fix spotless errors (#11068)
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2021-07-31 09:42:29 +02:00
dw-8
12dc0c37bb
[airthings] Add support for Airthings Wave Gen 1 (#11052)
Signed-off-by: dw-8 <davy.wong.on+github@gmail.com>
2021-07-30 22:12:35 +02:00
lolodomo
fa699b807e
[sonos] Fix error in channels.xml file (#11060)
Related to #10979

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2021-07-26 21:13:58 +02:00
Jeremy
95402db586
[pushbullet] Update README.md with recipient broadcast information (#11057)
Signed-off-by: jsetton <jeremy.setton@gmail.com>
2021-07-26 09:28:06 +02:00
morph166955
731e5cf73d
[sonos] Add new channel codec for several models (#10979)
Signed-off-by: Ben Rosenblum <rosenblumb@gmail.com>
2021-07-25 20:29:35 +02:00
Matthew Skinner
24c1691c8b
[espmilight] Add color channels ability to trigger white LEDs (#11047)
* Add white shortcut for sat threshold


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

* Fix compiler warnings.

Signed-off-by: Matthew Skinner <matt@pcmus.com>
2021-07-25 12:43:28 +02:00
lolodomo
0c2d697909
[pulseaudio] Move the binding config in file binding.xml (#11055)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2021-07-25 12:40:57 +02:00
lolodomo
3d0c31bd50
[homeconnect] Predefined temp / spin speeds options for unsupported washer programs (#10953)
* [homeconnect] Predefined temp / spin speeds options for unsupported washer programs

Fix #10701

Also save in programs cache the unuspported program

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

* Use constants OPTION_WASHER_TEMPERATURE and OPTION_WASHER_SPIN_SPEED

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

* Review comment : using constants

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2021-07-25 11:49:19 +02:00
dw-8
0f3289a937
[airthings] Enhance logging (#11043)
Signed-off-by: Davy Wong <davy.wong.on+github@gmail.com>
2021-07-25 09:41:25 +02:00
Christoph Weitkamp
65b4db7526
[pushover] Add support to send an Image URL directly (#11027)
* Added support to send an Image URL directly
* Add support for data URI scheme

Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2021-07-25 09:34:04 +02:00
nimric
cf6729adef
[jdbc] Select the proper schema when retrieving the item tables (#11023)
Signed-off-by: Riccardo Nimser-Joseph <github@nimric.de>
2021-07-24 21:29:15 +02:00
lolodomo
e23a0de94a
[homeassistant/homie] Standardize config URI (#11021)
* [homeassistant/homie] Standardize config URI

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2021-07-24 21:27:01 +02:00
Matt
3d3cdf3889
[haywardomnilogic] Remove erroneous chlorinator code from filterhandler (#11028)
* Removed erroneous chlorinator code from filterhandler

Signed-off-by: Matt Myers <mmyers75@icloud.com>
2021-07-24 21:25:44 +02:00
Christoph Weitkamp
d5e0e4905a
Changed default color mode for color commands to XY (#11036)
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2021-07-24 21:23:51 +02:00
Petr27
ccbc5e7d46
Update README.md (#11045)
Add binding for Hama IR100, Hama DIR3100 and Auna Connect CD
2021-07-24 21:22:31 +02:00
Marcel
aac28589e7
[miio] Minor improvement documentation & deviceId update message (#11046)
* [miio] Minor improvement documentation & message
* [miio] minor cleanup from sat
* miio] fix another minor datetimeformat SAT issue

Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
2021-07-24 21:21:14 +02:00
James Hewitt
487dc0e49f
[rfxcom] Add ability to properly receive configured command ids, deprecated hard-coded guesses. (#10940)
Currently, when a message is received the command will be determined only from the hard-coded set of ON/OFF commands, which means if I configure
a thing and attach it to a switch there is no guarantee that it will respond as expected to receive commands. This PR changes the message factory
to require either bytes (from the RFXcom device) or all the details required to make a transmissable message, including the confguration of the
associated Thing. At the moment, this is only used by lighting4 and raw types, but I expect it will be useful for others in the future.

The hard-coded ON/OFF commands in lighting4 are based on experimentation with different devices, and are not at all consistent. This PR deprecates the
use of those so that in a future release, Lighting4 devices will only work when configured with the correct command ids up front. This will resolve
inconsistent behaviour where devices that have been discovered may work correctly, work only for ON or OFF but not both, have ON and OFF the wrong
way around, turn ON one physical device and OFF another, or any combination of those possibilities.

Signed-off-by: James Hewitt <james.hewitt@uk.ibm.com>
2021-07-18 21:37:44 +02:00
James Hewitt
fcc23f0ab3
[volvooncall] Extend battery channels (#10991)
* [volvooncall] Extend battery channels

Add some convenience channels for charging status and handle the battery level carefully because the API can be misleading.

Signed-off-by: James Hewitt-Thomas <james.hewitt@gmail.com>
2021-07-18 20:15:59 +02:00
maniac103
5d7993843a
[squeezebox] Cleanup / code simplification (#10941)
* [squeezebox] Reduce boilerplate by using lambda expressions.
* [squeezebox] Make code dealing with key/value responses more readable.
* Fix off-by-one mistake.
* [squeezebox] Simplify CLI response parsing code.
* [squeezebox] Optimize some redundant code.

Signed-off-by: Danny Baumann <dannybaumann@web.de>
2021-07-18 19:16:48 +02:00
Sebastian Held
8c6c97e237
fix decimal values being truncated (#10989) 2021-07-18 19:15:15 +02:00
Sami Salonen
4cf8b1a5ab
[fmiweather] Fix UNDEF observations in corner case situations. (#11025)
* [fmiweather] Fix UNDEF observations in corner case situations.

In addition, tests added for static utility functions in
AbstractWeatherHandler.

Resolves #11024.

Signed-off-by: Sami Salonen <ssalonen@gmail.com>
2021-07-18 19:10:34 +02:00
lolodomo
7cdb41a459
[shelly] Suppress useless config URI with only 2 segments from binding.xml (#11022)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2021-07-18 19:06:08 +02:00
Christian Bandowski
cafcdb6276
[kostalinverter] Fix using binding together with z-wave binding (#11002)
Signed-off-by: Christian Bandowski <christian@myvm.de>
2021-07-18 09:20:40 +02:00
lolodomo
b3bb808d25
[teleinfo] Standardize config URI (#11019)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2021-07-18 09:16:16 +02:00
lolodomo
6bede8262b
[zway] Standardize config URI (#11018)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2021-07-18 09:15:09 +02:00
lolodomo
82ee00df1b
[digitalstrom] Standardize config URI (#11017)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2021-07-18 09:14:19 +02:00
lolodomo
ee937debbb
[systeminfo] Standardize config URI (#11016)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2021-07-17 23:55:30 +02:00
Markus Storm
e01532b666
[mqtt] add .things example to bindings docs (#11007)
* Add .things example

based https://www.openhab.org/blog/2018-12-16-mqtt-arrives-in-the-modern-openhab-2-x-architecture.html

* removed bad copy'n'pasted sentence
2021-07-17 23:53:29 +02:00
lolodomo
932e313397
[tplinksmarthome] Standardize config URI (#11015)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2021-07-17 23:42:14 +02:00
lolodomo
57ac236318
[robonect] Standardize config URI (#11014)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2021-07-17 23:41:17 +02:00
lolodomo
8c8b3b2e2c
[yeelight] Standardize config URI (#11013)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2021-07-17 23:40:20 +02:00
lolodomo
65ed2a1fcc
[upb] Standardize config URI (#11012)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2021-07-17 23:39:48 +02:00
lolodomo
612ad18240
[nikobus] Standardize config URI (#11011)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2021-07-17 23:39:09 +02:00
lolodomo
63b2377712
[mcp23017] Standardize config URI (#11010)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2021-07-17 23:37:44 +02:00
lolodomo
8367aaebc1
[enocean] Standardize config URI (#11009)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2021-07-17 23:36:39 +02:00
maniac103
d8aacd86a0
[homematic] Fix UI enumeration of HM-MOD-EM-8 channels (#10907)
The set of available HM-MOD-EM-8 channels varies depending on the
function a given channel is configured to use, which is why for those
devices we can't determine a static ThingType, but instead must populate
the thing channels on initialization. The existing code already handled
that case, but missed registering channel types for the dynamically
generated channels, which is why those channels were not shown in main
UI.

Signed-off-by: Danny Baumann <dannybaumann@web.de>
2021-07-17 23:33:08 +02:00
JohnnyUndercover
f7331d366e
[boschshc] Update Readme.md (#10915)
Add addtional info for how to get the device id via log output
2021-07-17 23:20:21 +02:00
Björn Lange
dbefba3fdd
[mielecloud] Less strict e-mail validation (#10928)
* [mielecloud] Less strict e-mail validation

Signed-off-by: Björn Lange <bjoern.lange@tu-dortmund.de>

* Some more e-mail validation test cases

Signed-off-by: Björn Lange <bjoern.lange@tu-dortmund.de>

Co-authored-by: Björn Lange <bjoern.lange@tu-dortmund.de>
2021-07-17 23:18:12 +02:00
M Valla
bd1d8f4980
[openwebnet] refactoring to internal package (#10995)
Signed-off-by: Massimo Valla <mvcode00@gmail.com>
2021-07-17 22:40:58 +02:00
Gaël L'hopital
11a66e5ce8
[meteoalerte] Small code enhancements (#10993)
Signed-off-by: clinique <gael@lhopital.org>
2021-07-17 22:39:41 +02:00
Gaël L'hopital
71638cead2
[VigiCrues] Adding localization and a bit of code cleansing. (#10992)
* Adding localization and a bit of code cleansing.

Signed-off-by: clinique <gael@lhopital.org>

* Review corrections

Signed-off-by: clinique <gael@lhopital.org>
2021-07-17 22:37:41 +02:00
mlobstein
f8157549ef
[epsonprojector] Add configurable volume channel (#10988)
Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>
2021-07-17 22:34:03 +02:00
Marcel
5671f09900
[miio] Improve yeelight RGB with brightness, introduce substitutions (#10984)
* [miio] add deviceId and timestamp substitutions

This will allow to send right commands for gateway and lumi devices

Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>

* [miio] update brightness in yeelight RGB channel

Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>

* [miio] Use generic way to call the asyncCommunication module

Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>

* [miio] Fix mapping yeelight

Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>

* [miio] Improve Yeelight colormode mapping

Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>

* [miio] yeelight fix unit for delayed off

Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
2021-07-17 22:32:13 +02:00
Matthew Skinner
8f3eef6ada
[ipobserver] Weather station binding, Initial contribution. (#10567)
* Bulk updated to UOM.


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

* ipObserver creation


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

* Bulk updated to UOM.


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

* channel fixup for UOM.


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

* improve UOM.


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

* updates


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

* Battery ch fixed.


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

* Fix time channels.


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

* readme update and remove %unit% from rain channels.


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

* readme fixup.


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

* edit global files.

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

* Fix merge conflicts.


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

* fix up build issues.


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

* remove reboot channel.


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

* readme fixup.


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

* Rename channels to put kind first.

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

* update to build on latest main.

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

* Add support for outBatt1


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

* Added auto discovery.


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

* add bundle to POM.


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

* newline added.


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

* Fix bug in discovery.


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

* Added tags

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

* update to 3.2.0-SNAPSHOT


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

* Update bundles/org.openhab.binding.ipobserver/src/main/resources/OH-INF/thing/thing-types.xml

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

Co-authored-by: Fabian Wolter <github@fabian-wolter.de>

* Update bundles/org.openhab.binding.ipobserver/src/main/resources/OH-INF/thing/thing-types.xml

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

Co-authored-by: Fabian Wolter <github@fabian-wolter.de>

* Clean up channels

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

* Update binding description.


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

* Fix jsoup suggestions.


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

* Update bundles/org.openhab.binding.ipobserver/src/main/java/org/openhab/binding/ipobserver/internal/IpObserverDiscoveryService.java

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

Co-authored-by: Fabian Wolter <github@fabian-wolter.de>

* Update bundles/org.openhab.binding.ipobserver/src/main/resources/OH-INF/thing/thing-types.xml

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

Co-authored-by: Fabian Wolter <github@fabian-wolter.de>

* Removed nullable.

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

* Improvements


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

* Fix compiler warnings


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

* Change to datetime


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

* change to use system channels.


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

* Move to Number:Intensity for solar

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

Co-authored-by: Fabian Wolter <github@fabian-wolter.de>
2021-07-17 22:21:21 +02:00
Ethan Dye
b4a7c433f2
[OmniLink] Fix zone bypass/restore commands (#11005)
* Fix zone bypass/restore commands
* Name variables using openHAB guidelines

Signed-off-by: Ethan Dye <mrtops03@gmail.com>
2021-07-17 08:54:34 +02:00
Colin
ff617aceae
Add support for group item type to window covering (#10936)
Add support for setting TARGET_POSITION of Window Covering accessories from groups with a baseItem type

Closes #10812

Signed-off-by: Colin Keehan <github@colin.xyz>
2021-07-17 08:51:44 +02:00
Georgios Moutsos
b96bab46d7
[caddx] Add new channels and support for ignoring zone status transitions (#10923)
* Cleanup of binding configuration classes
* Added context to CaddxMessage
* Logging enhancements
* Added support for ignoring Zone Status Transitions

Signed-off-by: Georgios Moutsos <georgios.moutsos@gmail.com>
2021-07-16 14:43:37 +02:00
pali
fe91fb635a
[ihc] Improved command handling when controller is not ready (#10895)
* [ihc] Improved command handling when controller is not ready

When connection from binding to IHC controller is open, but controller
is in programming state, things state is offline with special status to
indicate that binding can't send or receive any resource updates at the
moment. Things status check during command sending will prevent
unnecessary resource updates which will eventually fail and binding then
tries to restart the connection.

Signed-off-by: Pauli Anttila <pauli.anttila@gmail.com>
2021-07-15 19:49:59 +02:00
Gerhard Riegler
69bc7183d6
Fixed OutOfMemory error if initializing fails (#10924)
Signed-off-by: Gerhard Riegler <gerhard.riegler@gmail.com>
2021-07-15 19:48:01 +02:00
Martin Herbst
b043d8f4bc
[homematic] Provide additional null pointer checks (#10965)
* Fixed a rare NPE introduced while replacing commons-lang
* Provide additional null pointer checks

It is possible that the meta data returned for some device does not
contain a default or maximum value.

Fixes #10945
Fixes #10961

Signed-off-by: Martin Herbst <develop@mherbst.de>
2021-07-15 19:46:29 +02:00
lolodomo
03d9281c0b
[sonos] Filter Sonos Sub from discovery (#10925)
Fix #10777

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2021-07-13 12:29:54 +02:00
Jerry Gallo
225cb9ed38
[harmonyhub] Updated README to get buttonPress values with the new REST API implementation (#10978)
* fixed typo in example
* Updated the instructions on how to find buttonPress values 

openHAB 3.X put the REST API behind authorization and the old URL no longer works in the browser due to an authentication error. These new instructions allow for a trivial way to find the commands.

Signed-off-by: Jerry Gallo <2wyck3d@gmail.com>
2021-07-13 08:16:33 +02:00
Christoph Weitkamp
478f7d9b55
Readded deleted qbus bundle (#10980)
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2021-07-12 15:11:30 +02:00
lolodomo
af989d4db8
[rotel] Semantics added to channel types (#10969)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2021-07-12 09:56:13 +02:00
Marcel
072a6045c2
[miio] add new custom refresh methods (#10957)
* Improve matching the command responses to the sending channel
* Use newer method to get device list using `device_list_page`
* Adding the ability to send custom requests to cloud
* Adding the ability to send custom commands with additional elements in
the json

Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
2021-07-12 09:55:16 +02:00
Marcel
c0ab022e4e
[miio] fix color lights sending numbers as strings (#10960)
* [miio] fix color lights sending numbers as strings

Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
2021-07-12 09:53:49 +02:00
lolodomo
29acaf6246
[sonyprojector] Switch to the default system channel type for power channel (#10970)
Set semantics to the powerstate channel type

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2021-07-12 09:24:24 +02:00
lolodomo
1f92039145
[lgwebos] Switch to default system channel types (#10971)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2021-07-12 09:23:13 +02:00
James Hewitt
26cf35116e
[volvooncall] Clean up readme. (#10976)
Signed-off-by: James Hewitt <james.hewitt@uk.ibm.com>
2021-07-12 09:22:00 +02:00
lolodomo
64a418829f
[homeconnect] Catch exception when appropriate (#10929)
* [homeconnect] Catch exception when appropriate

Fix #10904

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2021-07-11 22:58:59 +02:00
Christoph Weitkamp
fc9864f434
[pushsafer] Initial Contribution of Pushsafer Binding (#10790)
* Pushsafer binding

Signed-off-by: Pushsafer.com (Kevin Siml) <info@appzer.de>

* Improvements and comments from code review

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

* Incorporated comments from review

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

Co-authored-by: Pushsafer.com (Kevin Siml) <info@appzer.de>
2021-07-11 21:45:23 +02:00
Matthew Skinner
6fc24e4aa4
[opensprinkler] Improvements: Remove apache.commons, fix bugs and warnings (#9869)
* Fix: current channel would not get added.

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

* Fix: online and offline now detect correctly.


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

* Improve discovery.

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

* Bug fixes.


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

* Misc Improvements and log cleanup.


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

* Make current sensor channel dynamically get removed if not supported.


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

* fix compiler warning.


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

* readme updates.


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

* Shift refresh()


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

* Add RSSI and water flow meter count channels.


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

* Change to flowSensorCount


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

* Fix bug


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

* Fix NPE on parsing jsReplies.


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

* Add new programs channel.


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

* Fix wrong api use.


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

* Change to using max time if the time is null.


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

* Add device withRepresentationProperty

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

* update readme


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

* Fix rain sensor not working in 219 firmware.


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

* Spotless fixes.


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

* fix gson double up error.


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

* Add more channels


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

* refresh completed before bridge goes online.


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

* Simplify.


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

* Allow non default password to not stop discovery.

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

* Add ignoresRain channel


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

* Simplify commands in station handler.


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

* Add new rainDelay channel.


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

* Make constants consistent.


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

* Add categories.


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

* Changes requested by FlorianSW

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

* Stop catching and throwing new exp.


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

* Create a state class.


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

* Update bundles/org.openhab.binding.opensprinkler/src/main/java/org/openhab/binding/opensprinkler/internal/discovery/OpenSprinklerDiscoveryService.java

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

Co-authored-by: Connor Petty <mistercpp2000@gmail.com>

* Fix for EOF exception that stops polling with bad wifi.

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

* Change signal strength over to 0-4 range


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

* Handle toUnit null returns.


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

* Support discovery on subnets that are not /24


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

* update readme for recent changes to signalStrength channel.


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

* Fix code anal issue and readme.


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

* Remove info logging.


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

* remove traces of old dependancy.


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

* Changes for fwolter


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

* support RSSI and rssi


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

* Update after new command sent.


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

* improve delayedRefresh


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

* Remove supressWarnings


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

Co-authored-by: Connor Petty <mistercpp2000@gmail.com>
2021-07-11 09:40:29 +02:00
ThomasK
1e8be24fce
[fronius] Added inverter power, battery state of charge and PV solar yield (#10757)
* [fronius] add battery state of charge and PV yield.

Signed-off-by: THKDev <THKDev@users.noreply.github.com>

* [fronius] Actually constants should be all upper case. Words in labels should be capitalized (except prepositions and so on). Use %unit% placeholder.

Signed-off-by: THKDev <THKDev@users.noreply.github.com>

* [fronius] fixed checkstyle error; removed some warnings (eg. StringUtils)

Signed-off-by: THKDev <THKDev@users.noreply.github.com>

* Revert "[fronius] fixed checkstyle error; removed some warnings (eg. StringUtils)"

This reverts commit 73065c65

Signed-off-by: THKDev <THKDev@users.noreply.github.com>

* [fronius] fixed checkstyle error

Signed-off-by: THKDev <THKDev@users.noreply.github.com>

* [fronius] removed org.apache.commons.lang3.StringUtils

Signed-off-by: THKDev <THKDev@users.noreply.github.com>
2021-07-11 09:38:45 +02:00
rimago
ab816b08c6
[irobot] fix test (#10958)
Signed-off-by: Florian Binder <fb@java4.info>
2021-07-07 20:16:19 +02:00
Fabian Wolter
a06be4785f
Disable unstable tests (#10956)
* Disable unstable tests

Signed-off-by: Fabian Wolter <github@fabian-wolter.de>
2021-07-07 20:06:06 +02:00
Christoph Weitkamp
28c580bf5c
[deconz] Use ChannelBuilder created by ThingHandlerCallback (#10950)
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2021-07-06 20:04:06 +02:00
Joan Pujol
26258e8ef5
[influxdb] Fix queries with data migrated from InfluxDB1 without item tags (#10937)
Signed-off-by: Joan Pujol <joanpujol@gmail.com>
2021-07-06 20:01:15 +02:00
M Valla
cdb8d46fa8
[openwebnet] Fix messages flooding BUS on reboot (#10934)
* [openwebnet] changed ALL_DEVICES_REFRESH_INTERVAL to 60s
to avoid lights/shutters status updates flooding

Signed-off-by: Massimo Valla <mvcode00@gmail.com>

* [openwebnet] added UPnP discovery for MyHOME_Screen3,5.
Updated catalogue links in README

Signed-off-by: Massimo Valla <mvcode00@gmail.com>
2021-07-06 20:00:01 +02:00
Ryan Johnston
e967dc28bc
[insteon] Update README.md (#10922)
Fix repeated word.
2021-07-06 19:57:18 +02:00
robnielsen
3e94bb1e19
[insteon] added representation property for devices (#10908)
Signed-off-by: Rob Nielsen <rob.nielsen@yahoo.com>
2021-07-06 19:51:09 +02:00
bruestel
c0a2a4b104
[homeconnect] Show response code in request detail modal and JS code cleanup (#10695) (#10914)
Signed-off-by: Jonas Brüstel <jonas@bruestel.net>
2021-07-06 19:49:56 +02:00
mlobstein
58f20c5028
[tivo] Fix thing staying offline after connection refresh (#10902)
Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>
2021-07-06 19:46:25 +02:00
Wikibear
fd577a78b0
[telegram] Update README.md (#10948)
Add design of token for better understanding
2021-07-06 19:45:36 +02:00
davidjabon
a68cb6d6a9
[chromecast] Update README.md (#10930)
'weather' is misspelled. It should be 'whether.'
2021-07-06 19:44:05 +02:00
Marcel
7d2db98662
[miio] change deviceID to Xiaomi used string (#10951)
* [miio] change deviceID to Xiaomi used string

Change the deviceId from the current hexadecimal to the string used by
Xiaomi.
This is needed as we have some devices that have deviceIds that are
non-numeric, hence breaking the current logic.

Note: separately removing the upnp discovery as this has become
irrelevant with cloud discovery and devices supporting the udp regular
discovery.

Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>

* Update bundles/org.openhab.binding.miio/src/main/java/org/openhab/binding/miio/internal/handler/MiIoAbstractHandler.java

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

Co-authored-by: Fabian Wolter <github@fabian-wolter.de>
2021-07-06 19:42:42 +02:00
maniac103
89f2da140c
[homematic] Update property files (#10942)
* [homematic] Add HM-MOD-EM-8 properties

If a HM-MOD-EM-8 channel is configured to 'sensor' mode, it advertises a
STATE datapoint, which we should both display as non-advanced and give a
description.

Signed-off-by: Danny Baumann <dannybaumann@web.de>
2021-07-05 22:40:44 +02:00
Wouter Born
4378e95acc
Update OH version in skeleton scripts (#10910)
Signed-off-by: Wouter Born <github@maindrain.net>
2021-06-28 11:00:31 +02:00
Kai Kreuzer
bebab9ce29 applied spotless
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2021-06-27 23:25:35 +02:00
jenkins
8c5c81e256 [unleash-maven-plugin] Preparation for next development cycle. 2021-06-27 17:35:01 +00:00
Christoph Weitkamp
b03e730699
[tr064] Added representation property for Things (#10905)
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2021-06-27 10:47:48 +02:00
maniac103
ba2a33947d
[squeezebox] Map server connection state to thing status. (#10778)
If a player goes offline (it e.g. lost power or network connection),
mark it as such in the thing status.

Signed-off-by: Danny Baumann <dannybaumann@web.de>
2021-06-25 13:06:16 +02:00
James Hewitt
6403e03cea
[rfxcom] Enable Raw message transmission (#10866)
This enables raw message transmission by configuring a raw thing with pulses to
send for either ON, OFF, OPEN or CLOSED commands.

To enable extended config, this includes a refactor for the RFXComHandler to
support different Configuration objects depending on the thing type, and moves
the parsing, validation, and message matching logic to the Configuration objects
where the logic is more appropriate.

To enable testing of the RFXComHandler, the RFXComMessageFactory was abstracted
out and injected as a dependency.

Signed-off-by: James Hewitt <james.hewitt@uk.ibm.com>
2021-06-24 19:37:37 +02:00
Christoph Weitkamp
c5c2cab0a7
[hue] Added support for publishing ChannelDescriptionChangedEvents (#10718)
* Added service references to DynamicStateDescriptionProvider to support publishing ChannelDescriptionChangedEvent

Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2021-06-24 12:15:49 +02:00
Christoph Weitkamp
225e2ae15a
Added support for publishing ChannelDescriptionChangedEvents (#10900)
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2021-06-23 22:14:49 +02:00
Conte Andrea
089a78ff6f
[openwebnet] rename thermoregulation's (WHO=4) things (#10865)
* - bus_thermostat renamed to bus_thermo_zone
- bus_temp_sensor renamed to bus_themo_sensor
- linked OWN4j 0.5.3-SNAPSHOT (camelCase for enums)

Signed-off-by: Conte Andrea <andrea@conte.com>

* updated ReadMe according to things renaming

Signed-off-by: Conte Andrea <andrea@conte.com>

* Updated readme and thermo thing labels. Renamed thing descriptors to BusThermoZone and BusThermoSensor

Signed-off-by: Massimo Valla <mvcode00@gmail.com>

* using own4j release 0.5.3

Signed-off-by: Conte Andrea <andrea@conte.com>

* removed json tags in README. Added KG4691 to tested thermostats

Signed-off-by: Massimo Valla <mvcode00@gmail.com>

Co-authored-by: Massimo Valla <mvcode00@gmail.com>
2021-06-23 20:08:51 +02:00
James Hewitt
08706f1314
[rfxcom] Add Novy extractor fans (#10891) 2021-06-23 18:10:29 +02:00
lolodomo
0728e16335
Added support for publishing ChannelDescriptionChangedEvents (#10898)
Pack 3

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2021-06-22 21:21:40 +02:00
lolodomo
34e26f806d
[remoteopenhab] Listen to the new ChannelDescriptionChangedEvent events to update dynamic state/command options (#10885)
Also handle dynamic command options

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2021-06-22 21:19:45 +02:00
Ryz
58c7928b23
[http] Fix parsing of Color RGB values (#10897)
* Fixed parsing of Color RGB values

Signed-off-by: Ryz <mirco.heitmann@gmail.com>
2021-06-22 12:51:16 +02:00
lolodomo
cba49df16a
Added support for publishing ChannelDescriptionChangedEvents (#10896)
Pack 2

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2021-06-22 10:38:15 +02:00
hofingerandi
48e13858a9
[enocean] Add support for eltako rollershutter frm60 (#10852)
* added eltako frm60, based on eltako fsb

Signed-off-by: Andreas Hofinger  <andreas.hofinger@gmx.net>
2021-06-21 22:31:42 +02:00
lolodomo
ac52f9bbe4
Added support for publishing ChannelDescriptionChangedEvents (#10884)
For the bindings homeconnect, lgwebos, netatmo, remoteopenhab, rotel,
somfytahoma, sonos and sonyprojector

Depends on openhab/openhab-core#1505

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2021-06-21 22:28:38 +02:00
Christoph Weitkamp
48f4fd7e6e
Added service references to DynamicCommandDescriptionProvider and DynamicStateDescriptionProvider to support publishing ChannelDescriptionChangedEvent (#10717)
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2021-06-21 22:08:35 +02:00
Marcel
809e53d3af
[miio] Add support gateway lumi.gateway.mieu01 (#10893)
Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
2021-06-21 22:07:17 +02:00
Rogier Hofboer
ea2cb217e0
[mqtt.generic] Percentage range fix #10586 (#10587)
Signed-off-by: Rogier Hofboer <rogier@hofboer.nl>
2021-06-21 21:24:54 +02:00
Marcel
ef1deff4e9
[miio] fix typo (#10894)
Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
2021-06-21 21:16:34 +02:00
Christoph Weitkamp
a04f331011
Added service references to DynamicCommandDescriptionProvider to support publishing ChannelDescriptionChangedEvent (#10716)
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2021-06-21 21:14:37 +02:00
Sven Carstens
806e0a0287
[solarwatt] Initial contribution for solarwatt energy manager (#10091)
* [ADD] First version which was tested with my local setup.

Signed-off-by: Sven Carstens <s.carstens@gmx.de>
Signed-off-by: Sven Carstens <sven.carstens@aoe.com>

* [ADD] Refactoring, add calculated value for direct self consumption and prepare for more.

Signed-off-by: Sven Carstens <s.carstens@gmx.de>

* [ADD] Add chanel description to README and make some channels advanced.

Signed-off-by: Sven Carstens <s.carstens@gmx.de>

* [MOD] Remove wrong colon in channel types.

Signed-off-by: Sven Carstens <s.carstens@gmx.de>

* [MOD] Put colon at the right place in channel types.

Signed-off-by: Sven Carstens <s.carstens@gmx.de>

* [MOD] Fix spelling of PVPlant in constants and things.

Signed-off-by: Sven Carstens <s.carstens@gmx.de>

* [MOD] Separate channelName from energy manager tagName.

Signed-off-by: Sven Carstens <s.carstens@gmx.de>

* [MOD] Reduce loglevels and fix findings from code-analysis.

Signed-off-by: Sven Carstens <s.carstens@gmx.de>

* [MOD] Move all custom calculations to the handler instances, remove custom tracking of child handlers, fix wrong calculation of the "direct consumed" values.

Signed-off-by: Sven Carstens <s.carstens@gmx.de>

* [MOD] Improve README and remove unnecessary Nullable and NotNull annotations.

Signed-off-by: Sven Carstens <s.carstens@gmx.de>

* [MOD] Change wrong ItemType for power items in README

Signed-off-by: Sven Carstens <s.carstens@gmx.de>

* [MOD] Change modeConverter to Switch

Signed-off-by: Sven Carstens <s.carstens@gmx.de>

* [MOD] Relay stateDevice to Thing status, anything but "OK" means ThingStatus.OFFLINE

Signed-off-by: Sven Carstens <s.carstens@gmx.de>

* [MOD] Remove stateDevice from items as it is represented by the device status.

Signed-off-by: Sven Carstens <s.carstens@gmx.de>

* [MOD] Improve README and remove unnecessary logging.

Signed-off-by: Sven Carstens <s.carstens@gmx.de>

* [MOD] Improve README.

Signed-off-by: Sven Carstens <s.carstens@gmx.de>

* [MOD] Improve README.

Signed-off-by: Sven Carstens <s.carstens@gmx.de>

* [MOD] Allow child things to be configured by hand with a guid.

Signed-off-by: Sven Carstens <s.carstens@gmx.de>

* [MOD] Allow child things to be configured by hand with a guid.

Signed-off-by: Sven Carstens <s.carstens@gmx.de>

* [MOD] Improve README and move things config to separate config.xml

Signed-off-by: Sven Carstens <s.carstens@gmx.de>

* [MOD] Improve README and remove all trace/debug logging.

Signed-off-by: Sven Carstens <s.carstens@gmx.de>

* [MOD] Use real channel timestamp as the refresh trigger.

Signed-off-by: Sven Carstens <s.carstens@gmx.de>

Co-authored-by: Sven Carstens <sven.carstens@aoe.com>
2021-06-21 18:21:50 +02:00
Wouter Born
39c4cd0a4d
Fix build (#10892)
Caused by https://github.com/openhab/openhab-addons/pull/10890

Signed-off-by: Wouter Born <github@maindrain.net>
2021-06-21 11:50:14 +02:00
Stefan Triller
7c221d0fb7
[influxdb] v2: Fix history queries if items are not tagged (#10888)
Was missing in https://github.com/openhab/openhab-addons/pull/10680

Fixes #10887

Signed-off-by: Stefan Triller <github@stefantriller.de>
2021-06-21 08:50:13 +02:00
Puzzlr
cd8aa5d604
Added missing </li> attributes in last comment section (#10890) 2021-06-21 08:48:48 +02:00
Marcel
6a7e240060
[miio] improve zhimi fan channels (#10882)
Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
2021-06-20 20:58:05 +02:00
James Melville
f73553347e
[snmp] Apply UoM to number channels from an SNMP target (#10681)
* Add Unit handling functionality to SNMP Reads

Signed-off-by: James Melville <jamesmelville@gmail.com>

* Use core library for Unit parsing

Signed-off-by: James Melville <jamesmelville@gmail.com>
2021-06-20 20:30:37 +02:00
Ethan Dye
22dd4aecd8
[OmniLink] Simplify updating properties (#10889)
Signed-off-by: Ethan Dye <mrtops03@gmail.com>
2021-06-20 20:26:55 +02:00
BigGeorgeTx
080d43edd4
[icloud] Update README.md (#10886) 2021-06-20 20:24:10 +02:00
Marcel
8be582e52a
[miio] improve dreame mc1808 channels (#10873)
Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
2021-06-20 20:19:51 +02:00
pali
61280ea4a2
[ihc] Support for TLSv1.2 (#10856)
* [ihc] Support for TLSv1.2

So far IHC controller have supported only TLSv1. As TLSv1 is already
deprecated and upcoming IHC controller FW version will introduce support
for TLSv1.2.

This change introduce TLSv1.2 support for the binding. TLS version is
selectable to be backward compatible for older controller versions.

Communication error handling is also improved e.g. because of wrong
password or if Java environment doesn't support required TLS version.
When fatal communication error occurs, binding will not hammer
controller with retries as it need user actions.

Signed-off-by: Pauli Anttila <pauli.anttila@gmail.com>

* [ihc] Introduced auto mode and other improvements

Signed-off-by: Pauli Anttila <pauli.anttila@gmail.com>

* [ihc] introduced default constant

Signed-off-by: Pauli Anttila <pauli.anttila@gmail.com>
2021-06-20 20:07:12 +02:00
lolodomo
3d33ee0ab8
[homeconnect] 9 channels added for washer appliance (#10809)
* [homeconnect] 9 channels added for washer appliance

Corresponding to 9 program options not fully supported by the API.

Fix #10704

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

* Review comment: formatting in XML thing file

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

* Review comment: add these new channels (except i-DOS) to washerdryer appliance

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

* Review comment: method isLinkedChannelsForUnsupportedFeatures renamed

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

* Change state options for rinse plus channel

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

* Update the new channels when the active program is updated

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

* Review comment: update documentation

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

* Review comment: typo in channel description

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2021-06-20 20:03:05 +02:00
Wouter Born
6296eba14c
[nest] Add support for Smart Device Management (SDM) API (#8947)
* [nest] Add support for Smart Device Management (SDM) API

* Reworks WWN implementation so that the thing types have a wwn_ prefix and the classes have a WWN prefix and reside in a 'wwn' package
* Adds an SDM implementation which is also based on: https://github.com/bhigg-code/openhab-addons/tree/2.5.x/bundles/org.openhab.binding.nestdeviceaccess
* Adds unit tests for (de)serialization of the SDM and Pub/Sub API requests and responses
* Updates the binding documentation for the changes and additions

Fixes #8664

Also-by: Brian Higginbotham <brianhigginbothamtx@gmail.com>
Signed-off-by: Wouter Born <github@maindrain.net>

* Fix and improve documentation

Signed-off-by: Wouter Born <github@maindrain.net>

* Always use UTF8 when decoding SDM events

Signed-off-by: Wouter Born <github@maindrain.net>
2021-06-20 19:59:46 +02:00
lolodomo
ec7c3a528f
[remoteopenhab] Avoid registering conflicting filters for SSE connection (#10870)
* [remoteopenhab] Avoid registering conflicting filters for SSE connection

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

* Remove default constructor

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

* Review comment: declare the hostname verifier in a variable

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2021-06-20 19:36:34 +02:00
Marcel
8d39e5b2ee
[miio] fix discovery issue when for devices with dot (#10880)
Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
2021-06-20 14:10:48 +02:00
James Hewitt
ae4ac7d36c
[rfxcom] Add firmware type, avoid crashing on unknown. (#10879)
New firmware type reported from the community that's not in the SDK. Also,
we don't actually _use_ the firmware type or device type for anything, so
lets not crash if we don't match the bytes - lets just flag it unknown.

https://community.openhab.org/t/rfxcom-binding-unsupported-value/123615/12

Signed-off-by: James Hewitt <james.hewitt@uk.ibm.com>
2021-06-19 11:29:58 +02:00
James Hewitt
60c199c9c9
[rfxcom] Add support for additional blinds (#10877)
Based on the RFXtrx SDK, new blind types. They mostly seem to match existing logic,
so this shouldn't break existing things.

Signed-off-by: James Hewitt <james.hewitt@uk.ibm.com>
2021-06-19 08:51:22 +02:00
bruestel
ca1de9dc4d
[homeconnect] Fix invalid authorization header during Server-Sent Events (SSE) client creation (#10848)
* [homeconnect] Improve logging of SSE connection and add backoff interval in case of connection error

Signed-off-by: Jonas Brüstel <jonas@bruestel.net>

* [homeconnect] Fix SSE authorization header problem

Signed-off-by: Jonas Brüstel <jonas@bruestel.net>

* [homeconnect] Fix synchronized monitor

Signed-off-by: Jonas Brüstel <jonas@bruestel.net>
2021-06-18 11:25:13 +02:00
rimago
1630430705
[irobot] Fix password discovery and command sending for Roomba I-Models. (using gson) (#10860)
* Fix password discovery for Roomba I-Models.

Signed-off-by: Alexander Falkenstern <alexander.falkenstern@gmail.com>

* [irobot] remove json-path dependency (use gson instead)

Signed-off-by: Florian Binder <fb@java4.info>

* [irobot] fix checkstyle warnings, preserve backward compatibility, and
remove unused parameters

Signed-off-by: Florian Binder <fb@java4.info>

Co-authored-by: Alexander Falkenstern <alexander.falkenstern@gmail.com>
2021-06-18 10:38:51 +02:00
Marcel
36d7dc26b8
[miio] cleanup several SAT warnings (#10871)
Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
2021-06-16 10:28:44 +02:00
Marcel
28c513ac3a
[miio] fix typo in temperatue unit (#10869)
Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
2021-06-16 10:27:04 +02:00
Marcel
8bd05c0f9f
[miio] add support for Mi Smart Standing Fan Pro Global (dmaker.fan.p15) (#10855)
* [miio] add support for Mi Smart Standing Fan Pro Global (dmaker.fan.p15)

add support Mi Smart Standing Fan Pro EU/Global (dmaker.fan.p15)
Improve p8 & p9 fans
close #10843

Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>

* [miio] improve timeunit

Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
2021-06-16 00:03:46 +02:00
Markus Michels
d0f4b84841
[shelly] 1PM/1L/2.5: New device#supplyVoltage; Motion: Missing channel for vibration; UNI: Unit for ADC voltage; PF for EM; Bulb: fix range for color temp (#10815)
* fixes #10738, #10799

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

* - Feature #10090 New device#supplyVoltage channel for Shelly 2.5, 1PM
and 1L
- Change  #10039 Info on "not reachable / timeout" should be warning,
not info
- Fix     #10799 Missing Channel Definition for Vibration Events
- Fix     #10738 Shelly UNI - ADC Voltage units of measure missing
- Fix     #10111 Creating Equipment from Shelly Bulb Duo causes wrong
min/max
- README updated

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

* #10737 Shelly EM - add powerFactor channel support

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

* README updated

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

* channel powerFactor (EM+EM3) is now of type Number:Dimensionless

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

* Fix for #10864: Do not trigger same alarm within 5 minutes

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

* better logic for alarm filter

Signed-off-by: Markus Michels <markus7017@gmail.com>
2021-06-16 00:00:56 +02:00
Anders Alfredsson
c9933454db
[smhi] Fix exception in aggregation function when daily forecast is empty (#10851)
* Fix exception in aggregation function when daily forecast is empty

Also catch any Exception to prevent thread from crashing

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

* Refactor to improve robustness of calculations

Improve tests to cover different forecast scenarios

Signed-off-by: Anders Alfredsson <andersb86@gmail.com>
2021-06-15 23:56:50 +02:00
Martin Dagarin
c21c468cac
[gpio] Improved usability of pullupdown parameter on GPIO pin (#10863)
Signed-off-by: Martin <martin.dagarin@gmail.com>
2021-06-15 23:53:27 +02:00
Matthew Skinner
f263c13c6b
[ipcamera] Fix null URL channels and fix multiple cameras use the same ffmpeg output folder. (#10846)
* Fix urls are null until binding restarts.


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

* Change to using port config.


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

* automate the ffmpeg output folder to follow the UID.


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

* spotless fixes.


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

* Update readme.


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

* change to using the userdata folder.


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

* change to better field description.


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

* Add advanced.


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

* Add link to docs.


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

* improve readme.

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

* improve example path in readme.


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

* Update bundles/org.openhab.binding.ipcamera/README.md

Cut and paste bandit strikes again. thanks.

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

Co-authored-by: Fabian Wolter <github@fabian-wolter.de>

* Change to using ipcamera as folder loc.

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

Co-authored-by: Fabian Wolter <github@fabian-wolter.de>
2021-06-15 23:50:00 +02:00
Kai Kreuzer
f506ec299b
[tesla] Prevent NPE (#10872)
Signed-off-by: Kai Kreuzer <kai@openhab.org>
2021-06-15 23:47:47 +02:00
Jan Wolf
54d88a84ce
[neato] Fix slow cleaning of robot (#10724)
Signed-off-by: Jan Wolf <git@jan-wolf.de>
2021-06-15 22:07:03 +02:00
James Hewitt
8c7c37a7f5
[rfxcom] Update interface message support (#10844)
Based on both the SDK and experimentation, this commit correctly identifies the
firmware and hardware version. A warning has been added for people with really
old firmware that may be different, but we didn't handle those different cases
well anyway.

Also includes updated firmware types and device types and support for pretty-
printing of the device and firmware type.

Signed-off-by: James Hewitt <james.hewitt@uk.ibm.com>
2021-06-15 19:37:07 +02:00
Martin Herbst
82dba8d400
[deconz] Set "ontime" option only if thing has got an ONTIME channel (#10829)
* Set "ontime" option only if thing has got an ONTIME channel

Fixes #10774

Signed-off-by: Martin Herbst <develop@mherbst.de>
2021-06-14 16:01:30 +02:00
James Hewitt
793dbf3df5
[rfxcom] Add support for receiving RAW messages (#10833)
This is a new feature in the Pro firmwares that provides the real raw RF
pulse lengths as shorts. Good for being able to parrot switches that aren't
otherwise supported, once we add the tx support as well.

Signed-off-by: James Hewitt <james.hewitt@uk.ibm.com>
2021-06-14 09:05:03 +02:00
muhl
056690a794
[rfxcom] Add support for TFA 30.3233.1 rainmeter (#10825)
Signed-off-by: Matthias Uhl <matthias_uhl@gmx.de>
2021-06-13 12:02:45 +02:00
Matt
40c7f41eb5
[haywardomnilogic] Update unit formating (#10781)
* Update unit formating

Signed-off-by: Matt Myers <mmyers75@icloud.com>

* Updates per last review

Signed-off-by: Matt Myers <mmyers75@icloud.com>

* Updated units to decimal

Signed-off-by: Matt Myers <mmyers75@icloud.com>
2021-06-12 20:03:43 +02:00
Iwan Bron
cb256f6676
[semsportal] Allow confiuration with thing file (#10842)
* [semsportal] Allow portal and station cofiguration with .things file

Signed-off-by: Iwan Bron <bron@olisa.eu>

* Fix README.md warning

Signed-off-by: Iwan Bron <bron@olisa.eu>

* Make thing type better visible in documentation

Signed-off-by: Iwan Bron <bron@olisa.eu>

Co-authored-by: Iwan Bron <bron@olisa.eu>
2021-06-12 19:58:21 +02:00
2wyck3d
1a06d78f22
[airquality] fixed typo in example (#10859) 2021-06-12 19:49:55 +02:00
Dan Cunningham
e0257bb76f
[iaqualink] Fixes critical login issue due to changed auth URLs. Moves 'model' package to 'dto' to fix checkstyle warnings. (#10853)
Signed-off-by: Dan Cunningham <dan@digitaldan.com>
2021-06-12 13:39:17 +02:00
James Hewitt
2b9a37efa9
[rfxcom] Read multiple bytes at a time over serial connection (#10832)
There's no reason not to read multiple bytes at a time (that I could find) so
for best practice, set the read limit to be the maximum size of an rfxcom
message. Tested fine on my system.

Signed-off-by: James Hewitt <james.hewitt@uk.ibm.com>
2021-06-12 13:22:00 +02:00
mlobstein
f7815f8eb2
[epsonprojector] Update readme configuration section (#10828)
* update Epson readme per standards

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

* capitalize label

Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>
2021-06-12 13:16:31 +02:00
mlobstein
bce5363856
[tivo] refresh connection every 12 hours (#10824)
Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>
2021-06-12 13:11:15 +02:00
Raphael Mack
72e3729ca7
[resol] correct handling of system date/time field (#10811)
* correct handling of system date/time field to close #10684

Signed-off-by: Raphael Mack <ramack@raphael-mack.de>

* further fix

Signed-off-by: Raphael Mack <ramack@raphael-mack.de>
2021-06-12 13:08:55 +02:00
Marcel
10f5ca8578
[miio] avoid NPE when rssi is missing (#10854)
Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
2021-06-12 12:54:19 +02:00
Conte Andrea
fc66615fce
[openwebnet] Replace scheduleAtFixedRate by scheduleWithFixedDelay (#10822)
- fixed some other spotless issues

Signed-off-by: Conte Andrea <andrea@conte.com>
2021-06-12 12:32:00 +02:00
mlobstein
e452de8e15
[benqprojector] Migrate benqprojector binding to OH3 (#10341)
Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>
2021-06-12 12:00:08 +02:00
James Hewitt
c12e189a13
[rfxcom] Convert unsigned byte to int properly for message length (#10830)
Without this, any message over 127 bytes reports a negative length and
fails the message start test, which puts the code out of sync with the
rfxcom leading to lots of errors, and eventually, complete loss of
connection.

Signed-off-by: James Hewitt <james.hewitt@uk.ibm.com>
2021-06-10 14:30:08 +02:00
James Hewitt
c49166a069
[rfxcom] New sub types for undecoded messages (#10834)
New subtypes have been added to the firmware, these are taken from the
RFXtrx SDK documentation.

Signed-off-by: James Hewitt <james.hewitt@uk.ibm.com>
2021-06-10 14:28:57 +02:00
Christoph Weitkamp
4db68379c9
[pushover] Minor improvements, SAT findings (#10840)
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2021-06-10 09:21:51 +02:00
ridiekel
047ae89aaf
[pushover] Provides the ability to specify a timeout in the config (#10817)
* Provides the ability to specify a timeout in the config, instead of using hardcoded 10 seconds.

Signed-off-by: Geroen Dierckx <geroen.dierckx@gmail.com>
2021-06-09 07:12:30 +02:00
Fabian Wolter
cf13bb8275
[pidcontroller] Use framework scheduler and remove custom Action module (#10806)
* [pidcontroller] Use framework scheduler and remove custom Action module

Signed-off-by: Fabian Wolter <github@fabian-wolter.de>
2021-06-08 08:07:24 +02:00
mlobstein
6141d69da3
[radiothermostat] Add job to set thermostat clock automatically from the binding (#10819)
* add thermostat clock sync job

Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>
2021-06-07 20:58:19 +02:00
Martin Dagarin
d9841ef0de
[gpio] Added parameter for pull up/down resistor and other improvements (#10782) 2021-06-07 20:57:08 +02:00
Björn Lange
c97f2ac2fa
[mielecloud] Fix typo and localization key resolution (#10821)
Signed-off-by: Björn Lange <bjoern.lange@itemis.de>
2021-06-07 20:56:24 +02:00
Dan Cunningham
32c1e65799
[venstarthermostat] Use doubles over Int or float types when processing temperatures, fix Checkstyle Warnings (#10740)
* Use a single numeric type (double), remove ints and floats

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

* Rebases with master.  Fixes All Checkstyle warning, renames package 'model' -> 'dto'

Signed-off-by: Dan Cunningham <dan@digitaldan.com>
2021-06-06 19:34:35 +02:00
Martin Herbst
5533643a3a
[homematic] Smaller fixes and conversion of properties files to UTF-8 (#10813)
* Prevent possible NPE

Signed-off-by: Martin Herbst <develop@mherbst.de>

* Spotless

Signed-off-by: Martin Herbst <develop@mherbst.de>

* Fixes missing unit information (especially for HmIP devices)

For some HmIP devices the "valueunit" attribute is empty and thus no
default unit type could be derived. Using the data point name solves
this problem (at least for the relevant data points).

Fixes #10533

Signed-off-by: Martin Herbst <develop@mherbst.de>

* Condition result was wrong because of missing brackets

Signed-off-by: Martin Herbst <develop@mherbst.de>

* Regenerated and reorganized descriptions


Signed-off-by: Martin Herbst <develop@mherbst.de>

* Encoding changed to UTF-8 and some smaller text corrections

Signed-off-by: Martin Herbst <develop@mherbst.de>

* Use default value as maximum if is greater than received max value

For some devices the data point definition retrieved from the CCU
contains default values that are higher than the maximum value. In order
to allow the configuration of these config options the allowed maximum
value needs to be set to the default value.

Fixes #10552

Signed-off-by: Martin Herbst <develop@mherbst.de>
2021-06-06 18:53:51 +02:00
Michael Wodniok
6b324d6701
[icalendar] Short events parallel to longer current events are now also shown as current event (#10810)
Signed-off-by: Michael Wodniok <michi@noorganization.org>
2021-06-06 10:10:13 +02:00
Matthew Davies
503abab181
[venstarthermostat] Venstar thermostat away mode enhancement (#10736)
* [VENSTAR THERMOSTAT BINDING] ADD AWAY MODE

Signed-off-by: Matthew Davies
matthew.davies@skynet.be
Signed-off-by: raveydavies <84205523+raveydavies@users.noreply.github.com>

* [VENSTAR THERMOSTAT] FIXED COMMAND AWAY MODE

Signed-off-by: Matthew Davies
matthew.davies@skynet.be
Signed-off-by: raveydavies <84205523+raveydavies@users.noreply.github.com>

* VENSTAR THERMOSTAT AWAY MODE AFTER INITIAL COMMIT FEEDBACK

This code includes the Away mode of the Venstar thermostat. It is
updated following initial feedback and suggestions on my first version
from @digitaldan.

Signed-off-by: Matthew Davies <matthew.davies@skynet.be>
Signed-off-by: raveydavies <84205523+raveydavies@users.noreply.github.com>

* VENSTAR THERMOSTAT BINDING - INCLUDE AWAY MODE

Removed the updateThermostat function, now have updateSettings and
updateControls corresponding to local API URLs.

Signed-off-by: Matthew Davies
<matthew.davies@skynet.be>
Signed-off-by: raveydavies <84205523+raveydavies@users.noreply.github.com>

* VENSTAR THERMOSTAT AWAY MODE - Modification updated as per feedback 1
June 2021

Signed-off-by: Matthew Davies
<matthew.davies@skynet.be>
Signed-off-by: raveydavies <84205523+raveydavies@users.noreply.github.com>

* VENSTAR THERMOSTAT AWAY MODE INCLUSION - UPDATED README

Signed-off-by: Matthew Davies <matthew.davies@skynet.be>
Signed-off-by: raveydavies <84205523+raveydavies@users.noreply.github.com>
2021-06-05 20:10:45 +02:00
lolodomo
33b7fd6e98
[homeconnect] Undo PR 10754 (#10792)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2021-06-05 20:08:51 +02:00
Anders Alfredsson
d454fe3331
[smhi] Catch exception that could cause binding to stop updating channels (#10794)
Signed-off-by: Anders Alfredsson <andersb86@gmail.com>
2021-06-05 19:39:21 +02:00
lolodomo
d36c7804d0
[homeconnect] Add missing channel update handler configuration (#10785)
* [homeconnect] Add missing channel update handler configuration

Related to dryer, washer and washer/dryer appliances

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

* 2 new methods to factorize duplicated code

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

* Apply spotless

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2021-06-05 19:33:30 +02:00
lolodomo
17eb0d5d78
[homeconnect] Delay update of state options when not accessible (#10784)
* [homeconnect] Delay update of state options when not accessible

Fix #10705

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

* Review comment: parseBoolean

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2021-06-05 19:30:43 +02:00
Conte Andrea
3dc7b9ed25
[openwebnet] add support for Thermoregulation (standalone thermostat and sensors) (#10756)
Signed-off-by: Conte Andrea <andrea@conte.com>

Signed-off-by: Massimo Valla <mvcode00@gmail.com>

Co-authored-by: Massimo Valla <mvcode00@gmail.com>
2021-06-05 19:26:52 +02:00
Sönke Küper
8e4cb48a57
[ahawastecollection] Change loglevel from warn to debug (#10800)
* 10786: Changed loglevel from warn to debug

Signed-off-by: Sönke Küper <soenkekueper@gmx.de>

* 10786: Spotless fix

Signed-off-by: Sönke Küper <soenkekueper@gmx.de>

Co-authored-by: Sönke Küper <soenkekueper@gmx.de>
2021-06-05 15:32:40 +02:00
Martin H
7c5f60dae2
[kostalinverter] Added new channels frequency and cosphi (#10779)
new channels frequency and power factor.

Signed-off-by: Martin Hubert <github@martin-hubert.de>

Co-authored-by: Martin Hubert <github@martin-hubert.de>
2021-06-05 14:45:00 +02:00
Christopher Schirner
d36e1f1018
[etherrain] Fix typo (#10805) 2021-06-05 11:33:27 +02:00
Anders Alfredsson
612ceb3855
Add channel IDs to documentation (#10793)
Signed-off-by: Anders Alfredsson <andersb86@gmail.com>
2021-06-05 11:31:46 +02:00
Boris Krivonog
80cbf5f32d
Removed required=true for parameters with default value. (#10795)
Signed-off-by: Boris Krivonog <boris.krivonog@inova.si>
2021-06-05 11:30:55 +02:00
Dbzman
7109475929
[pulseaudio] Add "idle timeout" to Pulseaudio audio sink (#10731)
* Add "idle timeout" to pulseaudio audio sink to allow the sink to disconnect after being idle

Signed-off-by: Timo Litzius <dev@dbzman-online.eu>
2021-06-05 11:29:59 +02:00
Fabian Wolter
9d903c240e
[pwm] Initial Contribution (#10205)
Signed-off-by: Fabian Wolter <github@fabian-wolter.de>
2021-06-01 20:23:33 +02:00
Roie Geron
6ae7f98134
[touchwand] - Add support for Risco alarm system sensors and AcWand thermostat (#10748)
* notify listeners on status change using discovery 

Signed-off-by: Roie Geron <roie.geron@gmail.com>
2021-05-30 11:46:41 +02:00
lolodomo
f99f4b6361
[homeconnect] Retrieve list of programs when an appliance becomes available (#10773)
Cache the list of programs for an appliance

Fix #10771

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2021-05-30 09:37:10 +02:00
Daniel Rosengarten
4ad6eda961
[velbus] Add new functionality PRESSED and LONG PRESSED (#10664)
* [velbus] Add new functionality PRESSED and LONG PRESSED and fix bug

New functionality:
Add the the possibility to simulate the PRESSED and LONG PRESSED message of an input.

Module supported with button simulation :
VMB1RYS (button : CH6)
VMB6IN (buttons : CH1 ... CH6)
VMB2PBN, VMB6PBN, VMB7IN, VMB8IR, VMB8PB, VMB8PBU, VMBEL1, VMBEL2, VMBEL4, VMBGP1, VMBGP1-2, VMBGP2, VMBGP2-2, VMBGP4, VMBGP4-2, VMBGP4PIR, VMBGP4PIR-2 (buttons : CH1 ... CH8)
VMBELO, VMBGPOD, VMBGPOD-2 (buttons : CH1 ... CH32)

Fix bug:
The channels names were not correctly assigned to the thing properties. The last channel had the default name, not the one retrieved from the module.

Also-by: cedricboon <cedric.boon@hotmail.com>
Signed-off-by: Daniel Rosengarten <github@praetorians.be>
2021-05-29 20:23:29 +02:00
M Valla
7f05dbaf2c
[openwebnet] calculate position only if startedMovingAt is valid. (#10775)
After OH reboot position remains UNDEF.

Signed-off-by: Massimo Valla <mvcode00@gmail.com>
2021-05-29 20:12:50 +02:00
robnielsen
22c5e841dd
[ecobee] logging improvements (#10772)
Signed-off-by: Rob Nielsen <rob.nielsen@yahoo.com>
2021-05-29 20:10:06 +02:00
eguib
3875d2aca5
[senechome] issue #10679: Extend with additional channels; refactor and various improvements (#10687)
* [senechome] Extend with additional channels; refactor; improve error handling (#10679). Merged PR 9535 (rename batteryState to system state)

- charge/discharge energy/current/voltage/min/maxCellVoltage/load cycles per battery pack
- current/power/voltage per MPP
- liveHouseConsumption/livePowerGenerator
- battery,case,MCU temperature
- wallbox1: state, charging power/current, liveEnergy
- improve error handling, catch malformed JSON exception to prevent crashing the binding
- merged PR: 9535 (rename batteryState to systemState)
- renamed SenecHomeLimitation to SenecHomePower and added more channels
- refactored SenecHomeHandler to reduce code duplication (added some nice helper methods)

Signed-off-by: Erwin Guib <eguib@web.de>
2021-05-29 14:29:20 +02:00
Christoph Weitkamp
04507d98fc
Added support for HAN-FUN outlets / simple on-off devices (#10760)
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2021-05-29 14:25:36 +02:00
Sami Salonen
572fd3dded
[fmiweather] Fixed to work with new API (#10765)
Tests updated as well

Signed-off-by: Sami Salonen <ssalonen@gmail.com>
2021-05-29 14:23:23 +02:00
Fabian Wolter
eab7623655
[lcn] Improve readme; Allow special module IDs <5 (#10770)
Signed-off-by: Fabian Wolter <github@fabian-wolter.de>
2021-05-29 13:51:32 +02:00
Ross Kennedy
6df474a994
MAP transformation text, add white space example (#10766)
Add simple white space escape example for MAP key

Signed-off-by: Ross Kennedy <rossko@culzean.clara.co.uk>
2021-05-28 15:07:53 +02:00
Marcel
6ba1606e52
[miio] add support for Yeelight 1S (mono4) (#10763)
* [miio] add support for yeelight mono4
* [miio] add support yeelight lamp 9 & 10

close #10619
close #10061

Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
2021-05-28 15:05:01 +02:00
lolodomo
9bf194ad39
[sonos] Add new channel heightlevel for Sonos ARC / ARC SL (#10759)
Fix #9874

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2021-05-28 15:04:14 +02:00
lolodomo
a736a2cafd
[homeconnect] Don't reset washer temp / spin speed when exiting from active program (#10745)
Use the provided planned time for a washing program to set the channel "remaining_program_time_state" when no program is active

Fix #10744
Fix #10703

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2021-05-28 15:02:18 +02:00
lolodomo
ac7b5eae4d
[homeconnect] Build state options with a unique item for unsupported programs (#10754)
Apply to spin speed, temperature and drying taget channels

Fix #10701

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2021-05-28 15:01:50 +02:00
lolodomo
fe11c115ea
[homeconnect] Factorize handling of power command (#10747)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2021-05-28 15:00:59 +02:00
boehan
19029b7358
[comfoair] fix data handling for restricted devices (#10685)
Signed-off-by: Hans Böhm <h.boehm@gmx.at>
2021-05-26 21:12:15 +02:00
Marcel
aa665e54f5
[miio] also refresh after custom commands (#10714)
Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
2021-05-26 21:04:19 +02:00
Björn Lange
705f5c577c
[mielecloud] Initial contribution of the Miele Cloud binding (#9146)
Also-by: Bert Plonus <bert.plonus@miele.com>
Also-by: Martin Lepsy <martin.lepsy@miele.com>
Also-by: Benjamin Bolte <benjamin.bolte@itemis.de>
Signed-off-by: Björn Lange <bjoern.lange@itemis.de>
2021-05-25 22:06:49 +02:00
Thomas Weißschuh
5ec535f37b
[linuxinput] use correct channelTypeUID for key-press channels (#10742)
Previously there was a mismatch between the UIDs used by the handler and
the one actually registered from the XML-file.
This lead to channels not showing up in the UI.
(See https://github.com/openhab/openhab-webui/issues/406 )

Signed-off-by: Thomas Weißschuh <thomas@t-8ch.de>
2021-05-23 21:08:56 +02:00
Thomas Weißschuh
e2fa4ba49e
[linuxinput] Handle all kinds of buttons (#10730)
Previously only the basic keyboard buttons where handled.
Now all buttons known to Linux, or rather libevdev are reported.

Reported-in: https://community.openhab.org/t/linuxinput-binding-and-mouse-capture/122612
Reported-in: https://github.com/t-8ch/binding-linuxinput/issues/5

Signed-off-by: Thomas Weißschuh <thomas@t-8ch.de>
2021-05-23 21:03:14 +02:00
Iwan Bron
66a540289d
[semsportal] initial contribution (#10100)
Signed-off-by: Iwan Bron <bron@olisa.eu>
2021-05-23 20:45:04 +02:00
lolodomo
4b5d64340f
[homeconnect] Let the binding update item state when handling a command (#10749)
To avoid the core framework updating automatically an item state while a
command is sent to this item but its handling by the binding is failing
or ignored

Fix #10700

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2021-05-23 19:48:15 +02:00