[mqtt.generic] Support transformationPattern for thing's availabilityTopic (#12167)
* [mqtt.generic] Support transformationPattern for thing's availability payload * [mqtt] Remove org.apache.commons.lang3.StringUtils dependency Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
This commit is contained in:
@@ -58,6 +58,7 @@ The following optional parameters can be set for the Thing:
|
||||
* __availabilityTopic__: The MQTT topic that represents the availability of the thing. This can be the thing's LWT topic.
|
||||
* __payloadAvailable__: Payload of the `Availability Topic`, when the device is available. Default: `ON`.
|
||||
* __payloadNotAvailable__: Payload of the `Availability Topic`, when the device is *not* available. Default: `OFF`.
|
||||
* __transformationPattern__: An optional transformation pattern like [JSONPath](https://goessner.net/articles/JsonPath/index.html#e2) that is applied to the incoming availability payload. Transformations can be chained by separating them with the mathematical intersection character "∩". The result of the transformations is then checked against `payloadAvailable` and `payloadNotAvailable`.
|
||||
|
||||
## Supported Channels
|
||||
|
||||
|
||||
Reference in New Issue
Block a user