We need more info to look into this. Please raise an issue on Issues · astrandb/miele · GitHub, fill in version info and add relevant parts from logs so we can see what is happening in your installation .
Just have a weird thing (I guess?). I’m trying to install the integration, I’m getting the integrations in the app, got the message to link my Miele account, all works, but I’m not getting the integration vissible. I edited my configuration.yaml, but it’s not showing up. Did a few reboots, but still no gain.
What am I doing wrong?
You have added the Miele integration via HACS (the integration from astrandb I hope and not the one from the initial post in this thread)?
Then you added the integration like any other via the UI and linked it with your Miele developer account?
There’s no need to do anything in the configuration.yaml.
Sorry, missed that you answered! I think I did get the wrong one, I’ll just delete the current integration and try again :-). Thanks for the heads up!
/edit removed as good as I think I can, but after installing the correct one I want to link the account, but I’m getting an error message on the miele page, so I think I need to delete something, any idea?
I am looking for a freezer whose target temperature can be set dynamically via Home Assistant. I understand that Miele@home connected freezers can be used to read things like open door or current temperature, but can I also set the target temperature?
The idea is to set a lower temperature than usual if electricity is available from the roof, or when dynamic Tibber prices are low, so that it will use less or no power if electricity is scarce (e.g. in the evenings) so that fossile power plants are running.
Edit: Just found this post: Miele@home, miele@mobile component - #629 by astrandb, which seems to confirm this. Thanks, @astrandb!
I experimented with this in the past using a temperature sensor and smart plug. My conclusion was that it saves very very little.
Example:
A category F freezer uses 222kWh per year.
This is €66 per year with an average energy prices of €0,30.
Let’s say energy prices fluctuate between €0.20 and €0.40 on a daily basis with an even distribution. In reality, it will be a curved distribution with a wider range, but I think the example is reasonable to get an idea of the effect.
Let’s be optimistic and assume the freezer can operate with the lowest 50% of the energy prices (below €0.30). The average of the lowest 50% is €0.25. This results in a yearly energy cost of €55.
In comparison, a category E freezer uses 168 kWh per year and costs €51.
Conclusion:
Adjusting the temperature will most likely not result in shifting the energy use to the lowest 50%. In my experiments, I turned off the freezer completely during the most expensive hours. The energy cost savings were barely noticable. Spending your money on an insanely efficient freezer is the best investment.
Thanks, @AJediIAm. But actually I am less interested in saving money than in making it more climate-friendly. And I love experimenting and testing out what is achievable.
Also, price differences during a day here can be around 30 ct/kWh between almost free solar electrity from my roof and expensive evening hours.
I also have to disagree to “Spending your money on an insanely efficient freezer is the best investment.” This used to be the case in earlier times, but not anymore. The freezer I have now chosen uses 200 kWh/yr and is rated (EU system) as class D. If I look for a comparable freezer with class C (the best class currently available) from the same manufacturer, I pay at least 450 € more, and that saves just 33 kWh/a, which is less than 10 Euros. That’ll be more than 50 years until you have saved enough to have your investment paid back. Others are even more energy efficient, but then also even more expensive.
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?
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.
Any chance of a local HA integration for Miele? I really try to avoid any cloud dependent integrations, whenever possible.
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?
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.
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:
- Turn on the dishwasher
- Put a delay of 10 secs for dishwasher to be ready after switch on
- 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
Thanks for the reply. That did the trick. Thank you for your help.