I am trying to understand what am I not completely understanding…
items example:
Group BS_Shower “Shower” (Home, BS)
Number BS_Shower_Temperature "Temperature" <temperature> (BS_Shower, gTemperature) {channel="max:thermostat:gatewayID:deviceID:actual_temp"}
Number BS_Shower_Heating "Heating" <heating> (BS_Shower, gHeating) {channel="max:thermostat:gatewayID:deviceID:set_temp"}
sitemap:
sitemap house label=“House” {
Frame label=“Basement” icon=“cellar” {
Group item=BS_Shower
}
}
Frame label="Item Types" {
Text label="Temperature" icon="temperature" {
Default item=BS_Shower_Temperature label="Shower"
}
Text label="Heating" icon="heating" {
Default item=BS_Shower_Heating label="Shower"
}
I am struggling with understand the above, and this is in part due to my bias from doing things the fhem way and breaking what I know.
So, in the above example, the sitemap entry Group item=BS_Shower will list all items that are part of BS_Shower group. It will load them as declared in the items list, i.e. as a number with the temperature or heating icons.
In the second and third entry of Default item=BS_Shower_Temperature label=“Shower” here the Default tells the sitemap what widget to apply, and by default I assume it carries over the widget associated with the definition in the items list.
Questions arising now:
If I wanted to change the item to a setpoint with certain step / min / max values.
In the second and third entry, I can influence that directly via the sitemap.
However for the first entry, I cannot redefine it as a setpoint.
Can I define the setpoint property at the items list instead?
Finally, I really would like to understand how to make
Number BS_Shower_Heating “Heating” (BS_Shower, gHeating) {channel=“max:thermostat:gatewayID:deviceID:set_temp”} behave appropriately - i.e. how can I make it accept values from the user via BasicUI?
Thanks.