Miele@home, miele@mobile component

I have the integration working and I can read all the stats and info from my dishwashing but I am now trying to start it from an automation in NodeRed. I have put the dishwasher into remote mode and it starts from the miele@home app, but I can’t get it to start from home assistant / NodeRed with service call.

Has anybody had ayn success with this or any idea of what I may be doing wrong? I have attached my call service node.

Cheers for all the work on the integration!

Please try to kick off the action from within the homeassistant developer tools. (services tabs) I recently did fix an issue with the actions so possibly it is already solved.

On another note Miele claims a lot of actions are available. But when you do Get action from their API there are very minimal actions available (for my diswasher only change name and turn off, while the app allows everything). The miele API can be checked here : https://www.miele.com/developer/swagger-ui/swagger.html

This should be solved in the future. The automatic token refresh should work now. If it does not please let me know (for me it did)

It should be able to refresh the token automatically now, I pushed an update some weeks ago :slight_smile: If it doesn’t please let me know on github https://github.com/HomeAssistant-Mods/home-assistant-miele if it does still happen the token is probably refreshed after it’s expired. I can than just change the refreshing timing and try to refresh it one day in advance.

Did you check that the state was 4 - waiting for start. See conditions here. https://www.miele.com/developer/swagger-ui/put_additional_info.html

The only way I have managed to get my dishwasher to start using processAction: 1 was to manually select the programme and then set it with the timer. Then use processAction:1 say when electricity prices are low.

There must be other commands to set the programme since with the miele app its possible to set the program and select the start time, but try as I might I have not been able to find them.

haven’t had the issue since last time, so i think it is resolved

the public Miele API is missing a lot of functionality compared to the Miele app, unfortunately :frowning:

This is really awesome!!
I have a Dishwasher, Tumble dryer, Washing machine and a Microwave combination oven and so far they appear to work great.

Anyone else having trouble linking the account? Tried logging on both through HA and https://www.miele.com/developer/swagger-ui/swagger.html with different browsers. No success.
I get this error message: “miele.com
Kontoverknüpfung fehlgeschlagen!
Bitte überprüfen Sie ihre Zugangsdaten.
Nach 5 Sekunden werden Sie automatisch zurück zum Login weitergeleitet.”
Which means account linking failed.

2 Likes

Yep, I have the same faillure.
Last weekend I wanted to reconnect our Miele Account again but got the same message all the time.

Today I recieved a message in the Miele app:

(translated from dutch)
"we will be performing maintenance on the server shortly. As a result, some functions of the app can be used to a limited extent.

From 2/16/2021 7:00 AM
until 02/16/2021 10:00 AM"

Maybe it will work again after that?
I will give it a try at the end of the week.

André

1 Like

Today I tried same thing with my washing machine.

Only way to get it to start, is by setting a start-time in the future and then starting it from the API.

Hi,

just got it up and running - I really like the ease of it. Is there any view on when we see the sensors being extended? The app does show things like water and power consumption, but I guess the API does not offer them (yet?).

Thanks a lot.

Same problem for me!

Hi,

I’m trying to use miele.action, but without success.
For example I tried to call this action
{
‘entity_id’: ‘miele.washing_machine’,
‘body’: { ‘powerOn’: true }
}

that works from miele site (https://www.miele.com/developer/swagger-ui/swagger.htm).

I see only this log message

2021-02-23 22:14:14 DEBUG (MainThread) [homeassistant.components.websocket_api.http.connection] [2756973256] Received {'type': 'call_service', 'domain': 'miele', 'service': 'action', 'service_data': {'entity_id': 'miele.washing_machine', 'body': {'powerOn': True}}, 'id': 28}
2021-02-23 22:14:14 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event call_service[L]: domain=miele, service=action, service_data=entity_id=miele.washing_machine, body=powerOn=True>

How I can use miele.action?

Thanks
Luca

You are correct, the public Miele API does unfortunately not offer this yet :frowning:

Your washing machine probably does not support to power on… You can try it from the Miele swagger API from here: https://www.miele.com/developer/swagger-ui/swagger.html

I would suggest to call the following action : ​/devices​/{deviceId}​/actions

If there It says it support remote PoweOn you can try it from the API directly. If it does work feel more than welcome to post an issue over at Github : https://github.com/HomeAssistant-Mods/home-assistant-miele

More people seemed to have this issue. unfortunately it seems to be on Miele’s side. For some users it helped to refresh their clientId and Secret. After that it worked again.

Is there any plan to make this an “official” HA Integration? Would be great for “non-technical” users like me to have a simple solution to use. I have a Miele Washing Machine at home.

Thank you for your consideration.

Unfortunately this is not on my roadmap. Also this would only make the installation only a small bit easier. You will still need to request a clientID and secret at miele and set-up your configuration. You only wouldn’t need to install HACS.

What part of the process exactly makes it to hard to install for you? Possibly I can make some improvements on that than :-)! Or is it because of HACS?

1 Like

I started up on the Miele component but it keeps generating this error. Can anybody help?

Error during setup of component miele
Traceback (most recent call last):
File “/usr/src/homeassistant/homeassistant/setup.py”, line 213, in _async_setup_component
result = await task
File “/config/custom_components/miele/init.py”, line 111, in async_setup
callback_url = ‘{}{}’.format(hass.config.api.base_url, AUTH_CALLBACK_PATH)
AttributeError: ‘ApiConfig’ object has no attribute ‘base_url’