Add extended KNX smoke alarm support (Gira): extra fault channels, temperature, siren control, and fault acknowledge#85
Conversation
|
Very good looking PR. Just a few things: When resolved i will include this pr in the next release cycle |
| "uiComponent": "button", | ||
| "title": { | ||
| "en": "Acknowledge fault", | ||
| "nl": "Fout bevestigen", |
There was a problem hiding this comment.
Just for clarification what does this button do? The title is not very clear to me
There was a problem hiding this comment.
@ttherbrink, It resets the fault thrown
There was a problem hiding this comment.
If this makes the fault reset to false it would make more sense to me to name it reset faults. this makes it clearer to the user what happens when the button is pressen
There was a problem hiding this comment.
Good call — renamed in 0a0411d: the capability title is now Reset faults (translated to all 13 languages), and the pairing-UI GA label is now Reset faults address. Capability ID and setting key are kept as knx_acknowledge_fault / ga_acknowledge_fault to stay aligned with the KNX object name on the bus.
For PR athombv/org.knx#85, which extends the KNX smoke sensor with extra fault and signalling channels exposed by Gira smoke alarms. Adds 4 monochrome 64x64 SVGs for the new capabilities: - knx_failure_smoke (smoke sensor failure) - knx_failure_temperature (temperature sensor failure) - knx_failure_230v (230V power failure) - knx_acknowledge_fault (reset/acknowledge button) The alarm_signal (siren) capability reuses the existing "homey capability Icons/alarm_siren.svg" — no new file needed.
@ttherbrink @wlcrs I have added the new logo's here: athombv/homey-vectors-public#410 |
|
I think you misunderstood the part about the icons. Icons should be included in the app using the "icon" prop in the custom capability https://apps.developer.homey.app/the-basics/devices/capabilities#custom-capabilities |
Addresses review feedback from @ttherbrink: - Add monochrome SVG icons for the new sensor capabilities, wired via the "icon" prop in each capability JSON. - alarm_signal reuses the official athombv/homey-vectors-public alarm_siren.svg. - Rename "Acknowledge fault" -> "Reset faults" — clearer for the user about what pressing the button does (in 13 languages).
Match the new "Reset faults" capability title in the pairing UI labels.
Addresses @ttherbrink: refrain from large formatting changes in existing code. Rebuilt the file from master and added only the functional changes — the smoke-sensor fieldset, the case branch in displayDeviceTypeFields, and the case branch in the save handler.
|
Thanks @ttherbrink, all feedback addressed. Summary of what was pushed:
|
Hi Homey team,
This PR extends the KNX smoke sensor device to support the full set of relevant group addresses exposed by Gira smoke alarm objects, beyond the previously supported smoke-only channel. All new functions are implemented as optional.
This PDF documents the newly implemented KNX objects:
gira_knx_documentation.pdf
What was added:
uiQuickActiondisabled because of that)Screenshots