mikey0000 / Mammotion-HA

Home Assistant integration for Luba, Luba 2 and Yuka (Mammotion) lawn mowers
151 stars 22 forks source link

No values ​​available #58

Closed mathiaslehmann closed 2 months ago

mathiaslehmann commented 2 months ago

The problem

Hello, since version 0.0.12/0.0.13 all entities are available again. Thank you for the quick fix. Unfortunately no values ​​are displayed anymore or they are all zero.

image

What Mammotion mower are you using?

Yuka

What version of the Mammotion intergration are you using?

51e14b1

What version of Home Assistant Core are you running?

core-2024.8.0

mathiaslehmann commented 2 months ago

Hello, the problem has been resolved. It just took a while after I updated to 0.0.13. Thanks to everyone involved.

mikey0000 commented 2 months ago

Just give it a tick, it should populate soon. I've got another idea that could help, but if you could look at your logs for any errors, that would be helpful, thanks

9/08/2024 7:28:17 pm mathiaslehmann @.***>:

The problem

Hello, since version 0.0.12/0.0.13 all entities are available again. Thank you for the quick fix. Unfortunately no values ​​are displayed anymore or they are all zero.

image.png (view on web)[https://github.com/user-attachments/assets/4e1b8504-abee-4dca-9a89-c3543089bd9e]

What Mammotion mower are you using?

Yuka

What version of the Mammotion intergration are you using?

51e14b1[https://github.com/mikey0000/Mammotion-HA/commit/51e14b1cc5b745889613f9ee0249f1128a1083ad]

What version of Home Assistant Core are you running?

core-2024.8.0

— Reply to this email directly, view it on GitHub[https://github.com/mikey0000/Mammotion-HA/issues/58], or unsubscribe[https://github.com/notifications/unsubscribe-auth/AALDOPKPFRKYZL6E6O3GOG3ZQRVPJAVCNFSM6AAAAABMH5MKGKVHI2DSMVQWIX3LMV43ASLTON2WKOZSGQ2TOMRZGM2DCMA]. You are receiving this because you are subscribed to this thread. [Tracking image][https://github.com/notifications/beacon/AALDOPPCR3ZKFA7BRDLJLQDZQRVPJA5CNFSM6AAAAABMH5MKGKWGG33NNVSW45C7OR4XAZNFJFZXG5LFVJRW63LNMVXHIX3JMTHJE52SMI.gif]

mathiaslehmann commented 2 months ago

Hello, yes it seems as if the data is only updated or read sporadically. I have activated the debug mode. I could not find any errors in the LOG. I have changed a few things in the output such as names and addresses. Please do not be surprised. Thank you very much for your work.

2024-08-09 10:17:32.902 DEBUG (MainThread) [custom_components.mammotion] Updated Mammotion device Yuka-ABCDEFGH
2024-08-09 10:17:32.902 DEBUG (MainThread) [custom_components.mammotion] ================= Debug Log =================
2024-08-09 10:17:32.904 DEBUG (MainThread) [custom_components.mammotion] Mammotion device data: {'device': {'msgtype': 0, 'sender': 0, 'rcver': 0, 'msgattr': 0, 'seqs': 0, 'version': 0, 'subtype': 0, 'net': {'todev_ble_sync': 0, 'todev__conf_type': 0, 'todev__wifi_msg_upload': {'wifi_msg_upload': 0}, 'todev__wifi_list_upload': {'nvs_wifi_upload': 0}, 'todev__wifi__configuration': {'config_param': 0, 'confssid': '', 'wifi_enable': False}, 'toapp__wifi_msg': {'status1': False, 'status2': False, 'ip': '', 'msgssid': '', 'password': '', 'rssi': 0, 'productkey': '', 'devicename': '', 'wifi_enable': False}, 'toapp__wifi_conf': {'succ_flag': False, 'code': 0, 'confssid': ''}, 'toapp__list_upload': {'sum': 0, 'current': 0, 'status': 0, 'memssid': '', 'rssi': 0}, 'todev_req_log_info': {'biz_id': '', 'url': '', 'user_id': '', 'num': 0, 'type': 0}, 'todev_log_data_cancel': {'biz_id': ''}, 'todev_devinfo_req': {'req_ids': []}, 'toapp_devinfo_resp': {'resp_ids': []}, 'toapp_upgrade_report': {'devname': '', 'otaid': '', 'version': '', 'progress': 0, 'result': 0, 'message': '', 'properties': ''}, 'toapp_wifi_iot_status': {'wifi_connected': False, 'iot_connected': False, 'productkey': '', 'devicename': ''}, 'todev_uploadfile_req': {'biz_id': '', 'operation': 0, 'server_ip': 0.0, 'server_port': 0, 'num': 0, 'type': 0}, 'toapp_uploadfile_rsp': {'biz_id': '', 'operation': 0, 'result': 0}, 'todev_networkinfo_req': {'req_ids': 0}, 'toapp_networkinfo_rsp': {'req_ids': 0, 'wifi_ssid': '', 'wifi_mac': '', 'wifi_rssi': 0, 'ip': 0.0, 'mask': 0.0, 'gateway': 0.0}, 'bir_testdata': {'seqs': 0, 'data': []}, 'todev_mnet_info_req': {'req_ids': 0}, 'toapp_mnet_info_rsp': {'req_ids': 0, 'result': 0, 'mnet': {'model': '', 'revision': '', 'imei': '', 'sim': 0, 'imsi': '', 'link_type': 0, 'rssi': 0, 'inet': {'connect': False, 'ip': 0.0, 'mask': 0.0, 'gateway': 0.0}}}, 'todev_get_mnet_cfg_req': {'req_ids': 0}, 'toapp_get_mnet_cfg_rsp': {'req_ids': 0, 'result': 0, 'cfg': {'mnet_enable': False, 'inet_enable': False, 'type': 0, 'apn': {'use_default': False, 'cfg': {'apn_used_idx': 0, 'apn': []}}, 'auto_select': False}}, 'todev_set_mnet_cfg_req': {'req_ids': 0, 'cfg': {'mnet_enable': False, 'inet_enable': False, 'type': 0, 'apn': {'use_default': False, 'cfg': {'apn_used_idx': 0, 'apn': []}}, 'auto_select': False}}, 'toapp_set_mnet_cfg_rsp': {'req_ids': 0, 'result': 0}, 'todev_set_dds2zmq': {'is_enable': False, 'rx_topic_name': '', 'tx_zmq_url': ''}, 'todev_set_ble_mtu': {'mtu_count': 0}, 'todev_set_iot_offline_req': 0}, 'sys': {'toapp_batinfo': {'bat_val': 0}, 'toapp_work_state': {'device_state': 0, 'charge_state': 0, 'cm_hash': 0, 'path_hash': 0}, 'todev_time_zone': {'time_stamp': 0, 'time_area': 0}, 'todev_data_time': {'year': 0, 'month': 0, 'date': 0, 'week': 0, 'hours': 0, 'minutes': 0, 'seconds': 0, 'time_zone': 0, 'daylight': 0}, 'job_plan': {'job_id': 0, 'job_mode': 0, 'rain_tactics': 0, 'knife_height': 0}, 'toapp_err_code': {'error_code': 0}, 'todev_job_plan_time': {'plan_id': 0, 'start_job_time': 0, 'end_job_time': 0, 'time_in_day': 0, 'job_plan_mode': 0, 'job_plan_enable': 0, 'week_day': [], 'time_in_week_day': [], 'every_day': 0, 'job_plan': {'job_id': 0, 'job_mode': 0, 'rain_tactics': 0, 'knife_height': 0}}, 'toapp_mow_info': {'device_state': 0, 'bat_val': 0, 'knife_height': 0, 'rtk_status': 0, 'rtk_stars': 0}, 'bidire_comm_cmd': {'rw': 0, 'id': 0, 'context': 0}, 'plan_job_del': 0, 'border': {'borderval': 0}, 'toapp_plan_status': {'planjob_status': 0}, 'toapp_ul_fprogress': {'biz_id': '', 'result': 0, 'progress': 0}, 'todev_deljobplan': {'device_id': '', 'plan_id': ''}, 'todev_mow_info_up': 0, 'todev_knife_ctrl': {'knife_status': 0, 'knife_height': 0}, 'todev_reset_system': 0, 'todev_reset_system_status': {'reset_staus': 0}, 'system_rapid_state_tunnel': {'rapid_state_data': [], 'vision_point_info': [], 'vio_to_app_info': {'x': 0.0, 'y': 0.0, 'heading': 0.0, 'vio_state': 0, 'brightness': 0, 'detect_feature_num': 0, 'track_feature_num': 0}, 'vision_statistic_info': {'timestamp': 0.0, 'num': 0, 'vision_statistics': []}}, 'system_tard_state_tunnel': {'tard_state_data': []}, 'system_update_buf': {'update_buf_data': []}, 'todev_time_ctrl_light': {'operate': 0, 'enable': 0, 'start_hour': 0, 'start_min': 0, 'end_hour': 0, 'end_min': 0, 'action': 0}, 'system_tmp_cycle_tx': {'cycle_tx_data': []}, 'todev_off_chip_flash': {'op': 0, 'id': 0, 'start_addr': 0, 'offset': 0, 'length': 0, 'data': b'', 'code': 0, 'msg': ''}, 'todev_get_dev_fw_info': 0, 'toapp_dev_fw_info': {'result': 0, 'version': '', 'mod': []}, 'todev_lora_cfg_req': {'op': 0, 'cfg': ''}, 'toapp_lora_cfg_rsp': {'result': 0, 'op': 0, 'cfg': '', 'fac_cfg': ''}, 'mow_to_app_info': {'type': 0, 'cmd': 0, 'mow_data': []}, 'device_product_type_info': {'result': 0, 'main_product_type': '', 'sub_product_type': ''}, 'mow_to_app_qctools_info': {'type': 0, 'time_of_duration': 0, 'result': 0, 'result_details': '', 'except_': []}, 'todev_report_cfg': {'act': 0, 'timeout': 0, 'period': 0, 'no_change_period': 0, 'count': 0, 'sub': []}, 'toapp_report_data': {'connect': {'connect_type': 0, 'ble_rssi': 0, 'wifi_rssi': 0, 'link_type': 0, 'mnet_rssi': 0, 'mnet_inet': 0, 'used_net': 0}, 'dev': {'sys_status': 0, 'charge_state': 0, 'battery_val': 0, 'sensor_status': 0, 'last_status': 0, 'sys_time_stamp': 0, 'vslam_status': 0, 'mnet_info': {'model': '', 'revision': '', 'imei': '', 'sim': 0, 'imsi': '', 'link_type': 0, 'rssi': 0, 'inet': {'connect': False, 'ip': 0.0, 'mask': 0.0, 'gateway': 0.0}}, 'vio_survival_info': {'vio_survival_distance': 0.0}, 'collector_status': {'collector_installation_status': 0}, 'lock_state': {'lock_state': 0}}, 'rtk': {'status': 0, 'pos_level': 0, 'gps_stars': 0, 'age': 0, 'lat_std': 0, 'lon_std': 0, 'l2_stars': 0, 'dis_status': 0, 'top4_total_mean': 0, 'co_view_stars': 0, 'reset': 0, 'lora_info': {'pair_code_scan': 0, 'pair_code_channel': 0, 'pair_code_locid': 0, 'pair_code_netid': 0, 'lora_connection_status': 0}}, 'locations': [], 'work': {'plan': 0, 'path_hash': 0, 'progress': 0, 'area': 0, 'bp_info': 0, 'bp_hash': 0, 'bp_pos_x': 0, 'bp_pos_y': 0, 'real_path_num': 0, 'path_pos_x': 0, 'path_pos_y': 0, 'ub_zone_hash': 0, 'ub_path_hash': 0, 'init_cfg_hash': 0, 'ub_ecode_hash': 0, 'nav_run_mode': 0, 'test_mode_status': 0, 'man_run_speed': 0, 'nav_edit_status': 0, 'knife_height': 0}, 'fw_info': {'result': 0, 'version': '', 'mod': []}, 'maintain': {'mileage': 0, 'work_time': 0, 'bat_cycles': 0}, 'vision_point_info': [], 'vio_to_app_info': {'x': 0.0, 'y': 0.0, 'heading': 0.0, 'vio_state': 0, 'brightness': 0, 'detect_feature_num': 0, 'track_feature_num': 0}, 'vision_statistic_info': {'timestamp': 0.0, 'num': 0, 'vision_statistics': []}}, 'simulation_cmd': {'sub_cmd': 0, 'param_id': 0, 'param_value': []}}, 'nav': {'toapp_lat_up': {'lat': 0.0, 'lon': 0.0}, 'toapp_pos_up': {'x': 0.0, 'y': 0.0, 'status': 0, 'toward': 0, 'stars': 0, 'age': 0.0, 'lat_stddev': 0.0, 'lon_stddev': 0.0, 'l2df_stars': 0, 'pos_type': 0, 'c_hash_id': 0, 'pos_level': 0}, 'todev_chl_line_data': {'start_job_r_i': 0, 'end_job_r_i': 0, 'current_frame': 0, 'channel_line_len': 0}, 'toapp_task_info': {'area': 0, 'time': 0, 'all_frame': 0, 'current_frame': 0, 'pathlen': 0, 'dc': []}, 'toapp_opt_line_up': {'start_job_r_i': 0, 'end_job_r_i': 0, 'all_frame': 0, 'current_frame': 0, 'channel_data_len': 0, 'dc': []}, 'toapp_opt_border_info': {'job_id': 0, 'all_frame': 0, 'current_frame': 0, 'border_data_len': 0, 'dc': []}, 'toapp_opt_obs_info': {'obstacle_id': 0, 'all_frame': 0, 'current_frame': 0, 'obstacle_data_len': 0, 'dc': []}, 'todev_task_info_ack': {'frameid': 0}, 'todev_opt_border_info_ack': {'frameid': 0}, 'todev_opt_obs_info_ack': {'frameid': 0}, 'todev_opt_line_up_ack': {'frameid': 0}, 'toapp_chgpileto': {'toward': 0, 'x': 0.0, 'y': 0.0}, 'todev_sustask': 0, 'todev_rechgcmd': 0, 'todev_edgecmd': 0, 'todev_draw_border': 0, 'todev_draw_border_end': 0, 'todev_draw_obs': 0, 'todev_draw_obs_end': 0, 'todev_chl_line': 0, 'todev_chl_line_end': 0, 'todev_save_task': 0, 'todev_cancel_suscmd': 0, 'todev_reset_chg_pile': 0, 'todev_cancel_draw_cmd': 0, 'todev_one_touch_leave_pile': 0, 'todev_mow_task': {'job_id': 0, 'job_ver': 0, 'job_mode': 0, 'rain_tactics': 0, 'knife_height': 0, 'speed': 0.0, 'channel_width': 0, 'ultra_wave': 0, 'channel_mode': 0}, 'toapp_bstate': {'bdstate': 0}, 'todev_lat_up_ack': 0, 'todev_gethash': {'pver': 0, 'sub_cmd': 0, 'total_frame': 0, 'current_frame': 0, 'data_hash': 0.0, 'reserved': ''}, 'toapp_gethash_ack': {'pver': 0, 'sub_cmd': 0, 'total_frame': 0, 'current_frame': 0, 'data_hash': 0.0, 'hash_len': 0, 'reserved': '', 'result': 0, 'data_couple': []}, 'todev_get_commondata': {'pver': 0, 'sub_cmd': 0, 'action': 0, 'type': 0, 'hash': 0, 'paternal_hash_a': 0, 'paternal_hash_b': 0, 'total_frame': 0, 'current_frame': 0, 'data_hash': 0.0, 'reserved': ''}, 'toapp_get_commondata_ack': {'pver': 0, 'sub_cmd': 0, 'result': 0, 'action': 0, 'type': 0, 'hash': 0.0, 'paternal_hash_a': 0.0, 'paternal_hash_b': 0.0, 'total_frame': 0, 'current_frame': 0, 'data_hash': 0.0, 'data_len': 0, 'data_couple': [], 'reserved': ''}, 'bidire_reqconver_path': {'pver': 0, 'job_id': 0, 'job_ver': 0, 'job_mode': 0, 'sub_cmd': 0, 'edge_mode': 0, 'knife_height': 0, 'channel_width': 0, 'ultra_wave': 0, 'channel_mode': 0, 'toward': 0, 'speed': 0.0, 'zone_hashs': [], 'path_hash': 0.0, 'reserved': '', 'result': 0, 'toward_mode': 0, 'toward_included_angle': 0}, 'toapp_zigzag': {'pver': 0, 'job_id': 0, 'job_ver': 0, 'result': 0, 'area': 0, 'time': 0, 'total_zone_num': 0, 'current_zone_path_num': 0, 'current_zone_path_id': 0, 'current_zone': 0, 'current_hash': 0.0, 'total_frame': 0, 'current_frame': 0, 'channel_mode': 0, 'channel_mode_id': 0, 'data_hash': 0.0, 'data_len': 0, 'reserved': '', 'data_couple': [], 'sub_cmd': 0}, 'todev_zigzag_ack': {'pver': 0, 'current_zone': 0, 'current_hash': 0.0, 'total_frame': 0, 'current_frame': 0, 'data_hash': 0.0, 'reserved': '', 'sub_cmd': 0}, 'todev_taskctrl': {'type': 0, 'action': 0, 'result': 0, 'reserved': ''}, 'bidire_taskid': {'pver': 0, 'sub_cmd': 0, 'task_name': '', 'task_id': '', 'result': 0, 'reserved': ''}, 'toapp_bp': {'x': 0.0, 'y': 0.0, 'toward': 0, 'flag': 0, 'action': 0, 'zone_hash': 0.0}, 'todev_planjob_set': {'pver': 0, 'sub_cmd': 0, 'area': 0, 'work_time': 0, 'version': '', 'id': '', 'user_id': '', 'device_id': '', 'plan_id': '', 'task_id': '', 'job_id': '', 'start_time': '', 'end_time': '', 'week': 0, 'knife_height': 0, 'model': 0, 'edge_mode': 0, 'required_time': 0, 'route_angle': 0, 'route_model': 0, 'route_spacing': 0, 'ultrasonic_barrier': 0, 'total_plan_num': 0, 'plan_index': 0, 'result': 0, 'speed': 0.0, 'task_name': '', 'job_name': '', 'zone_hashs': [], 'reserved': '', 'start_date': '', 'end_date': '', 'trigger_type': 0, 'day': 0, 'weeks': [], 'remained_seconds': 0, 'toward_mode': 0, 'toward_included_angle': 0}, 'todev_unable_time_set': {'sub_cmd': 0, 'device_id': '', 'unable_start_time': '', 'unable_end_time': '', 'result': 0, 'reserved': ''}, 'simulation_cmd': {'sub_cmd': 0, 'param_id': 0, 'param_value': []}, 'todev_work_report_update_cmd': {'sub_cmd': 0}, 'toapp_work_report_update_ack': {'update_flag': False, 'info_num': 0}, 'todev_work_report_cmd': {'sub_cmd': 0, 'get_info_num': 0}, 'toapp_work_report_ack': {'interrupt_flag': False, 'start_work_time': 0, 'end_work_time': 0, 'work_time_used': 0, 'work_ares': 0.0, 'work_progress': 0, 'height_of_knife': 0, 'work_type': 0, 'work_result': 0, 'total_ack_num': 0, 'current_ack_num': 0}, 'toapp_work_report_upload': {'interrupt_flag': False, 'start_work_time': 0, 'end_work_time': 0, 'work_time_used': 0, 'work_ares': 0.0, 'work_progress': 0, 'height_of_knife': 0, 'work_type': 0, 'work_result': 0, 'total_ack_num': 0, 'current_ack_num': 0}, 'app_request_cover_paths': {'pver': 0, 'sub_cmd': 0, 'total_frame': 0, 'current_frame': 0, 'data_hash': 0.0, 'transaction_id': 0, 'reserved': [], 'hash_list': []}, 'cover_path_upload': {'pver': 0, 'result': 0, 'sub_cmd': 0, 'area': 0, 'time': 0, 'total_frame': 0, 'current_frame': 0, 'total_path_num': 0, 'vaild_path_num': 0, 'data_hash': 0.0, 'transaction_id': 0, 'reserved': [], 'data_len': 0, 'path_packets': []}, 'zone_start_precent': {'data_hash': 0.0, 'x': 0.0, 'y': 0.0, 'index': 0}, 'vision_ctrl': {'type': 0, 'cmd': 0}, 'nav_sys_param_cmd': {'rw': 0, 'id': 0, 'context': 0}, 'plan_task_execute': {'sub_cmd': 0, 'id': '', 'name': '', 'result': 0}, 'toapp_costmap': {'width': 0, 'height': 0, 'center_x': 0.0, 'center_y': 0.0, 'yaw': 0.0, 'res': 0.0, 'costmap': []}, 'plan_task_name_id': {'id': '', 'name': ''}, 'all_plan_task': {'tasks': []}}, 'driver': {'todev_devmotion_ctrl': {'set_linear_speed': 0, 'set_angular_speed': 0}, 'todev_knife_height_set': {'knife_height': 0}, 'bidire_speed_read_set': {'rw': 0, 'speed': 0.0}, 'bidire_knife_height_report': {'knife_height': 0}, 'toapp_knife_status': {'knife_status': 0}, 'mow_ctrl_by_hand': {'main_ctrl': 0, 'cut_knife_ctrl': 0, 'cut_knife_height': 0, 'max_run__speed': 0.0}, 'rtk_cfg_req': {'cmd_length': 0, 'cmd_req': ''}, 'rtk_cfg_req_ack': {'cmd_length': 0, 'cmd_response': ''}, 'rtk_sys_mask_query': {'sat_system': 0}, 'rtk_sys_mask_query_ack': {'sat_system': 0, 'system_mask_bits': []}, 'toapp_knife_status_change': {'is_start': 0, 'start_high': 0, 'end_high': 0}}, 'ota': {'todev_get_info_req': {'type': 0}, 'toapp_get_info_rsp': {'result': 0, 'type': 0, 'base': {'dev_version': '', 'dev_status': 0, 'batt_val': 0, 'init_status': 0, 'is_tilt': 0}, 'ota': {'otaid': '', 'version': '', 'progress': 0, 'result': 0, 'message': ''}}}, 'mul': {'set_audio': {'at_switch': 0, 'au_language': 0}, 'audio_cfg': {'au_switch': 0, 'au_language': 0}, 'set_video': {'position': 0, 'vi_switch': 0}, 'set_video_ack': {'error_code': 0}, 'set_wiper': {'round': 0}, 'set_wiper_ack': {'error_code': 0}}, 'null': {}, 'pept': {'perception_obstacles_visualization': {'is_heart_beat': 0, 'num': 0, 'obstacles': [], 'timestamp': 0.0, 'scale': 0.0}, 'perception_universal_buff': {'perception_type': 0, 'perception_len': 0, 'universal_buff': []}}, 'timestamp': 0}, 'map': {'area': {}, 'path': {}, 'obstacle': {}}, 'location': {'device': {'latitude': 0, 'longitude': 0}, 'RTK': {'latitude': 0, 'longitude': 0}, 'dock': {'latitude': 0, 'longitude': 0, 'rotation': 0}}}
2024-08-09 10:17:32.904 DEBUG (MainThread) [custom_components.mammotion] ==================================
2024-08-09 10:17:32.904 DEBUG (MainThread) [custom_components.mammotion] Finished fetching mammotion data in 7.783 seconds (success: True)
2024-08-09 10:17:36.473 DEBUG (MainThread) [custom_components.mammotion] Discovered bluetooth device: <BluetoothServiceInfoBleak name=Yuka-ABCDEFGH address=AB:CD:EF:GH:IJ:KL rssi=-66 manufacturer_data={} service_data={} service_uuids=['0000ffff-0000-1000-8000-00805f9b34fb'] source=MN:OP:QR:RT:UV:WX connectable=True time=2789.759626865387 tx_power=3>
mikey0000 commented 2 months ago

You don't need to post device data,

Just any errors you see, if you see them.

9/08/2024 8:33:46 pm mathiaslehmann @.***>:

Hello, yes it seems as if the data is only updated or read sporadically. I have activated the debug mode. I could not find any errors in the LOG. I have changed a few things in the output such as names and addresses. Please do not be surprised. Thank you very much for your work.

*2024-08-09 10:17:32.902 DEBUG (MainThread) [custom_components.mammotion] Updated Mammotion device Yuka-ABCDEFGH 2024-08-09 10:17:32.902 DEBUG (MainThread) [custom_components.mammotion] ================= Debug Log ================= 2024-08-09 10:17:32.904 DEBUG (MainThread) [custom_components.mammotion] Mammotion device data: {'device': {'msgtype': 0, 'sender': 0, 'rcver': 0, 'msgattr': 0, 'seqs': 0, 'version': 0, 'subtype': 0, 'net': {'todev_ble_sync': 0, 'todevconf_type': 0, 'todevwifi_msg_upload': {'wifi_msg_upload': 0}, 'todevwifi_list_upload': {'nvs_wifi_upload': 0}, 'todevwificonfiguration': {'config_param': 0, 'confssid': '', 'wifi_enable': False}, 'toappwifi_msg': {'status1': False, 'status2': False, 'ip': '', 'msgssid': '', 'password': '', 'rssi': 0, 'productkey': '', 'devicename': '', 'wifi_enable': False}, 'toappwifi_conf': {'succ_flag': False, 'code': 0, 'confssid': ''}, 'toapp__list_upload': {'sum': 0, 'current': 0, 'status': 0, 'memssid': '', 'rssi': 0}, 'todev_req_log_info': {'biz_id': '', 'url': '', 'user_id': '', 'num': 0, 'type': 0}, 'todev_log_data_cancel': {'biz_id': ''}, 'todev_devinfo_req': {'req_ids': []}, 'toapp_devinfo_resp': {'resp_ids': []}, 'toapp_upgrade_report': {'devname': '', 'otaid': '', 'version': '', 'progress': 0, 'result': 0, 'message': '', 'properties': ''}, 'toapp_wifi_iot_status': {'wifi_connected': False, 'iot_connected': False, 'productkey': '', 'devicename': ''}, 'todev_uploadfile_req': {'biz_id': '', 'operation': 0, 'server_ip': 0.0, 'server_port': 0, 'num': 0, 'type': 0}, 'toapp_uploadfile_rsp': {'biz_id': '', 'operation': 0, 'result': 0}, 'todev_networkinfo_req': {'req_ids': 0}, 'toapp_networkinfo_rsp': {'req_ids': 0, 'wifi_ssid': '', 'wifi_mac': '', 'wifi_rssi': 0, 'ip': 0.0, 'mask': 0.0, 'gateway': 0.0}, 'bir_testdata': {'seqs': 0, 'data': []}, 'todev_mnet_info_req': {'req_ids': 0}, 'toapp_mnet_info_rsp': {'req_ids': 0, 'result': 0, 'mnet': {'model': '', 'revision': '', 'imei': '', 'sim': 0, 'imsi': '', 'link_type': 0, 'rssi': 0, 'inet': {'connect': False, 'ip': 0.0, 'mask': 0.0, 'gateway': 0.0}}}, 'todev_get_mnet_cfg_req': {'req_ids': 0}, 'toapp_get_mnet_cfg_rsp': {'req_ids': 0, 'result': 0, 'cfg': {'mnet_enable': False, 'inet_enable': False, 'type': 0, 'apn': {'use_default': False, 'cfg': {'apn_used_idx': 0, 'apn': []}}, 'auto_select': False}}, 'todev_set_mnet_cfg_req': {'req_ids': 0, 'cfg': {'mnet_enable': False, 'inet_enable': False, 'type': 0, 'apn': {'use_default': False, 'cfg': {'apn_used_idx': 0, 'apn': []}}, 'auto_select': False}}, 'toapp_set_mnet_cfg_rsp': {'req_ids': 0, 'result': 0}, 'todev_set_dds2zmq': {'is_enable': False, 'rx_topic_name': '', 'tx_zmq_url': ''}, 'todev_set_ble_mtu': {'mtu_count': 0}, 'todev_set_iot_offline_req': 0}, 'sys': {'toapp_batinfo': {'bat_val': 0}, 'toapp_work_state': {'device_state': 0, 'charge_state': 0, 'cm_hash': 0, 'path_hash': 0}, 'todev_time_zone': {'time_stamp': 0, 'time_area': 0}, 'todev_data_time': {'year': 0, 'month': 0, 'date': 0, 'week': 0, 'hours': 0, 'minutes': 0, 'seconds': 0, 'time_zone': 0, 'daylight': 0}, 'job_plan': {'job_id': 0, 'job_mode': 0, 'rain_tactics': 0, 'knife_height': 0}, 'toapp_err_code': {'error_code': 0}, 'todev_job_plan_time': {'plan_id': 0, 'start_job_time': 0, 'end_job_time': 0, 'time_in_day': 0, 'job_plan_mode': 0, 'job_plan_enable': 0, 'week_day': [], 'time_in_week_day': [], 'every_day': 0, 'job_plan': {'job_id': 0, 'job_mode': 0, 'rain_tactics': 0, 'knife_height': 0}}, 'toapp_mow_info': {'device_state': 0, 'bat_val': 0, 'knife_height': 0, 'rtk_status': 0, 'rtk_stars': 0}, 'bidire_comm_cmd': {'rw': 0, 'id': 0, 'context': 0}, 'plan_job_del': 0, 'border': {'borderval': 0}, 'toapp_plan_status': {'planjob_status': 0}, 'toapp_ul_fprogress': {'biz_id': '', 'result': 0, 'progress': 0}, 'todev_deljobplan': {'device_id': '', 'plan_id': ''}, 'todev_mow_info_up': 0, 'todev_knife_ctrl': {'knife_status': 0, 'knife_height': 0}, 'todev_reset_system': 0, 'todev_reset_system_status': {'reset_staus': 0}, 'system_rapid_state_tunnel': {'rapid_state_data': [], 'vision_point_info': [], 'vio_to_app_info': {'x': 0.0, 'y': 0.0, 'heading': 0.0, 'vio_state': 0, 'brightness': 0, 'detect_feature_num': 0, 'track_feature_num': 0}, 'vision_statistic_info': {'timestamp': 0.0, 'num': 0, 'vision_statistics': []}}, 'system_tard_state_tunnel': {'tard_state_data': []}, 'system_update_buf': {'update_buf_data': []}, 'todev_time_ctrl_light': {'operate': 0, 'enable': 0, 'start_hour': 0, 'start_min': 0, 'end_hour': 0, 'end_min': 0, 'action': 0}, 'system_tmp_cycle_tx': {'cycle_tx_data': []}, 'todev_off_chip_flash': {'op': 0, 'id': 0, 'start_addr': 0, 'offset': 0, 'length': 0, 'data': b'', 'code': 0, 'msg': ''}, 'todev_get_dev_fw_info': 0, 'toapp_dev_fw_info': {'result': 0, 'version': '', 'mod': []}, 'todev_lora_cfg_req': {'op': 0, 'cfg': ''}, 'toapp_lora_cfg_rsp': {'result': 0, 'op': 0, 'cfg': '', 'fac_cfg': ''}, 'mow_to_app_info': {'type': 0, 'cmd': 0, 'mow_data': []}, 'device_product_type_info': {'result': 0, 'main_product_type': '', 'sub_product_type': ''}, 'mow_to_app_qctools_info': {'type': 0, 'time_of_duration': 0, 'result': 0, 'resultdetails': '', 'except': []}, 'todev_report_cfg': {'act': 0, 'timeout': 0, 'period': 0, 'no_change_period': 0, 'count': 0, 'sub': []}, 'toapp_report_data': {'connect': {'connect_type': 0, 'ble_rssi': 0, 'wifi_rssi': 0, 'link_type': 0, 'mnet_rssi': 0, 'mnet_inet': 0, 'used_net': 0}, 'dev': {'sys_status': 0, 'charge_state': 0, 'battery_val': 0, 'sensor_status': 0, 'last_status': 0, 'sys_time_stamp': 0, 'vslam_status': 0, 'mnet_info': {'model': '', 'revision': '', 'imei': '', 'sim': 0, 'imsi': '', 'link_type': 0, 'rssi': 0, 'inet': {'connect': False, 'ip': 0.0, 'mask': 0.0, 'gateway': 0.0}}, 'vio_survival_info': {'vio_survival_distance': 0.0}, 'collector_status': {'collector_installation_status': 0}, 'lock_state': {'lock_state': 0}}, 'rtk': {'status': 0, 'pos_level': 0, 'gps_stars': 0, 'age': 0, 'lat_std': 0, 'lon_std': 0, 'l2_stars': 0, 'dis_status': 0, 'top4_total_mean': 0, 'co_view_stars': 0, 'reset': 0, 'lora_info': {'pair_code_scan': 0, 'pair_code_channel': 0, 'pair_code_locid': 0, 'pair_code_netid': 0, 'lora_connection_status': 0}}, 'locations': [], 'work': {'plan': 0, 'path_hash': 0, 'progress': 0, 'area': 0, 'bp_info': 0, 'bp_hash': 0, 'bp_pos_x': 0, 'bp_pos_y': 0, 'real_path_num': 0, 'path_pos_x': 0, 'path_pos_y': 0, 'ub_zone_hash': 0, 'ub_path_hash': 0, 'init_cfg_hash': 0, 'ub_ecode_hash': 0, 'nav_run_mode': 0, 'test_mode_status': 0, 'man_run_speed': 0, 'nav_edit_status': 0, 'knife_height': 0}, 'fw_info': {'result': 0, 'version': '', 'mod': []}, 'maintain': {'mileage': 0, 'work_time': 0, 'bat_cycles': 0}, 'vision_point_info': [], 'vio_to_app_info': {'x': 0.0, 'y': 0.0, 'heading': 0.0, 'vio_state': 0, 'brightness': 0, 'detect_feature_num': 0, 'track_feature_num': 0}, 'vision_statistic_info': {'timestamp': 0.0, 'num': 0, 'vision_statistics': []}}, 'simulation_cmd': {'sub_cmd': 0, 'param_id': 0, 'param_value': []}}, 'nav': {'toapp_lat_up': {'lat': 0.0, 'lon': 0.0}, 'toapp_pos_up': {'x': 0.0, 'y': 0.0, 'status': 0, 'toward': 0, 'stars': 0, 'age': 0.0, 'lat_stddev': 0.0, 'lon_stddev': 0.0, 'l2df_stars': 0, 'pos_type': 0, 'c_hash_id': 0, 'pos_level': 0}, 'todev_chl_line_data': {'start_job_r_i': 0, 'end_job_r_i': 0, 'current_frame': 0, 'channel_line_len': 0}, 'toapp_task_info': {'area': 0, 'time': 0, 'all_frame': 0, 'current_frame': 0, 'pathlen': 0, 'dc': []}, 'toapp_opt_line_up': {'start_job_r_i': 0, 'end_job_r_i': 0, 'all_frame': 0, 'current_frame': 0, 'channel_data_len': 0, 'dc': []}, 'toapp_opt_border_info': {'job_id': 0, 'all_frame': 0, 'current_frame': 0, 'border_data_len': 0, 'dc': []}, 'toapp_opt_obs_info': {'obstacle_id': 0, 'all_frame': 0, 'current_frame': 0, 'obstacle_data_len': 0, 'dc': []}, 'todev_task_info_ack': {'frameid': 0}, 'todev_opt_border_info_ack': {'frameid': 0}, 'todev_opt_obs_info_ack': {'frameid': 0}, 'todev_opt_line_up_ack': {'frameid': 0}, 'toapp_chgpileto': {'toward': 0, 'x': 0.0, 'y': 0.0}, 'todev_sustask': 0, 'todev_rechgcmd': 0, 'todev_edgecmd': 0, 'todev_draw_border': 0, 'todev_draw_border_end': 0, 'todev_draw_obs': 0, 'todev_draw_obs_end': 0, 'todev_chl_line': 0, 'todev_chl_line_end': 0, 'todev_save_task': 0, 'todev_cancel_suscmd': 0, 'todev_reset_chg_pile': 0, 'todev_cancel_draw_cmd': 0, 'todev_one_touch_leave_pile': 0, 'todev_mow_task': {'job_id': 0, 'job_ver': 0, 'job_mode': 0, 'rain_tactics': 0, 'knife_height': 0, 'speed': 0.0, 'channel_width': 0, 'ultra_wave': 0, 'channel_mode': 0}, 'toapp_bstate': {'bdstate': 0}, 'todev_lat_up_ack': 0, 'todev_gethash': {'pver': 0, 'sub_cmd': 0, 'total_frame': 0, 'current_frame': 0, 'data_hash': 0.0, 'reserved': ''}, 'toapp_gethash_ack': {'pver': 0, 'sub_cmd': 0, 'total_frame': 0, 'current_frame': 0, 'data_hash': 0.0, 'hash_len': 0, 'reserved': '', 'result': 0, 'data_couple': []}, 'todev_get_commondata': {'pver': 0, 'sub_cmd': 0, 'action': 0, 'type': 0, 'hash': 0, 'paternal_hash_a': 0, 'paternal_hash_b': 0, 'total_frame': 0, 'current_frame': 0, 'data_hash': 0.0, 'reserved': ''}, 'toapp_get_commondata_ack': {'pver': 0, 'sub_cmd': 0, 'result': 0, 'action': 0, 'type': 0, 'hash': 0.0, 'paternal_hash_a': 0.0, 'paternal_hash_b': 0.0, 'total_frame': 0, 'current_frame': 0, 'data_hash': 0.0, 'data_len': 0, 'data_couple': [], 'reserved': ''}, 'bidire_reqconver_path': {'pver': 0, 'job_id': 0, 'job_ver': 0, 'job_mode': 0, 'sub_cmd': 0, 'edge_mode': 0, 'knife_height': 0, 'channel_width': 0, 'ultra_wave': 0, 'channel_mode': 0, 'toward': 0, 'speed': 0.0, 'zone_hashs': [], 'path_hash': 0.0, 'reserved': '', 'result': 0, 'toward_mode': 0, 'toward_included_angle': 0}, 'toapp_zigzag': {'pver': 0, 'job_id': 0, 'job_ver': 0, 'result': 0, 'area': 0, 'time': 0, 'total_zone_num': 0, 'current_zone_path_num': 0, 'current_zone_path_id': 0, 'current_zone': 0, 'current_hash': 0.0, 'total_frame': 0, 'current_frame': 0, 'channel_mode': 0, 'channel_mode_id': 0, 'data_hash': 0.0, 'data_len': 0, 'reserved': '', 'data_couple': [], 'sub_cmd': 0}, 'todev_zigzag_ack': {'pver': 0, 'current_zone': 0, 'current_hash': 0.0, 'total_frame': 0, 'current_frame': 0, 'data_hash': 0.0, 'reserved': '', 'sub_cmd': 0}, 'todev_taskctrl': {'type': 0, 'action': 0, 'result': 0, 'reserved': ''}, 'bidire_taskid': {'pver': 0, 'sub_cmd': 0, 'task_name': '', 'task_id': '', 'result': 0, 'reserved': ''}, 'toapp_bp': {'x': 0.0, 'y': 0.0, 'toward': 0, 'flag': 0, 'action': 0, 'zone_hash': 0.0}, 'todev_planjob_set': {'pver': 0, 'sub_cmd': 0, 'area': 0, 'work_time': 0, 'version': '', 'id': '', 'user_id': '', 'device_id': '', 'plan_id': '', 'task_id': '', 'job_id': '', 'start_time': '', 'end_time': '', 'week': 0, 'knife_height': 0, 'model': 0, 'edge_mode': 0, 'required_time': 0, 'route_angle': 0, 'route_model': 0, 'route_spacing': 0, 'ultrasonic_barrier': 0, 'total_plan_num': 0, 'plan_index': 0, 'result': 0, 'speed': 0.0, 'task_name': '', 'job_name': '', 'zone_hashs': [], 'reserved': '', 'start_date': '', 'end_date': '', 'trigger_type': 0, 'day': 0, 'weeks': [], 'remained_seconds': 0, 'toward_mode': 0, 'toward_included_angle': 0}, 'todev_unable_time_set': {'sub_cmd': 0, 'device_id': '', 'unable_start_time': '', 'unable_end_time': '', 'result': 0, 'reserved': ''}, 'simulation_cmd': {'sub_cmd': 0, 'param_id': 0, 'param_value': []}, 'todev_work_report_update_cmd': {'sub_cmd': 0}, 'toapp_work_report_update_ack': {'update_flag': False, 'info_num': 0}, 'todev_work_report_cmd': {'sub_cmd': 0, 'get_info_num': 0}, 'toapp_work_report_ack': {'interrupt_flag': False, 'start_work_time': 0, 'end_work_time': 0, 'work_time_used': 0, 'work_ares': 0.0, 'work_progress': 0, 'height_of_knife': 0, 'work_type': 0, 'work_result': 0, 'total_ack_num': 0, 'current_ack_num': 0}, 'toapp_work_report_upload': {'interrupt_flag': False, 'start_work_time': 0, 'end_work_time': 0, 'work_time_used': 0, 'work_ares': 0.0, 'work_progress': 0, 'height_of_knife': 0, 'work_type': 0, 'work_result': 0, 'total_ack_num': 0, 'current_ack_num': 0}, 'app_request_cover_paths': {'pver': 0, 'sub_cmd': 0, 'total_frame': 0, 'current_frame': 0, 'data_hash': 0.0, 'transaction_id': 0, 'reserved': [], 'hash_list': []}, 'cover_path_upload': {'pver': 0, 'result': 0, 'sub_cmd': 0, 'area': 0, 'time': 0, 'total_frame': 0, 'current_frame': 0, 'total_path_num': 0, 'vaild_path_num': 0, 'data_hash': 0.0, 'transaction_id': 0, 'reserved': [], 'data_len': 0, 'path_packets': []}, 'zone_start_precent': {'data_hash': 0.0, 'x': 0.0, 'y': 0.0, 'index': 0}, 'vision_ctrl': {'type': 0, 'cmd': 0}, 'nav_sys_param_cmd': {'rw': 0, 'id': 0, 'context': 0}, 'plan_task_execute': {'sub_cmd': 0, 'id': '', 'name': '', 'result': 0}, 'toapp_costmap': {'width': 0, 'height': 0, 'center_x': 0.0, 'center_y': 0.0, 'yaw': 0.0, 'res': 0.0, 'costmap': []}, 'plan_task_name_id': {'id': '', 'name': ''}, 'all_plan_task': {'tasks': []}}, 'driver': {'todev_devmotion_ctrl': {'set_linear_speed': 0, 'set_angular_speed': 0}, 'todev_knife_height_set': {'knife_height': 0}, 'bidire_speed_read_set': {'rw': 0, 'speed': 0.0}, 'bidire_knife_height_report': {'knife_height': 0}, 'toapp_knife_status': {'knife_status': 0}, 'mow_ctrl_by_hand': {'main_ctrl': 0, 'cut_knife_ctrl': 0, 'cut_knife_height': 0, 'max_runspeed': 0.0}, 'rtk_cfg_req': {'cmd_length': 0, 'cmd_req': ''}, 'rtk_cfg_req_ack': {'cmd_length': 0, 'cmd_response': ''}, 'rtk_sys_mask_query': {'sat_system': 0}, 'rtk_sys_mask_query_ack': {'sat_system': 0, 'system_mask_bits': []}, 'toapp_knife_status_change': {'is_start': 0, 'start_high': 0, 'end_high': 0}}, 'ota': {'todev_get_info_req': {'type': 0}, 'toapp_get_info_rsp': {'result': 0, 'type': 0, 'base': {'dev_version': '', 'dev_status': 0, 'batt_val': 0, 'init_status': 0, 'is_tilt': 0}, 'ota': {'otaid': '', 'version': '', 'progress': 0, 'result': 0, 'message': ''}}}, 'mul': {'set_audio': {'at_switch': 0, 'au_language': 0}, 'audio_cfg': {'au_switch': 0, 'au_language': 0}, 'set_video': {'position': 0, 'vi_switch': 0}, 'set_video_ack': {'error_code': 0}, 'set_wiper': {'round': 0}, 'set_wiper_ack': {'error_code': 0}}, 'null': {}, 'pept': {'perception_obstacles_visualization': {'is_heart_beat': 0, 'num': 0, 'obstacles': [], 'timestamp': 0.0, 'scale': 0.0}, 'perception_universal_buff': {'perception_type': 0, 'perception_len': 0, 'universal_buff': []}}, 'timestamp': 0}, 'map': {'area': {}, 'path': {}, 'obstacle': {}}, 'location': {'device': {'latitude': 0, 'longitude': 0}, 'RTK': {'latitude': 0, 'longitude': 0}, 'dock': {'latitude': 0, 'longitude': 0, 'rotation': 0}}} 2024-08-09 10:17:32.904 DEBUG (MainThread) [custom_components.mammotion] ================================== 2024-08-09 10:17:32.904 DEBUG (MainThread) [custom_components.mammotion] Finished fetching mammotion data in 7.783 seconds (success: True) 2024-08-09 10:17:36.473 DEBUG (MainThread) [custom_components.mammotion] Discovered bluetooth device: <BluetoothServiceInfoBleak name=Yuka-ABCDEFGH address=AB:CD:EF:GH:IJ:KL rssi=-66 manufacturer_data={} service_data={} service_uuids=['0000ffff-0000-1000-8000-00805f9b34fb'] source=MN:OP:QR:RT:UV:WX connectable=True time=2789.759626865387 tx_power=3> * — Reply to this email directly, view it on GitHub[https://github.com/mikey0000/Mammotion-HA/issues/58#issuecomment-2277441333], or unsubscribe[https://github.com/notifications/unsubscribe-auth/AALDOPIFYTNQIVQAUWESWQLZQR5GDAVCNFSM6AAAAABMH5MKGKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENZXGQ2DCMZTGM]. You are receiving this because you modified the open/close state. [Tracking image][https://github.com/notifications/beacon/AALDOPLGTBFENQLJQR3MT2TZQR5GDA5CNFSM6AAAAABMH5MKGKWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTUHX37TK.gif]

mikey0000 commented 2 months ago

Hey 0.0.15 seems to work for other yuka owners, can you give it a try?

mathiaslehmann commented 2 months ago

Hello, yes it works for me too. Thank you very much