Closed Fernando-Checa closed 2 years ago
Yes.
Do this by POSTing to api/plugin/LightControls with:
POST
api/plugin/LightControls
E.g.:
url: OCTOPRINT_URL + "/api/plugin/LightControls", type: "POST", dataType: "json", data: JSON.stringify({ command: "setLightValue", pin: 21, percentage: 100 }), contentType: "application/json; charset=UTF-8"
This issue has been automatically marked as stale because it has not had activity in 31 days. It will be closed if no further activity occurs in 14 days.
Yes.
Do this by
POST
ing toapi/plugin/LightControls
with:E.g.: