rice: API plan docs are starting.
This commit is contained in:
parent
38393ba180
commit
d5a32c2833
3 changed files with 33 additions and 14 deletions
|
|
@ -1,8 +0,0 @@
|
||||||
---
|
|
||||||
author: "William Floyd"
|
|
||||||
date: 2018-06-18
|
|
||||||
title: Blog
|
|
||||||
weight: 10
|
|
||||||
---
|
|
||||||
|
|
||||||
Foobar Index
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
+++
|
---
|
||||||
title = "About"
|
title: "About"
|
||||||
date = "2018-06-18"
|
date: "2018-06-19"
|
||||||
+++
|
---
|
||||||
|
|
||||||
I am William Floyd, this is my blog.
|
I am William Floyd, this is my blog.
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
---
|
---
|
||||||
|
title: "Smart Rice Cooker Conversion: Part 1"
|
||||||
|
date: "2018-06-18"
|
||||||
author: "William Floyd"
|
author: "William Floyd"
|
||||||
date: 2018-06-18
|
|
||||||
title: Smart Rice Cooker Conversion - Part 1
|
|
||||||
---
|
---
|
||||||
|
|
||||||
The "why" isn't important (read "doesn't exist"), but I want to take a regular old "dumb" rice cooker, and convert it into a "smart" rice cooker.
|
The "why" isn't important (read "doesn't exist"), but I want to take a regular old "dumb" rice cooker, and convert it into a "smart" rice cooker.
|
||||||
|
|
@ -23,3 +23,30 @@ Ideally, I will have the rice cooker serve an API, which my Orange Pi will bounc
|
||||||
|
|
||||||
For now though, I am away from home, working, so I can't do anything on this for at least another 2 weeks, probably 3.
|
For now though, I am away from home, working, so I can't do anything on this for at least another 2 weeks, probably 3.
|
||||||
Many of my parts have arrived (rice cooker, thermistors, relay, and NodeMCU), so once I get home, I can hit the ground running.
|
Many of my parts have arrived (rice cooker, thermistors, relay, and NodeMCU), so once I get home, I can hit the ground running.
|
||||||
|
|
||||||
|
#### API
|
||||||
|
|
||||||
|
I tentatively (with no real experience designing them) plan on my API being the following.
|
||||||
|
|
||||||
|
*Italicized* = Description
|
||||||
|
**Bolded** = Final endpoints
|
||||||
|
|
||||||
|
- /sensor
|
||||||
|
- /temperature
|
||||||
|
- *Returns temperature*
|
||||||
|
- /action
|
||||||
|
- *Contains all physical heating/cooling/moving actions*
|
||||||
|
- /temperature
|
||||||
|
- *Contains all temperature related actions*
|
||||||
|
- **/kill**
|
||||||
|
- *Stops all cooking, lets the cooker cool to room temperature*
|
||||||
|
- **/change**
|
||||||
|
- *Heat/cool to given temperature, then hold*
|
||||||
|
- *Should allow setting a target heat/cool rate*
|
||||||
|
- *Should allow setting a hold duration*
|
||||||
|
- /routine
|
||||||
|
- /cook
|
||||||
|
- **/list**
|
||||||
|
- *List known cooking routines*
|
||||||
|
- **/start**
|
||||||
|
- *Start, or optionally schedule a routine*
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue