Skip to content

Troubleshooting & FAQ

This guide covers common issues you might encounter when using the Aranet CLI, TUI, GUI, or library, along with solutions and workarounds.

Run the built-in diagnostic tool to check your system:

Terminal window
aranet doctor

This will check:

  • Bluetooth adapter status
  • Required permissions
  • Known device connectivity
  • Configuration validity

Device not found during scan

Symptoms: aranet scan returns no devices or times out.

Solutions:

  1. Ensure the device is in range - Aranet devices have a Bluetooth range of approximately 10 meters (33 feet).

  2. Check if the device is paired with another app - Some devices only allow one active connection. Close the official Aranet Home app or disconnect from other Bluetooth managers.

  3. Restart Bluetooth on your system:

Terminal window
# Turn Bluetooth off and on
blueutil --power 0 && sleep 2 && blueutil --power 1
  1. Increase scan duration:
Terminal window
aranet scan --timeout 30
  1. Try passive scanning (doesn’t require active Bluetooth queries):
Terminal window
aranet scan --passive
Connection drops or times out

Symptoms: Commands fail with “connection timeout” or “device disconnected” errors.

Solutions:

  1. Move closer to the device - Bluetooth Low Energy signal strength varies.

  2. Check for interference - WiFi routers, microwaves, and other 2.4GHz devices can interfere.

  3. Retry with longer timeout:

Terminal window
aranet read <ADDRESS> --timeout 60
  1. Check device battery - Low battery can affect Bluetooth transmission power. Use:
Terminal window
aranet info <ADDRESS>
  1. Reset the device connection:
Terminal window
# Disconnect and reconnect to the device
aranet read <ADDRESS>
“Permission denied” or “Access denied” errors

Symptoms: Bluetooth operations fail with permission errors.

macOS requires Bluetooth permission for terminal applications.

  1. Open System SettingsPrivacy & SecurityBluetooth
  2. Ensure your terminal app (Terminal, iTerm2, etc.) is listed and enabled
  3. If not listed, run aranet scan once - macOS should prompt for permission
  4. Restart your terminal after granting permission

Homebrew installation fails

Try these solutions in order:

  1. Update Homebrew:
Terminal window
brew update
brew upgrade
  1. Re-tap the repository:
Terminal window
brew untap cameronrye/aranet
brew tap cameronrye/aranet
brew install aranet
  1. Install from source instead:
Terminal window
brew install --build-from-source aranet
  1. Check for conflicts:
Terminal window
brew doctor
Cargo build fails with btleplug errors

Common causes and solutions:

On Linux - missing D-Bus development files:

Terminal window
# Debian/Ubuntu
sudo apt install libdbus-1-dev pkg-config
# Fedora/RHEL
sudo dnf install dbus-devel pkgconfig
# Arch
sudo pacman -S dbus pkgconf

On macOS - missing Xcode tools:

Terminal window
xcode-select --install

Outdated Rust toolchain:

Terminal window
rustup update stable
Shell completions not working

Generate and install completions for your shell:

Terminal window
aranet completions bash > ~/.local/share/bash-completion/completions/aranet
# Or for system-wide:
sudo aranet completions bash > /etc/bash_completion.d/aranet

Restart your shell after installing completions.


History download is slow or incomplete

Aranet devices can store weeks of data. Large downloads take time due to BLE bandwidth limitations.

Tips for faster downloads:

  1. Use incremental sync - only download new data:
Terminal window
aranet sync <ADDRESS>
  1. Filter by date range:
Terminal window
aranet history <ADDRESS> --since 2026-01-01 --until 2026-01-15
  1. Limit the number of records:
Terminal window
aranet history <ADDRESS> --limit 1000
  1. Download to local database for future queries:
Terminal window
# Sync downloads history to the local SQLite database
aranet sync <ADDRESS>
# Query cached data without connecting to device
aranet cache history <ADDRESS>
CSV export has wrong encoding or format

Specify the output format explicitly:

Terminal window
# Standard CSV with headers
aranet history <ADDRESS> --format csv > data.csv
# JSON for programmatic use
aranet history <ADDRESS> --format json > data.json
# Plain text (default)
aranet history <ADDRESS> --format text

For Excel compatibility: Open the CSV file in Excel. If characters display incorrectly, use Excel’s “Get Data from Text/CSV” import feature and select UTF-8 encoding.

