core: Shark IQ integration reporting “Returning to dock” state when vacuum is docked

The problem

As stated in the title, I just upgraded to 0.115 and added my Shark IQ Vacuum via the Integrations UI. All of the commands work to control the vacuum, but occasionally (I haven’t done enough testing to determine exactly what causes the issue) the state of the vacuum will be reported as “Returning to dock” indefinitely once the robot has been docked. Checking the SharkClean app reveals that the vacuum has returned to the dock and should be returned to the “Docked” state in Home Assistant, but this switch will sometimes not happen.

Environment

  • Home Assistant Core release with the issue: 0.115
  • Last working Home Assistant Core release (if known): N/A (integration was added with this release)
  • Operating environment (OS/Container/Supervised/Core): Container
  • Integration causing this issue: Shark IQ
  • Link to integration documentation on our website: https://www.home-assistant.io/integrations/sharkiq/

Problem-relevant configuration.yaml



As I set up this integration using the UI, there’s nothing in configuration.yaml.

Traceback/Error logs


No error logs are returned when this behavior occurs.

Additional information

I think a possible cause of this error is that I’m using a Shark RV750_NL robot, rather than the R101AE or the R100. However, since almost all other behavior works I’m assuming this is an existing bug rather than a lack of support for my robot.

For what it’s worth, I used to have control of my robot using a variety of REST commands and REST sensors combined using a template vacuum, and I can post the code I have for those if needed to help with fixing this.

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Comments: 34 (7 by maintainers)

Most upvoted comments

@mattyb8562 I’ve posted solution in #44775

Thanks, guys this is sorry helpful. I’m hoping to have some down time over the next week to pound out a fix. Thanks for being patient with me.

On Thu, Dec 24, 2020, 3:48 PM Antonio Fernandez notifications@github.com wrote:

@ajmarks https://github.com/ajmarks Hi. Below is the output of the script for my Shark IQ after clicking Return in Home Assistant. The Operating_Mode seems to be stuck in 3 - RETURN. I also noticed that my Shark IQ app says “Resting on the dock”.

If click Stop using the Shark IQ app the robot returns to the dock and says “Resting on the dock” as well. My Operating_Mode is still set to 3.

I’m not sure if that is helpful at all. Let me know if there is anything you’d like me to test.

{‘Ack_Response’: None, ‘Areas_To_Clean’: ‘*’, ‘Battery_Capacity’: 100, ‘Battery_Serial_Num’: ‘’, ‘CRCount’: None, ‘CRVote’: None, ‘Charging_Status’: True, ‘CleanComplete’: None, ‘Cleaning_Statistics’: ‘https://ads-field.aylanetworks.com/apiv1/devices/27296639/properties/GET_Cleaning_Statistics/datapoints/271b75f4-2f46-11eb-5fe0-b6ed37686ea2.json’, ‘ContinueClean’: None, ‘DND_Time_Control’: ‘bQwAAghYABgA=’, ‘DND_Time_Setting’: ‘bJAAAMThjOGU3AAAAghYABgA=’, ‘Default_Floor’: None, ‘DeleteMaps’: 0, ‘Device_Model_Number’: ‘’, ‘Device_Serial_Num’: ‘’, ‘Enable_RT_Map’: None, ‘Error_Code’: 0, ‘Evacuate_Resume’: False, ‘Exec_Command’: None, ‘Exec_Response’: ‘[VD-region] Region = US’, ‘Extended_Error_Code’: None, ‘Find_Device’: False, ‘Main_PCB_BL_Version’: ‘MesaB0.1.1’, ‘Main_PCB_FW_Version’: ‘MesaM1.8.29’, ‘Main_PCB_HW_Version’: ‘MesaH14mp18’, ‘MissionComplete’: True, ‘Mobile_App_Room_Definition’: ‘https://ads-field.aylanetworks.com/apiv1/devices/27296639/properties/Mobile_App_Room_Definition/datapoints/008cda5a-4322-11eb-4267-115f401750eb.json’, ‘Module_Debug’: None, ‘Module_debug’: None, ‘Nav_Module_App_Version’: ‘V3.6.21-m1680-Jan 10 2020’, ‘Nav_Module_BL_Version’: ‘V1.26.05.48\n’, ‘Nav_Module_FW_Version’: ‘V3.4.11-20191015’, ‘Nav_Module_HW_Version’: ‘’, ‘OTA_FW_VERSION’: 'V3.4.11-20191015V3.6.21-m1680-Jan 10 ’ ‘2020MesaM1.8.29MesaB0.1.1S2.1.17’, ‘OTA_Progress’: None, ‘Operating_Mode’: 3, ‘Operational_Error_Log’: None, ‘PMLock’: None, ‘PMLocked’: None, ‘PMVote’: 0, ‘PbFloor_Confidence’: 100, ‘Persistent_Floor_1’: ‘https://ads-field.aylanetworks.com/apiv1/devices/27296639/properties/GET_Persistent_Floor_1/datapoints/2a10848e-2f46-11eb-fd95-9747d3b7f94a.json’, ‘Persistent_Floor_2’: None, ‘Persistent_Floor_3’: None, ‘Power_Mode’: 0, ‘Quiet_Time’: None, ‘RSSI’: -50, ‘Recharge_Resume’: True, ‘ReplaceBattery’: None, ‘ReportPeriodDock’: 20, ‘ReportPeriodUndocked’: 10, ‘ResetRunTimeCumulative’: None, ‘Reset_Factory_Defaults’: None, ‘Reset_WiFi’: False, ‘Robot_Firmware_Version’: ‘AV3.4.11-20191015PMesaM1.8.29S2.1.17’, ‘Robot_Language_Control’: 'invalid request: invalid request: invalid request: ’ 'invalid request: invalid request: invalid request: ’ 'invalid request: invalid request: invalid request: ’ 'invalid request: invalid request: invalid request: ’ ‘invalid request: invalid request: invalid request:’, ‘Robot_Language_Setting’: ‘US-EN’, ‘Robot_Room_List’: ‘6DB20997:Kitchen:Living Room:Foyer’, ‘Robot_Volume_Control’: 100, ‘Robot_Volume_Setting’: 100, ‘Room_Definition’: None, ‘RunTimeCumulative’: 140, ‘RunTimeCycle’: 0, ‘SCM_Error_Log’: ‘https://ads-field.aylanetworks.com/apiv1/devices/27296639/properties/GET_SCM_Error_Log/datapoints/51bb1850-34f0-11eb-6d25-f9c19877a5db.json’, ‘SCM_FW_Version’: ‘S2.1.17’, ‘Send_Error_Logs’: False, ‘Send_Map_Data’: None, ‘System_Error_Log’: ‘https://ads-field.aylanetworks.com/apiv1/devices/27296639/properties/GET_System_Error_Log/datapoints/4e13b950-34f0-11eb-397d-5394c04177f2.json’, ‘UBD_Version’: None, ‘User_Information’: None, ‘Visual_Floor_1’: ‘https://ads-field.aylanetworks.com/apiv1/devices/27296639/properties/GET_Visual_Floor_1/datapoints/28ddc4a0-2f46-11eb-d59e-1084e772ea90.json’, ‘Visual_Floor_2’: None, ‘Visual_Floor_3’: None, ‘WiFiModuleSerialNumber’: None, ‘WiFi_FW_Version’: None, ‘WiFi_HW_Version’: ‘’, ‘Zones’: None}

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/home-assistant/core/issues/40427#issuecomment-751017034, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABHRHX5VNWE4UNG7TS7UTWLSWOSKTANCNFSM4RU5YCEQ .