Save Run a Command text when disabled #1671

Closed
opened 2026-02-28 00:51:03 -05:00 by deekerman · 0 comments
Owner

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.

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.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
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
starred/motioneye#1671
No description provided.