Commit Graph

1537 Commits

Author SHA1 Message Date
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