Skip to content

Change config from cli #171

Answered by Mr-Dave
TheRaven500 asked this question in Q&A
Jul 22, 2024 · 1 comments · 1 reply
Discussion options

You must be logged in to vote

There is.....it is just that the documentation doesn't exist on how....

Status is via a json page. e.g.

http://localhost:8080/0/status.json

Others are now "post" actions in Motionplus versus them being "get" actions in Motion. Below are some examples. (camid would vary by user. Use camid=0 for all cameras)

Available commands:
eventstart, eventend, snapshot, pause, unpause, restart, stop, config_write, camera_add, camera_delete, config, action_user, pan_left, pan_right, tilt_up, tilt_down, zoom_in, zoom_out

Usage:
curl -s -o -X POST http://localhost:8080/ --data "camid=101" --data "command=eventend" 1>/dev/null
curl -s -o -X POST http://localhost:8080/ --data "camid=101" --data "command=co…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@TheRaven500
Comment options

Answer selected by TheRaven500
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants