That’s sad to hear. No one aware of said functions in the public API?
Then the question if it is possible to start a program from HA. This can be done in swagger, but i cannot find the feature in HA:
devices/xxxxxx/programs
That’s sad to hear. No one aware of said functions in the public API?
Then the question if it is possible to start a program from HA. This can be done in swagger, but i cannot find the feature in HA:
devices/xxxxxx/programs
You can call services to acheive that, either from developer tools or by creating automations. Please see this example: Remote start of washing machine · astrandb/miele · Discussion #259 (github.com)
Thanks for the great integration. I am using this without major issues for my washing machine and dryer. Both devices stopped reporting power on/off status about three days ago. Any idea what might be wrong?
You can see that status, time remaining, etc. are all active, but the switch for power is off.
Hi all , I i get " 500 Internal Server Error Server got itself in trouble" when I try to configure the miele integration forthe first time. I choose to link the account and once i go to the username and passord on the Miele side i get the 500 error.
My configuration.yaml
:
miele:
client_id: 0XXXXX-XXXX-XXXX-a4af-XXXXXXX
client_secret: tdXXXXXXXXXXXXXXXXXXXXaQN00
lang: en
cache_path: <optional. where to store the cached access token>
So my guess is that the clientid works ok on the meile side of things. The problem must be on my side (Hassis side).
I have seen similar cases getting solved by deleting the .miele-token-cache but i cannot find it , my guess is its not there (nor hidden) becasue i never succesfully logged/connected at least once.
Also did the pip3 install requests_oauthlib
correctly (as far as i can see) without errors so not sure what i missed and this is failing…
Any ideas ? thanks all
I’m having a weird issue where the power & water usage for a WXI860 washing machine are always reported at 0L and 0kWh. Power & water usage works great with my G7316 dishwasher.
For the W1 washing machine, I have two sensors (water_forecast and power_forecast) that are reporting a percentage value but I can’t make sense out of it.
*Debug values: *
"state|ecoFeedback|currentWaterConsumption|unit": "l",*
"state|ecoFeedback|currentWaterConsumption|value": 0.0,*
"state|ecoFeedback|currentEnergyConsumption|unit": "kWh",*
"state|ecoFeedback|currentEnergyConsumption|value": 0.0,*
"state|ecoFeedback|waterForecast": 0.4,*
"state|ecoFeedback|energyForecast": 0.6,*
Is this a common issue with W1s or there’s something wrong on my side ?
Miele’s public API* does not correctly report the power and water usage for many devices.
*For my washer-dryer, even their app reports nothing. OTOH, my 6xxx dishwasher reports both power and water usage in the official app, but not in the API (and Miele have stated that they will not support ecoFeedback series 🤷).
Hello, I need some help with the Miele integration. I am getting the following error in the log. Roughly 10 per minute, and it’s filling the logs, making it hard to see other errors.
I have tried removing the integration and created new oauth accounts, but still getting the error. Everything seems to be working fine, so not sure what this message is.
Any help would be appreciated.
WARNING (MainThread) [pymiele.pymiele] Connection was closed, restarting
Logger: pymiele.pymiele
Source: runner.py:179
First occurred: 1:04:23 AM (3053 occurrences)
Last logged: 10:29:39 AMConnection was closed, restarting
Hello,
I’ve been trying to reinstall the Miele integration for hours now - unfortunately without success.
I’ve gotten to the point where I have to enter my login details and then to this picture:
Then comes another warning, which I ignore
and then just this message comes up and that’s it.
Then you only get the message from the browser 404: Not Found
Do you have a tip as to what I’m doing wrong?
Thanks and regards
Dieter
Many thanks for the new Miele HA integration! It has worked great with our washer to report the water and electricity consumption, status etc. A quick question for the community: is there a list of available models for the Miele dishwashers that support reporting water / electricity consumption in the Miele public API (-> in HA via the new integration)? If tou have working models, which ones? It seems that the API doesn’t report these for all models and it would ve kice to get a working one since these cost approx. 2000eur here in Finland.
Thanks!
Unfortunately, we know of no such list
Yeah. Blindfolded shopping… maybe the users that have working devices could share their models?
Good day, I am new to Homeassistant. I managed to integrate the dishwasher. Is it possible to select a program sensor.dishwasher_programm
from the dashboard and start the dishwasher?
Curious. Which model do you have and does it report water / electricity usage back to HA (disabled by default)?
Thanks!
nope… does not show those values. I track the electricity with a shelly, so only water is missing.
Any idea, if I can start a program out of Homeassistant?
the water and power usage only shows the consumption for the active program and resets with a next program. So its not that easy of a value to use practically within home assistant. In the miele app they also have a total consumption but that is not part of the API.
For these values to show up the device needs to report the “ecoFeedback” api part, that is according to the api overview available for Washing machines, tumble dryers, dishwashers and washer/dryers combi machines.
Sorry i´m not able to start a new topic
Is there any problem with the Miele developer services? My integration doesn´t work since a few days and now i´ve seen that miele developer site don´t accept new entries to get service_id and client_id?
best regards
Michael
Not a dishwasher, but the WEG 365 Washing Machine does report water/energy consumption if that helps anyone
@astrandb thanks for this integration. Also really nice to see a company publishing their 3rd party API for use.
I just got an Induction Hob installed yesterday and it has come up very nicely in the integration via auto detection (zeroconf) which was unexpectedly nice, although it doesn’t tell me too much.
I also connected a Shelly 3EM CT to the circuit to show me power/ energy.
Diagnostics
"integration_manifest": {
"domain": "miele",
"name": "Miele",
"codeowners": [
"@astrandb"
],
"config_flow": true,
"dependencies": [
"application_credentials",
"http"
],
"documentation": "https://github.com/astrandb/miele",
"homekit": {},
"integration_type": "hub",
"iot_class": "cloud_push",
"issue_tracker": "https://github.com/astrandb/miele/issues",
"loggers": [
"pymiele"
],
"requirements": [
"flatdict==4.0.1",
"pymiele==0.1.7"
],
"ssdp": [],
"version": "0.1.16",
"zeroconf": [
"_mieleathome._tcp.local."
],
"is_built_in": false
},
"data": {
"info": {
"manufacturer": "Miele",
"model": "KM7897"
},
"data": {
"ident|type|key_localized": "Device type",
"ident|type|value_raw": 27,
"ident|type|value_localized": "Hob",
"ident|deviceName": "",
"ident|protocolVersion": 2,
"ident|deviceIdentLabel|fabNumber": "**REDACTED**",
"ident|deviceIdentLabel|fabIndex": "00",
"ident|deviceIdentLabel|techType": "KM7897",
"ident|deviceIdentLabel|matNumber": "11230270",
"ident|deviceIdentLabel|swids|0": "4889",
"ident|deviceIdentLabel|swids|1": "20446",
"ident|deviceIdentLabel|swids|2": "25122",
"ident|deviceIdentLabel|swids|3": "20447",
"ident|xkmIdentLabel|techType": "EK039W",
"ident|xkmIdentLabel|releaseVersion": "02.72",
"state|ProgramID|value_raw": 0,
"state|ProgramID|value_localized": "",
"state|ProgramID|key_localized": "Program name",
"state|status|value_raw": 1,
"state|status|value_localized": "Off",
"state|status|key_localized": "status",
"state|programType|value_raw": 0,
"state|programType|value_localized": "Program",
"state|programType|key_localized": "Program type",
"state|programPhase|value_raw": 0,
"state|programPhase|value_localized": "",
"state|programPhase|key_localized": "Program phase",
"state|remainingTime|0": 0,
"state|remainingTime|1": 0,
"state|startTime|0": 0,
"state|startTime|1": 0,
"state|targetTemperature|0|value_raw": -32768,
"state|targetTemperature|0|value_localized": null,
"state|targetTemperature|0|unit": "Celsius",
"state|targetTemperature|1|value_raw": -32768,
"state|targetTemperature|1|value_localized": null,
"state|targetTemperature|1|unit": "Celsius",
"state|targetTemperature|2|value_raw": -32768,
"state|targetTemperature|2|value_localized": null,
"state|targetTemperature|2|unit": "Celsius",
"state|coreTargetTemperature|0|value_raw": -32768,
"state|coreTargetTemperature|0|value_localized": null,
"state|coreTargetTemperature|0|unit": "Celsius",
"state|temperature|0|value_raw": -32768,
"state|temperature|0|value_localized": null,
"state|temperature|0|unit": "Celsius",
"state|temperature|1|value_raw": -32768,
"state|temperature|1|value_localized": null,
"state|temperature|1|unit": "Celsius",
"state|temperature|2|value_raw": -32768,
"state|temperature|2|value_localized": null,
"state|temperature|2|unit": "Celsius",
"state|coreTemperature|0|value_raw": -32768,
"state|coreTemperature|0|value_localized": null,
"state|coreTemperature|0|unit": "Celsius",
"state|signalInfo": false,
"state|signalFailure": false,
"state|signalDoor": false,
"state|remoteEnable|fullRemoteControl": true,
"state|remoteEnable|smartGrid": false,
"state|remoteEnable|mobileStart": false,
"state|ambientLight": null,
"state|light": null,
"state|elapsedTime": {},
"state|spinningSpeed|unit": "rpm",
"state|spinningSpeed|value_raw": null,
"state|spinningSpeed|value_localized": null,
"state|spinningSpeed|key_localized": "Spin speed",
"state|dryingStep|value_raw": null,
"state|dryingStep|value_localized": "",
"state|dryingStep|key_localized": "Drying level",
"state|ventilationStep|value_raw": null,
"state|ventilationStep|value_localized": "",
"state|ventilationStep|key_localized": "Fan level",
"state|plateStep": {},
"state|ecoFeedback": null,
"state|batteryLevel": null
},
"actions": {
"processAction": [],
"light": [],
"ambientLight": [],
"startTime": [],
"ventilationStep": [],
"programId": [],
"targetTemperature": [],
"deviceName": true,
"powerOn": false,
"powerOff": false,
"colors": [],
"modes": [],
"runOnTime": []
},
"programs": [],
"id_log": [],
"local_mappings": {}
}
}
Miele is not exposing much useful for the hub #27. See here API_V1.x.x_capabilities_by_device.pdf (miele.com)
plateStep (= the power step for each cooking zone) should be exposed as read only but it is empty in the diagnostic dump above.Was any of the heating zones active when you made the dump?
It is probably an active decision from Miele not to allow remote control from 3:rd party API for this type of device.