* [boschshc] Cache mDNS-based bridge discovery results
The bridge discovery participant receives lots of mDNS events.
Previously, all events that contained IP addresses of potential bridges
were actively contacted using HTTP requests. On some systems eventually
the long polling stops due to too many requests.
With this change, we
* only consider mDNS events where the name property starts with "Bosch
SHC"
* cache already discovered bridges so we don't have to contact them over
and over again
* make sure that this happens in a thread-safe manner because the mDNS
events are handled in individual concurrently running threads
Signed-off-by: David Pace <dev@davidpace.de>
* Fix documentation typo
Signed-off-by: René Bärecke <77075719+Taxifahrer@users.noreply.github.com>
* Add channel temperatureHeatingFixedReturnTarget
Signed-off-by: René Bärecke <77075719+Taxifahrer@users.noreply.github.com>
* Make new channel advanced
Signed-off-by: René Bärecke <77075719+Taxifahrer@users.noreply.github.com>
* Added thingTypeVersion to thing-types.xml
Signed-off-by: René Bärecke <77075719+Taxifahrer@users.noreply.github.com>
---------
Signed-off-by: René Bärecke <77075719+Taxifahrer@users.noreply.github.com>
If an exception is thrown while sending (or connecting) the refreshJob died. This exception is now handled gracefully.
Signed-off-by: Jan N. Klug <github@klug.nrw>
* New translations androidtv.properties (Italian)
* New translations energidataservice.properties (Danish)
* New translations energidataservice.properties (Italian)
- Fix warnings from static code analysis
- Remove superfluous if
- Remove redundant member
- Introduce constant
- Use correct thing type uids in PilightDeviceDiscoveryService
- Fix log messages
Signed-off-by: Stefan Roellin <stefan@roellin-baumann.ch>
* Handles a new condition where the service rejects a request as unauthorized, but really we just need to refresh our token after 60 seconds.
Signed-off-by: Dan Cunningham <dan@digitaldan.com>
* Remove redundant feature dependencies
The following features are already dependencies of openhab-runtime-base:
* openhab-core-base
* openhab-core-model-item
* openhab-core-model-script
* openhab-transport-mdns
See also: https://github.com/openhab/openhab-addons/pull/16202#issuecomment-1876875456
* Remove redundant openhab.tp-jackson and openhab.tp-jaxb feature dependencies
Signed-off-by: Wouter Born <github@maindrain.net>
If the long poll response from the Smart Home Controller does not
contain valid JSON, the subscription is gracefully terminated a new one
is initiated after 15 seconds.
closes#15912
Signed-off-by: David Pace <dev@davidpace.de>
Switch from vitalidze/chromecast-java-api-v2 to de.sfuhrm/chromecast-java-api-v2.
This fork updates protobuf-java from 2.6.0 to protobuf-javalite 3.25.1.
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
* [network] Add parameter for limiting network interfaces to fix performance issues
* Use last known reachable interface
---------
Signed-off-by: Wouter Born <github@maindrain.net>