Miele@home, miele@mobile component

I deleted the original installation by uninstalling the Integration from UI, then I removed from HACS integrations, I also disabled my Meile.yaml to meile.yaml.bak. Then I restarted HA it was gone.

But today I thought to re-instal again to see if working. I instaled in HACS but can not find the integration again in the UI Integrations. I think maybe the Meile API is at fault but not sure.

I think too, that the Miele API is fault, to bad

I recently bought a Miele dishwasher and successfully integrated it into Home Assistant using the Github page, many thanks for the work!

The thing is, our dishwasher apparently doesn’t support actual starting of the dishwasher via the API… That was the main reason I wanted a Wifi-dishwasher, so I could use HA to start the dishwasher (ie when there is enough solarpower). I have send an email asking if they can add this function to the API. When using the swagger-page ( Miele 3rd party API - API documentation ) I see that processAction is not supported…

Anyone has a workaround and/or experience in getting functions added to the API?

In my case it was a fault at Miele’s side. The problem got fixed by itself.
Usually I remove the integration via HACS, delete the token cache, reboot HA and start from scratch.

were to find token cache and how to delete it?

It’s in your config directory ‘/config/.miele-token-cache’

thanks, I found it in \config.storage directory.

Now it works.

Hi Guys,

Sinse i already removed from my integrations and from HACS and then re-installed in HACS after a couple of weeks, now I dont see the Meile integration in my UI…any suggetions? I just deleted the token file mentioned above

But it is definately installed in HACS:

I get the following error in Core version 2022.2.3 and the integration does not work will stick with version 2022.2.2 for now

This error originated from a custom integration.

Logger: homeassistant.setup
Source: custom_components/miele/init.py:108
Integration: miele (documentation, issues)
First occurred: 10:35:50 am (1 occurrences)
Last logged: 10:35:50 am

Error during setup of component miele
Traceback (most recent call last):
File “/usr/src/homeassistant/homeassistant/setup.py”, line 227, in _async_setup_component
result = await task
File “/config/custom_components/miele/init.py”, line 151, in async_setup
hass.data[DOMAIN][DATA_DEVICES] = _to_dict(data_get_devices)
File “/config/custom_components/miele/init.py”, line 108, in _to_dict
for item in items:
TypeError: ‘NoneType’ object is not iterable

1 Like

You won’t see it if you start typing “me” because the company’s name is “Miele”. So you should try “mi” when searching for integrations.

Its not there mamoel as I said and showed:

image

However even without the UI Integration showing up, today I can now see the entities. So Im not sure whay that is, before I uninstalled the integratino is was seen inside my Integration UI…

It seems you searched for the Miele integration in the HA standard integrations UI (this is for integrations that can be configured in the UI). There you won’t find it.
It can only be found in the HACS menu.

1 Like

Hallo Everybod

I have the same problem :frowning:

can everybody help us?

which problem you have?

Just go to HACS and search Miele then install, thats it as long as you followed the Miele website to get your API and token, then make a ‘miele.yaml’ file and add the API and token details as shown in the integration/above.

miele:
client_id: 24e881cd-2bc4-4xxxxxxxxxx
client_secret: EbXA8VSuGxxxxxxxxxxxxxxxx
lang: de
https://www.miele.com/developer/swagger-ui/swagger.html

Good morning,

Months ago when I installed this integration I hadn’t been able to make it works. Today I have discovered it was a problem on my configuration about the external and internal url. So, today I have reinstalled all and rebooted my HA. I have finally had access to the Miele registration page to link my account. But when in the registration page I introduce the user and password I use in the mobile app I have an error like:
“Failed account link”
Any idea?

You need to generate an API actress token on the Miele website, not your Miele home account log in credentials. See above links given

I have my id and secret on the configuration.yaml. My problem is when I try to link my Miele account. When I try the email and pwd I use on the mobile app in this page, it doesn’t work:

Hi Sergio,

Sorry then I don’t know…Maybe log in in the computer add change password then retry on integration log in and linking

There is a new integration for Miele available for testing at

It is written from scratch to acheive following goals:

To use latest features in Home Assistant such as:

  • Use push updates from Miele API to give realtime updates of door opening and program phases
  • Map appliances to HA devices to align with other integrations
  • Use OAuth2 authentication built into HA to get better stability and to lean on core developers for maintenance
  • Support translation of status and programs to any language, currently English, German and Swedish

The integration has been tested with fridge, freezer, washer/dryer and dishwasher so far.

We welcome all interested users to test, give feedback and share experiences. Just follow the instructions in the repo above.

3 Likes

Hi, just started using your integration and almost everything works great!
There is one thing I want to achieve, but I can’t get it to work. I want to remotely start the dishwasher. I tested it via the Swagger on the Miele-developer site and the function to use is:

/devices/{deviceId}/programs

{
“programId”: 13
}

This works perfectly, but when I try to send this command via Home assistant I get no response.

entity_id: miele.dishwasher
body:
  {"programId": 13}

The logbook says:

Deze fout is ontstaan door een aangepaste integratie.

Logger: custom_components.miele.miele_at_home
Source: custom_components/miele/miele_at_home.py:88
Integration: Miele@home (documentation, issues)
First occurred: 20:34:25 (15 occurrences)
Last logged: 20:48:12

Failed to execute device action for 000105750595: 400 {'code': 400, 'message': 'Program with ID 13 cannot be performed at this moment on device with mieleDeviceId 000105750595 and state 1. Available program IDs: List()'}
Failed to execute device action for 000105750595: 400 {'code': 400, 'message': 'Unable to process JSON'}
Failed to execute device action for 000105750595: 400 {'code': 400, 'message': 'Program with ID 13 cannot be performed at this moment on device with mieleDeviceId 000105750595 and state 3. Available program IDs: List()'}
Failed to execute device action for 000105750595: 400 {'code': 400, 'message': 'That action is not available right now.'}
Failed to execute device action for 000105750595: 400 {'code': 400, 'message': 'Program with ID 6 cannot be performed at this moment on device with mieleDeviceId 000105750595 and state 3. Available program IDs: List()'}

Am I doing something wrong, since it works via the Swagger-site on the Miele developer-site?