How do you extract details from a string item

Hi everyone hoping for a quick tip
how do you extract details from a string item

Blueiris sends its status over MQTT too OpenHAB as a string containing different statuses

signal=1 profile=1 lock=1 schedule=Default

how do use the profile status too turn a few of my switch items on/off

Better to use multiple MQTT channels, each with a transformationPattern to extract the parts that you want.
General idea here -

You’d probably use REGEX though, as your message string is not JSON.

1 Like

Thank you yes Seperate items and regex did the trick