MQTT Hub/Gateway

Version 3.4.0

  • MQTT Device: allow mathJS expressions as value template for incoming messages

Both mathJS & jsonPath expression are allowed as value template for incoming messages.
The value is accessible via the value param if the message is a raw value.
If the message is JSON formatted: path.within.json can be used to target the value.

Example: Convert incoming Wh to kWh

2 Likes