mirror of
https://github.com/motioneye-project/motioneye.git
synced 2026-03-02 22:57:06 -05:00
Save Run a Command text when disabled #1671
Labels
No labels
Android app
Arch Linux
CI/CD
CSS
FreeBSD
HTML/HTTP
Home Assistant addon
JavaScript
Python
Raspberry Pi
Stale No Activity 60 Days
bug
code format
dependencies
dev branch
docker
documentation
duplicate
enhancement
feature
help wanted
i18n/l10n
invalid
legacy motionEye
meta
motion
motionEyeOS
notourproblem
python update
question
question
security
troubleshooting
wontfix
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/motioneye#1671
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @edwardxml on GitHub (Jun 13, 2020).
From the motioneyes web interface under motioneyesOS, rather than granting all the permissions to use smtp.gmail.com for motion alerts, I am using the 'Run a Command' feature and making a curl request to Sendgrid. That all works great. Rather than type the great long command into the text box I added a shell script with a short name and, again that all works great. Unfortunately I regularly want to enable or disable the notification like an arm/disarm arrangement. From a mobile device it's straightforward to switch it on or off and Apply the change.
The unexpected behaviour encountered is that after turning the feature off, when I turn it on again, the command text box is blank, not pre-populated with the command from before, so it has to be typed in each time.