# Anyone still using the Miele@home (XGW 3000) binding?

**URL:** <https://community.openhab.org/t/anyone-still-using-the-miele-home-xgw-3000-binding/126975>\
**Category:** Bindings\
**Tags:** miele\
**Created:** [September 28, 2021, 8:44pm UTC](https://community.openhab.org/t/anyone-still-using-the-miele-home-xgw-3000-binding/126975 "2021-09-28T20:44:38Z")\
**Posts on this page:** 20\
**Page:** 2

<div class="post-metadata">

**Author:** ![laursen](https://community.openhab.org/letter_avatar_proxy/v4/letter/l/dfb087/32.png) [@laursen](https://community.openhab.org/u/laursen)\
**Post date:** [November 25, 2022, 11:09am UTC](https://community.openhab.org/t/anyone-still-using-the-miele-home-xgw-3000-binding/126975/21 "2022-11-25T11:09:45Z")

</div>

One more thing to add: When there is `ExtendedDeviceState` available, this should be logged explicitly with **TRACE** level:

```auto
[TRACE] [ternal.handler.MieleApplianceHandler] - Extended device state for miele:fridge:home:fridge: 01[...]

```

In the payload it will look like this:

```json
				{
					"Name": "extendedDeviceState",
					"Value": "\u0001",
					"Polling": 0,
					"Metadata": {
						"Filter": "false",
						"description": "Extended Device State",
						"access": "RE"
					}
				},

```

(truncated after “\u0001” in text above)

---

<div class="post-metadata">

**Author:** ![dk8pn](https://community.openhab.org/user_avatar/community.openhab.org/dk8pn/32/190605_2.png) [@dk8pn](https://community.openhab.org/u/dk8pn)\
**Post date:** [November 25, 2022, 12:30pm UTC](https://community.openhab.org/t/anyone-still-using-the-miele-home-xgw-3000-binding/126975/22 "2022-11-25T12:30:16Z")

</div>

> [@laursen](#):
>
> http:///Rest/Devices//State

Here is the response to the HTTP GET (dryer not running now):

```auto
{"SignalFailure":false,"TargetTemperature":[],"Temperature":[],"SignalInfo":false,"ProgramID":6,"InternalState":0,"RemainingTime":[0,0],"RemoteEnable":[7,0,0],"Status":1,"ProgramPhase":521,"ProgramType":3,"ExtendedState":"","ElapsedTime":[0,0],"SignalDoor":false,"Light":0,"ProcessAction":0,"StartTime":[0,0],"DryingStep":null}

```

Thus, this string contains “ExtendedState”.

Think that i have to repeat this because i have two devices at the gateway:

- One with ID 000178022763 which is a miele cloud device.
- One with ID 000178022763#0 which is the miele@home device.

For a HTTP GET the 000178022763#0 seems to be expected as 000178022763\_0 (???) and provides a different response:

```auto
{"SignalFailure":false,"TargetTemperature":[-32768],"Temperature":[-32768,-32768,-32768],"SignalInfo":false,"ProgramID":40,"InternalState":0,"RemainingTime":[0,0],"RemoteEnable":[15,1,0],"Status":2,"ProgramPhase":512,"ProgramType":0,"ExtendedState":"","SignalDoor":false,"Light":0,"ProcessAction":0,"StartTime":[0,0]}

```

---

<div class="post-metadata">

**Author:** ![laursen](https://community.openhab.org/letter_avatar_proxy/v4/letter/l/dfb087/32.png) [@laursen](https://community.openhab.org/u/laursen)\
**Post date:** [November 25, 2022, 1:19pm UTC](https://community.openhab.org/t/anyone-still-using-the-miele-home-xgw-3000-binding/126975/23 "2022-11-25T13:19:49Z")

</div>

Yes, but empty: `"ExtendedState": ""`

Most likely it’s also empty when running, but you could of course test that. If this is the case, sadly, you are out of luck.

Have you restarted the XGW 3000 gateway since you added the tumble dryer? If not, that could be one last shot.

---

<div class="post-metadata">

**Author:** ![laursen](https://community.openhab.org/letter_avatar_proxy/v4/letter/l/dfb087/32.png) [@laursen](https://community.openhab.org/u/laursen)\
**Post date:** [November 26, 2022, 10:41am UTC](https://community.openhab.org/t/anyone-still-using-the-miele-home-xgw-3000-binding/126975/24 "2022-11-26T10:41:25Z")

</div>

> [@dk8pn](#):
>
> For a HTTP GET the 000178022763#0 seems to be expected as 000178022763\_0 (???) and provides a different response:

Sorry, missed this part. You can see correct uids here: `http://<gateway IP>/Rest/Devices/`

---

<div class="post-metadata">

**Author:** ![dk8pn](https://community.openhab.org/user_avatar/community.openhab.org/dk8pn/32/190605_2.png) [@dk8pn](https://community.openhab.org/u/dk8pn)\
**Post date:** [November 26, 2022, 11:05am UTC](https://community.openhab.org/t/anyone-still-using-the-miele-home-xgw-3000-binding/126975/25 "2022-11-26T11:05:02Z")

</div>

> [@laursen](#):
>
> http:///Rest/Devices/

Thanks for this hint. At the moment the washing machine is running. Here i already have water- and power-consumption working. The HTTP GET string looks like this:

```auto
{"SignalFailure":false,"TargetTemperature":[3000],"Temperature":[],"SignalInfo":false,"ProgramID":3,"InternalState":3,"RemainingTime":[1,17],"RemoteEnable":[15,0,0],"Status":5,"ProgramPhase":260,"ProgramType":0,"SpinningSpeed":1200,"ExtendedState":"000101010B8C04B00102000064642EE0025801C2025801C20000000000000000000000000000000000000000000000000000000200060002FF5800","ElapsedTime":[0,21],"SignalDoor":false,"Light":0,"ProcessAction":0,"StartTime":[0,0]}

```

The data under “ExtendedState” looks complicated. But this job is already done. The dryer will come in the afternoon, and then i will check again.

---

<div class="post-metadata">

**Author:** ![dk8pn](https://community.openhab.org/user_avatar/community.openhab.org/dk8pn/32/190605_2.png) [@dk8pn](https://community.openhab.org/u/dk8pn)\
**Post date:** [November 26, 2022, 12:46pm UTC](https://community.openhab.org/t/anyone-still-using-the-miele-home-xgw-3000-binding/126975/26 "2022-11-26T12:46:13Z")

</div>

The dryer is running now. But using [http://192.168.1.200/Rest/Devices/](http://192.168.1.200/Rest/Devices/) i only get the washing machine (000119707209) which ran earlier and is off now.

```auto
{"000119707209":{"Pairing":false,"href":"000119707209/","Group":"0025DC69B7206847"}}

```

But the tumbledryer data from the binding is present. Am confused now. Do you have any idea why the dryer device is not shown?

Using [http://192.168.1.200/Rest/Devices/000178022763/State](http://192.168.1.200/Rest/Devices/000178022763/State), i get a similar response than yesterday:

```auto
{"SignalFailure":false,"TargetTemperature":[],"Temperature":[],"SignalInfo":false,"ProgramID":3,"InternalState":0,"RemainingTime":[0,29],"RemoteEnable":[15,0,0],"Status":5,"ProgramPhase":514,"ProgramType":3,"ExtendedState":"","ElapsedTime":[0,0],"SignalDoor":false,"Light":0,"ProcessAction":0,"StartTime":[0,0],"DryingStep":4}

```

This is the tumbledryer’s data, can see this from remaining time. But then, having no “Extended State” data, i conclude, that i am out of luck 🤔.

---

<div class="post-metadata">

**Author:** ![laursen](https://community.openhab.org/letter_avatar_proxy/v4/letter/l/dfb087/32.png) [@laursen](https://community.openhab.org/u/laursen)\
**Post date:** [November 27, 2022, 12:46pm UTC](https://community.openhab.org/t/anyone-still-using-the-miele-home-xgw-3000-binding/126975/27 "2022-11-27T12:46:22Z")

</div>

> [@dk8pn](#):
>
> But the tumbledryer data from the binding is present. Am confused now. Do you have any idea why the dryer device is not shown?

Yes, Wi-Fi devices are not included in the list. You can still use the API though, they are just not listed. The UIDs can be fetched using the even older API: [http://192.168.1.200/homebus](http://192.168.1.200/homebus)

---

<div class="post-metadata">

**Author:** ![dk8pn](https://community.openhab.org/user_avatar/community.openhab.org/dk8pn/32/190605_2.png) [@dk8pn](https://community.openhab.org/u/dk8pn)\
**Post date:** [December 1, 2022, 3:46pm UTC](https://community.openhab.org/t/anyone-still-using-the-miele-home-xgw-3000-binding/126975/28 "2022-12-01T15:46:23Z")

</div>

Am probably not completely out of luck 😃

Found a method to retrieve the data through the Miele API:

Adress:

```auto
https://api.mcs3.miele.com/v1/devices/000178022763

```

HTTP GET command (applied the Exec binding for this):

```auto
curl -X 'GET' \
  'https://api.mcs3.miele.com/v1/devices/000178022763?language=de' \
  -H 'accept: application/json; charset=utf-8' \
  -H 'Authorization: Bearer DE_xxxxxxxxxxxxxxxxxxxx'

```

For Windows users (Curl for Windows):

```auto
C:\Curl\bin\curl -i "https://api.mcs3.miele.com/v1/devices/000178022763?language=de" -H "accept: application/json; charset=utf-8" -H "Authorization: Bearer DE_xxxxxxxxxxxxxxxxxxxx"

```

Remember that such commands for the Exec binding have to be added to the exec.whitelist.

Answer:

```auto
{
  "ident": {
    "type": {
      "key_localized": "Device type",
      "value_raw": 2,
      "value_localized": "Tumble dryer"
    },
    "deviceName": "TWH780WP",
    "protocolVersion": 4,
    "deviceIdentLabel": {
      "fabNumber": "000178022763",
      "fabIndex": "40",
      "techType": "TWH780WP",
      "matNumber": "11819590",
      "swids": [
        "5678",
        "25359",
        "25360",
        "20559",
        "25277",
        "5136",
        "20445",
        "25234",
        "4657"
      ]
    },
    "xkmIdentLabel": {
      "techType": "EK057",
      "releaseVersion": "08.10"
    }
  },
  "state": {
    "ProgramID": {
      "value_raw": 2,
      "value_localized": "Cottons",
      "key_localized": "Program name"
    },
    "status": {
      "value_raw": 5,
      "value_localized": "In use",
      "key_localized": "status"
    },
    "programType": {
      "value_raw": 3,
      "value_localized": "Cleaning/Care programme",
      "key_localized": "Program type"
    },
    "programPhase": {
      "value_raw": 514,
      "value_localized": "Drying",
      "key_localized": "Program phase"
    },
    "remainingTime": [
      2,
      7
    ],
    "startTime": [
      0,
      0
    ],
    "targetTemperature": [
      {
        "value_raw": -32768,
        "value_localized": null,
        "unit": "Celsius"
      },
      {
        "value_raw": -32768,
        "value_localized": null,
        "unit": "Celsius"
      },
      {
        "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": false,
    "signalFailure": false,
    "signalDoor": false,
    "remoteEnable": {
      "fullRemoteControl": true,
      "smartGrid": false,
      "mobileStart": false
    },
    "ambientLight": null,
    "light": null,
    "elapsedTime": [
      1,
      9
    ],
    "spinningSpeed": {
      "unit": "rpm",
      "value_raw": null,
      "value_localized": null,
      "key_localized": "Spin speed"
    },
    "dryingStep": {
      "value_raw": 0,
      "value_localized": "Extra dry",
      "key_localized": "Drying level"
    },
    "ventilationStep": {
      "value_raw": null,
      "value_localized": "",
      "key_localized": "Fan level"
    },
    "plateStep": [],
    "ecoFeedback": {
      "currentWaterConsumption": {
        "unit": "l",
        "value": 0
      },
      "currentEnergyConsumption": {
        "unit": "kWh",
        "value": 0.5
      },
      "waterForecast": 0,
      "energyForecast": 0.6
    },
    "batteryLevel": null
  }
}
Response headers
 content-length: 695 

```

Here i see the power consumption. The task is now to extract the value using some transformation code. Will see if i get this done?

---

<div class="post-metadata">

**Author:** ![laursen](https://community.openhab.org/letter_avatar_proxy/v4/letter/l/dfb087/32.png) [@laursen](https://community.openhab.org/u/laursen)\
**Post date:** [December 1, 2022, 4:02pm UTC](https://community.openhab.org/t/anyone-still-using-the-miele-home-xgw-3000-binding/126975/29 "2022-12-01T16:02:08Z")

</div>

In that case the best solution would be to have the Miele Cloud binding support this. I don’t know if @BjoernLange would be interested in adding channels for water/energy consumption? 🙂

---

<div class="post-metadata">

**Author:** ![dk8pn](https://community.openhab.org/user_avatar/community.openhab.org/dk8pn/32/190605_2.png) [@dk8pn](https://community.openhab.org/u/dk8pn)\
**Post date:** [December 2, 2022, 8:17am UTC](https://community.openhab.org/t/anyone-still-using-the-miele-home-xgw-3000-binding/126975/30 "2022-12-02T08:17:35Z")

</div>

Retrieved the power consumption value of the tumble dryer by application of the following JSONPath transformation :

```auto
$.state.ecoFeedback.currentEnergyConsumption.value

```

Coverted the retrieved string to a number in order to calculate power consumption cost.

 ![image](https://community-openhab-org.s3.dualstack.eu-central-1.amazonaws.com/original/3X/4/6/46721a6ff7143a57a1e41cb9becadaa524f65176.png)

@BjoernLange  
Nevertheless, i would also very much appreciate if you could support the “ecoFeedback” data within the Miele cloud binding. Actually i anyway need both Miele bindings, “Miele@home” and “Miele cloud”, to use all interesting parameters. Both bindings have their advantages versus the other one.

---

<div class="post-metadata">

**Author:** ![BjoernLange](https://community.openhab.org/letter_avatar_proxy/v4/letter/b/91b2a8/32.png) [@BjoernLange](https://community.openhab.org/u/BjoernLange)\
**Post date:** [December 5, 2022, 6:55am UTC](https://community.openhab.org/t/anyone-still-using-the-miele-home-xgw-3000-binding/126975/31 "2022-12-05T06:55:30Z")

</div>

Hi @laursen, hi @dk8pn, I will have a look into this over the christmas holidays.

---

<div class="post-metadata">

**Author:** ![dk8pn](https://community.openhab.org/user_avatar/community.openhab.org/dk8pn/32/190605_2.png) [@dk8pn](https://community.openhab.org/u/dk8pn)\
**Post date:** [January 10, 2023, 3:39pm UTC](https://community.openhab.org/t/anyone-still-using-the-miele-home-xgw-3000-binding/126975/32 "2023-01-10T15:39:59Z")

</div>

@laursen and @BjoernLange

My power consumption solution using the Miele server is as reliable as the server itself. The Miele 3rd-party API services seem to be dead since at least 2 weeks now.

The page where i granted the credentials is also not available or dead.

---

<div class="post-metadata">

**Author:** ![BjoernLange](https://community.openhab.org/letter_avatar_proxy/v4/letter/b/91b2a8/32.png) [@BjoernLange](https://community.openhab.org/u/BjoernLange)\
**Post date:** [January 11, 2023, 1:59pm UTC](https://community.openhab.org/t/anyone-still-using-the-miele-home-xgw-3000-binding/126975/33 "2023-01-11T13:59:45Z")

</div>

Hi @dk8pn,

I just tried it out in my test environment and it seems to work. Could there be anything that blocks access to the API URL? I can also access the website for Miele Developer Account registration.

Could you check whether your access token works? I described how to do that [here](https://github.com/BjoernLange/openhab-miele-cloud-binding-beta/blob/master/Query-Cloud-Status.md).

---

<div class="post-metadata">

**Author:** ![violine](https://community.openhab.org/letter_avatar_proxy/v4/letter/v/47e85d/32.png) [@violine](https://community.openhab.org/u/violine)\
**Post date:** [January 11, 2023, 2:10pm UTC](https://community.openhab.org/t/anyone-still-using-the-miele-home-xgw-3000-binding/126975/34 "2023-01-11T14:10:57Z")

</div>

Hi,  
at the beginning of the year I no longer had a connection to the MIELE server.  
My MIELE device was shown as not available in the app.  
At the same time, an update was offered for the app.  
Conclusion: Update performed, washing machine reconnected to the app, washing machine once disconnected/connected from the network.  
After that it worked immediately again.

---

<div class="post-metadata">

**Author:** ![dk8pn](https://community.openhab.org/user_avatar/community.openhab.org/dk8pn/32/190605_2.png) [@dk8pn](https://community.openhab.org/u/dk8pn)\
**Post date:** [January 11, 2023, 2:41pm UTC](https://community.openhab.org/t/anyone-still-using-the-miele-home-xgw-3000-binding/126975/35 "2023-01-11T14:41:46Z")

</div>

Many thanks for this hint.

Recognized that the token in the “Miele@home Account” thing has changed for some reason versus the token which i applied within my CURL Get command. Initially this token has been a copy of the other one and worked for a wile. I only apply this workarround method because the dryer power consumption is not yet available through the “tumble dryer” thing.

It is working out now again.

Edit:  
Maybe that the issue appeared due to a Miele app update. Will observe this for the next time.

---

<div class="post-metadata">

**Author:** ![BjoernLange](https://community.openhab.org/letter_avatar_proxy/v4/letter/b/91b2a8/32.png) [@BjoernLange](https://community.openhab.org/u/BjoernLange)\
**Post date:** [January 17, 2023, 7:54am UTC](https://community.openhab.org/t/anyone-still-using-the-miele-home-xgw-3000-binding/126975/36 "2023-01-17T07:54:38Z")

</div>

Hi @dk8pn, this is no issue with an update by Miele. The token you copied to your CURL command is an OAuth token and these tokens expire after some time. The binding automatically exchanges the token for a new one when this happens. So the problem will occur again on a regular interval.

---

<div class="post-metadata">

**Author:** ![dk8pn](https://community.openhab.org/user_avatar/community.openhab.org/dk8pn/32/190605_2.png) [@dk8pn](https://community.openhab.org/u/dk8pn)\
**Post date:** [January 17, 2023, 3:51pm UTC](https://community.openhab.org/t/anyone-still-using-the-miele-home-xgw-3000-binding/126975/37 "2023-01-17T15:51:42Z")

</div>

Hi Bjoern, thanks for this explanation, understood. Means, that i will have to update my token within the CURL command string and the exec.whitelist manually. Perhaps i can automate this.

---

<div class="post-metadata">

**Author:** ![Oekel](https://community.openhab.org/user_avatar/community.openhab.org/oekel/32/80452_2.png) [@Oekel](https://community.openhab.org/u/Oekel)\
**Post date:** [June 6, 2024, 9:52am UTC](https://community.openhab.org/t/anyone-still-using-the-miele-home-xgw-3000-binding/126975/38 "2024-06-06T09:52:06Z")

</div>

Something general (back to the topic):  
Is the XGW3000 the thing I need to cover an actual WaschingMaschine 2024?

Are there alternatives?  
Does is work offline (without internet)?

---

<div class="post-metadata">

**Author:** ![laursen](https://community.openhab.org/letter_avatar_proxy/v4/letter/l/dfb087/32.png) [@laursen](https://community.openhab.org/u/laursen)\
**Post date:** [June 10, 2024, 8:51am UTC](https://community.openhab.org/t/anyone-still-using-the-miele-home-xgw-3000-binding/126975/39 "2024-06-10T08:51:14Z")

</div>

> [@Oekel](#):
>
> Is the XGW3000 the thing I need to cover an actual WaschingMaschine 2024?

Probably not. It was a Zigbee-based gateway communicating with appliances through communication modules inserted into the appliances. I’m not sure if any new products still have this slot. Miele dropped this and switched to Wi-Fi (built-in in newer appliances) and cloud.

> [@Oekel](#):
>
> Are there alternatives?

Yes, the Miele Cloud binding supports newer devices with Wi-Fi.

> [@Oekel](#):
>
> Does is work offline (without internet)?

The XGW3000 solution does, but not the new solution.

---

<div class="post-metadata">

**Author:** ![Oekel](https://community.openhab.org/user_avatar/community.openhab.org/oekel/32/80452_2.png) [@Oekel](https://community.openhab.org/u/Oekel)\
**Post date:** [June 18, 2024, 2:54pm UTC](https://community.openhab.org/t/anyone-still-using-the-miele-home-xgw-3000-binding/126975/40 "2024-06-18T14:54:53Z")

</div>

Has someone opened such kind of Miele with WLAN?  
I guess if the basic functions available without the WLAN-Module, it could be possible to replace whole module or firmware without any risk! (I would do!)

[Previous page](https://community.openhab.org/t/anyone-still-using-the-miele-home-xgw-3000-binding/126975.md?page=1)

[Next page](https://community.openhab.org/t/anyone-still-using-the-miele-home-xgw-3000-binding/126975.md?page=3)
