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.
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
I am pretty new at this honestly, how do I install and use JSONPATH?
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