In UI item linked by HTTP on OH3

I have a problem with OH2 transcription of an item linked by HTTP on OH3
I managed to do it under VS in text mode:
the Things

Thing http:url:Home_Wizard1 “Home Wizard1” [ baseURL=“http://192.168.0.16”, refresh=2] {
Channels:
//Type Number : Channel_Thermostat “Thermostat”
Type string : Ch_Th1 “Thermostat_1” [stateExtension=“/disquette/telist”,stateTransformation=“JSONPATH:$.response[0].te”,refresh=“10”]
}
the Item
Number Th1 “Therm_1: [%.2f °C]” (Thermostat) {channel=“http:url:Home_Wizard1:Ch_Th1”}
The Sitemap
Thing http:url:Home_Wizard1 “Home Wizard1” [ baseURL=“http://192.168.0.16”, refresh=2] {
Channels:
//Type Number : Channel_Thermostat “Thermostat”
Type string : Ch_Th1 “Thermostat_1” [stateExtension=“/disquette/telist”,stateTransformation=“JSONPATH:$.response[0].te”,refresh=“10”]
}

It all works perfectly
But the problem is when I want to reproduce it under the integrated interface!
For the thing and the related item I think I understood:

we can see that the linked item indicates the temperature on the channel:
page

I think the solution is in editing the item and adding Metadata

But where to find the documentation and the syntax?
Thank you
Arpagor

What’s the problem? This blank space in your Sitemap? Or something else?

I found the solution after several tries !!!
it was fine in the Metadata options: stateDescription
it was necessary to add% s ° C

j’avais mis [%s °C] mais ca me mettais une erreur
Par contre comment formatter numériquement ?
comme par exemple obtenir 2 décimales en OH2 [% .2f °C]

je renouvelle ma question ou trouver la documentation sur les diverses options

Merci davance
Arpagor

This topic was automatically closed 41 days after the last reply. New replies are no longer allowed.