Skip to main content

Command 0x04 - Get Error State

This packet is occasionally sent by the MHK2 to retrieve error information from the heat pump.

BytePurposePossible ValuesSupported by mUARTNotes
0CommandType0x04Yes
4-5Error Code0x8000Partial0x8000 is "all clear", other values TBD
6Two Character Code0x00PartialUser-friendly (?) error code
0x00 (A0) is "all clear"

Certain error codes have a textual representation at https://app.kumocloud.com/json/fault-codes.json. The two-character code needs to be mapped from hex to a specific display format.

The two-character-code will need to be converted from hex into a human-readable format, which may be done using the following sample code (n.b. requires validation):

def convert_two_char(code):
upper_alpha = "AbEFJLPU"
lower_alpha = "0123456789ABCDEFOHJLPU"

return upper_alpha[(code & 0xE0) >> 5] + lower_alpha[code & 0x1f]