Skip to content

enh: remove unused manual recording mode and action - #3468

Draft
MichaIng wants to merge 1 commit into
devfrom
recording-motion-action-button
Draft

MichaIng wants to merge 1 commit into
devfrom
recording-motion-action-button

Conversation

@MichaIng

@MichaIng MichaIng commented Oct 20, 2026 •

Copy link
Copy Markdown
Member

This also merges the snapshot action method into the generic action method in the handler and backend.

However, this commit is meant as an intermediate state: I actually aim to implement a button for the motion event start/stop action. And this can toggle recordings, too. Other than emulate_motion, the actions stop a recording immediately, but they also trigger motion notifications, which might not be always wanted. emulate_motion is tied with the picture capture mode, too, if enabled, causing all frames to be stored. So depending on which features are enabled, things are tied with each other differently, and we might end up with separate start/stop recording (of pictures and/or movies), and start/stop motion buttons, labelled differently, depending on which features are enabled. Similar to the snapshot button, the visibility of recording/motion toggle buttons would depend on the selected movie recording mode, and a separate toggle. The visibility of the motion toggle button, if both really make sense separately, could be a separate toggle in motion detection settings, and a @manual_motion config.

Leaving this for further testing/clarification and other opinions.

This also merges the snapshot action method into the generic action method in the handler and backend.

However, this commit is meant as an intermediate state: I actually aim to implement a button for the motion event start/stop action. And this can toggle recordings, too. Other than `emulate_motion`, the actions stop a recording immediately, but they also trigger motion notifications, which might not be always wanted. `emulate_motion` is tied with the picture capture mode, too, if enabled, causing all frames to be stored. So depending on which features are enabled, things are tied with each other differently, and we might end up with separate start/stop recording (of pictures and/or movies), and start/stop motion buttons, labelled differently, depending on which features are enabled. Similar to the snapshot button, the visibility of recording/motion toggle buttons would depend on the selected movie recording mode, a separate toggle. The visibility of the motion toggle button, if both really make sense separately, could be a separate toggle in motion detection settings, and a  `@manual_motion` config.

Leaving this for further testing/clarification and other opinions.

Signed-off-by: MichaIng <micha@dietpi.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

Video recording action button(s) [Feature] Option to manually start and stop recording?

1 participant