1322 lines
41 KiB
Plaintext
1322 lines
41 KiB
Plaintext
# serializer version: 1
|
|
# name: test_diagnostics
|
|
dict({
|
|
'config_entry': dict({
|
|
'base_url': 'https://usiot.roborock.com',
|
|
'user_data': dict({
|
|
'avatarurl': 'https://files.roborock.com/iottest/default_avatar.png',
|
|
'country': 'US',
|
|
'countrycode': '1',
|
|
'nickname': 'user_nickname',
|
|
'region': 'us',
|
|
'rriot': dict({
|
|
'h': 'abc123',
|
|
'k': 'abc123',
|
|
'r': dict({
|
|
'a': 'https://api-us.roborock.com',
|
|
'l': 'https://wood-us.roborock.com',
|
|
'm': 'ssl://mqtt-us-2.roborock.com:8883',
|
|
'r': 'US',
|
|
}),
|
|
's': 'abc123',
|
|
'u': 'abc123',
|
|
}),
|
|
'rruid': '**REDACTED**',
|
|
'token': '**REDACTED**',
|
|
'tokentype': '',
|
|
'tuyaDeviceState': 2,
|
|
'uid': '**REDACTED**',
|
|
}),
|
|
'username': '**REDACTED**',
|
|
}),
|
|
'coordinators': dict({
|
|
'**REDACTED-0**': dict({
|
|
'api': dict({
|
|
'misc_info': dict({
|
|
}),
|
|
}),
|
|
'roborock_device_info': dict({
|
|
'device': dict({
|
|
'activeTime': 1672364449,
|
|
'deviceStatus': dict({
|
|
'120': 0,
|
|
'121': 8,
|
|
'122': 100,
|
|
'123': 102,
|
|
'124': 203,
|
|
'125': 94,
|
|
'126': 90,
|
|
'127': 87,
|
|
'128': 0,
|
|
'133': 1,
|
|
}),
|
|
'duid': '**REDACTED**',
|
|
'extra': '{"RRPhotoPrivacyVersion": "1"}',
|
|
'featureSet': '2234201184108543',
|
|
'fv': '02.56.02',
|
|
'iconUrl': '',
|
|
'localKey': '**REDACTED**',
|
|
'name': 'Roborock S7 MaxV',
|
|
'newFeatureSet': '0000000000002041',
|
|
'online': True,
|
|
'productId': 's7_product',
|
|
'pv': '1.0',
|
|
'roomId': 2362003,
|
|
'share': False,
|
|
'silentOtaSwitch': True,
|
|
'sn': 'abc123',
|
|
'timeZoneId': 'America/Los_Angeles',
|
|
'tuyaMigrated': False,
|
|
}),
|
|
'network_info': dict({
|
|
'bssid': '**REDACTED**',
|
|
'ip': '123.232.12.1',
|
|
'mac': '**REDACTED**',
|
|
'rssi': 90,
|
|
'ssid': 'wifi',
|
|
}),
|
|
'product': dict({
|
|
'capability': 0,
|
|
'category': 'robot.vacuum.cleaner',
|
|
'code': 'a27',
|
|
'id': 's7_product',
|
|
'model': 'roborock.vacuum.a27',
|
|
'name': 'Roborock S7 MaxV',
|
|
'schema': list([
|
|
dict({
|
|
'code': 'rpc_request',
|
|
'id': '101',
|
|
'mode': 'rw',
|
|
'name': 'rpc_request',
|
|
'type': 'RAW',
|
|
}),
|
|
dict({
|
|
'code': 'rpc_response',
|
|
'id': '102',
|
|
'mode': 'rw',
|
|
'name': 'rpc_response',
|
|
'type': 'RAW',
|
|
}),
|
|
dict({
|
|
'code': 'error_code',
|
|
'id': '120',
|
|
'mode': 'ro',
|
|
'name': '错误代码',
|
|
'property': '{"range": []}',
|
|
'type': 'ENUM',
|
|
}),
|
|
dict({
|
|
'code': 'state',
|
|
'id': '121',
|
|
'mode': 'ro',
|
|
'name': '设备状态',
|
|
'property': '{"range": []}',
|
|
'type': 'ENUM',
|
|
}),
|
|
dict({
|
|
'code': 'battery',
|
|
'id': '122',
|
|
'mode': 'ro',
|
|
'name': '设备电量',
|
|
'property': '{"range": []}',
|
|
'type': 'ENUM',
|
|
}),
|
|
dict({
|
|
'code': 'fan_power',
|
|
'id': '123',
|
|
'mode': 'rw',
|
|
'name': '清扫模式',
|
|
'property': '{"range": []}',
|
|
'type': 'ENUM',
|
|
}),
|
|
dict({
|
|
'code': 'water_box_mode',
|
|
'id': '124',
|
|
'mode': 'rw',
|
|
'name': '拖地模式',
|
|
'property': '{"range": []}',
|
|
'type': 'ENUM',
|
|
}),
|
|
dict({
|
|
'code': 'main_brush_life',
|
|
'id': '125',
|
|
'mode': 'rw',
|
|
'name': '主刷寿命',
|
|
'property': '{"max": 100, "min": 0, "step": 1, "unit": null, "scale": 1}',
|
|
'type': 'VALUE',
|
|
}),
|
|
dict({
|
|
'code': 'side_brush_life',
|
|
'id': '126',
|
|
'mode': 'rw',
|
|
'name': '边刷寿命',
|
|
'property': '{"max": 100, "min": 0, "step": 1, "unit": null, "scale": 1}',
|
|
'type': 'VALUE',
|
|
}),
|
|
dict({
|
|
'code': 'filter_life',
|
|
'id': '127',
|
|
'mode': 'rw',
|
|
'name': '滤网寿命',
|
|
'property': '{"max": 100, "min": 0, "step": 1, "unit": null, "scale": 1}',
|
|
'type': 'VALUE',
|
|
}),
|
|
dict({
|
|
'code': 'additional_props',
|
|
'id': '128',
|
|
'mode': 'ro',
|
|
'name': '额外状态',
|
|
'type': 'RAW',
|
|
}),
|
|
dict({
|
|
'code': 'task_complete',
|
|
'id': '130',
|
|
'mode': 'ro',
|
|
'name': '完成事件',
|
|
'type': 'RAW',
|
|
}),
|
|
dict({
|
|
'code': 'task_cancel_low_power',
|
|
'id': '131',
|
|
'mode': 'ro',
|
|
'name': '电量不足任务取消',
|
|
'type': 'RAW',
|
|
}),
|
|
dict({
|
|
'code': 'task_cancel_in_motion',
|
|
'id': '132',
|
|
'mode': 'ro',
|
|
'name': '运动中任务取消',
|
|
'type': 'RAW',
|
|
}),
|
|
dict({
|
|
'code': 'charge_status',
|
|
'id': '133',
|
|
'mode': 'ro',
|
|
'name': '充电状态',
|
|
'type': 'RAW',
|
|
}),
|
|
dict({
|
|
'code': 'drying_status',
|
|
'id': '134',
|
|
'mode': 'ro',
|
|
'name': '烘干状态',
|
|
'type': 'RAW',
|
|
}),
|
|
]),
|
|
}),
|
|
'props': dict({
|
|
'cleanSummary': dict({
|
|
'cleanArea': 1159182500,
|
|
'cleanCount': 31,
|
|
'cleanTime': 74382,
|
|
'dustCollectionCount': 25,
|
|
'records': list([
|
|
1672543330,
|
|
1672458041,
|
|
]),
|
|
'squareMeterCleanArea': 1159.2,
|
|
}),
|
|
'consumable': dict({
|
|
'cleaningBrushTimeLeft': 1079935,
|
|
'cleaningBrushWorkTimes': 65,
|
|
'dustCollectionTimeLeft': 80975,
|
|
'dustCollectionWorkTimes': 25,
|
|
'filterElementWorkTime': 0,
|
|
'filterTimeLeft': 465618,
|
|
'filterWorkTime': 74382,
|
|
'mainBrushTimeLeft': 1005618,
|
|
'mainBrushWorkTime': 74382,
|
|
'sensorDirtyTime': 74382,
|
|
'sensorTimeLeft': 33618,
|
|
'sideBrushTimeLeft': 645618,
|
|
'sideBrushWorkTime': 74382,
|
|
'strainerTimeLeft': 539935,
|
|
'strainerWorkTimes': 65,
|
|
}),
|
|
'lastCleanRecord': dict({
|
|
'area': 20965000,
|
|
'avoidCount': 19,
|
|
'begin': 1672543330,
|
|
'beginDatetime': '2023-01-01T03:22:10+00:00',
|
|
'cleanType': 3,
|
|
'complete': 1,
|
|
'duration': 1176,
|
|
'dustCollectionStatus': 1,
|
|
'end': 1672544638,
|
|
'endDatetime': '2023-01-01T03:43:58+00:00',
|
|
'error': 0,
|
|
'finishReason': 56,
|
|
'mapFlag': 0,
|
|
'squareMeterArea': 21.0,
|
|
'startType': 2,
|
|
'washCount': 2,
|
|
}),
|
|
'status': dict({
|
|
'adbumperStatus': list([
|
|
0,
|
|
0,
|
|
0,
|
|
]),
|
|
'autoDustCollection': 1,
|
|
'avoidCount': 19,
|
|
'backType': -1,
|
|
'battery': 100,
|
|
'cameraStatus': 3457,
|
|
'chargeStatus': 1,
|
|
'cleanArea': 20965000,
|
|
'cleanTime': 1176,
|
|
'collisionAvoidStatus': 1,
|
|
'debugMode': 0,
|
|
'dndEnabled': 0,
|
|
'dockErrorStatus': 0,
|
|
'dockType': 3,
|
|
'dustCollectionStatus': 0,
|
|
'errorCode': 0,
|
|
'errorCodeName': 'none',
|
|
'fanPower': 102,
|
|
'fanPowerName': 'balanced',
|
|
'fanPowerOptions': list([
|
|
'off',
|
|
'quiet',
|
|
'balanced',
|
|
'turbo',
|
|
'max',
|
|
'custom',
|
|
]),
|
|
'homeSecEnablePassword': 0,
|
|
'homeSecStatus': 0,
|
|
'inCleaning': 0,
|
|
'inFreshState': 1,
|
|
'inReturning': 0,
|
|
'isExploring': 0,
|
|
'isLocating': 0,
|
|
'labStatus': 1,
|
|
'lockStatus': 0,
|
|
'mapPresent': 1,
|
|
'mapStatus': 3,
|
|
'mopForbiddenEnable': 1,
|
|
'mopMode': 300,
|
|
'mopModeName': 'standard',
|
|
'msgSeq': 458,
|
|
'msgVer': 2,
|
|
'squareMeterCleanArea': 21.0,
|
|
'state': 8,
|
|
'stateName': 'charging',
|
|
'switchMapMode': 0,
|
|
'unsaveMapFlag': 0,
|
|
'unsaveMapReason': 0,
|
|
'washPhase': 0,
|
|
'washReady': 0,
|
|
'waterBoxCarriageStatus': 1,
|
|
'waterBoxMode': 203,
|
|
'waterBoxModeName': 'intense',
|
|
'waterBoxStatus': 1,
|
|
'waterShortageStatus': 0,
|
|
}),
|
|
}),
|
|
}),
|
|
}),
|
|
'**REDACTED-1**': dict({
|
|
'api': dict({
|
|
'misc_info': dict({
|
|
}),
|
|
}),
|
|
'roborock_device_info': dict({
|
|
'device': dict({
|
|
'activeTime': 1672364449,
|
|
'deviceStatus': dict({
|
|
'120': 0,
|
|
'121': 8,
|
|
'122': 100,
|
|
'123': 102,
|
|
'124': 203,
|
|
'125': 94,
|
|
'126': 90,
|
|
'127': 87,
|
|
'128': 0,
|
|
'133': 1,
|
|
}),
|
|
'duid': '**REDACTED**',
|
|
'extra': '{"RRPhotoPrivacyVersion": "1"}',
|
|
'featureSet': '2234201184108543',
|
|
'fv': '02.56.02',
|
|
'iconUrl': '',
|
|
'localKey': '**REDACTED**',
|
|
'name': 'Roborock S7 2',
|
|
'newFeatureSet': '0000000000002041',
|
|
'online': True,
|
|
'productId': 's7_product',
|
|
'pv': '1.0',
|
|
'roomId': 2362003,
|
|
'share': False,
|
|
'silentOtaSwitch': True,
|
|
'sn': 'abc123',
|
|
'timeZoneId': 'America/Los_Angeles',
|
|
'tuyaMigrated': False,
|
|
}),
|
|
'network_info': dict({
|
|
'bssid': '**REDACTED**',
|
|
'ip': '123.232.12.1',
|
|
'mac': '**REDACTED**',
|
|
'rssi': 90,
|
|
'ssid': 'wifi',
|
|
}),
|
|
'product': dict({
|
|
'capability': 0,
|
|
'category': 'robot.vacuum.cleaner',
|
|
'code': 'a27',
|
|
'id': 's7_product',
|
|
'model': 'roborock.vacuum.a27',
|
|
'name': 'Roborock S7 MaxV',
|
|
'schema': list([
|
|
dict({
|
|
'code': 'rpc_request',
|
|
'id': '101',
|
|
'mode': 'rw',
|
|
'name': 'rpc_request',
|
|
'type': 'RAW',
|
|
}),
|
|
dict({
|
|
'code': 'rpc_response',
|
|
'id': '102',
|
|
'mode': 'rw',
|
|
'name': 'rpc_response',
|
|
'type': 'RAW',
|
|
}),
|
|
dict({
|
|
'code': 'error_code',
|
|
'id': '120',
|
|
'mode': 'ro',
|
|
'name': '错误代码',
|
|
'property': '{"range": []}',
|
|
'type': 'ENUM',
|
|
}),
|
|
dict({
|
|
'code': 'state',
|
|
'id': '121',
|
|
'mode': 'ro',
|
|
'name': '设备状态',
|
|
'property': '{"range": []}',
|
|
'type': 'ENUM',
|
|
}),
|
|
dict({
|
|
'code': 'battery',
|
|
'id': '122',
|
|
'mode': 'ro',
|
|
'name': '设备电量',
|
|
'property': '{"range": []}',
|
|
'type': 'ENUM',
|
|
}),
|
|
dict({
|
|
'code': 'fan_power',
|
|
'id': '123',
|
|
'mode': 'rw',
|
|
'name': '清扫模式',
|
|
'property': '{"range": []}',
|
|
'type': 'ENUM',
|
|
}),
|
|
dict({
|
|
'code': 'water_box_mode',
|
|
'id': '124',
|
|
'mode': 'rw',
|
|
'name': '拖地模式',
|
|
'property': '{"range": []}',
|
|
'type': 'ENUM',
|
|
}),
|
|
dict({
|
|
'code': 'main_brush_life',
|
|
'id': '125',
|
|
'mode': 'rw',
|
|
'name': '主刷寿命',
|
|
'property': '{"max": 100, "min": 0, "step": 1, "unit": null, "scale": 1}',
|
|
'type': 'VALUE',
|
|
}),
|
|
dict({
|
|
'code': 'side_brush_life',
|
|
'id': '126',
|
|
'mode': 'rw',
|
|
'name': '边刷寿命',
|
|
'property': '{"max": 100, "min": 0, "step": 1, "unit": null, "scale": 1}',
|
|
'type': 'VALUE',
|
|
}),
|
|
dict({
|
|
'code': 'filter_life',
|
|
'id': '127',
|
|
'mode': 'rw',
|
|
'name': '滤网寿命',
|
|
'property': '{"max": 100, "min": 0, "step": 1, "unit": null, "scale": 1}',
|
|
'type': 'VALUE',
|
|
}),
|
|
dict({
|
|
'code': 'additional_props',
|
|
'id': '128',
|
|
'mode': 'ro',
|
|
'name': '额外状态',
|
|
'type': 'RAW',
|
|
}),
|
|
dict({
|
|
'code': 'task_complete',
|
|
'id': '130',
|
|
'mode': 'ro',
|
|
'name': '完成事件',
|
|
'type': 'RAW',
|
|
}),
|
|
dict({
|
|
'code': 'task_cancel_low_power',
|
|
'id': '131',
|
|
'mode': 'ro',
|
|
'name': '电量不足任务取消',
|
|
'type': 'RAW',
|
|
}),
|
|
dict({
|
|
'code': 'task_cancel_in_motion',
|
|
'id': '132',
|
|
'mode': 'ro',
|
|
'name': '运动中任务取消',
|
|
'type': 'RAW',
|
|
}),
|
|
dict({
|
|
'code': 'charge_status',
|
|
'id': '133',
|
|
'mode': 'ro',
|
|
'name': '充电状态',
|
|
'type': 'RAW',
|
|
}),
|
|
dict({
|
|
'code': 'drying_status',
|
|
'id': '134',
|
|
'mode': 'ro',
|
|
'name': '烘干状态',
|
|
'type': 'RAW',
|
|
}),
|
|
]),
|
|
}),
|
|
'props': dict({
|
|
'cleanSummary': dict({
|
|
'cleanArea': 1159182500,
|
|
'cleanCount': 31,
|
|
'cleanTime': 74382,
|
|
'dustCollectionCount': 25,
|
|
'records': list([
|
|
1672543330,
|
|
1672458041,
|
|
]),
|
|
'squareMeterCleanArea': 1159.2,
|
|
}),
|
|
'consumable': dict({
|
|
'cleaningBrushTimeLeft': 1079935,
|
|
'cleaningBrushWorkTimes': 65,
|
|
'dustCollectionTimeLeft': 80975,
|
|
'dustCollectionWorkTimes': 25,
|
|
'filterElementWorkTime': 0,
|
|
'filterTimeLeft': 465618,
|
|
'filterWorkTime': 74382,
|
|
'mainBrushTimeLeft': 1005618,
|
|
'mainBrushWorkTime': 74382,
|
|
'sensorDirtyTime': 74382,
|
|
'sensorTimeLeft': 33618,
|
|
'sideBrushTimeLeft': 645618,
|
|
'sideBrushWorkTime': 74382,
|
|
'strainerTimeLeft': 539935,
|
|
'strainerWorkTimes': 65,
|
|
}),
|
|
'lastCleanRecord': dict({
|
|
'area': 20965000,
|
|
'avoidCount': 19,
|
|
'begin': 1672543330,
|
|
'beginDatetime': '2023-01-01T03:22:10+00:00',
|
|
'cleanType': 3,
|
|
'complete': 1,
|
|
'duration': 1176,
|
|
'dustCollectionStatus': 1,
|
|
'end': 1672544638,
|
|
'endDatetime': '2023-01-01T03:43:58+00:00',
|
|
'error': 0,
|
|
'finishReason': 56,
|
|
'mapFlag': 0,
|
|
'squareMeterArea': 21.0,
|
|
'startType': 2,
|
|
'washCount': 2,
|
|
}),
|
|
'status': dict({
|
|
'adbumperStatus': list([
|
|
0,
|
|
0,
|
|
0,
|
|
]),
|
|
'autoDustCollection': 1,
|
|
'avoidCount': 19,
|
|
'backType': -1,
|
|
'battery': 100,
|
|
'cameraStatus': 3457,
|
|
'chargeStatus': 1,
|
|
'cleanArea': 20965000,
|
|
'cleanTime': 1176,
|
|
'collisionAvoidStatus': 1,
|
|
'debugMode': 0,
|
|
'dndEnabled': 0,
|
|
'dockErrorStatus': 0,
|
|
'dockType': 3,
|
|
'dustCollectionStatus': 0,
|
|
'errorCode': 0,
|
|
'errorCodeName': 'none',
|
|
'fanPower': 102,
|
|
'fanPowerName': 'balanced',
|
|
'fanPowerOptions': list([
|
|
'off',
|
|
'quiet',
|
|
'balanced',
|
|
'turbo',
|
|
'max',
|
|
'custom',
|
|
]),
|
|
'homeSecEnablePassword': 0,
|
|
'homeSecStatus': 0,
|
|
'inCleaning': 0,
|
|
'inFreshState': 1,
|
|
'inReturning': 0,
|
|
'isExploring': 0,
|
|
'isLocating': 0,
|
|
'labStatus': 1,
|
|
'lockStatus': 0,
|
|
'mapPresent': 1,
|
|
'mapStatus': 3,
|
|
'mopForbiddenEnable': 1,
|
|
'mopMode': 300,
|
|
'mopModeName': 'standard',
|
|
'msgSeq': 458,
|
|
'msgVer': 2,
|
|
'squareMeterCleanArea': 21.0,
|
|
'state': 8,
|
|
'stateName': 'charging',
|
|
'switchMapMode': 0,
|
|
'unsaveMapFlag': 0,
|
|
'unsaveMapReason': 0,
|
|
'washPhase': 0,
|
|
'washReady': 0,
|
|
'waterBoxCarriageStatus': 1,
|
|
'waterBoxMode': 203,
|
|
'waterBoxModeName': 'intense',
|
|
'waterBoxStatus': 1,
|
|
'waterShortageStatus': 0,
|
|
}),
|
|
}),
|
|
}),
|
|
}),
|
|
'**REDACTED-2**': dict({
|
|
'api': dict({
|
|
'misc_info': dict({
|
|
}),
|
|
}),
|
|
'roborock_device_info': dict({
|
|
'device': dict({
|
|
'activeTime': 1700754026,
|
|
'deviceStatus': dict({
|
|
'10001': '{"f":"t"}',
|
|
'10002': '',
|
|
'10004': '{"sid_in_use":25,"sid_version":5,"location":"de","bom":"A.03.0291","language":"en"}',
|
|
'10005': '{"sn":"dyad_sn","ssid":"dyad_ssid","timezone":"Europe/Stockholm","posix_timezone":"CET-1CEST,M3.5.0,M10.5.0/3","ip":"1.123.12.1","mac":"b0:4a:33:33:33:33","oba":{"language":"en","name":"A.03.0291_CE","bom":"A.03.0291","location":"de","wifiplan":"EU","timezone":"CET-1CEST,M3.5.0,M10.5.0/3;Europe/Berlin","logserver":"awsde0","featureset":"0"}"}',
|
|
'10007': '{"mqttOtaData":{"mqttOtaStatus":{"status":"IDLE"}}}',
|
|
'200': 0,
|
|
'201': 3,
|
|
'202': 0,
|
|
'203': 2,
|
|
'204': 1,
|
|
'205': 1,
|
|
'206': 3,
|
|
'207': 4,
|
|
'208': 1,
|
|
'209': 100,
|
|
'210': 0,
|
|
'212': 1,
|
|
'213': 1,
|
|
'214': 513,
|
|
'215': 513,
|
|
'216': 0,
|
|
'221': 100,
|
|
'222': 0,
|
|
'223': 2,
|
|
'224': 1,
|
|
'225': 360,
|
|
'226': 0,
|
|
'227': 1320,
|
|
'228': 360,
|
|
'229': '000,000,003,000,005,000,000,000,003,000,005,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000,012,003,000,000',
|
|
'230': 352,
|
|
'235': 0,
|
|
'237': 0,
|
|
}),
|
|
'duid': '**REDACTED**',
|
|
'f': False,
|
|
'fv': '01.12.34',
|
|
'iconUrl': '',
|
|
'localKey': '**REDACTED**',
|
|
'name': 'Dyad Pro',
|
|
'online': True,
|
|
'productId': 'dyad_product',
|
|
'pv': 'A01',
|
|
'share': True,
|
|
'shareTime': 1701367095,
|
|
'silentOtaSwitch': False,
|
|
'timeZoneId': 'Europe/Stockholm',
|
|
'tuyaMigrated': False,
|
|
}),
|
|
'product': dict({
|
|
'capability': 2,
|
|
'category': 'roborock.wetdryvac',
|
|
'id': 'dyad_product',
|
|
'model': 'roborock.wetdryvac.a56',
|
|
'name': 'Roborock Dyad Pro',
|
|
'schema': list([
|
|
dict({
|
|
'code': 'drying_status',
|
|
'id': '134',
|
|
'mode': 'ro',
|
|
'name': '烘干状态',
|
|
'type': 'RAW',
|
|
}),
|
|
dict({
|
|
'code': 'start',
|
|
'id': '200',
|
|
'mode': 'rw',
|
|
'name': '启停',
|
|
'type': 'VALUE',
|
|
}),
|
|
dict({
|
|
'code': 'status',
|
|
'id': '201',
|
|
'mode': 'ro',
|
|
'name': '状态',
|
|
'type': 'VALUE',
|
|
}),
|
|
dict({
|
|
'code': 'self_clean_mode',
|
|
'id': '202',
|
|
'mode': 'rw',
|
|
'name': '自清洁模式',
|
|
'type': 'VALUE',
|
|
}),
|
|
dict({
|
|
'code': 'self_clean_level',
|
|
'id': '203',
|
|
'mode': 'rw',
|
|
'name': '自清洁强度',
|
|
'type': 'VALUE',
|
|
}),
|
|
dict({
|
|
'code': 'warm_level',
|
|
'id': '204',
|
|
'mode': 'rw',
|
|
'name': '烘干强度',
|
|
'type': 'VALUE',
|
|
}),
|
|
dict({
|
|
'code': 'clean_mode',
|
|
'id': '205',
|
|
'mode': 'rw',
|
|
'name': '洗地模式',
|
|
'type': 'VALUE',
|
|
}),
|
|
dict({
|
|
'code': 'suction',
|
|
'id': '206',
|
|
'mode': 'rw',
|
|
'name': '吸力',
|
|
'type': 'VALUE',
|
|
}),
|
|
dict({
|
|
'code': 'water_level',
|
|
'id': '207',
|
|
'mode': 'rw',
|
|
'name': '水量',
|
|
'type': 'VALUE',
|
|
}),
|
|
dict({
|
|
'code': 'brush_speed',
|
|
'id': '208',
|
|
'mode': 'rw',
|
|
'name': '滚刷转速',
|
|
'type': 'VALUE',
|
|
}),
|
|
dict({
|
|
'code': 'power',
|
|
'id': '209',
|
|
'mode': 'ro',
|
|
'name': '电量',
|
|
'type': 'VALUE',
|
|
}),
|
|
dict({
|
|
'code': 'countdown_time',
|
|
'id': '210',
|
|
'mode': 'rw',
|
|
'name': '预约时间',
|
|
'type': 'VALUE',
|
|
}),
|
|
dict({
|
|
'code': 'auto_self_clean_set',
|
|
'id': '212',
|
|
'mode': 'rw',
|
|
'name': '自动自清洁',
|
|
'type': 'VALUE',
|
|
}),
|
|
dict({
|
|
'code': 'auto_dry',
|
|
'id': '213',
|
|
'mode': 'rw',
|
|
'name': '自动烘干',
|
|
'type': 'VALUE',
|
|
}),
|
|
dict({
|
|
'code': 'mesh_left',
|
|
'id': '214',
|
|
'mode': 'ro',
|
|
'name': '滤网已工作时间',
|
|
'type': 'VALUE',
|
|
}),
|
|
dict({
|
|
'code': 'brush_left',
|
|
'id': '215',
|
|
'mode': 'ro',
|
|
'name': '滚刷已工作时间',
|
|
'type': 'VALUE',
|
|
}),
|
|
dict({
|
|
'code': 'error',
|
|
'id': '216',
|
|
'mode': 'ro',
|
|
'name': '错误值',
|
|
'type': 'VALUE',
|
|
}),
|
|
dict({
|
|
'code': 'mesh_reset',
|
|
'id': '218',
|
|
'mode': 'rw',
|
|
'name': '滤网重置',
|
|
'type': 'VALUE',
|
|
}),
|
|
dict({
|
|
'code': 'brush_reset',
|
|
'id': '219',
|
|
'mode': 'rw',
|
|
'name': '滚刷重置',
|
|
'type': 'VALUE',
|
|
}),
|
|
dict({
|
|
'code': 'volume_set',
|
|
'id': '221',
|
|
'mode': 'rw',
|
|
'name': '音量',
|
|
'type': 'VALUE',
|
|
}),
|
|
dict({
|
|
'code': 'stand_lock_auto_run',
|
|
'id': '222',
|
|
'mode': 'rw',
|
|
'name': '直立解锁自动运行开关',
|
|
'type': 'VALUE',
|
|
}),
|
|
dict({
|
|
'code': 'auto_self_clean_set_mode',
|
|
'id': '223',
|
|
'mode': 'rw',
|
|
'name': '自动自清洁 - 模式',
|
|
'type': 'VALUE',
|
|
}),
|
|
dict({
|
|
'code': 'auto_dry_mode',
|
|
'id': '224',
|
|
'mode': 'rw',
|
|
'name': '自动烘干 - 模式',
|
|
'type': 'VALUE',
|
|
}),
|
|
dict({
|
|
'code': 'silent_dry_duration',
|
|
'id': '225',
|
|
'mode': 'rw',
|
|
'name': '静音烘干时长',
|
|
'type': 'VALUE',
|
|
}),
|
|
dict({
|
|
'code': 'silent_mode',
|
|
'id': '226',
|
|
'mode': 'rw',
|
|
'name': '勿扰模式开关',
|
|
'type': 'VALUE',
|
|
}),
|
|
dict({
|
|
'code': 'silent_mode_start_time',
|
|
'id': '227',
|
|
'mode': 'rw',
|
|
'name': '勿扰开启时间',
|
|
'type': 'VALUE',
|
|
}),
|
|
dict({
|
|
'code': 'silent_mode_end_time',
|
|
'id': '228',
|
|
'mode': 'rw',
|
|
'name': '勿扰结束时间',
|
|
'type': 'VALUE',
|
|
}),
|
|
dict({
|
|
'code': 'recent_run_time',
|
|
'id': '229',
|
|
'mode': 'rw',
|
|
'name': '近30天每天洗地时长',
|
|
'type': 'STRING',
|
|
}),
|
|
dict({
|
|
'code': 'total_run_time',
|
|
'id': '230',
|
|
'mode': 'rw',
|
|
'name': '洗地总时长',
|
|
'type': 'VALUE',
|
|
}),
|
|
dict({
|
|
'code': 'feature_info',
|
|
'id': '235',
|
|
'mode': 'ro',
|
|
'name': 'featureinfo',
|
|
'type': 'VALUE',
|
|
}),
|
|
dict({
|
|
'code': 'recover_settings',
|
|
'id': '236',
|
|
'mode': 'rw',
|
|
'name': '恢复初始设置',
|
|
'type': 'VALUE',
|
|
}),
|
|
dict({
|
|
'code': 'dry_countdown',
|
|
'id': '237',
|
|
'mode': 'ro',
|
|
'name': '烘干倒计时',
|
|
'type': 'VALUE',
|
|
}),
|
|
dict({
|
|
'code': 'id_query',
|
|
'id': '10000',
|
|
'mode': 'rw',
|
|
'name': 'ID点数据查询',
|
|
'type': 'STRING',
|
|
}),
|
|
dict({
|
|
'code': 'f_c',
|
|
'id': '10001',
|
|
'mode': 'ro',
|
|
'name': '防串货',
|
|
'type': 'STRING',
|
|
}),
|
|
dict({
|
|
'code': 'schedule_task',
|
|
'id': '10002',
|
|
'mode': 'rw',
|
|
'name': '定时任务',
|
|
'type': 'STRING',
|
|
}),
|
|
dict({
|
|
'code': 'snd_switch',
|
|
'id': '10003',
|
|
'mode': 'rw',
|
|
'name': '语音包切换',
|
|
'type': 'STRING',
|
|
}),
|
|
dict({
|
|
'code': 'snd_state',
|
|
'id': '10004',
|
|
'mode': 'rw',
|
|
'name': '语音包/OBA信息',
|
|
'type': 'STRING',
|
|
}),
|
|
dict({
|
|
'code': 'product_info',
|
|
'id': '10005',
|
|
'mode': 'ro',
|
|
'name': '产品信息',
|
|
'type': 'STRING',
|
|
}),
|
|
dict({
|
|
'code': 'privacy_info',
|
|
'id': '10006',
|
|
'mode': 'rw',
|
|
'name': '隐私协议',
|
|
'type': 'STRING',
|
|
}),
|
|
dict({
|
|
'code': 'ota_nfo',
|
|
'id': '10007',
|
|
'mode': 'ro',
|
|
'name': 'OTA info',
|
|
'type': 'STRING',
|
|
}),
|
|
dict({
|
|
'code': 'rpc_req',
|
|
'id': '10101',
|
|
'mode': 'wo',
|
|
'name': 'rpc req',
|
|
'type': 'STRING',
|
|
}),
|
|
dict({
|
|
'code': 'rpc_resp',
|
|
'id': '10102',
|
|
'mode': 'ro',
|
|
'name': 'rpc resp',
|
|
'type': 'STRING',
|
|
}),
|
|
]),
|
|
}),
|
|
}),
|
|
}),
|
|
'**REDACTED-3**': dict({
|
|
'api': dict({
|
|
'misc_info': dict({
|
|
}),
|
|
}),
|
|
'roborock_device_info': dict({
|
|
'device': dict({
|
|
'activeTime': 1699964128,
|
|
'deviceStatus': dict({
|
|
'10001': '{"f":"t"}',
|
|
'10005': '{"sn":"zeo_sn","ssid":"internet","timezone":"Europe/Berlin","posix_timezone":"CET-1CEST,M3.5.0,M10.5.0/3","ip":"192.111.11.11","mac":"b0:4a:00:00:00:00","rssi":-57,"oba":{"language":"en","name":"A.03.0403_CE","bom":"A.03.0403","location":"de","wifiplan":"EU","timezone":"CET-1CEST,M3.5.0,M10.5.0/3;Europe/Berlin","logserver":"awsde0","loglevel":"4","featureset":"0"}}',
|
|
'10007': '{"mqttOtaData":{"mqttOtaStatus":{"status":"IDLE"}}}',
|
|
'200': 1,
|
|
'201': 0,
|
|
'202': 1,
|
|
'203': 7,
|
|
'204': 1,
|
|
'205': 33,
|
|
'206': 0,
|
|
'207': 4,
|
|
'208': 2,
|
|
'209': 7,
|
|
'210': 1,
|
|
'211': 1,
|
|
'212': 1,
|
|
'213': 2,
|
|
'214': 2,
|
|
'217': 0,
|
|
'218': 227,
|
|
'219': 0,
|
|
'220': 0,
|
|
'221': 0,
|
|
'222': 347414,
|
|
'223': 0,
|
|
'224': 21,
|
|
'225': 0,
|
|
'226': 0,
|
|
'227': 1,
|
|
'232': 0,
|
|
}),
|
|
'duid': '**REDACTED**',
|
|
'f': False,
|
|
'featureSet': '0',
|
|
'fv': '01.00.94',
|
|
'iconUrl': '',
|
|
'localKey': '**REDACTED**',
|
|
'name': 'Zeo One',
|
|
'newFeatureSet': '40',
|
|
'online': True,
|
|
'productId': 'zeo_id',
|
|
'pv': 'A01',
|
|
'share': True,
|
|
'shareTime': 1712763572,
|
|
'silentOtaSwitch': False,
|
|
'sn': 'zeo_sn',
|
|
'timeZoneId': 'Europe/Berlin',
|
|
'tuyaMigrated': False,
|
|
}),
|
|
'product': dict({
|
|
'capability': 2,
|
|
'category': 'roborock.wm',
|
|
'id': 'zeo_id',
|
|
'model': 'roborock.wm.a102',
|
|
'name': 'Zeo One',
|
|
'schema': list([
|
|
dict({
|
|
'code': 'drying_status',
|
|
'id': '134',
|
|
'mode': 'ro',
|
|
'name': '烘干状态',
|
|
'type': 'RAW',
|
|
}),
|
|
dict({
|
|
'code': 'start',
|
|
'id': '200',
|
|
'mode': 'rw',
|
|
'name': '启动',
|
|
'type': 'BOOL',
|
|
}),
|
|
dict({
|
|
'code': 'pause',
|
|
'id': '201',
|
|
'mode': 'rw',
|
|
'name': '暂停',
|
|
'type': 'BOOL',
|
|
}),
|
|
dict({
|
|
'code': 'shutdown',
|
|
'id': '202',
|
|
'mode': 'rw',
|
|
'name': '关机',
|
|
'type': 'BOOL',
|
|
}),
|
|
dict({
|
|
'code': 'status',
|
|
'id': '203',
|
|
'mode': 'ro',
|
|
'name': '状态',
|
|
'type': 'VALUE',
|
|
}),
|
|
dict({
|
|
'code': 'mode',
|
|
'id': '204',
|
|
'mode': 'rw',
|
|
'name': '模式',
|
|
'type': 'VALUE',
|
|
}),
|
|
dict({
|
|
'code': 'program',
|
|
'id': '205',
|
|
'mode': 'rw',
|
|
'name': '程序',
|
|
'type': 'VALUE',
|
|
}),
|
|
dict({
|
|
'code': 'child_lock',
|
|
'id': '206',
|
|
'mode': 'rw',
|
|
'name': '童锁',
|
|
'type': 'BOOL',
|
|
}),
|
|
dict({
|
|
'code': 'temp',
|
|
'id': '207',
|
|
'mode': 'rw',
|
|
'name': '洗涤温度',
|
|
'type': 'VALUE',
|
|
}),
|
|
dict({
|
|
'code': 'rinse_times',
|
|
'id': '208',
|
|
'mode': 'rw',
|
|
'name': '漂洗次数',
|
|
'type': 'VALUE',
|
|
}),
|
|
dict({
|
|
'code': 'spin_level',
|
|
'id': '209',
|
|
'mode': 'rw',
|
|
'name': '滚筒转速',
|
|
'type': 'VALUE',
|
|
}),
|
|
dict({
|
|
'code': 'drying_mode',
|
|
'id': '210',
|
|
'mode': 'rw',
|
|
'name': '干燥度',
|
|
'type': 'VALUE',
|
|
}),
|
|
dict({
|
|
'code': 'detergent_set',
|
|
'id': '211',
|
|
'mode': 'rw',
|
|
'name': '自动投放-洗衣液',
|
|
'type': 'BOOL',
|
|
}),
|
|
dict({
|
|
'code': 'softener_set',
|
|
'id': '212',
|
|
'mode': 'rw',
|
|
'name': '自动投放-柔顺剂',
|
|
'type': 'BOOL',
|
|
}),
|
|
dict({
|
|
'code': 'detergent_type',
|
|
'id': '213',
|
|
'mode': 'rw',
|
|
'name': '洗衣液投放量',
|
|
'type': 'VALUE',
|
|
}),
|
|
dict({
|
|
'code': 'softener_type',
|
|
'id': '214',
|
|
'mode': 'rw',
|
|
'name': '柔顺剂投放量',
|
|
'type': 'VALUE',
|
|
}),
|
|
dict({
|
|
'code': 'countdown',
|
|
'id': '217',
|
|
'mode': 'rw',
|
|
'name': '预约时间',
|
|
'type': 'VALUE',
|
|
}),
|
|
dict({
|
|
'code': 'washing_left',
|
|
'id': '218',
|
|
'mode': 'ro',
|
|
'name': '洗衣剩余时间',
|
|
'type': 'VALUE',
|
|
}),
|
|
dict({
|
|
'code': 'doorlock_state',
|
|
'id': '219',
|
|
'mode': 'ro',
|
|
'name': '门锁状态',
|
|
'type': 'BOOL',
|
|
}),
|
|
dict({
|
|
'code': 'error',
|
|
'id': '220',
|
|
'mode': 'ro',
|
|
'name': '故障',
|
|
'type': 'VALUE',
|
|
}),
|
|
dict({
|
|
'code': 'custom_param_save',
|
|
'id': '221',
|
|
'mode': 'rw',
|
|
'name': '云程序设置',
|
|
'type': 'VALUE',
|
|
}),
|
|
dict({
|
|
'code': 'custom_param_get',
|
|
'id': '222',
|
|
'mode': 'ro',
|
|
'name': '云程序读取',
|
|
'type': 'VALUE',
|
|
}),
|
|
dict({
|
|
'code': 'sound_set',
|
|
'id': '223',
|
|
'mode': 'rw',
|
|
'name': '提示音',
|
|
'type': 'BOOL',
|
|
}),
|
|
dict({
|
|
'code': 'times_after_clean',
|
|
'id': '224',
|
|
'mode': 'ro',
|
|
'name': '距离上次筒自洁次数',
|
|
'type': 'VALUE',
|
|
}),
|
|
dict({
|
|
'code': 'default_setting',
|
|
'id': '225',
|
|
'mode': 'rw',
|
|
'name': '记忆洗衣偏好开关',
|
|
'type': 'BOOL',
|
|
}),
|
|
dict({
|
|
'code': 'detergent_empty',
|
|
'id': '226',
|
|
'mode': 'ro',
|
|
'name': '洗衣液用尽',
|
|
'type': 'BOOL',
|
|
}),
|
|
dict({
|
|
'code': 'softener_empty',
|
|
'id': '227',
|
|
'mode': 'ro',
|
|
'name': '柔顺剂用尽',
|
|
'type': 'BOOL',
|
|
}),
|
|
dict({
|
|
'code': 'light_setting',
|
|
'id': '229',
|
|
'mode': 'rw',
|
|
'name': '筒灯设定',
|
|
'type': 'BOOL',
|
|
}),
|
|
dict({
|
|
'code': 'detergent_volume',
|
|
'id': '230',
|
|
'mode': 'rw',
|
|
'name': '洗衣液投放量(单次)',
|
|
'type': 'VALUE',
|
|
}),
|
|
dict({
|
|
'code': 'softener_volume',
|
|
'id': '231',
|
|
'mode': 'rw',
|
|
'name': '柔顺剂投放量(单次)',
|
|
'type': 'VALUE',
|
|
}),
|
|
dict({
|
|
'code': 'app_authorization',
|
|
'id': '232',
|
|
'mode': 'rw',
|
|
'name': '远程控制授权',
|
|
'type': 'VALUE',
|
|
}),
|
|
dict({
|
|
'code': 'id_query',
|
|
'id': '10000',
|
|
'mode': 'rw',
|
|
'name': 'ID点查询',
|
|
'type': 'STRING',
|
|
}),
|
|
dict({
|
|
'code': 'f_c',
|
|
'id': '10001',
|
|
'mode': 'ro',
|
|
'name': '防串货',
|
|
'type': 'STRING',
|
|
}),
|
|
dict({
|
|
'code': 'snd_state',
|
|
'id': '10004',
|
|
'mode': 'rw',
|
|
'name': '语音包/OBA信息',
|
|
'type': 'STRING',
|
|
}),
|
|
dict({
|
|
'code': 'product_info',
|
|
'id': '10005',
|
|
'mode': 'ro',
|
|
'name': '产品信息',
|
|
'type': 'STRING',
|
|
}),
|
|
dict({
|
|
'code': 'privacy_info',
|
|
'id': '10006',
|
|
'mode': 'rw',
|
|
'name': '隐私协议',
|
|
'type': 'STRING',
|
|
}),
|
|
dict({
|
|
'code': 'ota_nfo',
|
|
'id': '10007',
|
|
'mode': 'rw',
|
|
'name': 'OTA info',
|
|
'type': 'STRING',
|
|
}),
|
|
dict({
|
|
'code': 'washing_log',
|
|
'id': '10008',
|
|
'mode': 'ro',
|
|
'name': '洗衣记录',
|
|
'type': 'BOOL',
|
|
}),
|
|
dict({
|
|
'code': 'rpc_req',
|
|
'id': '10101',
|
|
'mode': 'wo',
|
|
'name': 'rpc req',
|
|
'type': 'STRING',
|
|
}),
|
|
dict({
|
|
'code': 'rpc_resp',
|
|
'id': '10102',
|
|
'mode': 'ro',
|
|
'name': 'rpc resp',
|
|
'type': 'STRING',
|
|
}),
|
|
]),
|
|
}),
|
|
}),
|
|
}),
|
|
}),
|
|
})
|
|
# ---
|