hassio-addons / addon-motioneye

motionEye - Home Assistant Community Add-ons
https://addons.community
MIT License
274 stars 43 forks source link

Snapshot service (and action) only works when streaming is enabled #487

Closed banaslee closed 2 months ago

banaslee commented 4 months ago

Problem/Motivation

I want to create a timelapse from an Eufy camera that is not always streaming. Right now, I have an automation that starts the stream on Eufy, takes a snapshot and stops the stream on Eufy.

This only works if Streaming is enabled on the motionEye add-on, at least based on my tests.

Expected behavior

A snapshot should be captured even when Streaming is disabled in the motionEye add-on. Same way that it works when the snapshot button is tapped on the UI.

Actual behavior

No error but also no snapshot is captured.

Steps to reproduce

  1. Disable Streaming in the add-on;
  2. Tap snapshot button in the UI - notice how a snapshot is captured
  3. Call snapshot service on the camera - notice how a snapshot is not captured

Proposed changes

Make snapshots not depend on whether Streaming is enabled or not.

github-actions[bot] commented 3 months ago

There hasn't been any activity on this issue recently, so we clean up some of the older and inactive issues. Please make sure to update to the latest version and check if that solves the issue. Let us know if that works for you by leaving a comment 👍 This issue has now been marked as stale and will be closed if no further activity occurs. Thanks!