albaintor / homeassistant_electrolux_status

Get the status from your Electrolux Care devices
MIT License
90 stars 22 forks source link

Some values (Pods, Silent, Eco) are not reported after new update from AEG Dryer and Washer #90

Open abdonkov opened 1 month ago

abdonkov commented 1 month ago

I have an AEG Washer and Dryer, and some of the boolean values are reported as Uknown

image Eco and Extra Silent for Dryer

and image Pods for Washer

And from the diagnostics the dryer values are reported as:

{
        "applianceId": "**REDACTED**",
        "applianceData": {
          "applianceName": "Dryer",
          "created": "2023-10-31T20:07:10.458Z",
          "modelName": "TD"
        },
        "properties": {
          "desired": {},
          "reported": {
            // removed for brevity
            "userSelections": {
              "reversePlus": false,
              "tDEconomy_Eco": true,
              "humidityTarget": "CUPBOARD",
              "refresh": false,
              "dryingTime": 0,
              "drynessValue": "MINIMUM",
              "memoryId": 255,
              "programUID": "EXTRA_DELICATE_PR_DELICATES",
              "antiCreaseValue": 30,
              "tDEconomy_Night": false,
              "tDEconomy_Quick": false,
              "steamValue": "STEAM_OFF"
            },
            // removed for brevity
      }

Where the tDEconomy_Eco and tDEconomy_Night should be the Eco and Extra Silent values.

And with the Washer values:

      {
        "applianceId": "**REDACTED**",
        "applianceData": {
          "applianceName": "Washer",
          "created": "2023-10-31T21:50:59.411Z",
          "modelName": "WM"
        },
        "properties": {
          "desired": {},
          "reported": {            
            // removed for brevity
            "userSelections": {
              "EWX1493A_ultraMix": false,
              "adTankASel": "AUTODOSE_OFF",
              "EWX1493A_stain": false,
              "adTankBSel": "AUTODOSE_OFF",
              "EWX1493A_wetMode": true,
              "timeManagerLevel": "NORMAL",
              "EWX1493A_dryMode": false,
              "EWX1493A_preWashPhase": false,
              "analogSpinSpeed": "800_RPM",
              "extraRinseNumber": "NONE",
              "EWX1493A_steamMode": false,
              "EWX1493A_easyIron": false,
              "EWX1493A_rinseHold": false,
              "analogTemperature": "30_CELSIUS",
              "EWX1493A_wmEconomy": false,
              "memoryId": 255,
              "EWX1493A_nightCycle": false,
              "steamValue": "STEAM_OFF",
              "EWX1493A_tcSensor": false,
              "programUID": "DELICATE_PR_DELICATES",
              "EWX1493A_anticreaseNoSteam": false,
              "EWX1493A_anticreaseWSteam": false,
              "EWX1493A_intensive": false,
              "EWX1493A_pod": true
            },
            // removed for brevity
      },

The EWX1493A_pod should be the Pods value.

Edit: It looks like the other values starting with EWX1493A are also unknown (the ones available as some are missing): image

There are possibly other incorrectly reported values, but these are the ones that I have shown in my dashboard and can be easily seen. In the diagnostics there are many with an "Unknown" state, but maybe some of them should be unknown idk.

Nevertheless, here is the diagnostics JSON generated from the integration in Home Assistant. So you can take a look if you need something else to fix these values....

config_entry-electrolux_status-01JAH8EHTVPX83TDBZ27BZFZQE.json

kingy444 commented 4 weeks ago

@abdonkov PR Submitted that should fix this one 🛩️

kingy444 commented 4 weeks ago

@abdonkov can you confirm that the below cyclePersonalization/EWX1493A_wmEconomy actually represents userSelections/EWX1493A_wmEconomy and changes depending based on the cycle you have in place ? If it is we could link the state of the two as below so it doesnt say "Unknown" image image

abdonkov commented 2 weeks ago

Sorry for the late reply, haven't opened GitHub for a while.

Just downloaded the latest version and all the above problems are resolved. Everything from user selections is now shown correctly. You can close the issue if you want.

About the wmEconomy, how do I confirm that exactly.

This is what I see for the state values: image

The user selection state changes when selecting between the programs and is correct when running a program (on or off). So it is the one that represents the eco state. The cycle personalization sensor is always unknown... So I'm not sure if it is supposed to represent something, at least doesn't seem to do for my washer.

Also in the diagnostics config wmEconomy is found under cycleMemory1/EWX1493A_wmEconomy, cycleMemory2/EWX1493A_wmEconomy and cycleMemory3/EWX1493A_wmEconomy and all of these values are false while the userSelections/EWX1493A_wmEconomy is true. All these cycleMemory objects have "programUID": "MACHINE_SETTINGS_HIDDEN_TEST", as a value, so I'm not sure their data is relevant at all.

P.S. BTW Not sure where these cyclePersonalization states come from but all of them are unknown for me: image

In the appliance properties there is no cyclePersonalization so I guess it comes from the cycleMemory, which doesn't seem to show any relevant information, all values look to be the default:

"cycleMemory3": {
              "EWX1493A_ultraMix": false,
              "EWX1493A_stain": false,
              "EWX1493A_wetMode": false,
              "EWX1493A_dryMode": false,
              "EWX1493A_preWashPhase": false,
              "analogSpinSpeed": "DISABLED",
              "EWX1493A_steamMode": false,
              "EWX1493A_easyIron": false,
              "EWX1493A_rinseHold": false,
              "EWX1493A_wmEconomy": false,
              "memoryId": 10,
              "EWX1493A_nightCycle": false,
              "EWX1493A_tcSensor": false,
              "programUID": "MACHINE_SETTINGS_HIDDEN_TEST",
              "EWX1493A_anticreaseNoSteam": false,
              "EWX1493A_anticreaseWSteam": false,
              "EWX1493A_intensive": false,
              "EWX1493A_pod": false,
              "timeManagerLevel": "TIME_MANAGER_HIDDEN"
            },
            "cycleMemory2": {
              "EWX1493A_ultraMix": false,
              "EWX1493A_stain": false,
              "EWX1493A_wetMode": false,
              "EWX1493A_dryMode": false,
              "EWX1493A_preWashPhase": false,
              "analogSpinSpeed": "DISABLED",
              "EWX1493A_steamMode": false,
              "EWX1493A_easyIron": false,
              "EWX1493A_rinseHold": false,
              "EWX1493A_wmEconomy": false,
              "memoryId": 20,
              "EWX1493A_nightCycle": false,
              "EWX1493A_tcSensor": false,
              "programUID": "MACHINE_SETTINGS_HIDDEN_TEST",
              "EWX1493A_anticreaseNoSteam": false,
              "EWX1493A_anticreaseWSteam": false,
              "EWX1493A_intensive": false,
              "EWX1493A_pod": false,
              "timeManagerLevel": "TIME_MANAGER_HIDDEN"
            },
            "cycleMemory1": {
              "EWX1493A_ultraMix": false,
              "EWX1493A_stain": false,
              "EWX1493A_wetMode": false,
              "EWX1493A_dryMode": false,
              "EWX1493A_preWashPhase": false,
              "analogSpinSpeed": "DISABLED",
              "EWX1493A_steamMode": false,
              "EWX1493A_easyIron": false,
              "EWX1493A_rinseHold": false,
              "EWX1493A_wmEconomy": false,
              "memoryId": 30,
              "EWX1493A_nightCycle": false,
              "EWX1493A_tcSensor": false,
              "programUID": "MACHINE_SETTINGS_HIDDEN_TEST",
              "EWX1493A_anticreaseNoSteam": false,
              "EWX1493A_anticreaseWSteam": false,
              "EWX1493A_intensive": false,
              "EWX1493A_pod": false,
              "timeManagerLevel": "TIME_MANAGER_HIDDEN"
            }

Or maybe my washer is missing the relevant functionality for this to work. idk.