Skip to content

Add a fuel command to estimate how much fuel a cook will burn#297

Closed
jongio wants to merge 1 commit into
mainfrom
idea/cli-fuel
Closed

Add a fuel command to estimate how much fuel a cook will burn#297
jongio wants to merge 1 commit into
mainfrom
idea/cli-fuel

Conversation

@jongio

@jongio jongio commented Jul 19, 2026

Copy link
Copy Markdown
Owner

Adds an offline fuel command that estimates how much fuel a cook will burn, so you can pack enough pellets, charcoal, or wood before you light the pit.

What it does

  • New pure SDK helper estimateFuel(pitTempF, hours, { fuelType, hopperLb }) picks a burn rate from temperature bands per fuel type, multiplies by the cook length, and adds a buffer for the amount to pack.
  • With a --hopper size it also reports how long one load lasts and how many refills to plan.
  • CLI: thermoworks fuel --temp 225 --hours 12 [--fuel pellet|charcoal|wood] [--hopper 20] [--list] [--json].

Notes

  • No login or network. Deterministic math with RangeError on bad input.
  • Burn rates are working approximations for common pits, not a meter.

Tests

  • SDK: tier selection, boundary inclusivity, totals, buffer rounding, hopper runtime and refills, validation.
  • CLI: arg parsing, format output, JSON, list, and required-flag errors. Registry coverage updated.

Closes #294

Add an offline `fuel` command and `estimateFuel` SDK helper that turn a
pit temperature, cook length, and fuel type into how much fuel to pack.
Burn-rate tiers cover pellets, charcoal, and wood; a hopper size reports
runtime per load and how many refills to plan. Pure and deterministic:
no login, no network.

Closes #294

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Copilot-Session: ecabbd71-7dd2-42f1-a014-ab6df3686eee
@jongio jongio added the idea Feature idea from the idea pipeline label Jul 19, 2026
@jongio jongio self-assigned this Jul 19, 2026
@jongio

jongio commented Jul 20, 2026

Copy link
Copy Markdown
Owner Author

Closing. Keeping the thermoworks CLI focused on device and temperature features: probes, alarms, device health, and live and archived readings. A fuel estimator doesn't read device data, so it's out of scope for this repo.

@jongio jongio closed this Jul 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

idea Feature idea from the idea pipeline

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add a fuel command to estimate charcoal, pellet, or wood use for a cook

1 participant