I’ve been diving into MQTT configurations lately, and I must say, it’s been quite the learning curve. After setting up my MQTT broker and generic thing, I managed to get a string item updating successfully. However, the real challenge came when I tried to transform the incoming data into a usable number format. Let me walk you through my journey and see if anyone has encountered similar issues or can shed some light on the matter.First, I configured the MQTT broker thing pointing to my Mosquitto broker. Then, I added a generic thing using this broker as the bridge. I set up a channel to catch the desired topic and linked it to a string item without any transformation. The logs showed the raw message as expected, but I needed to extract specific numerical values from this string.I attempted using an XPATH transformation to extract the watts value from the message. The initial XPATH expression /msg/ch1/watts/text() worked in an online tester, returning the desired number. However, when I applied it in my setup, it didn’t behave as expected. The item type was still a string, leading to errors when trying to set it to a NumberItem.Changing the item type to Number resulted in an invalid state error, as the transformation wasn’t converting the string to a number properly. I then tried wrapping the XPATH with number(), but this threw an execution error instead. It’s frustrating because the transformation works in a tester, but not in my actual setup.Has anyone faced similar issues with MQTT transformations? I’m curious if there’s a different approach or if I’m missing a crucial step in the configuration. Any insights or alternative methods would be greatly appreciated! Let’s see if we can crack this together.