kopia lustrzana https://github.com/jbruce12000/kiln-controller
723 B
723 B
start a run
curl -d '{"cmd":"run", "profile":"cone-05-long-bisque"}' -H "Content-Type: application/json" -X POST http://0.0.0.0:8081/api
skip the first part of a run restart the kiln on a specific profile and start at minute 60
curl -d '{"cmd":"run", "profile":"cone-05-long-bisque","startat":60}' -H "Content-Type: application/json" -X POST http://0.0.0.0:8081/api
stop a schedule
curl -d '{"cmd":"stop"}' -H "Content-Type: application/json" -X POST http://0.0.0.0:8081/api
post a memo
curl -d '{"cmd":"memo", "memo":"some significant message"}' -H "Content-Type: application/json" -X POST http://0.0.0.0:8081/api
stats for currently running schedule
curl -X GET http://0.0.0.0:8081/api/stats