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

Door Signal #20

Open GO74 opened 9 months ago

GO74 commented 9 months ago

Expected Behavior

Door Signal should signal if the door is opened 'ON' or closed 'OFF' or even better -> 'open'/'closed'

Actual Behavior

Door Signal is either 'undef' or 'OFF'

Environment

G7110 - openHAB 4.0.3 - Miele Binding 4.0.3

BjoernLange commented 9 months ago

Hi @GO74, please note that this repository is intended for BETA versions of the openHAB Miele Cloud Binding. As the binding is officially shipped through openHAB please use the issue tracker of the openhab/openhab-addons repository in the future.

Door Signal is either 'undef' or 'OFF'

Where are you seeing this?

or even better -> 'open'/'closed'

The channel door_state is a switch and won't be changed. If you want to display custom values refer to the documentation of the UI you are using.

GO74 commented 9 months ago

door_state is changing, but not as I imagined/expected it to change. I seems as if it's changing from 'UNDEF' when the appliance is powered down, then changes to 'OFF' when powered up and then it changes to 'ON' not when the door is opened manually, but when the appliance opened it itself.

BjoernLange commented 9 months ago

This seems odd. Sometimes the cloud returns weird values for this field, see this paragraph in the documentation.

Please check what the cloud reports for your device, there is a guide on how to do that here. The relevant field is "signalDoor". If this shows the same, incorrect behavior please open an issue with Miele as it is not a binding problem in that case.

Signaling UNDEF when the appliance is turned off is intended, the cloud doesn't provide reasonable values in this state.