Use item in html file

How i can use items in html files located in openhab2-conf/html ???
For example:
my item:

Number Temp    "Temperature [%.0f °C]" <temp> (kitchen)   { mqtt = "<[mosquitto:openhab/kitchen/temperature:state:default]" }

my html file:

<!DOCTYPE html>
  <meta http-equiv="Content-type" CONTENT="text/html; charset=utf-8">
  <title>Testing Openhab</title>
{{itemValue('Temp') | number: 0}} °C

It is possible to do so using the Weather binding, but only for Items bound to the Weather binding. In all other cases, as far as I know, this is impossible,

1 Like