Quick Start
This guide walks you through scanning for devices, reading sensor data, caching history, and starting the local dashboard.

Scan for Devices
Section titled “Scan for Devices”First, find Aranet sensors nearby:
aranet scan --timeout 10Example output:
Scanning for Aranet devices (timeout: 10s)...
Found 2 devices: Aranet4 17C3C AA:BB:CC:DD:EE:FF RSSI: -45 dBm AranetRn+ 306B8 11:22:33:44:55:66 RSSI: -52 dBmRead Current Values
Section titled “Read Current Values”Read the current sensor measurements:
# Using device addressaranet read --device AA:BB:CC:DD:EE:FF
# Or using an aliasaranet read -d living-room
# Or let the interactive picker find devicesaranet readExample output for Aranet4:
Device: Aranet4 17C3C────────────────────────────────────CO₂: 847 ppm [GREEN]Temperature: 22.4°CHumidity: 45%Pressure: 1013.2 hPaBattery: 87%Last Update: 2m 15s agoInterval: 5 minutesRead Device Information
Section titled “Read Device Information”Get detailed device information:
aranet info --device AA:BB:CC:DD:EE:FFDevice Information────────────────────────────────────Name: Aranet4 17C3CModel: Aranet4Serial: 12345678Firmware: v1.4.19Hardware: v1.0Manufacturer: SAF TehnikaDownload History
Section titled “Download History”Download historical measurements to a CSV file:
# Download all historyaranet history --device AA:BB:CC:DD:EE:FF --output history.csv
# Filter by date rangearanet history -d living-room --since 2026-01-15 --until 2026-01-16Downloading history from Aranet4 17C3C...[==========] 100% Download completeRetrieved 1,440 records (7 days at 5-minute intervals)Saved to: history.csvThe CSV file contains timestamped sensor readings:
timestamp,co2,temperature,humidity,pressure2026-01-16T10:00:00Z,847,22.4,45,1013.22026-01-16T10:05:00Z,823,22.5,44,1013.1...Sync to the Local Cache
Section titled “Sync to the Local Cache”Pull history into the local SQLite cache so you can query it later without reconnecting:
# Sync a specific devicearanet sync --device AA:BB:CC:DD:EE:FF
# Or sync every remembered devicearanet sync --allGenerate a summary report from cached data:
# Daily report for one devicearanet report --device living-room
# Weekly report for all cached devicesaranet report --all --period weekly --format jsonStart the API Server and Dashboard
Section titled “Start the API Server and Dashboard”The CLI can launch the bundled aranet-service HTTP API and dashboard:
aranet server --bind 127.0.0.1:8080Then open http://127.0.0.1:8080/dashboard in your browser.
Using the Library
Section titled “Using the Library”For programmatic access, use aranet-core in your Rust code:
use aranet_core::{Device, scan};
#[tokio::main]async fn main() -> Result<(), Box<dyn std::error::Error>> { // Scan for devices let devices = scan::scan_for_devices().await?; println!("Found {} devices", devices.len());
// Connect to a device let device = Device::connect("Aranet4 17C3C").await?;
// Read current values let reading = device.read_current().await?; println!("CO₂: {} ppm", reading.co2); println!("Temperature: {:.1}°C", reading.temperature); println!("Humidity: {}%", reading.humidity);
// Download history let history = device.download_history().await?; println!("Downloaded {} records", history.len());
Ok(())}Next Steps
Section titled “Next Steps”- Learn about all CLI commands
- Deploy the background service
- Understand the BLE protocol
- Check the API documentation