Open atiburzi opened 7 months ago
Hi, thanks for all the detailed information. Looks like an error coming from the Imou API when called, and of course 40999: Unknown error is not very meaningful :-/ I have no way to reproduce it or to test to call the api with different parameters, hence if any other user has experienced the same, please let me know so we can try to understand with there is in common with what you are facing. Thanks!
Hi, fully understand, just to report here another case with a similar Camera: https://community.home-assistant.io/t/imou-life-cloud-integration/462439/191
I have absolutly the same Problem !
Hi.
I get locations working using the HA onvif integration with this service call:
service: onvif.ptz target: entity_id: camera.salon_profile000 data: preset: 2 move_mode: GotoPreset distance: 1 speed: 0.5 continuous_duration: 0.5
Where "2" is the number of a preset created using SmartPPS (it is the preset ID)
Using the onvif integration as a workaround sounds like a good approach to me
error_log.txt
Version of the custom_component
HA Imou Life Custom Component version: 1.0.15
Version of the hardware (camera)
Device Info: IPC-GS7E-5M0WE (Imou Cruiser 2 camera)
Describe the bug
"imou_life.ptz_location" service doesn't work while I am successfully able to run the service "imou_life.ptz_move" (running them from developer tools in HA)
Here the service call script that fails (returning message: Unknown error):
The device is NOT shared from an imou account different than the one the device is connected to.
In attachment, the error_log file generated with the diagnostics.
Debug log
Logger: homeassistant.helpers.script.websocket_api_script Source: helpers/script.py:468 First occurred: 09:29:54 (1 occurrences) Last logged: 09:29:54
Logger: homeassistant.components.websocket_api.http.connection Source: custom_components/imou_life/camera.py:117 Integration: Home Assistant WebSocket API (documentation, issues) First occurred: 01:22:15 (1 occurrences) Last logged: 01:22:15