Add a MQTT return to a var

HTTP isn’t MQTT.

Nope. But you can drag the local tag from your received MQTT topic or message to the HTTP Request “JSONpath Better Logic” card, define the JSONPath and select the Better Logic var where you want the result saved. I use it myself to get values from a JSON MQTT message and update a virtual device with it. I know that with the latest/test version of the MQTT hub this can be done directly, but haven’t tried this yet.

Ah I understand what you’re trying to do now. Good idea :+1:t2:

I have used this method also for a long time, but HTTP requests app is not supported on Homey Pro 2023.

How can I read a value from a JSON string using MQTT client to read the value and then get one value from the JSON string and put it in a number logic or tag (or better logic number)?

The solution is found: [APP][Pro] Better Logic Library - For Users - #48 by M_a_r_c_o