nbogojevic/homeassistant-midea-air-appliances-lan

Water level is always 0% for Midea Cube 20

Closed this issue · 7 comments

Version of the custom_component

0.8.12

Configuration

Describe the bug

I recently got Midea Cub 20 dehumidifier and was able to connect it to HA using this integration. Thanks a lot for your work! Everything works fine, except for the water level: it's always shown as 0%. The app (MSmartHome) shows it correctly updated.

HA:

Screenshot 2023-01-15 at 03 39 12

MSmartHome:

Screenshot_2023-01-15-03-39-57-437_com midea ai overseas

Debug log


2023-01-15 03:32:49.153 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration midea_dehumidifier_lan which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2023-01-15 03:32:51.209 INFO (MainThread) [homeassistant.bootstrap] Setting up stage 2: {'ipp', 'esphome', 'application_credentials', 'onboarding', 'xiaomi_miio', 'history', 'analytics', 'reolink_dev', 'input_text', 'input_select', 'midea_dehumidifier_lan', 'homeassistant_alerts', 'logbook', 'diagnostics', 'cast', 'lovelace', 'tts', 'image', 'persistent_notification', 'map', 'mqtt', 'blink', 'counter', 'met', 'input_boolean', 'energy', 'mobile_app', 'timer', 'template', 'onvif', 'default_config', 'search', 'auth', 'sun', 'config', 'person', 'integration', 'input_number', 'automation', 'zha', 'schedule', 'hardware', 'zone', 'derivative', 'repairs', 'tag', 'localtuya', 'ffmpeg', 'input_datetime', 'radio_browser', 'utility_meter', 'system_health', 'climate', 'device_automation', 'input_button', 'nut', 'file_upload', 'hacs', 'scene', 'tplink_deco', 'blueprint', 'script', 'trace', 'tasmota', 'apple_tv', 'tuya', 'media_source', 'my'}
2023-01-15 03:32:52.179 INFO (MainThread) [homeassistant.setup] Setting up midea_dehumidifier_lan
2023-01-15 03:32:52.179 INFO (MainThread) [homeassistant.setup] Setup of domain midea_dehumidifier_lan took 0.0 seconds
2023-01-15 03:32:52.234 DEBUG (SyncWorker_2) [midea_beautiful.lan] Sending to 192.168*****:6445 b'ZZ\x01\x11H\x00\x92\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x7fu\xbdk>O\x8bv.\x84\x9cnW\x8de\x90\x03n\x9dCB\xa5\x0f\x1fV\x9e\xb8\xec\x91\x8e\x92\xe5'
2023-01-15 03:32:52.259 DEBUG (SyncWorker_2) [midea_beautiful.lan] Received from 192.168*****:6445 b"\x83p\x00\xc8 \x0f\x00\x00ZZ\x01\x11\xb8\x00z\x80\x00\x00\x00\x00\x01t \x02\x0f\x01\x17\x14\x9e\xb3\x01\x00\x00\x85\x00\x00\x00\x00\x00\x00\x00\x00\x01\x80\x00\x00\x00\x00\xfa\xe4\x17\x92%J\xfb?\xdaN7\xf1\x8a\x93d\x1c?\xfe*\xd0\xe5\xaf\x9a\xb0\x9c\x02C\xd2\xd8n\x1a\x1b\x19\xec+b\xe0\xf2\x1e\xc3\xb4y\xcc\xff\xea!\xbb\xfc\xe7\xdd\x94\xc5\x01H\xd4\xed\xebI\x08A\x9fU\xd9\x0b\xf1hZ\xeb\xaa!X\xcb\xba\xe4(\xd6\x94\x9b\x9d\xb0CF\xa5\xe8\xf0\xa1\x89\xa9\x8f\x97\x0fO\xe7\x98@\x1aK\xdf\xb3\xe1n3\xd8\x87h\xccL=\x06X\x93}\x0b\xb1\x93i\xbf\x03\x17\xb2M:M\xe9\xe6\xa11\x06&\xden\x95~\x98\x10m\xc1\xe4N\x88\x0bhS!\xaej\xcfQk'\xac9\x86\xa1\x94$\x07\x95\x8dS"
2023-01-15 03:32:52.262 DEBUG (SyncWorker_2) [midea_beautiful.lan] From 192.168***** decrypted reply=b'^\x02\xa8\xc0,\x19\x00\x00000000P0000000Q104D6F49F3B3C0000\x0bnet_a1_3B3C\x00\x00\x87\x00\x02\x00\x00\x00\x00\x00\x00\x00\x00\x00\xa1\x00\xa1\xa1\x00\x00\x00\x00\x04\xd6\xf4\x9f;<\x15\x00)\x08!\x15\x00\x03\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'
2023-01-15 03:32:52.262 DEBUG (SyncWorker_2) [midea_beautiful.appliance] Creating DehumidifierAppliance 14623504660****
2023-01-15 03:32:52.263 DEBUG (SyncWorker_2) [midea_beautiful.lan] Descriptor data '{id=14623504660****, address=192.168*****, port=6444, version=3, name=146235046605726, online=True, type=0xa1, subtype=a1a1, flags=0, extra=2, reserved=87, mac=04d6f49*****, ssid=net_a1_3B3C, udp_version=0, protocol=150029, version=8.33.21, sn=000000P0000000Q104D6F49F********, state=[Dehumidifier]{id=14623504660****, type=0xa1, mode=0, running=False, target_humidity=50, fan_speed=40, tank_full=False current_humidity=45, current_temperature=0 defrosting=False, filter=False, tank_level=0, error_code=0, prompt=False, supports={}}}'
2023-01-15 03:32:52.263 DEBUG (SyncWorker_2) [midea_beautiful.lan] Appliance sn=000000P0000000Q104D6F49F******** id=14623504660**** address=192.168***** version=3
2023-01-15 03:32:52.263 DEBUG (SyncWorker_2) [midea_beautiful.lan] Attempting new connection to sn=000000P0000000Q104D6F49F******** id=14623504660**** address=192.168***** version=3
2023-01-15 03:32:52.269 DEBUG (SyncWorker_2) [midea_beautiful.lan] Sending to sn=000000P0000000Q104D6F49F******** id=14623504660**** address=192.168***** version=3, message=b"\x83p\x00@ \x00\x00\x00\xb0\xcc\x05\x94\xee\xc8\xb2$\xb2\xb46\xea\xb6'\xeb\x8b\xaf\x93ED\x92\xb3\xa8\xe86fg%_I@oA\x94u\xdc\xad(\xe3\x94\xf9\x86%\xfdo~\x81\xb1f\xb4E\xf0\xd8T\xae\x96\t\r\x82J\xc6\x03\xff\x80"
2023-01-15 03:32:52.315 DEBUG (SyncWorker_2) [midea_beautiful.lan] From sn=000000P0000000Q104D6F49F******** id=14623504660**** address=192.168***** version=3, message=b'\x83p\x00@ \x01\x1fC\x05L\x92\xefX4O\xf6-\x92k\xd0\x13{\xc6`\x0b\x90\t\x8c\x15\xcd1i\xc8|i\xdbHR9k\x01\x8c\xd2wg*\x1dKY1i\x19\xb4\x11\xac\xa2\xa1nV\x9c\x91\x03\x05[l\x8d\xd7\xedk\x96fA'
2023-01-15 03:32:52.316 DEBUG (SyncWorker_2) [midea_beautiful.lan] Got TCP key for: sn=000000P0000000Q104D6F49F******** id=14623504660**** address=192.168***** version=3
2023-01-15 03:32:52.843 DEBUG (SyncWorker_2) [midea_beautiful.lan] Getting more capabilities
2023-01-15 03:32:52.844 DEBUG (SyncWorker_2) [midea_beautiful.lan] Packet for: sn=000000P0000000Q104D6F49F******** id=14623504660**** address=192.168***** version=3 data=b'ZZ\x01\x11H\x00 \x00\x00\x00\x00\x00T4 \x03\x0f\x01\x17\x14\x9e\xb3\x01\x00\x00\x85\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00x67\xac\xfdQ\xac\xfc\x08\xa5\xa6p\xfcDj\x87\xdeO\x06\x05\x05\x81\xfd\xe1o\xb4\xecQJ\xab\xa3\x04'
2023-01-15 03:32:52.855 DEBUG (SyncWorker_2) [midea_beautiful.lan] Sending to sn=000000P0000000Q104D6F49F******** id=14623504660**** address=192.168***** version=3, message=b"\x83p\x00n f\xb4\x00\x8a\x0f\x0fc\x87e\xbcD\x02\x8d~d\x9a\x93\x87\xaac\xc7\x1b\xf9\x9d\x98<\xdc\x81\x80\xb7\xd3\xdc'\xf0t\\\xa3z\xe6\xa6aZ\x11\x0b\xce/\t\x1d\x81\x82:b\xd8\xca\x1c\x91>\xa1\x87=\xe0J\xe3,\x96{\xbaI\xe9H\xe7\xa7A\xb2OSf\xcb\xcd\x116\xa0\xdcf\xf4\x05\x1b\x10B\xe2\xe9\xda\xb0\x98[\xc8\xe1ifr\x87D\x97o\xa6\xd6\x97\x9a\x0ck\x0c\x03\xe5"
2023-01-15 03:32:52.955 DEBUG (SyncWorker_2) [midea_beautiful.lan] From sn=000000P0000000Q104D6F49F******** id=14623504660**** address=192.168***** version=3, message=b'\x83p\x00\x8e c\xc3W`\x8b\xc6\x8c\xeaM\x1e\xf3\xaf;L\x88\x85\xf6u\x9f\\\xf2\xcb\xa9ed\xea\xaa7\xab\x81\xf7\x88\xb2\xb0o9\x1d\x8b\xe5\xc7\xf2\x8eN\xff\xe7A\xa2\xb9S\xb2\xcbd\xa7a\xca_\x07\x91\x92j\x8dln\xbb\xdaW\xe6\xee\xf3\x83^\xd6\xf4\x87\x88\x1a\xd0\xb9\x1a\x08\xa1\xcf\xa1Nb\xf71\xc2{\xf2&\x9e\xd1\xbd\x93\x06H\xcf\x06\xee\x0f\xf4\xb4h\x8dl\x8c\xc1\x90r4\xe2v\xb7{\xa7%\xed\x0f\xcc\x8f\xf4\x92\xfc\x88\xd4u\xed\xb5\x94Z\x82\x117h\x8f+\xaa\x1f\xa4\xa6\x0c\xfab6'
2023-01-15 03:32:52.956 DEBUG (SyncWorker_2) [midea_beautiful.lan] Got 1 response(s) from: sn=000000P0000000Q104D6F49F******** id=14623504660**** address=192.168***** version=3
2023-01-15 03:32:52.957 DEBUG (SyncWorker_2) [midea_beautiful.appliance] Got capability b'\x10\x02'
2023-01-15 03:32:52.957 DEBUG (SyncWorker_2) [midea_beautiful.appliance] Got capability b'\x1e\x02'
2023-01-15 03:32:52.957 DEBUG (SyncWorker_2) [midea_beautiful.appliance] Got capability b'\x1f\x02'
2023-01-15 03:32:52.957 DEBUG (SyncWorker_2) [midea_beautiful.appliance] Got capability b' \x02'
2023-01-15 03:32:52.957 DEBUG (SyncWorker_2) [midea_beautiful.appliance] Got capability b'-\x02'
2023-01-15 03:32:52.957 DEBUG (SyncWorker_2) [midea_beautiful.lan] Getting more capabilities
2023-01-15 03:32:52.958 DEBUG (SyncWorker_2) [midea_beautiful.lan] Packet for: sn=000000P0000000Q104D6F49F******** id=14623504660**** address=192.168***** version=3 data=b'ZZ\x01\x11H\x00 \x00\x00\x00\x00\x00_4 \x03\x0f\x01\x17\x14\x9e\xb3\x01\x00\x00\x85\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xa0\x86\xe0\xe6\xec\xca\xd1\x1f:\xf5\xf4\x13x\x1a\x97\xe2\xeb\xb4\x8b\x8b\xf4\x0et(\xe0\x81\xd4q\xc1\xf9a\x00'
2023-01-15 03:32:52.967 DEBUG (SyncWorker_2) [midea_beautiful.lan] Sending to sn=000000P0000000Q104D6F49F******** id=14623504660**** address=192.168***** version=3, message=b'\x83p\x00n f\xd5\x05A\x13\x19\xd2\x8f\\j\x1f}\xde\x18H\xae\x0b$\xa1?pp\xe3xq\xef\xa1\xd39F\x05\xd71\xf6u[\x8b\x9eO\xc2K\x12A\x9c!\\e\xa5\xf4\xa0\x82\xdc+\x8d#/|Cve\xafD\xbd\x80\xe1\x96\xd2\xa2.\x03\xca[\x8c\x02y\xfe\xa7\xb5\xd59QR\x05\xc0\x10\xde\x83\xec\xcf\xee\x8d\xe24\xa6\xc7\xc0!{<\x0cA\x97?\xfa\t\x92,\x98_\xec\xe3:\x88'
2023-01-15 03:32:53.074 DEBUG (SyncWorker_2) [midea_beautiful.lan] From sn=000000P0000000Q104D6F49F******** id=14623504660**** address=192.168***** version=3, message=b'\x83p\x00\x8e cb8\x8f"\x7fL\\O\xf0\x1d\x86\xc6\xe4\n\xb3\x89\xc4w\xba\x0e6p\xd1}g\xfeRy\x98\x11\xb5`-\x0b\xb8\x05h"\xba\xb2kp|\xdb\x07\x01<\x1b\xbf\x13\xad\xaa\x89E\xfb/;\x0f\xd1\x9c\xf9\xfb\xd3\x7f]\xbe\x9c1\xe7xo\x02\x80\xfd9P\xcea8Q\\\t\x1b\xd2\x98\x87\xc8v\xc9\xaa.qD1\xfe\xc0\xfa\xe3\xcdK\xd6\xcb\xbc\x18k\xa1\xa4\x93f\xdb\xb8\x91\x96SV\xa4\x05C\x80tO\xf6\xe1R\xede\xad\xa1\xab0\xb9\x0e\xea\xa52YT\xc2y)\xe8{\xa9s'
2023-01-15 03:32:53.083 DEBUG (SyncWorker_2) [midea_beautiful.lan] Got 1 response(s) from: sn=000000P0000000Q104D6F49F******** id=14623504660**** address=192.168***** version=3
2023-01-15 03:32:53.083 DEBUG (SyncWorker_2) [midea_beautiful.appliance] Got capability b'\x10\x02'
2023-01-15 03:32:53.083 DEBUG (SyncWorker_2) [midea_beautiful.appliance] Got capability b'\x1e\x02'
2023-01-15 03:32:53.083 DEBUG (SyncWorker_2) [midea_beautiful.appliance] Got capability b'\x1f\x02'
2023-01-15 03:32:53.083 DEBUG (SyncWorker_2) [midea_beautiful.appliance] Got capability b' \x02'
2023-01-15 03:32:53.083 DEBUG (SyncWorker_2) [midea_beautiful.appliance] Got capability b'-\x02'
2023-01-15 03:32:53.084 DEBUG (SyncWorker_2) [midea_beautiful.lan] Packet for: sn=000000P0000000Q104D6F49F******** id=14623504660**** address=192.168***** version=3 data=b'ZZ\x01\x11h\x00 \x00\x00\x00\x00\x00\x085 \x03\x0f\x01\x17\x14\x9e\xb3\x01\x00\x00\x85\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x07\xd3\xfb\x8c7:7\xa0\x1a\xa2G\xa4N\x1b\x00\xbc\x01\xc6\xc8c\xb3\xa3\xc5D\x03\x81\xbeg\xdcur\xed|F\xf6\x9b\xc0.9)\x90\xe0\xa3\x9f%\xbf1\xd2\xe9\x87]\x85\x90\x9f]{\xc8Y\x92)\xa5\xb9Z\x7f'
2023-01-15 03:32:53.085 DEBUG (SyncWorker_2) [midea_beautiful.lan] Sending to sn=000000P0000000Q104D6F49F******** id=14623504660**** address=192.168***** version=3, message=b'\x83p\x00\x8e fL\x9d\x7f8\xb3F\xf5\xd9X\xa8\xa1\x00\xe5\nTYa\xd2Z\x9c\x8e\xd7&\x0f\xaa\x7f\xef\xb9\x97*\x9cDk|"\xd9\xa1o,\x9cP\x1c\xb8\x88\x03\x7fD\xe8\xd8\xcc\xf5\x0b\x92\xda\xf6F\xca4\xf3\\\x99\x0e\xa0\xcf\xc2\xed \x8c\x0f\xf7`\x05\xd6Qr/w$,\xe6\xa7\xc0\x86\xfa5\xf5n,\x9d\x96\x0e\xa0\xc7\xa0\x12\xfb\xd1%\xb9m?\xb2\xff\xfad\xc3b\x86K\x18\xa6\xbf\x18n\x1a@3n\x8ep\xfe\xc1\xed\x8e\x02\xfc\xf9\x03\xdb\xc9\xf1-\xc4\x8d\x02\xa6\xcan\xee\x8d\xe7\xee\xd2\xac'
2023-01-15 03:32:53.186 DEBUG (SyncWorker_2) [midea_beautiful.lan] From sn=000000P0000000Q104D6F49F******** id=14623504660**** address=192.168***** version=3, message=b'\x83p\x00\x8e c\xbb\x9a\xeb\xc8VOV\x8e\xbc\xf6\xf9\xc4\xe4\x92\xfd\xeb\xd8R\xf0\xee\x81\xff\x1f\x00%\x1fsiA\x02)\xd5B\xc0\xaa\x1d\x86G\xd1\xa5F\xe3\xf51\x13/\xf3\x8f\xa3\x1c\xe1\x9d6[\x16X\x9e\xd7\xccmx\xe1\x17d\xa2\xbey\xd2\x0f\xe1a\xf0\x108\x93l\x96\xcd\x82 \r\x82\xf8\xe5J\xd8\xe2\x9cP4f\xe6N\xd8i\xc3S\xbf\xa3\xd8\xfcX\xef\xbe\xb6-\xed\xd4\x95QU$8\xe0\x19Q\x01\xc5\xa7\xf9\xf9\xe3c|:KuH\x13\x90\xba\xb7I\xdbo\xc3y\x80\\>\x05S\xb9\xe7'
2023-01-15 03:32:53.208 DEBUG (SyncWorker_2) [midea_beautiful.lan] Got 1 response(s) from: sn=000000P0000000Q104D6F49F******** id=14623504660**** address=192.168***** version=3
2023-01-15 03:32:53.208 DEBUG (SyncWorker_2) [midea_beautiful.lan] refresh sn=000000P0000000Q104D6F49F******** id=14623504660**** address=192.168***** version=3 responses=[b'\xaa#\xa1\x00\x00\x00\x00\x00\x03\x03\xc8\x01\x01(\x7f\x7f\x007\x00@\x00\x00\x00\x00\x00d<V\x00\x00\x00\x00\x00\x01ph']
2023-01-15 03:32:53.209 DEBUG (SyncWorker_2) [midea_beautiful.appliance] DehumidifierResponse {'fault': False, 'run_status': True, 'i_mode': False, 'timing_mode': False, 'quick_check': False, 'mode': 1, 'mode_fc': 0, 'fan_speed': 40, 'on_timer_set': False, 'on_timer_hour': 31, 'on_timer_minutes': 45, 'off_timer_set': False, 'off_timer_hour': 31, 'off_timer_minutes': 45, 'target_humidity': 55.0, 'filter_indicator': False, 'ion_mode': True, 'sleep_switch': False, 'pump_switch_flag': False, 'pump_switch': False, 'display_class': 0, 'defrosting': False, 'tank_level': 0, 'tank_full': False, 'dust_time': 0, 'rare_show': 0, 'dust': 0, 'pm25': 0, 'tank_warning_level': 100, 'current_humidity': 60, 'indoor_temperature': 18.0, 'light_class': 0, 'vertical_swing': False, 'horizontal_swing': False, 'light_value': 0, 'err_code': 0}
2023-01-15 03:32:53.209 DEBUG (SyncWorker_2) [midea_beautiful.lan] Identified appliance: {id=14623504660****, address=192.168*****, port=6444, version=3, name=146235046605726, online=True, type=0xa1, subtype=a1a1, flags=0, extra=2, reserved=87, mac=04d6f49*****, ssid=net_a1_3B3C, udp_version=0, protocol=150029, version=8.33.21, sn=000000P0000000Q104D6F49F********, state=[Dehumidifier]{id=14623504660****, type=0xa1, mode=1, running=True, target_humidity=55, fan_speed=40, tank_full=False current_humidity=60, current_temperature=18.0 defrosting=False, filter=False, tank_level=0, error_code=0, prompt=False, supports={'fan_speed': 7, 'ion': 1, 'auto': 1, 'dry_clothes': 1, 'water_level': 4}}}
2023-01-15 03:32:54.019 DEBUG (MainThread) [custom_components.midea_dehumidifier_lan.hub] Created coordinator for {'api_version': 3, 'id': '14623504660****', 'ip_address': '192.168.2.94', 'name': 'Cube', 'token_key': '****************************************************************', 'token': '********************************************************************************************************************************', 'type': '0xa1', 'unique_id': '000000P0000000Q104D6F49F********', 'discovery': 'LAN'}
2023-01-15 03:32:54.021 DEBUG (SyncWorker_1) [midea_beautiful.lan] Packet for: sn=000000P0000000Q104D6F49F******** id=14623504660**** address=192.168***** version=3 data=b'ZZ\x01\x11h\x00 \x00\x00\x00\x00\x00\x026 \x03\x0f\x01\x17\x14\x9e\xb3\x01\x00\x00\x85\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x07\xd3\xfb\x8c7:7\xa0\x1a\xa2G\xa4N\x1b\x00\xbc"S\xfbo\xdec 7\xe2\xc4x\xb5J\x8bRf\xa5}\x1f\xb4\x07Zv\xd6\xd1@r%*\x90\x0f\xc7\x19\xa7\xe8\x00F\x18&C2\x8a\xc6\x8c\x10E\x12\xd7'
2023-01-15 03:32:54.021 DEBUG (SyncWorker_1) [midea_beautiful.lan] Sending to sn=000000P0000000Q104D6F49F******** id=14623504660**** address=192.168***** version=3, message=b'\x83p\x00\x8e fs\x87Y68\xaepTSx\x0f5e\x99l\x13\x8d\xc0\x81\x0e\x93\xf1j\xf5\xf0\xea\x11z\xb6\xf5\x97\x0eb\xc2E\xeby\xe2\\\x91\xc5\xd1W\xed5\xd7\x83\x0f\x1d(k\xb2SnF\x96;\xf0\xf7\xc6G\xfce\xdff:\xdcQ\x94N\xa4\x85[AK\x03\xa2}\xfd\x0fm \x83\xe6\xe8\xd8\xc2*\x8f\xe7g\x9c\xf9\xd2\x8e~\xb2\x1a\xc5go\x83\xb8\x16\x0el\x97{\x07\xa3O?\xc2\x19\xe6\r\xce\x86\x16\xb8\xdb?n\xdbQ\xf5I\x97\xe7:\xf2\x8d\x00\x1c\xd3}\x0b\x04\xe3e\x9fc\x0fU'
2023-01-15 03:32:54.130 DEBUG (SyncWorker_1) [midea_beautiful.lan] From sn=000000P0000000Q104D6F49F******** id=14623504660**** address=192.168***** version=3, message=b'\x83p\x00\x8e c\xa3\xe9\x8fit\x0e|\xbfH\x8d\xf4&\xa0\x99Rh.\x9d\\\xf2\x0b[JHC\xd1\x9a\x06J+\x97\x06C90\xef\xcb\t\xa6\x95E\xab$\xf9\x0f"<\xf9\x9d\x95\x91AlE\x9f\xee\xb1`^\xb7I\x81x\x11\xc1\xb2\xc9\x9a-)\x1e-\xfe\xfe)\xe9\xfd\x13O\x92\xf7i\xeb\xad\xbe:\x08\xebh\xaa\x7f9\xbf\xea\x90\xcf>\x1e$\r\x06\x15\xd2\xa2\xd5;\xb7\xcd\x93\xb6\xb6\xc0`\x98\xcc\x0c\xd2\xea\xc2}+\x02\x8b4\xc2\x08K*\xf3\x88\xd8\x8b\x7fl\x1f\xd8V.\xf2OH!\xc8:'
2023-01-15 03:32:54.131 DEBUG (SyncWorker_1) [midea_beautiful.lan] Got 1 response(s) from: sn=000000P0000000Q104D6F49F******** id=14623504660**** address=192.168***** version=3
2023-01-15 03:32:54.131 DEBUG (SyncWorker_1) [midea_beautiful.lan] refresh sn=000000P0000000Q104D6F49F******** id=14623504660**** address=192.168***** version=3 responses=[b'\xaa#\xa1\x00\x00\x00\x00\x00\x03\x03\xc8\x01\x01(\x7f\x7f\x007\x00@\x00\x00\x00\x00\x00d<V\x00\x00\x00\x00\x00\x02\x92E']
2023-01-15 03:32:54.131 DEBUG (SyncWorker_1) [midea_beautiful.appliance] DehumidifierResponse {'fault': False, 'run_status': True, 'i_mode': False, 'timing_mode': False, 'quick_check': False, 'mode': 1, 'mode_fc': 0, 'fan_speed': 40, 'on_timer_set': False, 'on_timer_hour': 31, 'on_timer_minutes': 45, 'off_timer_set': False, 'off_timer_hour': 31, 'off_timer_minutes': 45, 'target_humidity': 55.0, 'filter_indicator': False, 'ion_mode': True, 'sleep_switch': False, 'pump_switch_flag': False, 'pump_switch': False, 'display_class': 0, 'defrosting': False, 'tank_level': 0, 'tank_full': False, 'dust_time': 0, 'rare_show': 0, 'dust': 0, 'pm25': 0, 'tank_warning_level': 100, 'current_humidity': 60, 'indoor_temperature': 18.0, 'light_class': 0, 'vertical_swing': False, 'horizontal_swing': False, 'light_value': 0, 'err_code': 0}
2023-01-15 03:32:54.511 DEBUG (MainThread) [custom_components.midea_dehumidifier_lan.appliance_coordinator] Finished fetching Cube data in 0.491 seconds (success: True)
2023-01-15 03:32:54.511 DEBUG (MainThread) [custom_components.midea_dehumidifier_lan.appliance_discovery] Starting periodic discovery with interval 15 minute(s), broadcast ['255.255.255.255'], configured []
2023-01-15 03:32:54.550 INFO (MainThread) [homeassistant.components.binary_sensor] Setting up binary_sensor.midea_dehumidifier_lan
2023-01-15 03:32:54.551 INFO (MainThread) [homeassistant.components.climate] Setting up climate.midea_dehumidifier_lan
2023-01-15 03:32:54.552 INFO (MainThread) [homeassistant.components.sensor] Setting up sensor.midea_dehumidifier_lan
2023-01-15 03:32:54.596 INFO (MainThread) [homeassistant.components.humidifier] Setting up humidifier.midea_dehumidifier_lan
2023-01-15 03:32:55.687 INFO (MainThread) [homeassistant.components.fan] Setting up fan.midea_dehumidifier_lan
2023-01-15 03:32:56.130 INFO (MainThread) [homeassistant.components.switch] Setting up switch.midea_dehumidifier_lan
2023-01-15 03:33:54.225 DEBUG (SyncWorker_8) [midea_beautiful.lan] Packet for: sn=000000P0000000Q104D6F49F******** id=14623504660**** address=192.168***** version=3 data=b'ZZ\x01\x11h\x00 \x00\x00\x00\x00\x00\x166!\x03\x0f\x01\x17\x14\x9e\xb3\x01\x00\x00\x85\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x07\xd3\xfb\x8c7:7\xa0\x1a\xa2G\xa4N\x1b\x00\xbc\x81\x98\x9cB\x9c6\x01\x15\xc4\x19\xca\x95\xe1\xc0\x8d\xf3\xb1\xf4\x1b\xe3\xf4\x93\x11\xc1\xa8\xcfD\x9d\x93*r\xe3d\xcc\x14\xe0!\x05\x90a\xc6y\xa1/H\xcbl\xa5'
2023-01-15 03:33:54.226 DEBUG (SyncWorker_8) [midea_beautiful.lan] Sending to sn=000000P0000000Q104D6F49F******** id=14623504660**** address=192.168***** version=3, message=b"\x83p\x00\x8e f\xde\x83\xeau\x08\xc5\xaa\x89\xf8\xd8\xde\xcc/\xcf\x7fF\x96\xc6\xe1\xbd;\xa6\xe1\x11\x14_\xd1\xc8\x81\x8fM\xc1\xae/*\x83v\x1b}\xbc\x08\x0f\xc4F=\xdb\x96_\xdc5?\xf3\x02\xe4\x7fy\xa6\x1b\xfeEX1\xa1m\xd8\xdd\xf1\xaa\xda8\x17\x9f\x9a\xeaY\xe5\xf5H\xf2\xc4\xe1\xe5\x03\x9a\xb2\x9f\xb6\xfc\xa1NZ:q\x16\xc1\xefA\xe7\x1d\xd3\xad_\xd3\x90\xe6\x1f\x9f\x08oe';\xddE\xbc\xc8\xf2\xab\xa1\xebc\x94\xb0G\xb4WG\xfc]5\x92\xca\x10\xbdn\x1an\x06h[\xedU\x8a\x83"
2023-01-15 03:33:54.226 DEBUG (SyncWorker_8) [midea_beautiful.lan] From sn=000000P0000000Q104D6F49F******** id=14623504660**** address=192.168***** version=3, message=b''
2023-01-15 03:33:54.227 DEBUG (SyncWorker_8) [midea_beautiful.lan] Socket sn=000000P0000000Q104D6F49F******** id=14623504660**** address=192.168***** version=3 closed, creating new socket
2023-01-15 03:33:54.228 DEBUG (SyncWorker_8) [midea_beautiful.lan] Attempting new connection to sn=000000P0000000Q104D6F49F******** id=14623504660**** address=192.168***** version=3
2023-01-15 03:33:54.232 DEBUG (SyncWorker_8) [midea_beautiful.lan] Sending to sn=000000P0000000Q104D6F49F******** id=14623504660**** address=192.168***** version=3, message=b"\x83p\x00@ \x00\x00\x05\xb0\xcc\x05\x94\xee\xc8\xb2$\xb2\xb46\xea\xb6'\xeb\x8b\xaf\x93ED\x92\xb3\xa8\xe86fg%_I@oA\x94u\xdc\xad(\xe3\x94\xf9\x86%\xfdo~\x81\xb1f\xb4E\xf0\xd8T\xae\x96\t\r\x82J\xc6\x03\xff\x80"
2023-01-15 03:33:54.283 DEBUG (SyncWorker_8) [midea_beautiful.lan] From sn=000000P0000000Q104D6F49F******** id=14623504660**** address=192.168***** version=3, message=b'\x83p\x00@ \x01\x1fC\xcf\xf0\x8a\xab\x86&e\x8a\xb2\x87&\xb1\xf6\x81p\xce\xbdZ\x12\x02\xfcU\xb4\x0c\\\xb3\xbe;\x0e-(\t\xe6\xe2\xd89KPfx\x87\xbdH\xf1\x9b\t\t\x80\x1a\xfc\x13\x86\xc4o]\x8aHf\xd30e\x10\xcf\xfe'
2023-01-15 03:33:54.285 DEBUG (SyncWorker_8) [midea_beautiful.lan] Got TCP key for: sn=000000P0000000Q104D6F49F******** id=14623504660**** address=192.168***** version=3
2023-01-15 03:33:54.787 DEBUG (SyncWorker_8) [midea_beautiful.lan] Sending to sn=000000P0000000Q104D6F49F******** id=14623504660**** address=192.168***** version=3, message=b"\x83p\x00\x8e f\x81E\xf7\x85#\x83\xbd\xf3$e\xfcr2\x9as\x93\x11\xff\xc3\xd05.\x9b{}w\xa4\xd32\xf4\xb9\xaf\nK\x9e\x18\xc20\xfa\xfe\xec\xff\xa9\xe9\x8a!\x8e\x7f\xf2\xbf\xb9\xf3ZQ\xd0\xf9kr\xdf\xe4\xfa\x1bu\x95T\xb6g\xe9\x15\xa4\xc1\n\xbf\x18A\x9eIG\x984\x97\xf2\x1e\x1e\xc4'\x13\xe0\x05\nm'\xbe\xba\xbf\x1b\x0f@,\xb3\xb5d{U\xd4\xc9\xed=\x16\xc7\xb23\x1bc \xf6\xaf\xe2q\xfa\xdc,\x03\x02y\x93\xa4%\xb7\x8a_\xa9p\xf8\xc0K\x81r\xec\xc1\xf94\xdee"
2023-01-15 03:33:54.895 DEBUG (SyncWorker_8) [midea_beautiful.lan] From sn=000000P0000000Q104D6F49F******** id=14623504660**** address=192.168***** version=3, message=b'\x83p\x00\x8e cv\x07\xe2\x13\xb2C\x1c\xd0|\x89\x1a+R\xbf[\x9e\xbej\xd2(\x0c\xa3kn$\xe3B\x88\xc3S\xfb\xef\xa5:\xf0\x85\x86\x0f\x86\x05\x9a8p#cP\x8e\xbb\x99@t\\\x87blh\xed\xbb\xa7\x17x\xb3\xb8PA\x82\x8fC\xd4l\xe2\xca\xb5eMa\xe9 \xbe\xa8*l\xc0\xfa\xa5\x12\xc6U[VJ\x7f@\xe4\x95\xcdq"\x15)\xcd\x1a\x8aQ\x9b\xf0\xc7\x00\x9e\x14T\x88\xd8X\xab\xad\xc5j[?\x12\xf1>\x94J\xfa\xe4gj\xfc\x9b\x11\xeb\xacV\xe0\x8c0z\xa6/\x83Z\x94'
2023-01-15 03:33:54.898 DEBUG (SyncWorker_8) [midea_beautiful.lan] Got 1 response(s) from: sn=000000P0000000Q104D6F49F******** id=14623504660**** address=192.168***** version=3
2023-01-15 03:33:54.898 DEBUG (SyncWorker_8) [midea_beautiful.lan] refresh sn=000000P0000000Q104D6F49F******** id=14623504660**** address=192.168***** version=3 responses=[b'\xaa#\xa1\x00\x00\x00\x00\x00\x03\x03\xc8\x01\x01(\x7f\x7f\x007\x00@\x00\x00\x00\x00\x00d>V\x00\x00\x00\x00\x00\x03J\x8a']
2023-01-15 03:33:54.898 DEBUG (SyncWorker_8) [midea_beautiful.appliance] DehumidifierResponse {'fault': False, 'run_status': True, 'i_mode': False, 'timing_mode': False, 'quick_check': False, 'mode': 1, 'mode_fc': 0, 'fan_speed': 40, 'on_timer_set': False, 'on_timer_hour': 31, 'on_timer_minutes': 45, 'off_timer_set': False, 'off_timer_hour': 31, 'off_timer_minutes': 45, 'target_humidity': 55.0, 'filter_indicator': False, 'ion_mode': True, 'sleep_switch': False, 'pump_switch_flag': False, 'pump_switch': False, 'display_class': 0, 'defrosting': False, 'tank_level': 0, 'tank_full': False, 'dust_time': 0, 'rare_show': 0, 'dust': 0, 'pm25': 0, 'tank_warning_level': 100, 'current_humidity': 62, 'indoor_temperature': 18.0, 'light_class': 0, 'vertical_swing': False, 'horizontal_swing': False, 'light_value': 0, 'err_code': 0}
2023-01-15 03:33:54.901 DEBUG (MainThread) [custom_components.midea_dehumidifier_lan.appliance_coordinator] Finished fetching Cube data in 0.677 seconds (success: True)

Same over here but I swear that I see/saw it working but only like when 75% full, but it would be cool if it reported what msmarthome does.
Screenshot_20230227_002235_MSmartHome
Screenshot_20230227_002202_Home Assistant

Have you set base information to the right capacity in msmarthome? Mine was set to 35 pints instead of 50 and was also showing 0%
image

Have you set base information to the right capacity in msmarthome? Mine was set to 35 pints instead of 50 and was also showing 0%

Can't check it atm (I don't use the device now), but I feel like I did. Did setting the right capacity make it report correctly for you?

eventually
image

I just got a Cube also and for a day it has been running and same issue described here, 35 pint unit and set correctly in MSmartHome shows water level, but integration showing 0%. Was looking to automate push notifications from HA, but not going to work much if always showing 0.. I am going to set an automation to push to me when the value changes to see if and when it kicks.

I'm not really using mine right now, but I think it only shows 0, 25, 50, 75, or 100% based on how many pips are lit up on the device. I know the msmarthome app shows more specific values, but I've only ever seen multiples of 25 in HA.

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days.