Miele@home, miele@mobile component

I successfully installed the component but i only get very limited information for my dishwasher

image

Any idea why i not get more info? In the App I have much more information like energy consumption or running program or remaining time.

The other information is supplied with separate sensors instead of all onder 1 machine. Please search miele in your entities.

Hi Robin, thanks for you help. I already looked for other sensors, but there are none unfortunately :frowning:

I have the sameissue than you tomas

i was never asked to enter an IP in the process

they ask for an email/passwsord and country…

can you explain a little bit more ?

Thanks

Hello,
Is there any way to have sensors for the twindos system and the number of washes carried out?
Thank you

1 Like

I have no explinaition for it, just tried cuple times and passed.

Hi,

I would be interested and I can offer to test it with my two Miele devices.

I can do some minor scripting but I can not really code, sorry.

/KNEBB

Hello there!
I have the same Problem with the API-login. Since HA-Update 21.11.0 the Miele-Integration had a problem with auth-token. I’ve deleted the token-file (without success), then I deleted and reinstalled the Integration again. Now I should configure the Integration with my login-data. Username and Password are the same like the miele@mobile App but the Account linking is failed.
What means @gigatexel with ‘…set up the component using with external IP-adress…’. I’ve tried it with a dynDNS over the external URL. Many times… without success…
have anyone an idea what I can do?
thanks!

They are under other sensors.
Look in development for entities with names containing geshirrspuler

1 Like

Thanks, i finally found them! Strangly they do not show the right values. E.g. the sensor sensor.geschirrspuler_energy is 0. Any idea what could be wrong?

I think the Miele API is broken at the moment… :roll_eyes:

Is anybody of you still able to login to Miele 3rd party API - API documentation (request client-id/secret by email, login and just to a get Devices)

For me it fails every time when I try to authenticate using oauth.

the standard sensors like miele.geschirrspuler does show the correct states so I suppose the api is not broken.

Yet another breaking change it seems


Entity miele.washing_machine (<class 'custom_components.miele.MieleDevice'>) implements device_state_attributes. Please report it to the custom component author.
Entity sensor.washing_machine_status (<class 'custom_components.miele.sensor.MieleStatusSensor'>) implements device_state_attributes. Please report it to the custom component author.

Hi,
I just followed the github instruction, for the last set as I wrote the code in configuration.yaml. The configuration became invaild and not able to restart.
The error shows “Integration error: miele - Integration ‘miele’ not found.”
What should I do to solve this error?

Thanks

After several hours of trying to login from the integration after configuring the yaml file, I was able to log in.
But in the home Assistant I don’t see anything that has to do with Miele, what could I have been wrong?

I’ve setup the integration and my washing machine shows up in HA. My problem is: I cannot pass the domain “Miele” via Homekit Bridge to my iPhone, as it is not in the list:

When I create an additional bridge manually with only “Miele” included, I do not see any addional devices on my iPhone.

How can I achieve that?

Hello Together

Since a few days I have the problem that the Miele integration no longer runs. Despite uninstalling the Miele Integration, I can no longer get it to run.

Version Home Assistant: 2021.12.10
Miele Version: V0.9.1

``
Logger: homeassistant.setup
Source: custom_components/miele/miele_at_home.py:28
Integration: miele (documentation, issues)
First occurred: 20:57:38 (1 occurrences)
Last logged: 20:57:38

Error during setup of component miele

Traceback (most recent call last): File “/usr/local/lib/python3.9/site-packages/requests_oauthlib/oauth2_session.py”, line 477, in request url, headers, data = self._client.add_token( File “/usr/local/lib/python3.9/site-packages/oauthlib/oauth2/rfc6749/clients/base.py”, line 198, in add_token raise TokenExpiredError() oauthlib.oauth2.rfc6749.errors.TokenExpiredError: (token_expired) During handling of the above exception, another exception occurred: Traceback (most recent call last): File “/usr/src/homeassistant/homeassistant/setup.py”, line 229, in _async_setup_component result = await task File “/config/custom_components/miele/init.py”, line 150, in async_setup data_get_devices = await client.get_devices(lang) File “/config/custom_components/miele/miele_at_home.py”, line 47, in get_devices home_devices = await self._get_devices_raw(lang) File “/config/custom_components/miele/miele_at_home.py”, line 28, in _get_devices_raw devices = await self.hass.async_add_executor_job(func) File “/usr/local/lib/python3.9/concurrent/futures/thread.py”, line 52, in run result = self.fn(*self.args, **self.kwargs) File “/usr/local/lib/python3.9/site-packages/requests/sessions.py”, line 555, in get return self.request(‘GET’, url, **kwargs) File “/usr/local/lib/python3.9/site-packages/requests_oauthlib/oauth2_session.py”, line 496, in request token = self.refresh_token( File “/usr/local/lib/python3.9/site-packages/requests_oauthlib/oauth2_session.py”, line 446, in refresh_token self.token = self._client.parse_request_body_response(r.text, scope=self.scope) File “/usr/local/lib/python3.9/site-packages/oauthlib/oauth2/rfc6749/clients/base.py”, line 429, in parse_request_body_response self.token = parse_token_response(body, scope=scope) File “/usr/local/lib/python3.9/site-packages/oauthlib/oauth2/rfc6749/parameters.py”, line 425, in parse_token_response validate_token_parameters(params) File “/usr/local/lib/python3.9/site-packages/oauthlib/oauth2/rfc6749/parameters.py”, line 432, in validate_token_parameters raise_from_error(params.get(‘error’), params) File “/usr/local/lib/python3.9/site-packages/oauthlib/oauth2/rfc6749/errors.py”, line 402, in raise_from_error raise cls(**kwargs) oauthlib.oauth2.rfc6749.errors.InvalidGrantError: (invalid_grant)
``

Can anyone help me?

Since today I get this:
Miele v.0.91
Home Assistant 2021.12.10 Core (Docker)

Dieser Fehler wurde von einer benutzerdefinierten Integration verursacht

Logger: homeassistant.setup
Source: custom_components/miele/__init__.py:108
Integration: Miele@home (documentation, issues)
First occurred: 17:18:51 (1 occurrences)
Last logged: 17:18:51

Error during setup of component miele
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/setup.py", line 229, 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

Hi there,

Is there any updates for this integration and if it is now working again? I couldnt succeed with the part:

The requests_oauthlib library as part of your HA installation. Please install via pip3 install requests_oauthlib.
For Hassbian you need to install this via :

cd /srv/
sudo chown homeassistant:homeassistant homeassistant
sudo su -s /bin/bash homeassistant
cd /srv/homeassistant
source bin/activate
pip3 install requests_oauthlib

Any guidance or advice would be most welcome! thank you

Hello Together

When I uninstall the Miele application and delete the Miele token cache file and then reinstall Miele the error message comes right back.

I think if I could remove the Miele application completely a reinstallation should work. However, I do not manage to delete everything.

Can someone help me here?

Kind regards from Switzerland