We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hello
Version is 1.0.15
Home Assistant core: 2025.1.2 Supervisor 2024.12.3 Operating system 14.1 Frontend 20250109.0
Cameras are bullet 3, IPC-S3E-3M0WE They has the feature Human detection.
I have problems to turn on motion detection and human detection.
2025-01-19 20:29:30.790 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection] [139981205818528] Unexpected exception Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py", line 245, in handle_call_service response = await hass.services.async_call( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ...<7 lines>... ) ^ File "/usr/src/homeassistant/homeassistant/core.py", line 2795, in async_call response_data = await coro ^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/core.py", line 2838, in _execute_service return await target(service_call) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 1006, in entity_service_call single_response = await _handle_entity_call( ^^^^^^^^^^^^^^^^^^^^^^^^^^ hass, entity, func, data, call.context ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 1078, in _handle_entity_call result = await task ^^^^^^^^^^ File "/config/custom_components/imou_life/switch.py", line 75, in async_turn_off await self.sensor_instance.async_turn_off() File "/usr/local/lib/python3.13/site-packages/imouapi/device_entity.py", line 346, in async_turn_off await self.api_client.async_api_setDeviceCameraStatus(self._device_id, self._name, False) File "/usr/local/lib/python3.13/site-packages/imouapi/api.py", line 372, in async_api_setDeviceCameraStatus return await self._async_call_api(api, payload) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.13/site-packages/imouapi/api.py", line 227, in _async_call_api raise APIError(error_message) imouapi.exceptions.APIError: 40999: Unknown error. 2025-01-19 20:29:51.939 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection] [139981205818528] Unexpected exception Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py", line 245, in handle_call_service response = await hass.services.async_call( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ...<7 lines>... ) ^ File "/usr/src/homeassistant/homeassistant/core.py", line 2795, in async_call response_data = await coro ^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/core.py", line 2838, in _execute_service return await target(service_call) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 1006, in entity_service_call single_response = await _handle_entity_call( ^^^^^^^^^^^^^^^^^^^^^^^^^^ hass, entity, func, data, call.context ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 1078, in _handle_entity_call result = await task ^^^^^^^^^^ File "/config/custom_components/imou_life/switch.py", line 63, in async_turn_on await self.sensor_instance.async_turn_on() File "/usr/local/lib/python3.13/site-packages/imouapi/device_entity.py", line 328, in async_turn_on await self.api_client.async_api_setDeviceCameraStatus(self._device_id, self._name, True) File "/usr/local/lib/python3.13/site-packages/imouapi/api.py", line 372, in async_api_setDeviceCameraStatus return await self._async_call_api(api, payload) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.13/site-packages/imouapi/api.py", line 227, in _async_call_api raise APIError(error_message) imouapi.exceptions.APIError: 40999: Unknown error. 2025-01-19 20:29:54.122 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection] [139981205818528] Unexpected exception Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py", line 245, in handle_call_service response = await hass.services.async_call( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ...<7 lines>... ) ^ File "/usr/src/homeassistant/homeassistant/core.py", line 2795, in async_call response_data = await coro ^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/core.py", line 2838, in _execute_service return await target(service_call) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 1006, in entity_service_call single_response = await _handle_entity_call( ^^^^^^^^^^^^^^^^^^^^^^^^^^ hass, entity, func, data, call.context ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 1078, in _handle_entity_call result = await task ^^^^^^^^^^ File "/config/custom_components/imou_life/switch.py", line 75, in async_turn_off await self.sensor_instance.async_turn_off() File "/usr/local/lib/python3.13/site-packages/imouapi/device_entity.py", line 346, in async_turn_off await self.api_client.async_api_setDeviceCameraStatus(self._device_id, self._name, False) File "/usr/local/lib/python3.13/site-packages/imouapi/api.py", line 372, in async_api_setDeviceCameraStatus return await self._async_call_api(api, payload) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.13/site-packages/imouapi/api.py", line 227, in _async_call_api raise APIError(error_message) imouapi.exceptions.APIError: 40999: Unknown error. 2025-01-19 20:42:24.229 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection] [139981205818528] Unexpected exception Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py", line 245, in handle_call_service response = await hass.services.async_call( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ...<7 lines>... ) ^ File "/usr/src/homeassistant/homeassistant/core.py", line 2795, in async_call response_data = await coro ^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/core.py", line 2838, in _execute_service return await target(service_call) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 1006, in entity_service_call single_response = await _handle_entity_call( ^^^^^^^^^^^^^^^^^^^^^^^^^^ hass, entity, func, data, call.context ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 1078, in _handle_entity_call result = await task ^^^^^^^^^^ File "/config/custom_components/imou_life/switch.py", line 63, in async_turn_on await self.sensor_instance.async_turn_on() File "/usr/local/lib/python3.13/site-packages/imouapi/device_entity.py", line 328, in async_turn_on await self.api_client.async_api_setDeviceCameraStatus(self._device_id, self._name, True) File "/usr/local/lib/python3.13/site-packages/imouapi/api.py", line 372, in async_api_setDeviceCameraStatus return await self._async_call_api(api, payload) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.13/site-packages/imouapi/api.py", line 227, in _async_call_api raise APIError(error_message) imouapi.exceptions.APIError: 40999: Unknown error.
Thank you very much.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hello
Version is 1.0.15
Home Assistant core: 2025.1.2
Supervisor 2024.12.3
Operating system 14.1
Frontend 20250109.0
Cameras are bullet 3, IPC-S3E-3M0WE They has the feature Human detection.
Describe the bug
I have problems to turn on motion detection and human detection.
Debug log
2025-01-19 20:29:30.790 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection] [139981205818528] Unexpected exception
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py", line 245, in handle_call_service
response = await hass.services.async_call(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
...<7 lines>...
)
^
File "/usr/src/homeassistant/homeassistant/core.py", line 2795, in async_call
response_data = await coro
^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/core.py", line 2838, in _execute_service
return await target(service_call)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 1006, in entity_service_call
single_response = await _handle_entity_call(
^^^^^^^^^^^^^^^^^^^^^^^^^^
hass, entity, func, data, call.context
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 1078, in _handle_entity_call
result = await task
^^^^^^^^^^
File "/config/custom_components/imou_life/switch.py", line 75, in async_turn_off
await self.sensor_instance.async_turn_off()
File "/usr/local/lib/python3.13/site-packages/imouapi/device_entity.py", line 346, in async_turn_off
await self.api_client.async_api_setDeviceCameraStatus(self._device_id, self._name, False)
File "/usr/local/lib/python3.13/site-packages/imouapi/api.py", line 372, in async_api_setDeviceCameraStatus
return await self._async_call_api(api, payload)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.13/site-packages/imouapi/api.py", line 227, in _async_call_api
raise APIError(error_message)
imouapi.exceptions.APIError: 40999: Unknown error.
2025-01-19 20:29:51.939 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection] [139981205818528] Unexpected exception
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py", line 245, in handle_call_service
response = await hass.services.async_call(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
...<7 lines>...
)
^
File "/usr/src/homeassistant/homeassistant/core.py", line 2795, in async_call
response_data = await coro
^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/core.py", line 2838, in _execute_service
return await target(service_call)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 1006, in entity_service_call
single_response = await _handle_entity_call(
^^^^^^^^^^^^^^^^^^^^^^^^^^
hass, entity, func, data, call.context
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 1078, in _handle_entity_call
result = await task
^^^^^^^^^^
File "/config/custom_components/imou_life/switch.py", line 63, in async_turn_on
await self.sensor_instance.async_turn_on()
File "/usr/local/lib/python3.13/site-packages/imouapi/device_entity.py", line 328, in async_turn_on
await self.api_client.async_api_setDeviceCameraStatus(self._device_id, self._name, True)
File "/usr/local/lib/python3.13/site-packages/imouapi/api.py", line 372, in async_api_setDeviceCameraStatus
return await self._async_call_api(api, payload)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.13/site-packages/imouapi/api.py", line 227, in _async_call_api
raise APIError(error_message)
imouapi.exceptions.APIError: 40999: Unknown error.
2025-01-19 20:29:54.122 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection] [139981205818528] Unexpected exception
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py", line 245, in handle_call_service
response = await hass.services.async_call(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
...<7 lines>...
)
^
File "/usr/src/homeassistant/homeassistant/core.py", line 2795, in async_call
response_data = await coro
^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/core.py", line 2838, in _execute_service
return await target(service_call)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 1006, in entity_service_call
single_response = await _handle_entity_call(
^^^^^^^^^^^^^^^^^^^^^^^^^^
hass, entity, func, data, call.context
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 1078, in _handle_entity_call
result = await task
^^^^^^^^^^
File "/config/custom_components/imou_life/switch.py", line 75, in async_turn_off
await self.sensor_instance.async_turn_off()
File "/usr/local/lib/python3.13/site-packages/imouapi/device_entity.py", line 346, in async_turn_off
await self.api_client.async_api_setDeviceCameraStatus(self._device_id, self._name, False)
File "/usr/local/lib/python3.13/site-packages/imouapi/api.py", line 372, in async_api_setDeviceCameraStatus
return await self._async_call_api(api, payload)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.13/site-packages/imouapi/api.py", line 227, in _async_call_api
raise APIError(error_message)
imouapi.exceptions.APIError: 40999: Unknown error.
2025-01-19 20:42:24.229 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection] [139981205818528] Unexpected exception
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py", line 245, in handle_call_service
response = await hass.services.async_call(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
...<7 lines>...
)
^
File "/usr/src/homeassistant/homeassistant/core.py", line 2795, in async_call
response_data = await coro
^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/core.py", line 2838, in _execute_service
return await target(service_call)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 1006, in entity_service_call
single_response = await _handle_entity_call(
^^^^^^^^^^^^^^^^^^^^^^^^^^
hass, entity, func, data, call.context
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 1078, in _handle_entity_call
result = await task
^^^^^^^^^^
File "/config/custom_components/imou_life/switch.py", line 63, in async_turn_on
await self.sensor_instance.async_turn_on()
File "/usr/local/lib/python3.13/site-packages/imouapi/device_entity.py", line 328, in async_turn_on
await self.api_client.async_api_setDeviceCameraStatus(self._device_id, self._name, True)
File "/usr/local/lib/python3.13/site-packages/imouapi/api.py", line 372, in async_api_setDeviceCameraStatus
return await self._async_call_api(api, payload)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.13/site-packages/imouapi/api.py", line 227, in _async_call_api
raise APIError(error_message)
imouapi.exceptions.APIError: 40999: Unknown error.
Thank you very much.
The text was updated successfully, but these errors were encountered: