home-assistant-HomeWhiz / home-assistant-HomeWhiz

Home Assistant custom component for devices that can connect to HomeWhiz mobile app (Beko, Grundig, Arcelik)
MIT License
82 stars 22 forks source link

Unknown state #185

Open cnecrea opened 4 months ago

cnecrea commented 4 months ago

Hi there,

I've also discovered that my BEKO B5WFU78435WB (7002340002) it has one new task that HomeWhiz doesn't not recognize. Right now the washing machine is "washing" but Home Assistant shows "unknown" task

How can I get the "tasks" from HomeWhiz phone app and see what's wrong?

image
TechHummel commented 4 months ago

Hi 👋, could you share some debug logs? Thanks!

cnecrea commented 4 months ago

Hi there,

Yes, here we go: homewhizz.log

Mikescotland commented 4 months ago

Pretty much something isn't right in my washer_substate too. I've got washer-dryer and old versions of your Addon worked fine (before the breaking change). Version 0.6 randomly was changing washer_substate but mainly stayed in "remove the laundry". The latest version is constantly stuck on "washing finished, remove laundry" while all other options and sensors are flawless. See the screenshot Screenshot_20240125_144822

TechHummel commented 3 months ago

@cnecrea Could you please provide the washing machines' digital ID? You can find it in the Homewhiz app in the device information section.

cnecrea commented 3 months ago

@cnecrea Could you please provide the washing machines' digital ID? You can find it in the Homewhiz app in the device information section.

Yes: F999928451536694788117

Mikescotland commented 3 months ago

F999 9226 1840 7970 4793 37 It works correctly if I unplug the washing machine from the mains and plug it in again. For the following washing then the substate is reported fine, another washing after this fine and then after a day I do another washing and the substate is always "remove laundry". I haven't used the app for a year and I am unable to test if the app reads the same status as.. For some reasons the app doesn't let you see the progress of washing unless you chose "download program". It used to do it before, I'm sure.

PS. I tested with app and downloaded programme. App as well shows "program completed" so I can only assume it's a bug from Beko firmware, not your integration, although if you have time, you can check. Happens after some hours from the initial washing.

TechHummel commented 3 months ago

@cnecrea I decoded all the messages from your logs.

State: None
Substate: None
State: program_wool_handwash
Substate: None
State: program_mix
Substate: None
State: program_mix
Substate: None
State: program_drum_clean
Substate: None
State: program_drum_clean
Substate: washer_substate_program_started
State: program_drum_clean
Substate: washer_substate_program_started
State: program_drum_clean
Substate: washer_substate_washing
State: program_drum_clean
Substate: washer_substate_washing
State: program_drum_clean
Substate: washer_substate_washing
State: program_drum_clean
Substate: washer_substate_prewash
State: program_drum_clean
Substate: washer_substate_prewash
State: program_drum_clean
Substate: washer_substate_prewash
State: program_drum_clean
Substate: washer_substate_prewash
State: program_drum_clean
Substate: None
State: program_drum_clean
Substate: None
State: program_drum_clean
Substate: None
State: program_drum_clean
Substate: None
State: program_drum_clean
Substate: None
State: program_drum_clean
Substate: washer_substate_paused
State: program_delicates
Substate: None
State: program_wool_handwash
Substate: None
State: program_eco_40_60
Substate: None
State: program_cottons
Substate: None
State: None
Substate: None

The only "None" states, which should translate to unknown in Home assistant, are at the beginning and at the end. And those should be, according to the app, washing?