hass-aarlo icon indicating copy to clipboard operation
hass-aarlo copied to clipboard

Can't get cameras to start recording with HA service call

Open TheDK opened this issue 2 years ago • 2 comments

If I use

service: camera.aarlo_start_recording
data:
  entity_id: camera.aarlo_haustur
  duration: 30

I get this error:

2022-03-02 16:19:20 WARNING (MainThread) [homeassistant.util.async_] Detected blocking call inside the event loop. This is causing stability issues. Please report issue to the custom component author for aarlo doing blocking calls at custom_components/aarlo/pyaarlo/backend.py, line 153: r = self._session.post(
2022-03-02 16:19:20 WARNING (MainThread) [pyaarlo] request-error=RuntimeError
2022-03-02 16:19:20 WARNING (MainThread) [custom_components.aarlo.camera] failed to start recording for Haustur

If I use

service: aarlo.camera_start_recording
data:
  entity_id: camera.aarlo_haustur
  duration: 30

the camera signals "Recording" for a couple of seconds, then goes back to "Just been active" - but no recordings show up.

The request snapshot with camera.aarlo_request_snapshot works just fine.

TheDK avatar Mar 02 '22 15:03 TheDK

Same thing, but requesting a snapshot with camera.aarlo_request_snapshot doesn't work.

herveaurel avatar Mar 07 '22 08:03 herveaurel