Logic Analyse JSON to Boelan

Hi Comunity. I have a really frustrating problem.
I have a MQTT motion sensor delivering Bolean status via a broker.
If i take the incomming message via a MQTT Client card, goes to a Logic analyser and filter out the “occupancy” text via JSON and sends the result to a Virtual Device with the sensor “alarm_motion” it does not activate it. If i send the result to a text-variable i can see i get a “Hook” instead of True, and a “X” instead of False. Please help me.

Br.
Thomas.

Hi Thomas,
Simplified, first send the JSON result to a Logics text match card for “hook”, and then set the virtual motion sensor’s alarm_motion to true, by hard-coding the word ‘true’

1 Like