thoukydides / homebridge-homeconnect

Home Connect home appliances plugin for Homebridge
https://www.thouky.co.uk
ISC License
142 stars 15 forks source link

Triggers not appear in Apple home #153

Closed raphaeldavid closed 1 year ago

raphaeldavid commented 1 year ago

Description of Issue

In Homebridge, I see

Expected Behaviour

I want to see them in Apple Home, in order to perform automations

Steps to Reproduce

N/A

Plugin Version

0.29.5

Environment

Home Connect Appliance(s)

Thermador Dishwasher (E-Nr: DWHD770WFP/01)

HomeKit App(s)

Apple home

Diagnostic Checks

Log File

N/A

Configuration

{
            "clientid": "...",
            "simulator": false,
            "language": {
                "api": "en-US"
            },
            "THERMADOR-DWHD770WFP-68A40E09C239": {
                "addprograms": "custom",
                "programs": [
                    {
                        "name": "Mode - Auto",
                        "key": "Dishcare.Dishwasher.Program.Auto2",
                        "selectonly": false,
                        "options": {
                            "Dishcare.Dishwasher.Option.VarioSpeedPlus": true
                        }
                    }
                ]
            },
            "platform": "HomeConnect"
        },

Additional Information

No response

thoukydides commented 1 year ago

These events are presented to HomeKit at Stateless Programmable Switch services. The Apple Home app shows these as numbered buttons that support automations from their Single Press action:

image

Some other HomeKit apps show descriptive labels for these buttons, but with the Apple Home app you need to know how the events map to the numeric labels. For a dishwasher appliance these are:

  1. Program Finished
  2. Program Aborted
  3. Salt Low
  4. Rinse Aid Low