Skip to content

Services

Åke Strandberg edited this page Mar 13, 2022 · 7 revisions

Services

You can control your connected Miele devices in different ways. The basic functions such as setting target temperature for a freezer or turning on the fan in a hub are controlled with the common interface entities (climate, switch etc) in Home Assistant. For more advanced functions you must use services in Home Assistant. These services can be called from the UI or from automations or scripts. Available endpoints and parameters are documented here: Miele Developer site

miele.set_program

Choose the device you want to adress in the UI. Note that you must not address an entity. You must specify programId. Other parameters are optional. The support for extra parameters is depending on the capabilities of the device.

Example of service data:

programId: 24

Start oven with conventional heat with a duration of 1 hour and 15 minutes and a temperature of 200 C

programId: 24
duration:
  - 1
  - 15
temperature: 220

Full example in yaml mode:

service: miele.set_program
target:
  device_id: f3937cdadec4c40f57920be0cd92389c
data:
  programId: 24

miele.generic_action

miele.process_action

miele.raw

Send raw command to /devices/{deviceId}/actions endpoint The deviceId (serial number) of the device can be found among attributes to the status sensor.

Examle to set target temperature on a freezer

serialno: 123456
extra:
  targetTemperature:
    - zone: 1
      value: -18

Examle to start superfreezing mode on a freezer

serialno: 123456
extra:
  processAction: 4
Clone this wiki locally