Miele@home, miele@mobile component

Hello !

TL;DR: Update Setup Instructions for “Miele Cloud account linking” to use “External URL” for linking to Miele. For Nabu Case enabled HA instances the Link Account should look like: https://$RANDOMID$.ui.nabu.casa/.

Some background: By default the website "Link to OAuth2 Authorize Callback – My Home Assistant… uses an URL that has an INTERNAL IP address (RFC 1918)). When using the RFC1918 address on my integration attempts, this causes 100% of the time a “website is unavailable… and the integration fails”. When using the external NABU case URL - it works just fine. First attempt :smiley:

Conclusion:
I finally managed to get the Miele custom integration to work - but I think the documentation should be updated a bit more - it has caused me some frustration. While that is said, re-creating the good work done in this add-in would cause me more grey hair.

Hope this makes sense … :slight_smile:

Have a great day and thank you for the great work!

Hi all,

it seems to be that I am too stupid to get this integration implemented. Firt of all there are two different Miele Integrations on the HACS. I tried Miele and it works. But all devices are only in english and not in german. So I tried the “Miele Integration” and configured the configuration.yaml. But nothing happens. No Web UI starts.

Can some one tell me how to get this integrated?

Thx,
Spartacus

Might be worth mentioning on the GitHub to do that

Was anyone able to either run an automation in HA to run Miele machines (supporting smartstart) or run the GitHub - IngmarStein/mielesolar: Trigger Miele SmartStart with SolarEdge inverters project on a pi? I am only getting errors trying to install it, no matter if I use go (go get doesnt work) or docker (says sth like “wrong platform”)…Would really appreciate it!

Trying to register on the Miele API site. I fill out “Home Assistant” as app and my email. When I press register nothing happens. I am not sure if the request is sent or if it’s something wrong with the site. I see here that it takes a day or two to get email sent out. But it would have been nice to have seen a comfirmation of the registration. Tried different browsers and devices but regardless same result.

Do you guys remember if this was the case for you as well or is something wrong?

I think they changed something in the past. I registered there for another project a while ago and I think it was an automated process then, but not sure.
Anyway. the API works. But I still cant get mielesolar to run - the program has been compiled now but I seem to have the syntax wrong, its not giving me any output or only errors…

Is there any way to implement this local without the miele cloud?
Found this one which is 3 years old.

But when i insert

mielehome:
devices:
    - host: 192.168.xxx.xxx
      entity_id: 'xxx'
      group_id: 'xxx'
      group_key: 'xxx'

I get

Integration error: mielehome - Integration ‘mielehome’ not found.
Is the only way using the cloud? :frowning:

AFAIK there is no other way than using the 3rd party API from Miele

It should be possible from what I’ve read on various reverse engineering efforts, but no one has bothered to produce a “production ready” library.

I had the same issue as you, however I sent an email to [email protected]
with the same email that I’d registered with, and they sent me the required authentication information.

Morning all

I got this working with my washing machine, however I’ve just added a drier which appears fine in the Miele app, however I can’t see how to get that imported into home assistant.

Any tips would be appreciated.

Have you tried reloading the integration (or restarting HA completely)?

ugh, I should have thought of doing that before posting.

Restart fixed it.

Heads up for those thinking to update GitHub - astrandb/miele: A modern integration for Miele devices in Home Assistant to version 0.1.5. It is currently not working for me at least. In notifications it says “cannot create/setup miele.sensors platform” (or close to this :slightly_smiling_face: - cleared it already and logs are empty) and all existing miele sensors and switches are in unreachable status. Downgrading to 0.1.4. restored normal operation.

Anyone have issues integrating the energy consumption output from this into their energy dashboard? It’s saying the statistic isn’t defined…

Is there a way to connect to the vacuum cleaner robot Scout RX3?

This is a device that does not require a Miele account. The Android app can access the robot from the Local LAN without using a cloud service.

Hi,
I am running Home Assistant Containerized on Debian on Arm (ARM TV box).

I move to a new machine, or my my token expired. How to I reset everything such that I can logon on again ?

Reply to self - Changed the name of the file where it stores the token, and I can now reconfigure.

Now, next issue, I can’t logon to the API / OAuth site - bad username password. It is correct. I even tried deleting the miele app on my phone (with data) to force re-logon to verify password entered there.

1 Like

I have the same problem :frowning:

Oke, It’s working. I reactivate the code and copied it again. Now it’s working strange… There is no difference in what I copied. Maby you need to copy it to a notepad first to remove some hidden characters.

Thx for the help