Skip to content
This repository was archived by the owner on May 27, 2025. It is now read-only.

REST API

Neil Enns edited this page Jun 21, 2020 · 3 revisions

The system supports a basic REST API to support activating triggers from an external system. The internal web server is off by default. To use the API you must set enableWebServer to true in settings.json.

Endpoint Description Example
/motion/{triggerName} Activates the trigger with the name triggerName, causing it to download an image from the snapshotUri specified in the trigger configuration, then analyzes it. http://localhost:4242/motion/FrontDoorSD/
Clone this wiki locally