Troubleshooting MQTT Transformation with Enocean Devices

Hello everyone, I’m reaching out for some assistance with an issue I’m encountering while integrating my Enocean devices with MQTT. I’ve been exploring the possibilities of smart home automation and recently decided to set up Enocean sensors alongside my existing MQTT infrastructure. However, I’m running into a snag with the transformation of MQTT messages, and I’m hoping the community can shed some light on this.I’ve successfully connected my Enocean devices to my MQTT broker, but the transformation of the raw data into a readable format isn’t working as expected. The messages are being received, but the state isn’t updating correctly in my smart home platform. For instance, my motion sensor is sending data, but the platform doesn’t recognize the state change, leaving my lights in an incorrect state.I’ve reviewed several topics here, including discussions on MQTT transformations and Enocean setup, which have been quite helpful. Specifically, I looked into topic 22 about JSONPATH transformations and topic 35 regarding Enocean configuration. Despite these resources, I’m still struggling to get the transformation right. The error I’m encountering suggests a mismatch between the expected data format and what’s being received.I’m using a JSON transformation pattern, but it seems like the structure isn’t aligning with the data from my Enocean devices. I’ve tried adjusting the transformation rules, but without success. I’m wondering if there’s a specific format or additional parameters I need to include to ensure the data is parsed correctly.If anyone has experience with similar setups or has encountered and resolved this issue, I’d greatly appreciate any insights or suggestions. Whether it’s a tweak to the transformation pattern or a different approach altogether, your guidance would be invaluable.Thank you in advance for your help and for being such a supportive community. I’m excited to get this working and to expand my smart home setup further!