Hi,
I have a problem with visualization of temperature in OpenHab2.
I send data from Arduino sensor through mqtt it is already posted on mqqt broker on PI3. But there is nothing in Basic UI.
files as follow:
test.items
Switch Switch1 {mqtt=">[mosquitto:home/lights/in:command:ON:1],>[mosquitto:home/lights/in:command:OFF:0],<[mosquitto:home/lights/in:state:ON:1],<[mosquitto:home/lights/in:state:OFF:0]"}
Number Temperature “Temperature [%.1f °C]” {mqqt=">[mosquitto:openhab/himitsu/temperature]"}
test.sitemap:
sitemap home label=“MyHouse”
{
Frame label=“Light Switch”
{
Switch item=Switch1
Text item=Temperature
}
}
Switch is working well so just i have a problem with number. This only displays " -°C" Please advice