Hi all! Happy to be here.
In the last year, I’ve come a long way with integrating HASS in my home. At this moment, for KNX alone, I have over 300 entities set-up, so things are going well. Love the system!
I’m writing this post because I’m, well, stuck. The story goes like this…
What I’m trying to accomplish is to expose a simple binary entity to the bus. I’ve created it myself using a template and it’s reporting as expected when I look at the developer tools. Basically it takes the status of a Nuki lock (linked via MQTT) and exposes a 1 when the lock is locked, or a 0 when it’s unlocked. Simple.
Now, I want to show this status on a room controller. It requires a 1-bit DPT. So basically, I did this:
expose:
- type: 'binary'
entity_id: binary_sensor.poorten_en_sloten_sloten_status_voordeur_op_slot_binair
address: 8/2/0
respond_to_read: true
- type: 'binary'
entity_id: binary_sensor.poorten_en_sloten_sloten_status_zijdeur_op_slot_binair
address: 8/2/1
respond_to_read: true
This works yes and no. When the state of the entity changes, I can see a GroupWrite message on the bus.
But where it fails is when I send a GroupRead. There’s simply no answer from HASS.
The KNX integration log shows the request is received:
2023-05-11 18:48:32.798 DEBUG (MainThread) [xknx.cemi] Incoming CEMI confirmation: <CEMIFrame code="L_DATA_CON" info="CEMIInfo("")" data="CEMILData(src_addr="IndividualAddress("1.1.250")" dst_addr="GroupAddress("31/0/0")" flags="1001110111010000" tpci="TDataGroup()" payload="<GroupValueRead />")" />
But that’s basically it. Nothing happens. There is no response.
I’ve been tinkering, but no luck so far. Does anyone here have any clue about what is going wrong or what I’m missing?
Some tech specs:
- Gateway = Thinka KNX
- Connection type = automatic
- Using fixed IP addresses
- Installation type = Home Assistant OS 2023.5.2