Add POST handler for triggering event manually #1

Open
opened 6 months ago by lauri · 0 comments
lauri commented 6 months ago
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
porkon_martin_77575 was assigned by lauri 6 months ago
Sign in to join this conversation.
No Label
No Milestone
No project
1 Participants
Notifications
Due Date

No due date set.

Dependencies

No dependencies set.

Reference: k-space/camera-motion-detect#1
Loading…
There is no content yet.