Andre0512 / hon

Home Assistant integration for Haier hOn: support for Haier/Candy/Hoover home appliances like washing machines and air conditioners in 28 languages.
MIT License
1.3k stars 2.46k forks source link

hon can't connect #51

Closed tlf5000 closed 1 year ago

tlf5000 commented 1 year ago

The hon login does not work.The application is being connected.Integration is not.

2023-05-16_112337 2023-05-16_112438

Andre0512 commented 1 year ago

Hi, which type of appliances do you have?

tlf5000 commented 1 year ago

Hi,washing machine Candy RO44 1286DWMC4-07

Andre0512 commented 1 year ago

Can you test the latest beta version v0.8.0-beta.3? I made the 'code' optional now and in the case that this isn't the only issue, then some device data should be logged now.

tlf5000 commented 1 year ago

Great!Everything worked out, I got a device without objects.I would like to get his full support .What should I do?

tlf5000 commented 1 year ago

7 objects were found. 2023-05-17_110344 The machine is turned off now. When you click on "Show Device Info" this output:


```Device Info:
data:
  additional_data:
  appliance:
    applianceModelId: 216
    applianceStatus: 1
    applianceTypeName: WM
    attributes:
      acuVersion: 4.B.A
      chipset: ESP32D0WDQ5
      dictionaryId: 117
      lang: it-IT
      uiVersion: 6.A.0
    brand: candy
    eepromId: 95
    eepromName: 45320308
    enrollmentDate: 2020-10-03T07:17:55.434Z
    fwVersion: 5.12.0
    lastUpdate: 2022-03-02T18:31:31Z
    macAddress: xx-xx-xx-xx-xx-xx
    modelName: RO441286DWMC4-07
    nickName: Стиральная машина
    sections:
      ecoDelayStart: True
    topics:
      publish:
      subscribe:
        - $aws/events/presence/disconnected/xx-xx-xx-xx-xx-xx
        - $aws/events/presence/connected/xx-xx-xx-xx-xx-xx
        - haier/things/xx-xx-xx-xx-xx-xx/event/appliancestatus/update
        - haier/things/xx-xx-xx-xx-xx-xx/event/discovery/update
    waterHard: 2
  attributes:
    activity:
    commandHistory:
      command:
        ancillaryParameters:
          disTestOn: 0
          liquidDetergentDose: 2
          powderDetergentDose: 2
          programFamily: [dashboard]
          programType: W+D+S
          remoteActionable: 1
          remoteVisible: 1
          steamType: S
          suggestedLoadW: 3.5
          tempContribution: 1
        applianceOptions:
          opt1: prewash
          opt2: hygiene
          opt3: anticrease
          opt4: goodNight
          opt5: extraRinse1
          opt6: extraRinse2
          opt7: extraRinse3
          opt8: acquaplus
        applianceType: WM
        attributes:
          channel: mobileApp
          origin: standardProgram
        commandName: pauseProgram
        device:
          appVersion: 1.32.4
          deviceModel: exynos7870
          mobileId: f6bc9499a3f6a68b
          mobileOs: android
          osVersion: 29
        macAddress: xx-xx-xx-xx-xx-xx
        parameters:
          pause: 1
        timestamp: 2021-11-28T13:04:38.739Z
        transactionId: xx-xx-xx-xx-xx-xx_2021-11-28T13:04:38.739Z
      timestampAccepted: 2021-11-28T13:04:40.2Z
      timestampExecuted: 2021-11-28T13:04:40.6Z
    lastConnEvent:
      category: DISCONNECTED
      instantTime: 2023-05-16T04:53:26Z
      macAddress: xx-xx-xx-xx-xx-xx
      timestampEvent: 1684212806504
    parameters:
      acquaplus: 0
      anticrease: 0
      apsFreq: 62539
      apsOff: 0
      chartL: 0
      checkUpStatus: 0
      counterMV: 0
      delayTime: 0
      dirtyLevel: 0
      disTestOn: 0
      disTestRes: 0
      dryCotton120: 0
      dryCotton30: 0
      dryCotton60: 0
      dryCotton90: 0
      dryCottonExtra: 0
      dryCottonPA: 0
      dryCottonPS: 0
      dryLevel: 0
      drySynt120: 0
      drySynt30: 0
      drySynt60: 0
      drySynt90: 0
      drySyntExtra: 0
      drySyntPA: 0
      drySyntPS: 0
      dryTime: 0
      error: 00
      extraRinse1: 0
      extraRinse2: 0
      extraRinse3: 0
      fillR: 0
      goodNight: 0
      hygiene: 0
      lang: 16
      machMode: 0
      motS: 0
      nightWashStatus: 0
      ntcD: 7
      ntcW: 201
      numF: 0
      opt9: 0
      prCode: 37
      prCodeFav: 0
      prPhase: 0
      prPosition: 1
      prewash: 0
      program1: 96
      program10: 13
      program11: 173
      program12: 0
      program13: 11
      program14: 185
      program15: 0
      program16: 0
      program17: 0
      program18: 0
      program19: 5
      program2: 187
      program20: 3
      program21: 0
      program3: 8
      program4: 1
      program5: 43
      program6: 27
      program7: 104
      program8: 6
      program9: 21
      recipeId: 0
      remainingTimeMM: 3
      remoteCtrValid: 0
      spinSpeed: 1000
      steamLevel: 0
      t0R: 0
      t0W: 0
      tIW: 0
      temp: 30
      temp0to30: 646
      temp40: 182
      temp60to90: 55
      unbC: 0
      unbF: 0
    resultCode: 0
  statistics:
    drumCleaning:
      count: 883
      percentage: 883
      remaining: -783
      tot: 100
    filterCleaning:
      count: 883
      percentage: 883
      remaining: -783
      tot: 100
    lastCheckup: None
    loadingPercentage:
      - current: None
        date: 2023-05-16T04:07:11Z
        max: None
      - current: None
        date: 2023-05-16T04:07:11.0Z
        max: None
      - current: None
        date: 2023-05-15T16:30:16Z
        max: None
      - current: None
        date: 2023-05-15T16:30:16.5Z
        max: None
      - current: None
        date: 2023-05-14T11:14:43Z
        max: None
    mostUsedPrograms:
      - count: 78
        prCode: 4
        prPosition: 11
        programName: PROGRAMS.WD.SYNTHETIC_AND_COLOURED
        programType: W+D+S
      - count: 55
        prCode: 37
        prPosition: 1
        programName: PROGRAMS.WM_WD.SPECIAL_39
        programType: W+D
      - count: 37
        prCode: 12
        prPosition: 2
        programName: PROGRAMS.WD.MIX_AND_COLOUR_59
        programType: W+D+S
      - count: 33
        prCode: 37
        prPosition: 1
        programName: PROGRAMS.WD.SPECIAL_39
        programType: W+D
      - count: 28
        prCode: 10
        prPosition: 7
        programName: PROGRAMS.WM_WD.RAPID_30_MIN
        programType: W+D
    programsCounter: 455
    resultCode: 0
    temperatureUsage:
      temp0to30: 646
      temp40: 182
      temp60to90: 55
commands:
pyhOnVersion: 0.10.7```
Andre0512 commented 1 year ago

Hey, I tried to fix it, please test v0.8.0-beta.4.

tlf5000 commented 1 year ago

It works, but there are only 7 sensors, there is no control.Thank you very much!