Hi to the community,
I am a new user of OpenHab. I have problem with displaying the temperature in the Basic UI in “°C”
Item defined as follows
Number Shelly “Temperatur” {channel=“shelly:shellyht:ae2a95:sensors#temperature”}
Sitemap entry defined as follows:
Default item=Shelly label=“Temperatur in °C”
Inserting [%1.f °C] into Item and/or Sitemap occurs displaying “ERR” on Basic UI.
What I am doing wrong? If more information needed, please let me know.
hmerk
(Hans-Jörg Merk)
December 13, 2020, 9:11pm
2
Define your item as Number:Temperature
Unfortunately, does not work.
LogViewer shows information below.
[ui.internal.items.ItemUIRegistryImpl] - Exception while formatting value ‘23.5 °C’ of item Shelly with format ‘%1.f’: Conversion = ‘1’
RafalO
(Rafal)
December 13, 2020, 9:59pm
4
This shall work (you have dot in wrong place):
Number Shelly “Temperatur [%.1f °C] ” {channel=“shelly:shellyht:ae2a95:sensors#temperature”}
/please tick solved if this is a solution/
Thank you RafalO. Small mistake big issue
system
(system)
Closed
January 24, 2021, 2:42pm
6
This topic was automatically closed 41 days after the last reply. New replies are no longer allowed.