banto6 / haier

海尔智能家居设备接入HomeAssistant
Apache License 2.0
626 stars 125 forks source link

海尔洗衣机的筒门状态不会更新 #72

Closed sasukebinbin closed 9 months ago

sasukebinbin commented 11 months ago

问题描述 海尔洗衣机的筒门状态不会更新 binary_sensor.a0822275c66a_doorstatus

环境信息:

设备信息 若是设备无法识别或控制错误则此项必填

以下信息开启debug模式后可在Device Info部分的日志中找到。日志可在配置 > 系统 > 日志 > 加载完整日志中查看。

deviceType: Washing machine
productCodeT: A0822275C66A
productNameT: 滚筒洗衣机
wifiType:

错误日志

banto6 commented 11 months ago

请开启debug模式后提供一下从服务端获取到的数据日志

sasukebinbin commented 9 months ago

不好意思最近有些忙,没来记得提供日志. 刚刚做了一下,不知道是否正确. 我有在configuration里加上 logger: default: warn logs: custom_components.haier: debug 但是日志里好像没什么变化. 之后我在集成里的haier中开启了调式模式 然后洗衣机打开电源,在HA中尝试切换洗涤模式,此时门是开着的 然后关闭调式模式, 自动下载了附上的日志 麻烦帮忙看下. 因为我有2个洗衣机,为了防止一些问题,所以我是洗衣机A完成后自动开启洗衣机B. 洗衣机B是海尔的.但是有时家人会忘记关门,导致无法自动运行. 感谢 home-assistant_haier_2024-02-06T23-58-53.607Z.log

banto6 commented 9 months ago

请根据issue模版正确提供一下设备信息,我需要拉取该设备型号的配置文件

sasukebinbin commented 9 months ago

请根据issue模版正确提供一下设备信息,我需要拉取该设备型号的配置文件

deviceType: 0500118n
productCodeT: CEAAJ5003
productNameT: EG100MATE8SU1
wifiType: 201c51890c31c308050100218003524200000000000000000000000000000040
sasukebinbin commented 9 months ago

FYI一下完整日志整得到的信息. 应该就是这个doorStatus一直都是false

2024-02-07 07:51:58.649 DEBUG (MainThread) [custom_components.haier.coordinator] Finished fetching Haier Device [A0822275C66A] data in 0.439 seconds (success: True)
2024-02-07 07:51:58.653 DEBUG (MainThread) [custom_components.haier.coordinator] 设备[A0822275C66A]已获取到最新状态数据: {"voiceModuleDataDef": "130", "creaseResistSoakStatus": "false", "haier_DetergentWeight": "1", "runningMode": "2", "doorLockStatus": "false", "detergentPercent": "130", "detergentBPercent": "100", "loosenStatus": "false", "soakWashStatus": "false", "voiceModuleVolume": "0", "strongStatus": "false", "energySavingStatus": "false", "spinSpeed": "800", "clothesRecogStatus": "0", "standbyTimeExtended": "true", "washTemp": "30", "totalElectricityUsed": "73.87", "purifiedWashStatus": "false", "resnStatus": "false", "permanentPressStatus": "false", "inWaterSysDiagResult": "false", "spinSysDiagResult": "false", "nightWashStatus": "false", "intelligenceStatus": "false", "washSpeed": "0", "haier_SoftenerWeight": "1", "remainingDispersantStatus": "0", "weight": "133.00", "highWaterLevelStatus": "false", "dryMode": "10", "clothesInfoMW": "0", "voiceModuleWakeStatus": "false", "totalWaterUsed": "17116", "remainingTimeMM": "7", "voiceStatus": "false", "laundryCycle": "56", "autoDisinfectantStatus": "false", "clothesIdIndex": "0", "clothesRecogResult": "0", "cloudProgSrc": "0", "buzzerDisabled": "false", "shoesAnionStatus": "false", "cloudProgId": "0", "drySysDiagResult": "false", "laundryCycleStatus": "false", "airWashTempLevel": "0", "remainingDetergentStatus": "1", "clothesInfoHW": "0", "dryProgFlag": "false", "childLockStatus": "false", "localProgName2": "1se728+0", "dryType": "0", "localProgName1": "smart_local", "uvSterilizationStatus": "false", "clothesInfoLW": "0", "dryTime": "0", "actualWeight": "0", "remainingTimeHH": "1", "cyclePhase": "0", "forceDelete": "false", "washerDryLevel": "1", "steamWashStatus": "false", "autoSoftenerStatus": "true", "airWashTime": "0", "autoDetergentStatus": "true", "onOffStatus": "true", "currentWashCycle": "62", "remainingMainWashTime": "35", "voiceModuleWakeUp": "false", "antiAllergyStatus": "false", "speedUpStatus": "false", "dirtyLevel": "0", "detergentBStatus": "false", "testCmdReceiveStatus": "false", "currentWaterUsed": "0", "texture": "1", "drainSysDiagResult": "false", "dryCleaningNeeded": "false", "defSetAllowed": "false", "clothesAnionStatus": "false", "remainingRinseTimes": "2", "message": "0", "clothesRecogNum": "0", "currentElectricityUsed": "0.00", "totalWashCycle": "260", "remainingStandbyTime": "480", "voiceModuleOnOffStatus": "true", "doorStatus": "false", "remainingSoftenerStatus": "1", "washSysDiagResult": "false", "buzzerDisabledCurrent": "false", "detergentType": "1", "stainType": "0", "dryStatus": "false", "remoteCtrValid": "false"}
banto6 commented 9 months ago
image image

我看两个关于门的实体目前都是false,海尔智家APP上可以正确显示门状态吗?

sasukebinbin commented 9 months ago

doorlock 应该是开始运行时的上锁状态. 这个是会更新的 doorstatus 才是门的开,关状态. 在app里其实看不到门打开关闭的状态. 但是如果直接点开始洗衣服,会报错. 如图 刚刚看到这个错误,在集成的提示信息里是有的. 如果doorstatus这个本身就不会更新那可能是海尔自身的问题了.

8F7E363C-6182-4FA9-8975-D26F59249BFF_4_5005_c

banto6 commented 9 months ago

如果APP中没有的话那可能是海尔自身的问题,因为我之前测试发现里面不是所有的实体都是正常工作的,可能是当前设备型号没有这个功能

sasukebinbin commented 9 months ago

如果APP中没有的话那可能是海尔自身的问题,因为我之前测试发现里面不是所有的实体都是正常工作的,可能是当前设备型号没有这个功能

好的好的,感谢.