How do I transform the following incoming MQTT message. This is message broker is showing.
just want to pull the value ( whatever the value is from the sensor). In this case its 838 but that can change. I assume we use channel transformation but don’t know how? Pretty clueless.
June 20, 2022, 7:42pm
Assuming that first part is just the name of the topic and not actually part of the message, you’ll want to install and use the JSONPATH transformation. The incoming message transformation would look something like
June 21, 2022, 12:16am
I am pretty new at this honestly, how do I install and use JSONPATH?
June 21, 2022, 1:35pm
How did you manage to install the MQTT Binding? Do it the same way except choose JSONPATH as the add-on to install. You’ll find it under “Other Add-ons”.
You use it just like I described. Put that String from my previous reply into the “incoming message transformation” field on the MQTT Channel config.
Watched a Youtube video that helped me understand MQTT binding. Thanks again
August 2, 2022, 1:53pm
This topic was automatically closed 41 days after the last reply. New replies are no longer allowed.