roborock.data.zeo.zeo_code_mappings

  1from ..code_mappings import RoborockEnum
  2
  3
  4class ZeoMode(RoborockEnum):
  5    wash = 1
  6    wash_and_dry = 2
  7    dry = 3
  8
  9
 10class ZeoState(RoborockEnum):
 11    standby = 1
 12    weighing = 2
 13    soaking = 3
 14    washing = 4
 15    rinsing = 5
 16    spinning = 6
 17    drying = 7
 18    cooling = 8
 19    under_delay_start = 9
 20    done = 10
 21    aftercare = 12
 22    waiting_for_aftercare = 13
 23
 24
 25class ZeoProgram(RoborockEnum):
 26    standard = 1
 27    quick = 2
 28    sanitize = 3
 29    wool = 4
 30    air_refresh = 5
 31    custom = 6
 32    bedding = 7
 33    down = 8
 34    silk = 9
 35    rinse_and_spin = 10
 36    spin = 11
 37    down_clean = 12
 38    baby_care = 13
 39    anti_allergen = 14
 40    sportswear = 15
 41    night = 16
 42    new_clothes = 17
 43    shirts = 18
 44    synthetics = 19
 45    underwear = 20
 46    gentle = 21
 47    intensive = 22
 48    cotton_linen = 23
 49    season = 24
 50    warming = 25
 51    bra = 26
 52    panties = 27
 53    boiling_wash = 28
 54    socks = 30
 55    towels = 31
 56    anti_mite = 32
 57    exo_40_60 = 33
 58    twenty_c = 34
 59    t_shirts = 35
 60    stain_removal = 36
 61
 62
 63class ZeoSoak(RoborockEnum):
 64    normal = 0
 65    low = 1
 66    medium = 2
 67    high = 3
 68    max = 4
 69
 70
 71class ZeoTemperature(RoborockEnum):
 72    normal = 1
 73    low = 2
 74    medium = 3
 75    high = 4
 76    max = 5
 77    twenty_c = 6
 78
 79
 80class ZeoRinse(RoborockEnum):
 81    none = 0
 82    min = 1
 83    low = 2
 84    mid = 3
 85    high = 4
 86    max = 5
 87
 88
 89class ZeoSpin(RoborockEnum):
 90    none = 1
 91    very_low = 2
 92    low = 3
 93    mid = 4
 94    high = 5
 95    very_high = 6
 96    max = 7
 97
 98
 99class ZeoDryingMode(RoborockEnum):
100    none = 0
101    quick = 1
102    iron = 2
103    store = 3
104
105
106class ZeoDetergentType(RoborockEnum):
107    empty = 0
108    low = 1
109    medium = 2
110    high = 3
111
112
113class ZeoSoftenerType(RoborockEnum):
114    empty = 0
115    low = 1
116    medium = 2
117    high = 3
118
119
120class ZeoError(RoborockEnum):
121    none = 0
122    refill_error = 1
123    drain_error = 2
124    door_lock_error = 3
125    water_level_error = 4
126    inverter_error = 5
127    heating_error = 6
128    temperature_error = 7
129    communication_error = 10
130    drying_error = 11
131    drying_error_e_12 = 12
132    drying_error_e_13 = 13
133    drying_error_e_14 = 14
134    drying_error_e_15 = 15
135    drying_error_e_16 = 16
136    drying_error_water_flow = 17  # Check for normal water flow
137    drying_error_restart = 18  # Restart the washer and try again
138    spin_error = 19  # re-arrange clothes
class ZeoMode(roborock.data.code_mappings.RoborockEnum):
5class ZeoMode(RoborockEnum):
6    wash = 1
7    wash_and_dry = 2
8    dry = 3

Roborock Enum for codes with int values

wash = <ZeoMode.wash: 1>
wash_and_dry = <ZeoMode.wash_and_dry: 2>
dry = <ZeoMode.dry: 3>
class ZeoState(roborock.data.code_mappings.RoborockEnum):
11class ZeoState(RoborockEnum):
12    standby = 1
13    weighing = 2
14    soaking = 3
15    washing = 4
16    rinsing = 5
17    spinning = 6
18    drying = 7
19    cooling = 8
20    under_delay_start = 9
21    done = 10
22    aftercare = 12
23    waiting_for_aftercare = 13

Roborock Enum for codes with int values