Timestamps appear wrong

Aranet devices store timestamps in UTC. The CLI converts to your local timezone by default.

If timestamps appear incorrect:

  1. Verify your system timezone is set correctly
  2. Check device interval - history timestamps are calculated from the device’s current time minus intervals
  3. Use JSON output for precise timestamp inspection:
Terminal window
aranet history <ADDRESS> --format json

If device time is significantly wrong, you may need to reconfigure the device using the official Aranet Home app.


TUI display is garbled or colors are wrong

Check your terminal compatibility:

  1. Use a modern terminal - The TUI requires 256-color or truecolor support. Recommended: iTerm2, Alacritty, Windows Terminal, Kitty.

  2. Set TERM environment variable:

Terminal window
export TERM=xterm-256color
aranet tui
  1. Force basic mode:
Terminal window
aranet tui --style basic
  1. Disable Unicode if symbols don’t render:
Terminal window
aranet tui --ascii
GUI won’t start or crashes on launch

Common solutions:

  1. Check system requirements:

    • macOS 11.0+ (Big Sur or later)
    • Windows 10 version 1903+
    • Linux with GTK 3.24+
  2. On macOS - verify app permissions:

    • Open System Settings → Privacy & Security
    • Check Bluetooth and Accessibility permissions
  3. Try launching from terminal to see error messages:

Terminal window
# macOS
/Applications/Aranet.app/Contents/MacOS/aranet-gui
# Linux
aranet-gui --debug
  1. Reset GUI settings:
Terminal window
rm -rf ~/.config/aranet-gui
System tray icon not appearing

Linux users: System tray support varies by desktop environment.

  • GNOME: Install the AppIndicator extension
  • KDE: Should work out of the box
  • i3/Sway: Use a status bar with tray support (e.g., Waybar, i3bar with i3blocks)

macOS users: The menu bar icon should appear automatically. If not, check System Settings → Control Center → Menu Bar Only.


Which devices are supported?

Currently supported devices:

DeviceSensorsStatus
Aranet4CO2, Temperature, Humidity, PressureFull support
Aranet2Temperature, HumidityFull support
AranetRn+Radon, Temperature, Pressure, HumidityFull support
Aranet RadiationDose Rate, Total DoseFull support

Not yet supported: Aranet PRO base station, Aranet Cloud integration.

Can I use multiple devices simultaneously?

Yes! The CLI, TUI, and GUI all support multiple devices.

CLI - Read from multiple devices:

Terminal window
aranet read -d living-room -d bedroom -d office

TUI - Monitor multiple devices:

Terminal window
aranet tui --devices living-room,bedroom,office
# Or monitor all aliased devices:
aranet tui --all

Set up aliases for easy access:

Terminal window
aranet alias set living-room AA:BB:CC:DD:EE:FF
aranet alias set bedroom 11:22:33:44:55:66
aranet alias list
How do I integrate with Home Assistant?

Use the aranet-service daemon to expose a REST API:

Terminal window
# Start the service
aranet-service --port 8080
# The API is now available at http://localhost:8080
# GET /devices - List all devices
# GET /devices/:id/current - Get current readings
# GET /devices/:id/history - Get historical data

Then configure Home Assistant to poll the REST API using the RESTful sensor integration.

What are the CO2 color thresholds?

The Aranet4 uses the following thresholds (configurable on the device):

LevelCO2 RangeColorMeaning
Good< 1000 ppmGreenAir quality is good
Warning1000-1400 ppmAmberConsider ventilating
Poor> 1400 ppmRedVentilation needed

These thresholds can be customized:

Terminal window
aranet set <ADDRESS> --co2-warning 800 --co2-alarm 1200
Is this project affiliated with Aranet/SAF Tehnika?

No. This is an independent, community-driven open-source project. It is not affiliated with, endorsed by, or sponsored by Aranet or SAF Tehnika JSC.

Aranet is a trademark of SAF Tehnika JSC. This project communicates with Aranet devices using their documented Bluetooth Low Energy protocol.


If you’ve tried the solutions above and still have problems:

  1. Check existing issues on GitHub Issues
  2. Open a new issue with:
    • Your OS and version
    • Output of aranet doctor
    • Steps to reproduce the problem
    • Full error message
  3. Join the discussion on GitHub Discussions for general questions