Grizzelbee / ioBroker.mielecloudservice

Integrates your MieleCloudService (aka Miele@Home) Devices to ioBroker
MIT License
20 stars 9 forks source link

SignalInfo & SignalFailure aren't populated when device is not connected #164

Closed Magnus8513 closed 3 years ago

Magnus8513 commented 3 years ago

Seit ein paar Tagen bekomme ich ständig folgende Meldung ins Protokoll:

2021-08-11 22:16:36.608 info undefined is not a valid state value for id "mielecloudservice.0.Washing_machines.000118960382.signalInfo"

2021-08-11 22:16:36.525 info undefined is not a valid state value for id "mielecloudservice.0.Washing_machines.000118960382.signalFailure"

Ist das bekannt? Kann ich da selbst was beheben oder ist da ein bug im code?

Grizzelbee commented 3 years ago

SignalInfo & SignalFailure aren't populated when device is not connected . Fix: test for value=undefined in functions and return in that case. Think about writing a warning to the log saying: "Value for signalXXX is missing - maybe your device lost connection."