simbaja / gehome

Python SDK for GE smart appliances
MIT License
45 stars 31 forks source link

Dishwasher Codes #9

Closed ChevySSinSD closed 3 years ago

ChevySSinSD commented 3 years ago

I have dishwasher model ZDT925SSN2SS What I have found so far:

0x3037 is door status (1=closed, 0=open)

"DISHWASHER SOUND" changes when I update my cycle settings (Presoak, bottle jets, wash temp, dry options, wash zones) so this may be mislabeled

0x3035 might be running / not running (code shows H anything running, including when pump is draining after canceled cycle, K when nothing is running), I will test further

ChevySSinSD commented 3 years ago

Here is the full log from the dishwasher: 2021-06-18 16:46:19,488 DEBUG Setting ErdCode.MODEL_NUMBER to ZDT925SSN2SS 2021-06-18 16:46:19,489 DEBUG Setting ErdCode.SERIAL_NUMBER to SR770636B 2021-06-18 16:46:19,489 DEBUG Setting ErdCode.APPLIANCE_TYPE to ErdApplianceType.DISH_WASHER 2021-06-18 16:46:19,489 DEBUG Setting 0x0099 to b'\x00' 2021-06-18 16:46:19,489 DEBUG Setting ErdCode.WIFI_MODULE_SW_VERSION to 0.0.5.84 2021-06-18 16:46:19,489 DEBUG Setting ErdCode.WIFI_MODULE_SW_VERSION_AVAILABLE to 0.0.0.0 2021-06-18 16:46:19,489 DEBUG Setting ErdCode.ACM_UPDATING to False 2021-06-18 16:46:19,489 DEBUG Setting ErdCode.APPLIANCE_SW_VERSION to 1.0.4.163 2021-06-18 16:46:19,489 DEBUG Setting ErdCode.APPLIANCE_SW_VERSION_AVAILABLE to 0.0.0.0 2021-06-18 16:46:19,489 DEBUG Setting ErdCode.APPLIANCE_UPDATING to False 2021-06-18 16:46:19,489 DEBUG raw operating mode value: ErdOperatingMode.LOW_POWER 2021-06-18 16:46:19,490 DEBUG Setting ErdCode.DISHWASHER_OPERATING_MODE to OperatingMode.STATUS_DASH 2021-06-18 16:46:19,490 DEBUG raw operating mode value: ErdOperatingMode.LOW_POWER 2021-06-18 16:46:19,490 DEBUG raw rinse agent value: ErdRinseAgentRaw.RINSE_AGENT_LOW2 2021-06-18 16:46:19,490 DEBUG Setting ErdCode.DISHWASHER_RINSE_AGENT to ErdRinseAgent.RINSE_AGENT_LOW 2021-06-18 16:46:19,490 DEBUG raw rinse agent value: ErdRinseAgentRaw.RINSE_AGENT_LOW2 2021-06-18 16:46:19,490 DEBUG Setting ErdCode.DISHWASHER_SOUND to 33804 2021-06-18 16:46:19,490 DEBUG Setting 0x3009 to b'\x00\x0b\x00\x08\x00\x01' 2021-06-18 16:46:19,490 DEBUG raw cycle state value: ErdCycleStateRaw.STATE_17 2021-06-18 16:46:19,490 DEBUG Setting ErdCode.DISHWASHER_CYCLE_STATE to ErdCycleState.NA 2021-06-18 16:46:19,490 DEBUG raw cycle state value: ErdCycleStateRaw.STATE_17 2021-06-18 16:46:19,490 DEBUG Setting ErdCode.DISHWASHER_CYCLE_NAME to Rinse Rinse
2021-06-18 16:46:19,491 DEBUG Setting 0x301D to b'\x00' 2021-06-18 16:46:19,491 DEBUG Setting ErdCode.DISHWASHER_PODS_REMAINING_VALUE to 0 2021-06-18 16:46:19,491 DEBUG Setting 0x3035 to b'K' 2021-06-18 16:46:19,491 DEBUG Setting 0x3037 to b'\x01' 2021-06-18 16:46:19,492 DEBUG Setting 0x3045 to b'\x00' 2021-06-18 16:46:19,493 DEBUG Setting 0x304E to b'\x01' 2021-06-18 16:46:19,493 DEBUG Setting 0x3100 to b'\x00P' 2021-06-18 16:46:19,493 DEBUG Setting 0xD003 to b'\x00' 2021-06-18 16:46:19,493 DEBUG Setting ErdCode.DISHWASHER_TIME_REMAINING to 0:16:00 2021-06-18 16:46:19,493 DEBUG Got initial appliance type for GeAppliance(D828C92BD0D1) (ErdApplianceType.DISH_WASHER)

simbaja commented 3 years ago

I've added the door status and fixed the sound (it's really user settings, sound settings is one of them). I've also added the unknown codes just so we can track that we've seen them, but I don't see any reference to them in the official app, so not sure what they are yet.

ChevySSinSD commented 3 years ago

