Skip to content

Commit

Permalink
feat(c3): add set disinfect and unit para query body mesage
Browse files Browse the repository at this point in the history
  • Loading branch information
wuwentao committed Dec 18, 2024
1 parent 79a9c29 commit 6016aaa
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions midealocal/devices/c3/message.py
Original file line number Diff line number Diff line change
Expand Up @@ -355,9 +355,13 @@ def __init__(self, body: bytearray, data_offset: int = 0) -> None:
self.temp_tsolar = body[data_offset + 11]
self.hydbox_subtype = body[data_offset + 12]
self.fg_usb_info_connect = body[data_offset + 13]
# self.usb_index_max body[data_offset + 14]
# self.odu_comp_current body[data_offset + 16]
self.odu_voltage = body[data_offset + 17] * 256 + body[data_offset + 18]
self.exv_current = body[data_offset + 19] * 256 + body[data_offset + 20]
self.odu_model = body[data_offset + 21]
# self.unit_online_num body[data_offset + 22]
# self.current_code body[data_offset + 23]
self.temp_t1 = body[data_offset + 33]
self.temp_tw2 = body[data_offset + 34]
self.temp_t2 = body[data_offset + 35]
Expand Down

0 comments on commit 6016aaa

Please sign in to comment.