Some Information are not received correctly:
history#total_clean_area
histor…y#total_clean_time
history#total_clean_count
cleaning#last_clean_start_time
cleaning#last_clean_end_time
cleaning#last_clean_area
cleaning#last_clean_duration
cleaning#last_clean_error
cleaning#last_clean_finish
Debugging shows an parsing issue. Probably the owner could implement some smarter decoding which works for both old and new models for these field:
`
2023-08-01 09:15:20.707 [WARN ] [nal.transport.MiIoAsyncCommunication] - Could not parse '�@^�#�5�u��>Zft":[{"main_brush_work_time":33577,"side_brush_work_time":33577,"filter_work_time":33577,"filter_element_work_time":0,"sensor_dirty_time":33329,"dust_collection_work_times":16}],"exe_time":10}' <- {"id":764,"method":"get_consumable","params":[]} (Device: xx21XX90x) gave error com.google.gson.stream.MalformedJsonException: Use JsonReader.setLenient(true) to accept malformed JSON at line 1 column 6 path $
2023-08-01 09:54:29.867 [WARN ] [nal.transport.MiIoAsyncCommunication] - Could not parse '{"id":13180,"result":{"life":227�0|�U��v
2023-08-01 09:58:29.349 [WARN ] [nal.transport.MiIoAsyncCommunication] - Could not parse '��FoL�*�J 0M��,��/��w�U�
2023-08-01 10:13:02.547 [WARN ] [nal.transport.MiIoAsyncCommunication] - Could not parse '���A�?��3消©�~�
2023-08-01 10:24:03.312 [WARN ] [nal.transport.MiIoAsyncCommunication] - Could not parse '{"id":13917,"result":{"clean_time":33329,"clean_area":485050000,"clean_count":18,"dust_collectio�����8�#�-&����Hk�>>�*SA'�Ei���� �ۀn�,�C���R������L��)�"J9̇�h�[�#�~�ؼ�nt�N�cNF���i.���690399564,1690376977,1690350219,1690273708,1690269919,1690265267,1689962776,1689952018,1689800851,1689800750]},"exe_time":10}' <- {"id":13917,"method":"get_clean_summary","params":[]} (Device: xx21XX90x) gave error com.google.gson.stream.MalformedJsonException: Expected ':' at line 1 column 164 path $.result.dust_collectio�����8�#�-&����Hk�>>�*SA'�Ei���� �ۀn�,�C���R������L��)�
2023-08-01 11:13:44.091 [WARN ] [nal.transport.MiIoAsyncCommunication] - Could not parse '{"id":153,"result":{"clean_time":33329,"clean_area":485050000,"clean_count":18,"V����5 i
A��@ G�j�?"�u
u�q��#�V�G��ߋ�%U!Yj�֯7
�� �nxN�An,{�5i����&w�q�K��P�Ą��Kd�.]a�CN~=�0Y7,1690443056,1690399564,1690376977,1690350219,1690273708,1690269919,1690265267,1689962776,1689952018,1689800851,1689800750]},"exe_time":11}' <- {"id":153,"method":"get_clean_summary","params":[]} (Device: xx21XX90x) gave error com.google.gson.stream.MalformedJsonException: Expected ':' at line 2 column 14 path $.result.V����5 i
A��@ G�j�?
2023-08-01 11:23:14.162 [WARN ] [nal.transport.MiIoAsyncCommunication] - Could not parse '{"id":392,"result":[{"msg_ver":2,"msg_seq":786,"state":8,"battery":100,"clean_time":2585,"clean_area":41365000,"error_code":0,"map_present":1,"in_cleaning":0,"in_returning":0,"in_fresh_state":1,"lab_status":3,"water_box_status":1,"fan_power":106,"dnd_enabled":0,"map_status":7,"is_locatin*�/ے� Dj��L� ��Aa;eOz��#%��8Ν[�g��c���'4��8���`p |��o"h9.��P,�Dh��Y�ry]&�+Sw��ٞ!�d�anh}k�'�(A:0,"adbumper_status":[0,0,0],"dock_type":5,"dust_collection_status":0,"auto_dust_collection":1,"debug_mode":0,"switch_map_mode":0,"dock_error_status":0,"charge_status":1}],"exe_time":10}' <- {"id":392,"method":"get_status","params":[]} (Device: xx21XX90x) gave error com.google.gson.stream.MalformedJsonException: Expected ':' at line 1 column 351 path $.result[0].is_locatin*�/ے� Dj��L� ��Aa;eOz��#%��8Ν[�g��c���'4��8���`p |��o
2023-08-01 14:05:38.477 [WARN ] [nal.transport.MiIoAsyncCommunication] - Could not parse '��u��X�zƁ���9勋U\���^K ���>�Dq��T����L�9*,�i�?9��Mr;�ċ�Cp8 _���s�WB�)��)��H�� �Xӄ#�{� ��ݳ\E_element_work_time":0,"sensor_dirty_time":36669,"dust_collection_work_times":17}],"exe_time":11}' <- {"id":3371,"method":"get_consumable","params":[]} (Device: xx21XX90x) gave error com.google.gson.stream.MalformedJsonException: Use JsonReader.setLenient(true) to accept malformed JSON at line 1 column 17 path $
2023-08-01 14:18:10.388 [WARN ] [nal.transport.MiIoAsyncCommunication] - Could not parse '{"id":4870,"result":{"life":38617,"model":"roborock.vacuum.a38","token":"4f5758412345678900ß635zrt44545246e","ipflag":1,"miio_ver":"0.0.9","uid":8208037505,"uptime":38629,"mac":"B0:4A:39:71:74:2%6J~ ��O�ƙZoޟ0��I.�C�[�ŵ�>R��/=A��WoW��������ӳ����:�<eF%Q��X�7�J�Q��X�q�G��4�@冬�(�k�#p�<PV��&+��^�f��9":{"ssid":"blabla","bssid":"e1:d2:73:b3:45:5d","rssi":"-14","freq":0},"netif":{"localIp":"192.168.178.11","mask":"255.255.255.0","gw":"192.168.178.1"},"miio_times":[38616,15,0,38600]},"exe_time":1}' <- {"id":4870,"method":"miIO.info","params":[]} (Device: xx21XX90x) gave error com.google.gson.stream.MalformedJsonException: Unterminated object at line 1 column 316 path $.result.mac
2023-08-01 15:53:27.826 [WARN ] [nal.transport.MiIoAsyncCommunication] - Could not parse '{"id":7246,"result":{"life":44334,"model":"roborock.vacuum.a38","token":"4f5758412345678900ß635zrt44545246e","ipflag":1,"miio_ver":"0.0.9","uid":8208037505,"uptime":44346,"mac":"B0:4A:39:71:74:28","fw_ver":"4.3.5_0906","hw_ver":"Linux","miio_�2� �3�;1mB��!��26��{�6�b7�N$p�����.��(@� �"VmRSS":1760,"MemFree":24856,"ap":{"ssid":"blabla"a;g�!�4�S��l�nn�`���� LͰ��Q�g� 4�Sh�Lq<C)9 +}�Kz2��calIp":"192.168.178.11","mask":"255.255.255.0","gw":"192.168.178.1"},"miio_times":[44334,15,0,44318]},"exe_time":1}' <- {"id":7246,"method":"miIO.info","params":[]} (Device: xx21XX90x) gave error com.google.gson.stream.MalformedJsonException: Expected ':' at line 1 column 291 path $.result.miio_�2� �3�;1mB��!��26��{�6�b7�N$p�����.��(@� �
2023-08-01 16:24:40.747 [WARN ] [nal.transport.MiIoAsyncCommunication] - Could not parse '�&��Y۷x?���@�Q?+0׆��.���RD���="H���e��x�Xf�
`�=P*��Ȑ�.&V�O�X%P�274673644564432763532776e","ipflag":1,"miio_ver":"0.0.9","uid":8208037505,"uptime":46219,"mac":"B0:4A:39:71:74:28","fw_ver":"4.3.5_0906","hw_ver":"Linux","miio_client_ver":"4.3.5","VmPeak":9260,"VmSize":9260,"VmRSS":1760,"MemFree":24204,"ap":{"ssid":"blabla","bssid":"e1:d2:73:b3:45:5d","rssi":"-14","freq":0},"netif":{"localIp":"192.168.178.11","mask":"255.255.255.0","gw":"192.168.178.1"},"miio_times":[46207,15,0,46191]},"exe_time":2}' <- {"id":8022,"method":"miIO.info","params":[]} (Device: xx21XX90x) gave error com.google.gson.stream.MalformedJsonException: Use JsonReader.setLenient(true) to accept malformed JSON at line 1 column 36 path $
2023-08-01 16:42:45.975 [WARN ] [nal.transport.MiIoAsyncCommunication] - Could not parse '{"id":8472,"result":[{"msg_ver":2,"msg_seq":2229�ĝ7q"kֽ^�{�֯H��O1I��ViX2�V�W���߳.�ľ�Z�N"����$���N��dc�E�� wS ��n����[�]Pg.T�.ƒRho���z�ƳmD�
hc�"in_returning":0,"in_fresh_state":1,"lab_status":3,"water_box_status":1,"fan_power":104,"dnd_enabled":0,"map_status":3,"is_locating":0,"lock_status":0,"water_box_mode":203,"distance_off":60,"water_box_carriage_status":1,"mop_forbidden_enable":1,"adbumper_status":[0,0,0],"dock_type":5,"dust_collection_status":0,"auto_dust_collection":1,"debug_mode":0,"switch_map_mode":0,"dock_error_status":0,"charge_status":1}],"exe_time":10}' <- {"id":8472,"method":"get_status","params":[]} (Device: xx21XX90x) gave error com.google.gson.stream.MalformedJsonException: Unterminated object at line 1 column 60 path $.result[0].msg_seq
2023-08-01 16:53:16.780 [WARN ] [nal.transport.MiIoAsyncCommunication] - Could not parse '{"id":4874,"result":{"life":47923,"model":"roborock.vacuum.a38","token":"4f5758412345678900ß635zrt44545246e","ipflag":1,"miio_ver":"0.0.9","uid":8208037505,"uptime":47935,"mac":"B0:4A:39:71:74:28","fw_ver":"4.3.5_0906","hw_ver":"Linux","miio_client_ver":"4.3.5","VmPeak":9260,"VmSize":9260,"VmRSS":1760,"MemFree":22624,"ap":{"ssid":"blabla","bssid":"e1:d2:73:b3:45:5d","rssi":"-14","freq":0},"netif":{"lox��6�]�X��9{��EY�G2f�=�
9h��8-�a��v��]���ߜ��o~!�8�.�\�(�2�#�� �%�o�t�ʈ��>J�b@��D�M�g�A>hZ�yb�":1}' <- {"id":4874,"method":"miIO.info","params":[]} (Device: xx21XX90x) gave error com.google.gson.stream.MalformedJsonException: Invalid escape sequence at line 2 column 35 path $.result.netif.
2023-08-01 17:02:49.518 [WARN ] [nal.transport.MiIoAsyncCommunication] - Could not parse '{"id":8973,"result":{"life":48496,"model":"roborock.vacuum.a38","token":"4f5758412345678900ß635zrt44545246e","ipflag":1,"miio_ver":"0.0.9","uid":8208037505,"uptime":48508,"mac":"B0:4A:39:71:74:28","fw_ver":"4.3.5_0906","hw_ver":"Linux","miio_client_ver":"4.3.5","VmPeak":9260,"VmSize":9260,"VmRSS":1760,"MemFree":23068,"ap":{"ssid":"blabla","bssid":"e1:d2:73:b3:45:5d","rs�w'���H�z�Ck���HU�r��^����Ѷ��G�ݱik�h�����3����0_�4��["255.255.255.0","gw":"192.168.178.1"},"miio_times":[48496,15,0,48480]},"exe_time":2}' <- {"id":8973,"method":"miIO.info","params":[]} (Device: xx21XX90x) gave error com.google.gson.stream.MalformedJsonException: Expected ':' at line 1 column 433 path $.result.ap.rs�w'���H�z�Ck���HU�r��^����Ѷ��G�ݱik�h�����3����0_�4��[
2023-08-01 17:07:19.579 [WARN ] [nal.transport.MiIoAsyncCommunication] - Could not parse '���Ft;�L&!��xlt":[{"start_hour":22,"start_minute":0,"end_hour":8,"end_minute":0,"enabled":1}],"exe_time":11}' <- {"id":9083,"method":"get_dnd_timer","params":[]} (Device: xx21XX90x) gave error com.google.gson.stream.MalformedJsonException: Use JsonReader.setLenient(true) to accept malformed JSON at line 1 column 9 path $
2023-08-01 17:33:24.020 [WARN ] [nal.transport.MiIoAsyncCommunication] - Could not parse '{"id":5236,"result":[{"main_brush_work_time":36917,"side_brush_work_time":36917,"filter_work_tim!��2��|�5��j j �"/�)//����fB��j>6��d��@ؤe^����ݰj���`ж#5��?�3��-��C6���f�D� ��P!݃l���t�����/�' <- {"id":5236,"method":"get_consumable","params":[]} (Device: xx21XX90x) gave error com.google.gson.stream.MalformedJsonException: Expected ':' at line 1 column 118 path $.result[0].filter_work_tim!��2��|�5��j j �
2023-08-01 18:01:56.387 [WARN ] [nal.transport.MiIoAsyncCommunication] - Could not parse 'Z�Zbd�J�J7Y9Iult":{"life":52043,"model":"roborock.vacuum.a38","token":"4f5758412345678900ß635zrt44545246e","ipflag":1,"miio_ver":"0.0.9","uid":8208037505,"uptime":52055,"mac":"B0:4A:39:71:74:28","fw_ver":"4.3.5_0906","hw_ver":"Linux","miio_client_ver":"4.3.5","VmPeak":9260,"VmSize":9260,"VmRSS":1760,"MemFree":19684,"ap":{"ssid":"blabla","bssid":"e1:d2:73:b3:45:5d","rssi":"-14","freq":0},"netif":{"localIp":"192.168.178.11","mask":"255.255.255.0","gw":"192.168.178.1"},"miio_times":[52042,15,0,52026]},"exe_time":2}' <- {"id":10449,"method":"miIO.info","params":[]} (Device: xx21XX90x) gave error com.google.gson.stream.MalformedJsonException: Use JsonReader.setLenient(true) to accept malformed JSON at line 1 column 22 path $
2023-08-01 18:38:09.670 [WARN ] [nal.transport.MiIoAsyncCommunication] - Could not parse '{"id":5814,"result":{"clean_time":36669,"clean_a�|BW]%�9��06����
Bˮ��e�u�djhi�}R��! (��QE �X{E��S�w�Vln�9a�0}���^�� l�{ɥ�h���t
�B�3$��(=��i" `���cF���%��/^���mm(�20521150,1690521145,1690446447,1690443056,1690399564,1690376977,1690350219,1690273708,1690269919,1690265267,1689962776,1689952018,1689800851,1689800750]},"exe_time":11}' <- {"id":5814,"method":"get_clean_summary","params":[]} (Device: xx21XX90x) gave error com.google.gson.stream.MalformedJsonException: Expected ':' at line 2 column 86 path $.result.clean_a�|BW]%�9��06����
Bˮ��e�u�djhi�}R��! (��QE �X{E��S�w�Vln�9a�0}���^�� l�{ɥ�h���t
�B�3$��(=��i
2023-08-01 18:51:12.619 [WARN ] [nal.transport.MiIoAsyncCommunication] - Could not parse '����m0X�@j�r���ک6�B�%\�����?m◸�m�ΪQ.F)�":F��Y<˘#p{���VR���_< ״:0,"enabled":1}],"exe_time":11}' <- {"id":5930,"method":"get_dnd_timer","params":[]} (Device: xx21XX90x) gave error com.google.gson.stream.MalformedJsonException: Use JsonReader.setLenient(true) to accept malformed JSON at line 1 column 26 path $
2023-08-01 18:53:12.602 [WARN ] [nal.transport.MiIoAsyncCommunication] - Could not parse '{"id":11725,"result":{"life":55119,"model":"roborock.vacuum.a38","token":"4f5758412345678900ß635zrt44545246e","ipflag":1,"miio_ver":"0.0.9","uid":8208037505,"uptime":55131,"mac":"B0:4A:39:71:74:28","fw_ver":"4.3.5_0906","hw_ver":"Linux","miio_client_ver":"4.3.5","VmPeak":9260,"VmSize":926017�V�>y��_e�sl��3��;�TkT��z��f��^����Z����h���{=�j�z����لnhkN�
��y���]`��#��kfl��
���4p9<S����!�fOT�QYE���.178.118","mask":"255.255.255.0","gw":"192.168.178.1"},"miio_times":[55118,15,0,55102]},"exe_time":1}' <- {"id":11725,"method":"miIO.info","params":[]} (Device: xx21XX90x) gave error com.google.gson.stream.MalformedJsonException: Expected ':' at line 1 column 340 path $.result.�TkT��z��f��^����Z����h���
2023-08-01 18:56:12.628 [WARN ] [nal.transport.MiIoAsyncCommunication] - Could not parse 'Z[�RE�^�i7�3M��}��C|*pt+;�̄�j��`�ۢ���)ܴ b'���G;�X��Vp8_�u�U&�3~�Wl��cL��Ē(\�j�b6��-D�R� ��x���]�ҹ_element_work_time":0,"sensor_dirty_time":36669,"dust_collection_work_times":17}],"exe_time":11}' <- {"id":5978,"method":"get_consumable","params":[]} (Device: xx21XX90x) gave error com.google.gson.stream.MalformedJsonException: Use JsonReader.setLenient(true) to accept malformed JSON at line 1 column 3 path $
2023-08-01 19:05:17.688 [WARN ] [nal.transport.MiIoAsyncCommunication] - Could not parse '3\�x��0���W��P��,��Y������}�1uOd��ݏC�˙�K_F���M9�%�����������j���'��k�9��D�&Qw
x63532776e","ipflag":1,"miio_ver":"0.0.9","uid":8208037505,"uptime":55856,"mac":"B0:4A:39:71:74:28","fw_ver":"4.3.5_0906","hw_ver":"Linux","miio_client_ver":"4.3.5","VmPeak":9260,"VmSize":9260,"VmRSS":1760,"MemFree":30664,"ap":{"ssid":"blabla","bssid":"e1:d2:73:b3:45:5d","rssi":"-14","freq":0},"netif":{"localIp":"192.168.178.11","mask":"255.255.255.0","gw":"192.168.178.1"},"miio_times":[55843,15,0,55827]},"exe_time":2}' <- {"id":6059,"method":"miIO.info","params":[]} (Device: xx21XX90x) gave error com.google.gson.stream.MalformedJsonException: Use JsonReader.setLenient(true) to accept malformed JSON at line 1 column 3 path $
2023-08-01 19:38:55.800 [WARN ] [nal.transport.MiIoAsyncCommunication] - Could not parse '{"id":6359,"result":{"clean_time����C�|t��:
�9%8�G�&��f��SVK�cz�}�p ɻ��.�G�ׇ��J��X4�C��c�������1�)Z~ZmW�%��e�����g�~���G�X&��W�Se��/�C~ϝ��E|t�6��J�
�I\0521150,1690521145,1690446447,1690443056,1690399564,1690376977,1690350219,1690273708,1690269919,1690265267,1689962776,1689952018,1689800851,1689800750]},"exe_time":10}' <- {"id":6359,"method":"get_clean_summary","params":[]} (Device: xx21XX90x) gave error com.google.gson.stream.MalformedJsonException: Invalid escape sequence at line 2 column 127 path $.result.
2023-08-01 19:44:55.891 [WARN ] [nal.transport.MiIoAsyncCommunication] - Could not parse '{"id":6415,"result":{"life":58222,"model":"roborock.vacuum.a38","token":"4f5758412345678900ß635zrt44545246e","ipflag":1,"miio_ver":"0.0.9","uid":8208037505,"uptime":58234,"mac":"B0:4A:39:71:74:28","fw_ver":"4.3.5_0906","hw_verQ|�j��@s�Z��#i�)';"�1�(DrJ�"3sl�'� ���tA����j���w� π{���g˥G��I!y�� 4+�ۋ̺��гR��!XS��Bd�,"bssid":"e1:d2:73:b3:45:5d","rssi":"-14","freq":0},"netif":{"localIp":"192.168.178.11","mask":"255.255.255.0","gw":"192.168.178.1"},"miio_times":[58222,15,0,58206]},"exe_time":2}' <- {"id":6415,"method":"miIO.info","params":[]} (Device: xx21XX90x) gave error com.google.gson.stream.MalformedJsonException: Expected ':' at line 1 column 248 path $.result.hw_verQ|�j��@s�Z��#i�)';
2023-08-01 19:48:25.907 [WARN ] [nal.transport.MiIoAsyncCommunication] - Could not parse '�ó{��:���
`