standby = <ZeoState.standby: 1>
weighing = <ZeoState.weighing: 2>
soaking = <ZeoState.soaking: 3>
washing = <ZeoState.washing: 4>
rinsing = <ZeoState.rinsing: 5>
spinning = <ZeoState.spinning: 6>
drying = <ZeoState.drying: 7>
cooling = <ZeoState.cooling: 8>
under_delay_start = <ZeoState.under_delay_start: 9>
done = <ZeoState.done: 10>
aftercare = <ZeoState.aftercare: 12>
waiting_for_aftercare = <ZeoState.waiting_for_aftercare: 13>
class ZeoProgram(roborock.data.code_mappings.RoborockEnum):
26class ZeoProgram(RoborockEnum):
27    standard = 1
28    quick = 2
29    sanitize = 3
30    wool = 4
31    air_refresh = 5
32    custom = 6
33    bedding = 7
34    down = 8
35    silk = 9
36    rinse_and_spin = 10
37    spin = 11
38    down_clean = 12
39    baby_care = 13
40    anti_allergen = 14
41    sportswear = 15
42    night = 16
43    new_clothes = 17
44    shirts = 18
45    synthetics = 19
46    underwear = 20
47    gentle = 21
48    intensive = 22
49    cotton_linen = 23
50    season = 24
51    warming = 25
52    bra = 26
53    panties = 27
54    boiling_wash = 28
55    socks = 30
56    towels = 31
57    anti_mite = 32
58    exo_40_60 = 33
59    twenty_c = 34
60    t_shirts = 35
61    stain_removal = 36

Roborock Enum for codes with int values

standard = <ZeoProgram.standard: 1>
quick = <ZeoProgram.quick: 2>
sanitize = <ZeoProgram.sanitize: 3>
wool = <ZeoProgram.wool: 4>
air_refresh = <ZeoProgram.air_refresh: 5>
custom = <ZeoProgram.custom: 6>
bedding = <ZeoProgram.bedding: 7>
down = <ZeoProgram.down: 8>
silk = <ZeoProgram.silk: 9>
rinse_and_spin = <ZeoProgram.rinse_and_spin: 10>
spin = <ZeoProgram.spin: 11>
down_clean = <ZeoProgram.down_clean: 12>
baby_care = <ZeoProgram.baby_care: 13>
anti_allergen = <ZeoProgram.anti_allergen: 14>
sportswear = <ZeoProgram.sportswear: 15>
night = <ZeoProgram.night: 16>
new_clothes = <ZeoProgram.new_clothes: 17>
shirts = <ZeoProgram.shirts: 18>
synthetics = <ZeoProgram.synthetics: 19>
underwear = <ZeoProgram.underwear: 20>
gentle = <ZeoProgram.gentle: 21>
intensive = <ZeoProgram.intensive: 22>
cotton_linen = <ZeoProgram.cotton_linen: 23>
season = <ZeoProgram.season: 24>
warming = <ZeoProgram.warming: 25>
bra = <ZeoProgram.bra: 26>
panties = <ZeoProgram.panties: 27>
boiling_wash = <ZeoProgram.boiling_wash: 28>
socks = <ZeoProgram.socks: 30>
towels = <ZeoProgram.towels: 31>
anti_mite = <ZeoProgram.anti_mite: 32>
exo_40_60 = <ZeoProgram.exo_40_60: 33>
twenty_c = <ZeoProgram.twenty_c: 34>
t_shirts = <ZeoProgram.t_shirts: 35>
stain_removal = <ZeoProgram.stain_removal: 36>
class ZeoSoak(roborock.data.code_mappings.RoborockEnum):
64class ZeoSoak(RoborockEnum):
65    normal = 0
66    low = 1
67    medium = 2
68    high = 3
69    max = 4

Roborock Enum for codes with int values

normal = <ZeoSoak.normal: 0>
low = <ZeoSoak.low: 1>
medium = <ZeoSoak.medium: 2>
high = <ZeoSoak.high: 3>
max = <ZeoSoak.max: 4>
class ZeoTemperature(roborock.data.code_mappings.RoborockEnum):
72class ZeoTemperature(RoborockEnum):
73    normal = 1
74    low = 2
75    medium = 3
76    high = 4
77    max = 5
78    twenty_c = 6

Roborock Enum for codes with int values

