matterbridge-roborock-vacuum-plugin
Version:
Matterbridge Roborock Vacuum Plugin
29 lines (28 loc) • 781 B
text/typescript
export enum Protocol {
hello_request = 0,
hello_response = 1,
ping_request = 2,
ping_response = 3,
general_request = 4,
general_response = 5,
rpc_request = 101,
rpc_response = 102,
error = 120,
status_update = 121,
battery = 122,
suction_power = 123,
water_box_mode = 124,
main_brush_work_time = 125,
side_brush_work_time = 126,
filter_work_time = 127,
additional_props = 128,
task_complete = 130,
task_cancel_low_power = 131,
task_cancel_in_motion = 132,
charge_status = 133,
drying_status = 134,
back_type = 139, // WTF is this
map_response = 301,
some_thing_happened_when_socket_closed = 500,
}
// "deviceStatus":{"120":0,"121":8,"122":100,"123":110,"124":209,"125":99,"126":96,"127":97,"128":0,"133":1,"134":1,"135":0,"139":0}