Miele@home, miele@mobile component

Hi there,

Home Assistant Green running…
Core: 2024.7.3
Supervisor: 2024.06.2
Operating System: 12.4
Frontend: 20240710.0

Has anyone recently setup the Miele integration via HACS (miele/custom_components/miele at main · astrandb/miele · GitHub) as my attempts are failing after linking my Miele website account with my Home Assistant instance.

The error is “OAuth authorization error while obtaining access token.”

I’ve confirmed I can login via the Miele Android app and this shows my connected appliances. I have used the same credentials for the integration linking. There is no cached tokens that I can see under /config/custom_components/miele

Any ideas?

1 Like

Hey guys,

I experience the same issue. Any ideas how to solve it?

Many Thanks
Patrick

Just to chime in, my Miele integration also brings up an error after upgrading to HA 2024.8.0. Trying to repair the authentication brings up a {"code":404,"message":"HTTP 404 Not Found"}

According to Miele’s Changelog, nothing changed.

According to the GitHub issue, the API is down.

Same problem here

The Miele service was down 14 days ago, but that was fixed the next day. I see no Miele service problems now, so I doubt it is the same cause.

image
image

Any chance of a local HA integration for Miele? I really try to avoid any cloud dependent integrations, whenever possible.

1 Like

No, the public API is an interface via the cloud. There are no signs of a local interface AFAIK.

Now I’m geting this error after the Miele logon page, any tips?
image

If I change the country from Netherlands to for example USA, I get this “Authentication failed!” error.
So I think that if choose there is an error in this Miele logon page.

image

I use the same credentials that I use in the Miele app on my phone.

Gday all. My first post seeking some help.
I have started the slippery slope of Home Assistant.

After realising the “other HA Miele intergration” was dead, I found this one and I finally got the HA integration to work getting my ClientID and ClientSecret, authorising and intergerating into HA. Well done to the developers.
In HA, I am trying to get my diswasher to start. I can turn on the dishwasher from HA OK. The Controls, Sensors and Diagnostic info updates all OK in HA. However, the Start button is greyed out and pressing it does nothing.
Using the iOS Miele app I can start the diswasher OK.

What I have found is that the start time in HA is “unknown” and this is preventing the start button to be enabled.
If I set a start time in the future in the iOS Miele app, that start time is pushed to HA and the start button in HA now becomes available and starts the dishwasher when I press it. Yay!
So question is, how would I be able to enter a start time and then start the dishwasher in HA? Some sort of code? As I am new to HA I am not experienced in this sort of thing.

Any help or guidance would be greatly appreciated.

Hi there,

I’ve been strolling through all the posts and still not sure if it is possible te turn on my dishwasser using this intergration.

Using Swagger, I’m able to start a selected programm using, for example, ProgramId: 204.

The dishwasher starts on this command aanstaande expected.

Within Home Assistant I have been trying to do the same. By using an automation and “set Program”. (I’m using Dutch for HA, so not sure about the exact English tags).

So far, no luck. I don’t mind struggling through, but reading all the posts, I’m not sure that it is possible right now.

Thanks for all the effort.

Willem-Bram

I’ve been able to do this by using this sequence of actions:

  1. Turn on the dishwasher
  2. Put a delay of 10 secs for dishwasher to be ready after switch on
  3. Set the programId

Here is my code:

  - action: switch.turn_on
    metadata: {}
    data: {}
    target:
      entity_id: switch.miele_g7600_encendido
  - delay:
      hours: 0
      minutes: 0
      seconds: 10
      milliseconds: 0
  - action: miele.set_program
    metadata: {}
    data:
      programId: 204
    target:
      device_id: ce645a7c2654b4df2350f38030b87c8d
1 Like

Thanks for the reply. That did the trick. Thank you for your help.

Yes, that works!

You saved me a lot of time, thanks.

I am a beginner in HA and i just installed my miele integration but it does not recognize any devices and I don’t know where to begin to fix this issue :frowning:

Welcome @razclud
This is a good link to bookmark: The Home Assistant Cookbook - Index
It has a section on troubleshooting at the bottom.

If something doesn’t work, don’t get stuck on it for too long. Just move on and revisit the issue after a few weeks/months. This will help you learn in small increments.

Hi,
very cool - would you share the code?
How do I get the attributes?

Hi,
took me also a while to figure out - check your notifications in HA, there I found a button which allowed me to connect with Miele and enter the necessary data.
Then it worked well.

is it possible to activate mobile start via the HA for dishwasher?

Hi,
I have a dishwasher G7595 and a washtumbler WTW870 in place.
I try to collect energy and water consumption of both.
I created utility meters for daily and monthly use.
Energy collection works on the dishwasher but not on the washtumbler
water collection doesn’t work on any of them.
Actual water consumption is shown on the dishwasher but is not collected
the washtumbler shows the sensors but they are always 0.
does anybody has an idea to solve the problem?
many thanks