Here are the latest results from most recent pull. I'll send more details on the user settings later today: 2021-06-20 08:23:49,355 DEBUG Setting ErdCode.MODEL_NUMBER to ZDT925SSN2SS 2021-06-20 08:23:49,355 DEBUG Setting ErdCode.SERIAL_NUMBER to SR770636B 2021-06-20 08:23:49,356 DEBUG Setting ErdCode.APPLIANCE_TYPE to ErdApplianceType.DISH_WASHER 2021-06-20 08:23:49,356 DEBUG Setting ErdCode.UNKNOWN_0099 to b'\x00' 2021-06-20 08:23:49,356 DEBUG Setting ErdCode.WIFI_MODULE_SW_VERSION to 0.0.5.84 2021-06-20 08:23:49,357 DEBUG Setting ErdCode.WIFI_MODULE_SW_VERSION_AVAILABLE to 0.0.0.0 2021-06-20 08:23:49,357 DEBUG Setting ErdCode.ACM_UPDATING to False 2021-06-20 08:23:49,357 DEBUG Setting ErdCode.APPLIANCE_SW_VERSION to 1.0.4.163 2021-06-20 08:23:49,358 DEBUG Setting ErdCode.APPLIANCE_SW_VERSION_AVAILABLE to 0.0.0.0 2021-06-20 08:23:49,358 DEBUG Setting ErdCode.APPLIANCE_UPDATING to False 2021-06-20 08:23:49,358 DEBUG raw operating mode value: ErdOperatingMode.CYCLE_ACTIVE 2021-06-20 08:23:49,358 DEBUG Setting ErdCode.DISHWASHER_OPERATING_MODE to OperatingMode.STATUS_CYCLE_ACTIVE 2021-06-20 08:23:49,358 DEBUG raw operating mode value: ErdOperatingMode.CYCLE_ACTIVE 2021-06-20 08:23:49,358 DEBUG raw rinse agent value: ErdRinseAgentRaw.RINSE_AGENT_LOW2 2021-06-20 08:23:49,359 DEBUG Setting ErdCode.DISHWASHER_RINSE_AGENT to ErdRinseAgent.RINSE_AGENT_LOW 2021-06-20 08:23:49,359 DEBUG raw rinse agent value: ErdRinseAgentRaw.RINSE_AGENT_LOW2 2021-06-20 08:23:49,359 DEBUG Setting ErdCode.DISHWASHER_USER_SETTING to ErdUserSetting(sound=<UserSetting.DISABLE: 0>, lock_control=<UserSetting.DISABLE: 0>, sabbath=<UserSetting.DISABLE: 0>, raw_value='008400') 2021-06-20 08:23:49,359 DEBUG Setting ErdCode.DISHWASHER_UNKNOWN_3009 to b'\x00\r\x00\t\x00\x01' 2021-06-20 08:23:49,359 DEBUG raw cycle state value: ErdCycleStateRaw.MAIN_WASH 2021-06-20 08:23:49,360 DEBUG Setting ErdCode.DISHWASHER_CYCLE_STATE to ErdCycleState.MAIN_WASH 2021-06-20 08:23:49,360 DEBUG raw cycle state value: ErdCycleStateRaw.MAIN_WASH 2021-06-20 08:23:49,360 DEBUG Setting ErdCode.DISHWASHER_CYCLE_NAME to Auto Wash Auto Wash 2021-06-20 08:23:49,360 DEBUG Setting ErdCode.DISHWASHER_UNKNOWN_301d to b'\x00' 2021-06-20 08:23:49,360 DEBUG Setting ErdCode.DISHWASHER_PODS_REMAINING_VALUE to 5 2021-06-20 08:23:49,360 DEBUG Setting ErdCode.DISHWASHER_UNKNOWN_3035 to b'|' 2021-06-20 08:23:49,361 DEBUG Setting ErdCode.DISHWASHER_DOOR_STATUS to ErdDishwasherDoorStatus.CLOSED 2021-06-20 08:23:49,361 DEBUG Setting ErdCode.DISHWASHER_UNKNOWN_3045 to b'U' 2021-06-20 08:23:49,361 DEBUG Setting ErdCode.DISHWASHER_UNKNOWN_304E to b'\x01' 2021-06-20 08:23:49,361 DEBUG Setting ErdCode.DISHWASHER_UNKNOWN_3100 to b'\x00P' 2021-06-20 08:23:49,361 DEBUG Setting ErdCode.DISHWASHER_UNKNOWN_D003 to b'\x00' 2021-06-20 08:23:49,361 DEBUG Setting ErdCode.DISHWASHER_TIME_REMAINING to 1:26:00 2021-06-20 08:23:49,362 DEBUG Got initial appliance type for GeAppliance(D828C92BD0D1) (ErdApplianceType.DISH_WASHER)

ChevySSinSD commented 3 years ago

Just pulled the latest. More values on user settings: I do not have sabbath mode or sound controls on my model. Lock controls working properly.

Cycle=Auto Wash: raw value = 008000 Cycle=Intense: raw value = 008002 Cycle=Normal: raw value = 008004 Cycle=Delicate: raw value = 008006 Cycle=30 minutes: raw value = 008008 Cycle=Eco: raw value = 00800A Cycle=Rinse: raw value = 00800C

Presoak=off: raw value = 008000 Presoak=on: raw value = 008100

Bottle Jets=off: raw value = 008000 Bottle Jets=on: raw value = 008001

Wash Temp=Normal Temp: raw value = 008000 Wash Temp=Boost Temp: raw value = 009000 Wash Temp=Stanitize Temp: raw value = 00A000

Dry Options=Off: raw value = 008000 Dry Options=Power Dry: raw value = 008400 Dry Options=Max Dry: raw value = 008800

Wash Zones=Both: raw value = 008000 Wash Zones=Lower: raw value = 108000 Wash Zones=Upper: raw value = 208000

simbaja commented 3 years ago

Sorry for the delay, been crazy at work. These codes are a part of the users setting erd (0x3007), or some other erd? I didn't see this stuff in the code, but might have missed it somewhere.

ChevySSinSD commented 3 years ago

Yes, these are the values I see for ErdCode.DISHWASHER_USER_SETTING

simbaja commented 3 years ago

Give the latest a shot, I think I got these in. I also found the delay setting in there too and added it too.

ChevySSinSD commented 3 years ago

Thank you so much, it all works, including the delay time!