Comments (6)
Hi @SteffenWilberg I just took a second look at the Miele API but I can't seem to find this ProgramID on this API list. Could you either mail me your .miele token (preferred) or send me/post here the complete output after calling the /devices endpoint from here : https://www.miele.com/developer/swagger-ui/swagger.html#/Information/get_devices I'm open to implement this and add this state as a sensor to Home assistant
from home-assistant-miele.
It‘s mentioned on https://www.miele.com/developer/capabilities.html and
https://www.miele.com/developer/assets/API_V1.x.x_capabilities_by_device.pdf
Here‘s the swagger output:
{
"000103956939": {
"ident": {
"type": {
"key_localized": "Devicetype",
"value_raw": 7,
"value_localized": "Dishwasher"
},
"deviceName": "",
"deviceIdentLabel": {
"fabNumber": "000103956939",
"fabIndex": "63",
"techType": "G6895-W",
"matNumber": "10345070",
"swids": [
"3893",
"20201",
"20124",
"4055",
"20221",
"20181",
"3273"
]
},
"xkmIdentLabel": {
"techType": "EK039W",
"releaseVersion": "02.72"
}
},
"state": {
"ProgramID": {
"value_raw": 28,
"value_localized": "Economy",
"key_localized": "Program Id"
},
"status": {
"value_raw": 3,
"value_localized": "Program selected",
"key_localized": "State"
},
"programType": {
"value_raw": 2,
"value_localized": "Automatic program",
"key_localized": "Program type"
},
"programPhase": {
"value_raw": 1792,
"value_localized": "",
"key_localized": "Phase"
},
"remainingTime": [
3,
35
],
"startTime": [
0,
0
],
"targetTemperature": [
{
"value_raw": -32768,
"value_localized": null,
"unit": "Celsius"
}
],
"temperature": [
{
"value_raw": -32768,
"value_localized": null,
"unit": "Celsius"
},
{
"value_raw": -32768,
"value_localized": null,
"unit": "Celsius"
},
{
"value_raw": -32768,
"value_localized": null,
"unit": "Celsius"
}
],
"signalInfo": true,
"signalFailure": false,
"signalDoor": false,
"remoteEnable": {
"fullRemoteControl": true,
"smartGrid": false,
"mobileStart": false
},
"light": 0,
"elapsedTime": [
0,
0
],
"spinningSpeed": {
"unit": "rpm",
"value_raw": null,
"value_localized": null,
"key_localized": "Spinning Speed"
},
"dryingStep": {
"value_raw": null,
"value_localized": "",
"key_localized": "Drying level"
},
"ventilationStep": {
"value_raw": null,
"value_localized": "",
"key_localized": "Power Level"
},
"plateStep": [],
"ecoFeedback": null,
"batteryLevel": null
}
}
}
from home-assistant-miele.
I think I prefer to put the ProgramID under a status sensor. Instead of it's own programID text sensor. Was there a specific reason you want this to be a seperate sensor?
from home-assistant-miele.
Yes, a separate sensor shows up everywhere in HomeAssistant like History and Logbook, so I can gather which programs run how often, or when a certain program was run for the last time. This seems much more interesting like sensors like the door status, or the failure sensor (which doesn‘t tell you which failure), or the 4 temperature sensors which don‘t display anything for my dishwasher.
from home-assistant-miele.
Allright, than I understand the reason. In that case I'll leave it like this. I'll try to merge it to master before the end of the year :-)! Thanks for your effort!
from home-assistant-miele.
PR is pulled into the main branch
from home-assistant-miele.
Related Issues (20)
- Water consumption and Energy missing HOT 1
- The following integrations and platforms could not be set up: HOT 5
- Cannot add repository - getting error "...is not a valid add-on repository" HOT 1
- Invalid config The following integrations and platforms could not be set up: miele.sensor -> HA 2023.5 Beta HOT 1
- Unable to prepare setup for platform miele.sensor since installation of HA 2023.5 HOT 8
- Authentication fails after update of Homeassistant to 2023.5.0 HOT 2
- Error during setup of component Miele HOT 6
- core update 2023.5.4 HOT 6
- Unexpected exception importing platform custom_components.miele.sensor HOT 1
- Washing machines status is missing HOT 3
- After HA update Miele Integration wan't load
- Error during setup of component miele
- Issues with latest update HA 2023.7.2 HOT 13
- Issues with latest update HA Home Assistant 2023.9.0 HOT 2
- Broken support for PDR508HP / EK037 - Type 4 - semi-professional tumble dryer
- Re-Auth needed often after reboot of HA HOT 5
- No icon for domain - Frontend Warning
- SUPPORT_SET_SPEED was used from miele, this is a deprecated constant which will be removed in HA Core 2025.1
- Deprecation, needs to be fixed before 2024.9
- Adding the integration to HA HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from home-assistant-miele.