]> git.basschouten.com Git - openhab-addons.git/commit
[pilight] Add option to disable background discovery for a given pilight bridge thing...
authorStefan Roellin <stefanroellin@users.noreply.github.com>
Sun, 10 Dec 2023 11:14:59 +0000 (12:14 +0100)
committerGitHub <noreply@github.com>
Sun, 10 Dec 2023 11:14:59 +0000 (12:14 +0100)
commit8c560a409c5a79c6f935b14b9acb64600fccd0cb
treef511cf1a3b58f3c172d9f3fff4185c4e0800cdc1
parent7da863aa49f0556fdd1b74d5912093fe4d02b47c
[pilight] Add option to disable background discovery for a given pilight bridge thing (#15986)

* [pilight] Add option to disable background discovery for a given pilight bridge thing

Previously the background discovery updated periodically all channels of all
devices regardless whether they have sent an update or not.  This behavior
makes it impossible to decide whether a device is still alive by observing
channel updates sent by a device itself.  Especially for devices running on
battery, it is important to know, if it still sends updates.

Create ExecutorService during initialize

---------

Signed-off-by: Stefan Roellin <stefan@roellin-baumann.ch>
bundles/org.openhab.binding.pilight/README.md
bundles/org.openhab.binding.pilight/src/main/java/org/openhab/binding/pilight/internal/PilightBridgeConfiguration.java
bundles/org.openhab.binding.pilight/src/main/java/org/openhab/binding/pilight/internal/discovery/PilightDeviceDiscoveryService.java
bundles/org.openhab.binding.pilight/src/main/java/org/openhab/binding/pilight/internal/handler/PilightBridgeHandler.java
bundles/org.openhab.binding.pilight/src/main/resources/OH-INF/i18n/pilight.properties
bundles/org.openhab.binding.pilight/src/main/resources/OH-INF/thing/bridge.xml