Get external data from IP device with open api

If you get the correct value from this:

You can send the following event (in the basicGetHandler function):

def temp=response.json."0007"/10
sendEvent(name:"temperature",value:temp,unit:'C')

Initialize the capability from the “installed” event. Including the units is very important, even more, if you will show the temperature at the dashboard view. Eg.

def installed() {
initialize()
basicGetRequest()
}

def initialize(){
	sendEvent(name:"temperature",value:10,unit:'C')
}

The DTH’s “tiles” section is not considered anymore to define the device UI, that’s what the Device presentation does. A default configuration is created from the DTH.
You would need to create a custom one in case you want to change the capabilities order or use Custom Capabilities.

Remember DTHs are part of our legacy platform, that’s why my first suggestion was the SmartApp Connector.