normal = <ZeoTemperature.normal: 1>
low = <ZeoTemperature.low: 2>
medium = <ZeoTemperature.medium: 3>
high = <ZeoTemperature.high: 4>
max = <ZeoTemperature.max: 5>
twenty_c = <ZeoTemperature.twenty_c: 6>
class ZeoRinse(roborock.data.code_mappings.RoborockEnum):
81class ZeoRinse(RoborockEnum):
82    none = 0
83    min = 1
84    low = 2
85    mid = 3
86    high = 4
87    max = 5

Roborock Enum for codes with int values

none = <ZeoRinse.none: 0>
min = <ZeoRinse.min: 1>
low = <ZeoRinse.low: 2>
mid = <ZeoRinse.mid: 3>
high = <ZeoRinse.high: 4>
max = <ZeoRinse.max: 5>
class ZeoSpin(roborock.data.code_mappings.RoborockEnum):
90class ZeoSpin(RoborockEnum):
91    none = 1
92    very_low = 2
93    low = 3
94    mid = 4
95    high = 5
96    very_high = 6
97    max = 7

Roborock Enum for codes with int values

none = <ZeoSpin.none: 1>
very_low = <ZeoSpin.very_low: 2>
low = <ZeoSpin.low: 3>
mid = <ZeoSpin.mid: 4>
high = <ZeoSpin.high: 5>
very_high = <ZeoSpin.very_high: 6>
max = <ZeoSpin.max: 7>
class ZeoDryingMode(roborock.data.code_mappings.RoborockEnum):
100class ZeoDryingMode(RoborockEnum):
101    none = 0
102    quick = 1
103    iron = 2
104    store = 3

Roborock Enum for codes with int values

none = <ZeoDryingMode.none: 0>
quick = <ZeoDryingMode.quick: 1>
iron = <ZeoDryingMode.iron: 2>
store = <ZeoDryingMode.store: 3>
class ZeoDetergentType(roborock.data.code_mappings.RoborockEnum):
107class ZeoDetergentType(RoborockEnum):
108    empty = 0
109    low = 1
110    medium = 2
111    high = 3

Roborock Enum for codes with int values

empty = <ZeoDetergentType.empty: 0>
medium = <ZeoDetergentType.medium: 2>
high = <ZeoDetergentType.high: 3>
class ZeoSoftenerType(roborock.data.code_mappings.RoborockEnum):
114class ZeoSoftenerType(RoborockEnum):
115    empty = 0
116    low = 1
117    medium = 2
118    high = 3

Roborock Enum for codes with int values

empty = <ZeoSoftenerType.empty: 0>
low = <ZeoSoftenerType.low: 1>
medium = <ZeoSoftenerType.medium: 2>
high = <ZeoSoftenerType.high: 3>
class ZeoError(roborock.data.code_mappings.RoborockEnum):
121class ZeoError(RoborockEnum):
122    none = 0
123    refill_error = 1
124    drain_error = 2
125    door_lock_error = 3
126    water_level_error = 4
127    inverter_error = 5
128    heating_error = 6
129    temperature_error = 7
130    communication_error = 10
131    drying_error = 11
132    drying_error_e_12 = 12
133    drying_error_e_13 = 13
134    drying_error_e_14 = 14
135    drying_error_e_15 = 15
136    drying_error_e_16 = 16
137    drying_error_water_flow = 17  # Check for normal water flow
138    drying_error_restart = 18  # Restart the washer and try again
139    spin_error = 19  # re-arrange clothes

Roborock Enum for codes with int values

none = <ZeoError.none: 0>
refill_error = <ZeoError.refill_error: 1>
drain_error = <ZeoError.drain_error: 2>
door_lock_error = <ZeoError.door_lock_error: 3>
water_level_error = <ZeoError.water_level_error: 4>
inverter_error = <ZeoError.inverter_error: 5>
heating_error = <ZeoError.heating_error: 6>
temperature_error = <ZeoError.temperature_error: 7>
communication_error = <ZeoError.communication_error: 10>
drying_error = <ZeoError.drying_error: 11>
drying_error_e_12 = <ZeoError.drying_error_e_12: 12>
drying_error_e_13 = <ZeoError.drying_error_e_13: 13>
drying_error_e_14 = <ZeoError.drying_error_e_14: 14>
drying_error_e_15 = <ZeoError.drying_error_e_15: 15>
drying_error_e_16 = <ZeoError.drying_error_e_16: 16>
drying_error_water_flow = <ZeoError.drying_error_water_flow: 17>
drying_error_restart = <ZeoError.drying_error_restart: 18>
spin_error = <ZeoError.spin_error: 19>