Commit Graph

791 Commits

Author SHA1 Message Date
Hilbrand Bouwkamp
ff9454596e
[networkupstools] Some sat improvements (#10017)
Signed-off-by: Hilbrand Bouwkamp <hilbrand@h72.nl>
2021-02-03 22:04:50 -08:00
Markus Michels
c4a3b1e6ba
[shelly] Improved documentation, support for UNI, 1L, Color Bulb (#9508)
* This PR merges the 2.5 code base with new features, a bunch of bug fixes
and improved documentation. Parts of the code has been re-factored and
vaious issues are fixed/optimized along the way.

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

* Minor fixed, support for Shelly Color Bulb, Shelly Motion

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

* Review changes applied

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

* review change applied

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

* review changes

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

* Review changes

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

* review changes

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

* README updated

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

* review change

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

* review change

Signed-off-by: Markus Michels <markus7017@gmail.com>
2021-02-03 22:25:19 +01:00
Stefan Triller
bc5ffb26e2
[smartmeter] Fix trying to create channels from invalid data (#10008)
Fixes #6762

* Fix Unit tests
The method was used to create the pattern for a regex and for building
the channel id. I ave separated them now. At least the tests are green ;)

Signed-off-by: Stefan Triller <github@stefantriller.de>
2021-02-03 21:37:00 +01:00
stefan-hoehn
570f86d043
[nanoleaf] CODEOWNERs, add Shapes Support, beta-firmware support (#10029)
Signed-off-by: Stefan Höhn <stefan@andreaundstefanhoehn.de>
2021-02-03 21:26:13 +01:00
Sonic-Amiga
f9a982e548
[irobot] Some enhancements (#9973)
* [irobot] Roomba: Add more properties.
On request by @falkena, also some i7 specifics

* [irobot] Roomba: Add map_upload channel. 
Controls uploading Clean Map(tm) to the cloud.

* [irobot] discovery: Get rid of empty while() loop
Rewrite the loop so that it doesn't have empty body any more, this gets rid of
one more static analyzer warning. Added dumping the whole IDENT packet on TRACE
level, aids implementing support for newer devices.

Signed-off-by: Pavel Fedin <pavel_fedin@mail.ru>
2021-02-03 11:31:30 +01:00
J-N-K
899d8d2e9f
[http] add POST/PUT support for state requests (#10022)
Signed-off-by: Jan N. Klug <jan.n.klug@rub.de>
2021-02-03 11:28:44 +01:00
Marcel
4088241033
[miio] add support yeelink.light.colora Yeelight Smart LED Bulb 1SE (#10037)
Closes #9360

Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
2021-02-03 11:19:56 +01:00
Marcel
6f59b178b8
[miio] add channel for is_locating (#10036)
close: #10033

Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
2021-02-03 11:18:50 +01:00
Marcel
056e4c4103
[miio] update zhimi humiddifier ca4 (#10032)
https://community.openhab.org/t/zhimi-humidifier-ca4-issue/116009

Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
2021-02-03 11:05:03 +01:00
Jürgen Weber
e037c1be91
[exec] add support for *BSD OSes (#10021)
Signed-off-by: Juergen Weber <weberjn@gmail.com>
2021-02-03 10:44:44 +01:00
lolodomo
c1cec8e11e
[sonos] Fix battery level (Move) (#10024)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2021-02-03 10:43:09 +01:00
Sami Salonen
51ea77f022
[modbus] Modbus transformations: cascaded/chained transformations and new-style transformation string (#9945)
* [modbus] Cascaded transforms with ∩
* [modbus] README to mention cascaded transformations
* [modbus] Take cascaded transformation into use
* [modbus] README to show preference towards new syntax
* [modbus] examples to use new syntax
* [modbus] fix test
* [modbus] remove apache commons lang dependency
- see also PR #10002
- I removed equals and hashCode implementation all-together, I could not see they played any role in practice.

Signed-off-by: Sami Salonen <ssalonen@gmail.com>
2021-02-02 08:33:07 +01:00
Fabian Wolter
0be7f60438
[modbus.sbc] Initial contribution (#9174)
Signed-off-by: Fabian Wolter <github@fabian-wolter.de>
2021-02-02 08:28:58 +01:00
lolodomo
ff3ff933af
[linky] One unique method to update daily and weekly data channels (#9840)
Also check data availability for the peak consumption of yesterday
Also log power peak data

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2021-02-01 12:42:27 +01:00
Fabian Wolter
3a2c996aab
[lcn] Fix several bugs in measurement processing with firmware before 2013 (#9991)
Signed-off-by: Fabian Wolter <github@fabian-wolter.de>
2021-02-01 12:09:09 +01:00
Sami Salonen
d5e83e395b
[modbus] Replace apache commons lang usage with plain java (#10002)
* [modbus] fix item creation in tests

Signed-off-by: Sami Salonen <ssalonen@gmail.com>
2021-02-01 12:07:52 +01:00
lolodomo
0f8f72dd2e
[sonos] Add new channel for microphone (Arc, Beam, Move, One) (#9999)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2021-01-31 22:49:46 +01:00
Stefan Triller
f2ea947424
[smartmeter] Fix NPE while trying to get ChannelType (#10007)
Fixes #10006

Signed-off-by: Stefan Triller <github@stefantriller.de>
2021-01-31 21:59:22 +01:00
lolodomo
4c7f9efffa
[remoteopenhab] Prefer StringContentProvider (#10001)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2021-01-31 21:15:55 +01:00
lolodomo
024b36a814
[sonos] Add new channels for battery (Sonos Move) (#9998)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2021-01-31 21:07:23 +01:00
Fabian Wolter
fd1caea5aa
[pidcontroller] Reset command Item; Fix read-only states of config parameters (#9992)
* [pidcontroller] Reset state of command Item after command has been processed
* Fix read-only state of item parameters

Signed-off-by: Fabian Wolter <github@fabian-wolter.de>
2021-01-31 21:03:25 +01:00
J-N-K
f1aec07181
[amazondashbutton] fix representation property (#9988)
* fix representation property

Signed-off-by: Jan N. Klug <jan.n.klug@rub.de>

* address review comments

Signed-off-by: Jan N. Klug <jan.n.klug@rub.de>
2021-01-30 20:59:58 +01:00
Marcel
f58df8fd25
[miio] validate response id matching command id (#9966)
* [miio] validate response id matching command id

This PR prevents out of sync issues in case devices are too slow to
respond or the timeout is set too short.

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

* [miio] spotless adding space

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

* [miio] update based on review

Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
2021-01-30 12:05:08 +01:00
neutmute
7a867c4b08
[influxdb] Update README.md (#9989) 2021-01-30 12:02:46 +01:00
Matthew Skinner
b2bb9176e5
[espmilighthub] Initial contribution (#9218)
* espmilighthub inital

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

Co-authored-by: Fabian Wolter <github@fabian-wolter.de>
Co-authored-by: Connor Petty <mistercpp2000+gitsignoff@gmail.com>
2021-01-29 12:05:55 -08:00
Paul Vogel
80c52f4fc0
[homematic] Use .equals() to compare two Integers instead of == (code style fix) (#9976)
Signed-off-by: Paul Vogel <github@paulvogel.me>
2021-01-29 20:36:42 +01:00
J-N-K
429183b75b
[amazonechocontrol] fix api url (#9982)
Signed-off-by: Jan N. Klug <jan.n.klug@rub.de>
2021-01-29 20:33:32 +01:00
Marcel
db3e2b690c
[miio] remove unit from color temperature (#9970)
Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
2021-01-29 14:07:54 +01:00
J-N-K
8494a0e3ba
[http] Fix duplicate commands on PlayerItemConverter (#9981)
Fixes #9957

Signed-off-by: Jan N. Klug <jan.n.klug@rub.de>
2021-01-29 09:59:20 +01:00
Johannes Einig
2127ac23c8
[heos] Fix runtime error; Support for new Denon "Home" speaker added (#9935)
* Support for Denon "Home" speaker as bridge added
* Fixed a runtime issue if no serial number is provided by the player, by using the PID as a fallback if no serial number is available

Signed-off-by: Wire82 <johannes.einig@me.com>
2021-01-28 22:41:28 +01:00
Gaël L'hopital
6473935482
[OpenUV] Marked the SafeExposure channel as extensible so user can add it via UI. (#9967)
Signed-off-by: clinique <gael@lhopital.org>
2021-01-27 09:08:29 -08:00
Marcel
e4ac982119
[miio] add support for zhimi.humidifier.cb2 Smartmi Evaporative Humidifier (#9968)
* [miio] add support for zhimi.humidifier.cb2 Smartmi Evaporative
Humidifier

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

* [miio] remove java notation from readme

Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
2021-01-27 16:23:03 +01:00
Arjen Korevaar
5a7be93670
[openthermgateway] fix automatic reconnect after connection attempt fails (#9965)
* Added callback to disconnected() when connection attempt fails

Signed-off-by: Arjen Korevaar <a.korevaar@mephix.com>

* Updated version number

Signed-off-by: Arjen Korevaar <a.korevaar@mephix.com>

* Cancel reconnect task when disposing

Signed-off-by: Arjen Korevaar <a.korevaar@mephix.com>
2021-01-27 15:32:50 +01:00
lolodomo
3ec52433d8
[sonos] Add support for Sonos Move (#9962)
* [sonos] Add support for Sonos Move

Fix #9950 

* README: updated list of supported Sonos models

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2021-01-26 18:39:13 -08:00
Christoph Weitkamp
7141a091ff
[hue] Added support for different color temperature capabilities and added Channel to set value in Kelvin (#9939)
* Added support for color temperature capabilities and set value in Kelvin
* Use system default channel type

Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
2021-01-26 09:27:14 -08:00
lolodomo
7ce7228a85
[sonos] Fix sub/surround controls (#9961)
Related to #9874

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2021-01-26 09:14:28 -08:00
Ethan Dye
e8ba8ec47b
[OmniLink] Use for each loop in getChildThing() (#9963)
* Use for each loop in getChildThing()

Signed-off-by: Ethan Dye <mrtops03@gmail.com>

* Further refine getChildThing() using stream map

Signed-off-by: Ethan Dye <mrtops03@gmail.com>

* Fix spotless errors

Signed-off-by: Ethan Dye <mrtops03@gmail.com>
2021-01-26 17:20:39 +01:00
mlobstein
a49b3487fa
[tivo] fix bugs with standby mode and channel parsing (#9964)
* fix some tivo binding bugs

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

* update search example rule

Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>
2021-01-26 16:45:59 +01:00
pali
89f5538f25
[ihc] Fixed extensible channel names (#9956)
Signed-off-by: Pauli Anttila <pauli.anttila@gmail.com>
2021-01-25 20:45:45 -08:00
rimago
e4b959382f
[irobot] Add command "cleanRegions" to clean specific regions only (#9775)
Signed-off-by: Florian Binder <fb@java4.info>
2021-01-25 20:19:49 -08:00
Marcel
c9dbc46fd1
[miio] use json db to drive temperature channel definitions (#9960)
Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
2021-01-25 20:15:26 -08:00
Marcel
cc00fd78ee
[miio] allow all quantitytypes and units (#9959)
Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
2021-01-25 20:14:10 -08:00
morph166955
c77d3b93f2
[samsungtv] WebSocket TVs stay UNKNOWN until first power-on #9764 (#9923)
Fixed #9764

Signed-off-by: morph166955 <rosenblumb@gmail.com>
2021-01-25 23:19:13 +01:00
Martin van Wingerden
5dd30ea35f
[HEOS] Update pause/stop handling (#9941)
Update PAUSE/STOP handling depending on the item that is currently playing.

Signed-off-by: Martin van Wingerden <martin@martinvw.nl>
2021-01-25 22:56:08 +01:00
J-N-K
781a824b79
fix missing re-connect if first request timed out (#9955)
Signed-off-by: Jan N. Klug <jan.n.klug@rub.de>
2021-01-25 22:51:43 +01:00
lolodomo
27b8de419a
[sonos] Add sub/surround controls to Beam, Playbar and Playbase (#9952)
Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2021-01-25 22:50:28 +01:00
J-N-K
c489eef9e6
fix wrong unit in TotalBytes (#9954)
Signed-off-by: Jan N. Klug <jan.n.klug@rub.de>
2021-01-25 21:26:01 +01:00
mueller-ma
b4a181a77e
Add issue template config (#9882)
Instead of using a dummy issue template for support questions, use a issue template config.

Signed-off-by: mueller-ma <mueller-ma@users.noreply.github.com>
2021-01-25 21:14:01 +01:00
Mike Major
5f68221f8c
[serial] Correct config examples (#9949)
Signed-off-by: Mike Major <mike_j_major@hotmail.com>
2021-01-25 10:53:43 -08:00
lolodomo
163806e322
[sonos] Add bass/treble/loudness controls (#9918)
* [sonos] Add bass/treble/loudness controls

Related to #9874

Disable these controls when the output level is fixed

* Review suggestion: use OnOffType.from
* Add bass/treble/loudness channels to Arc and Arc SL models
* Review comment: remove usage of keySet

Factorize code
Define constants

* Use Map.of to simplify the code
* Review comments considered

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2021-01-25 08:50:45 -08:00