When changing “Dimension” to “Temperature” in the Paper UI settings, the temperature is showing up as “- -” in Basic UI. For humidity, I can’t even find a dimension that sounds appropriate.
Changing from “Default” to “Text” in the sitemap definition doesn’t seem to have any effect.
You can’t just set arbitrary units to Items - the binding channel has to support that subtype.
If the Homematic channels only support numbers, thats what you go with.
Humidity in UoM is “dimensionless” that means e.g. a percentage. Dimensionless is a UoM, not the same as a plain number type.
It’s a misleading name, “ratio” or something would be clearer.
Okay understood! According to the channel description, both (temperature and humidity) are Number/Dimensionless. Unfortunately, this leaves me with “22,8 one” for temperature and “4500 %” for humidity in my sitemap. Any idea how to fix this?
That would be an error, then.
I reiterate that Number:Dimensionless is confusing, not the same as Number, binding authors get confused too.
Bear in mind we cannot see what channels you’re using here, I’m not yet convinced this is not just a set up problem.
You’re probably getting messages about all this in events.log
You should be able to see the “flavour” of channels in PaperUI Things.
Tell us more about heating_gf_targettemp (Type=NumberItem, State=17.00 °C, ...
That Item clearly has a Number:Temperature type (the units in the state) - are you saying the Homematic channel is different for that one?
“one” is one of the possible units for Dimensionless, ratio as in three-to-one, like % or dB.
If supply a plain number like 45 to a Number:Dimensionless, it will assume you mean the ratio to 45-to-1. Expressed in %, that’s 4500%.
Either the channel is really for a plain number, or you need to provide a hint about incoming units for the channel to use.
I believe you can hint about default units by providing them in the label of your Item definition "Luftfeuchtigkeit [%d %%]"
Not the sitemap label - if there is a sitemap label, that will override Item label for display only.
You can configure exactly the same in PaperUI.
Take care to choose the correct Item type - not Dimensionless.
Be sure to delete file based Items first or use different Item names or you will get in a mess.