kiln-controller-max31856/docs/api.md

29 wiersze
1004 B
Markdown
Czysty Zwykły widok Historia

2018-12-25 01:20:53 +00:00
start a run
2018-12-25 01:20:53 +00:00
curl -d '{"cmd":"run", "profile":"cone-05-long-bisque"}' -H "Content-Type: application/json" -X POST http://0.0.0.0:8081/api
2018-12-21 19:02:34 +00:00
2018-12-25 01:20:53 +00:00
skip the first part of a run
restart the kiln on a specific profile and start at minute 60
2018-12-25 01:20:53 +00:00
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
2018-12-25 01:20:53 +00:00
stop a schedule
curl -d '{"cmd":"stop"}' -H "Content-Type: application/json" -X POST http://0.0.0.0:8081/api
2022-05-29 16:21:32 +00:00
post a memo
2022-06-04 21:02:41 +00:00
curl -d '{"cmd":"memo", "memo":"some significant message"}' -H "Content-Type: application/json" -X POST http://0.0.0.0:8081/api
2022-05-29 16:21:32 +00:00
stats for currently running schedule
2022-05-21 18:21:45 +00:00
curl -X GET http://0.0.0.0:8081/api/stats
2024-06-30 15:44:45 +00:00
pause a run (maintain current temperature until resume)
curl -d '{"cmd":"pause"}' -H "Content-Type: application/json" -X POST http://0.0.0.0:8081/api
resume a paused run
curl -d '{"cmd":"resume"}' -H "Content-Type: application/json" -X POST http://0.0.0.0:8081/api