BjoernLange / openhab-miele-cloud-binding-beta

Documentation and issue tracker for the public beta of the Miele Cloud Binding for openHAB
Eclipse Public License 2.0
9 stars 0 forks source link

Bug report: Dishwasher - elapsed_time channel is empty #5

Open sirupflex opened 4 years ago

sirupflex commented 4 years ago

Expected Behavior

When I start a program on my dishwasher, I expect to see information regarding the elapsed time and the program temperature.

Actual Behavior

When I start a program on my dishwasher, I do not get any data on the elapsed_time and the temperature_target channels.

Environment

Binding version: v1.0.0-beta.1 openHAB version: 2.5.6 Running on: docker (QNAP Container Station) Involved Miele devices: Dishwasher G7315

Steps to Reproduce

  1. Turn on the dishwasher, start a program (e.g. "Auto", in my case)
  2. Check the data for the channels elapsed_time and temperature_target (no data visible)

Possible Solution

Make the data available as soon as a program gets started

Additional information

none

BjoernLange commented 4 years ago

Thank you for your report!

This issue might be related to the Miele 3rd party cloud service. Please follow the steps that I outlined here for your dishwasher while it is running and post the output of the command.

BjoernLange commented 4 years ago

The temperature_target channel is not filled by the binding although it should be. After further analysis I figured out that the value of the channel is actually set by the binding, but the cloud is not delivering any value (see @sirupflex's next post for the raw json):

"targetTemperature": [
    {
        "value_raw": -32768,   # means: not present
        "value_localized": null,
        "unit":"Celsius"
    }, {
        "value_raw": -32768,
        "value_localized": null,
        "unit": "Celsius"
    }, {
        "value_raw": -32768,
        "value_localized": null,
        "unit": "Celsius"
    }]

I think the problem with the elapsed_time channel has another cause. I split this issue and will continue tracking the problems with elapsed_time here and those with temperature_target in #9.

sirupflex commented 4 years ago

Hi Bjoern, Thanks for your work, find below the output for the elapsed time. If I understand the output correctly then the value is there but is not processed by the binding, I guess.

{"ProgramID":{"value_raw":6,"value_localized":"","key_localized":"Program Id"},"status":{"value_raw":5,"value_localized":"In use","key_localized":"State"},"programType":{"value_raw":0,"value_localized":"Operation mode","key_localized":"Program type"},"programPhase":{"value_raw":1798,"value_localized":"Final Rinse","key_localized":"Phase"},"remainingTime":[0,33],"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":true},"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":[]}