Add POST handler for triggering event manually #1

Open
opened 2022-08-15 08:12:26 +00:00 by lauri · 0 comments
Owner

Add request handler for manually triggering event, specifying the duration of this pseudo event.

Note that there is already SIGUSR1 handler which does something similar, make sure they both continue to work as expected and that they're both distinctly marked in MongoDB and that all three cases (real event, SIGUSR1, POST handler) are distinguishable.

https://git.k-space.ee/k-space/camera-motion-detect/src/branch/master/camdetect.py#L253

Add request handler for manually triggering event, specifying the duration of this pseudo event. Note that there is already SIGUSR1 handler which does something similar, make sure they both continue to work as expected and that they're both distinctly marked in MongoDB and that all three cases (real event, SIGUSR1, POST handler) are distinguishable. https://git.k-space.ee/k-space/camera-motion-detect/src/branch/master/camdetect.py#L253
Ghost was assigned by lauri 2022-08-15 08:27:59 +00:00
Sign in to join this conversation.
No Label
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: k-space/camera-motion-detect#1
No description provided.