Skip to content
Search articles

Connect Airthings to the freddy CLI

Updated

On this page

Airthings monitors your indoor air quality: radon, CO2, humidity, temperature, VOCs, and particulate matter.

What you can do with Airthings data in the freddy CLI

  • Query your Airthings humidity from a terminal with `freddy query`
  • Pipe your Airthings temperature into a script for a headless agent
  • Query your Airthings VOCs from a terminal with `freddy query`
  • Pipe your Airthings PM2.5 into a script for a headless agent
  • Query your Airthings radon from a terminal with `freddy query`

Set up in a few steps

See the full freddy CLI guide

  1. Install the freddy CLI: run npm i -g @freddy-coach/cli (or use npx @freddy-coach/cli).
  2. Sign in with the connection scope: freddy login --scope "mcp account:read connections:write".
  3. Connect Airthings: run freddy connect with its slug (freddy providers lists them), then approve in the browser.
  4. Read your data: run freddy metrics to see what is available, then freddy query --metrics hrv,sleep_duration --days 7.
  5. From a headless agent, run the same commands with --json for machine-readable output.
← Back to Airthings

Need a hand?

Send the source name and the step you’re stuck on.

[email protected] ↗