"Wrong behaviuor" Switch element in sitemap for Dimmer item
A Switch element for a Dimmer item don`t show the same behaviuor (for my opinion) as a Switch element for a Switch item.
"Normal" behaviour Switch element for a Switch item
For an KNX aktor i use a Switch item (Switch Aktor1A "Aktor 1A" (ALL) [ "Switchable" ] {knx="<2/1/1"})
The Switch element show in BasicUI and IOS-App the same:
ON = green icon, button right and blue
OFF = red icon, button left and grey
"Un-Normal" behaviour Switch element for a Dimmer item
I use a knx dali module, this module sending back one status per dali-group: OnOff or Percent. I use percent.
ITEM Config: Dimmer Weiss "Weiss Dimmer [%s]" (Lights) [ "Lighting" ] { knx="1/4/1, 1/4/2, 1/4/3+<1/4/4" }
(The KNX Dali Modul only send one status, so only Percent has a Listen-GA.)
The Switch element show in BasicUI and IOS-App the same:
ON = green icon, button left and grey
OFF = green icon, button left and grey
With this behaviour i can't see the correct status and i can't switch off the light (only with fast double-click).
As a work-around i use the "mappings=[ON="An", OFF="Aus"]"-option at the Switch element in sitemap (OFF Button ist always available).
Feature Request
I know the Dimmer item is "carrying a percentage value for dimmers". This is OK.
The BasicUI switch shows the right value left from the button.
(Always, i can change the value with a slider element for the item, knxtool (knxd) or ETS5, the switch change the value immediately.)
Change the behaviour like this:
If ITEM.type == Dimmer
and ITEM.value != 0
then SWITCH.status == ON (green icon, button right and blue)
else SWITCH.status == OFF (OFF = red icon, button left and grey)
Hello, at first, sorry for my bad english.
"Wrong behaviuor" Switch element in sitemap for Dimmer item
A Switch element for a Dimmer item don`t show the same behaviuor (for my opinion) as a Switch element for a Switch item.
"Normal" behaviour Switch element for a Switch item
For an KNX aktor i use a Switch item (
Switch Aktor1A "Aktor 1A" (ALL) [ "Switchable" ] {knx="<2/1/1"}
) The Switch element show in BasicUI and IOS-App the same: ON = green icon, button right and blue OFF = red icon, button left and grey"Un-Normal" behaviour Switch element for a Dimmer item
I use a knx dali module, this module sending back one status per dali-group: OnOff or Percent. I use percent. ITEM Config:
Dimmer Weiss "Weiss Dimmer [%s]" (Lights) [ "Lighting" ] { knx="1/4/1, 1/4/2, 1/4/3+<1/4/4" }
(The KNX Dali Modul only send one status, so only Percent has a Listen-GA.)The Switch element show in BasicUI and IOS-App the same: ON = green icon, button left and grey OFF = green icon, button left and grey With this behaviour i can't see the correct status and i can't switch off the light (only with fast double-click). As a work-around i use the "mappings=[ON="An", OFF="Aus"]"-option at the Switch element in sitemap (OFF Button ist always available).
Feature Request
I know the Dimmer item is "carrying a percentage value for dimmers". This is OK. The BasicUI switch shows the right value left from the button. (Always, i can change the value with a slider element for the item, knxtool (knxd) or ETS5, the switch change the value immediately.)
Change the behaviour like this: If ITEM.type == Dimmer and ITEM.value != 0 then SWITCH.status == ON (green icon, button right and blue) else SWITCH.status == OFF (OFF = red icon, button left and grey)
System
Openhabian 2.1.0 / KNX1 Binding 1.1.0 feature:list openhab-binding-knx1 | 1.10.0 | Started | addons-2.1.0 | KNX Binding
I hope, my explanation is okay. Please tell me, if this is the wrong place for this request.
THX Florian