How to Link Number Item to MQTT generic Thing with JSONPATH Transform in Openhab 2.4 using Paper UI

I was defining a MQTT Broker and MQTT generic thing which is working well. I just want to transform a string incoming through MQTT message into a temperature by using ONLY Paper UI. Is that possible?
With a String as an Item that is working (see screenshot) - but for a number (temperature) I was just giving up after 5 hours of trying. As I said the message and update of item as a string is working - as a number not. There is no information in the log.

What can I do to define that MQTT Thing link/transform in the Paper UI if possible?

Any hint appreciated!

Transformation for the “incoming value transformation” for string is: JSONPATH:$.temperature

  • Platform information:
    • Hardware: Synology 1817+/Intel Atom/16 GB
    • OS: Synology DSM 6.2.1-23824 Update 4
    • Java Runtime Environment: Java 8 Synology
    • openHAB version: Synology [fresh install]
    • Broker: mosquitto for Synology

You have to set the Channel Type to number first, then simply link the number item to the number channel.

1 Like