Hi,
Am new to HA and this whole home automation scene. Been experimenting with Openhab and HA. Have a KNX system setup at home. These are activated by pushbutton switches with LEDs which show the status.
For example, in Home Assistant config I will have:
- platform: knx
name: Light_1
address: '11/1/36'
state_address: '11/1/39'
brightness_address: '11/1/38'
brightness_state_address: '11/1/40'
- platform: knx
name: Light_2
address: '11/1/41'
state_address: '11/1/44'
brightness_address: '11/1/43'
brightness_state_address: '11/1/45'
This works exactly as expected. Switching on the lights from the pushbutton changes the status on HA. Similarly, switching the lights from HA changes the status on the pushbutton LED.
I run into an issue as some of these lights are grouped together in the KNX system with its own Group Address. In this example, I call it âGroup_of_Lightsâ.
- platform: knx
name: Group_of_Lights
address: '12/1/11'
#state_address: 'x'
brightness_address: '12/1/12'
#brightness_state_address: 'x'
The system at home is configured so that a single pushbutton turns on/off both Light_1 and Light_2.
The problem arises when using the pushbutton to turn on the Group_of_Lights.
From an âoffâ state, pushing the pushbutton switch does the following:
- Turns on Light_1 and Light_2
- Pushbutton LED updates to show that it is in the âonâ state.
- Light_1 and Light_2 status on HA is updated to the âonâ state.
- Group_of_Lights remain unchanged
Another situation also arises when the Group_of_Lights are switched on through HA:
- Light_1 and Light_2 status change to âonâ
- Group_of_Lights status changes to âonâ
- Pushbutton remains in âoffâ state
There are many more situations where the physical pushbutton and the HA state goes out of sync.
I canât say that this was unexpected since the Group_of_Lights state_address has not been filled in. Unfortunately, Iâve been told by the KNX system vendor that there is not a distinct state_address that is present.
Working with OpenHab previously, this portion was overcome by having the config accept two state_addresses for a single item. The config was like so:
Type dimmer : Group_of_Lights "Dimmer" [ switch="12/1/11+<11/1/39+<11/1/44", position="12/1/13+<11/1/40+<11/1/45", increaseDecrease="12/1/12" ]
This seems to be the was ETS5 has the configuration too (Iâm quite clueless on ETS5 thoughâŚ). Iâve tried quite a few experiments to emulate this on HA to no avail. For example:
state_address: '11/1/39 + 11/1/44'
state_address: '11/1/39 +< 11/1/44'
state_address: '11/1/39,11/1/44'
Does anyone have any insight to this? Many many thanks in advance.