Skip to content

HTTP Config

seydx edited this page Jan 24, 2022 · 5 revisions

HTTP

Here the HTTP server can be activated to trigger or reset a movement by a simple call of a link.

If the HTTP server is activated, a movement can be triggered by e.g. the following link:

(Assuming the camera is simply called "My Camera" in the config)

http://IP:HTTPPORT/motion?My%20Camera

And reset via

http://IP:HTTPPORT/motion/reset?My%20Camera

Note: Any spaces in the name must be replaced with %20

Example:

"http": {
  "active": false,
  "port": 7777,
  "localhttp": false
}

General

Attributes Required Usage Default Options
active Activates HTTP Server for HTTP-based automation. If not set, HTTP support is not started. false true/false
port The port to listen on for HTTP-based automation. If not set, HTTP support is not started.
localhttp Only allow HTTP calls from localhost. Useful if using helper plugins that translate to HTTP. false true/false