diff --git a/_plugins/octolight.md b/_plugins/octolight.md index 0713c73731c..6d5d98807fd 100644 --- a/_plugins/octolight.md +++ b/_plugins/octolight.md @@ -158,16 +158,5 @@ Currently, you can configure settings: ## API -Base API URL: `GET http://YOUR_OCTOPRINT_SERVER/api/plugin/octolight?action=ACTION_NAME` - -This API always returns updated light state in JSON: `{state: true}`
-Any API call will require a API key with the "Control" permission. Without this, you will receive a 403 error. - -_(if the action parameter not given, the action toggle will be used by default)_ -#### Actions -- **toggle** (default action): Toggle light switch on/off. -- **turnOn**: Turn on light. -- **turnOff**: Turn off light. -- **getState**: Get current light switch state. -- **delayOff**: Turn on light and setup timer to shutoff light after delay time, note, `&delay=VALUE` can be added to the URL to override the default time value. -- **delayOffStop**: Testing for shutting off timer and light. \ No newline at end of file + +**Note:** OctoLight supports API calls, please go to the following link to check the latest information: https://github.com/thomst08/OctoLight#api \ No newline at end of file