Trigger rule on JSON MQTT message (not part of it)


I publish JSON payloads to MQTT from other systems and I want to trigger stuff in OH3 from that.
I saw that when creating a channel, I can put a JSON path expression there, to get one of the values. But as the JSON body contains lots of context info, I want all of that, in a single item.
Is there a best practice for that? can I put the JSON payload in a String item and use that in my rule?


Yep! Just don’t use a transformation in your Channel!


Thanks. If this is the way to go then I am fine. Just wanted to see if I am missing something :smiley_cat: