jneilliii / OctoPrint-PrintScheduler

MIT License
10 stars 2 forks source link

Wiki addition to configure Tuya plugs. #25

Closed Deses closed 2 years ago

Deses commented 2 years ago

I wanted to commit a change to the wiki to add the curl command for tuya smartplugs but found out I don't have the required permissions. :P

Here's what I wanted to add.

* [Tuya Smartplug](https://plugins.octoprint.org/plugins/tuyasmartplug/) plugin
\```
curl -s -H "Content-Type: application/json" -H "X-Api-Key: <API_KEY>" -X POST -d '{ "command":"turnOn", "label": "<Plug's Label>" }' http://localhost/api/plugin/tuyasmartplug
\```

Please remove the backlash if you add it yourself.

jneilliii commented 2 years ago

Thanks, GitHub's implementation of wiki is not great, I've never figure out a way to allow edits from external people. I've added it to the wiki.