Troubleshooting & FAQ
This guide covers common issues you might encounter when using the Aranet CLI, TUI, GUI, or library, along with solutions and workarounds.
Quick Diagnostics
Section titled “Quick Diagnostics”Run the built-in diagnostic tool to check your system:
aranet doctorThis will check:
- Bluetooth adapter status
- Required permissions
- Known device connectivity
- Configuration validity
Bluetooth Issues
Section titled “Bluetooth Issues”Device not found during scan
Symptoms: aranet scan returns no devices or times out.
Solutions:
-
Ensure the device is in range - Aranet devices have a Bluetooth range of approximately 10 meters (33 feet).
-
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.
-
Restart Bluetooth on your system:
# Turn Bluetooth off and onblueutil --power 0 && sleep 2 && blueutil --power 1# Restart Bluetooth servicesudo systemctl restart bluetooth# Restart Bluetooth serviceRestart-Service bthserv- Increase scan duration:
aranet scan --timeout 30- Try passive scanning (doesn’t require active Bluetooth queries):
aranet scan --passiveConnection drops or times out
Symptoms: Commands fail with “connection timeout” or “device disconnected” errors.
Solutions:
-
Move closer to the device - Bluetooth Low Energy signal strength varies.
-
Check for interference - WiFi routers, microwaves, and other 2.4GHz devices can interfere.
-
Retry with longer timeout:
aranet read <ADDRESS> --timeout 60- Check device battery - Low battery can affect Bluetooth transmission power. Use:
aranet info <ADDRESS>- Reset the device connection:
# Disconnect and reconnect to the devicearanet read <ADDRESS>“Permission denied” or “Access denied” errors
Symptoms: Bluetooth operations fail with permission errors.
macOS requires Bluetooth permission for terminal applications.
- Open System Settings → Privacy & Security → Bluetooth
- Ensure your terminal app (Terminal, iTerm2, etc.) is listed and enabled
- If not listed, run
aranet scanonce - macOS should prompt for permission - Restart your terminal after granting permission
Linux requires either root access or proper group membership.
Option 1: Add user to bluetooth group
sudo usermod -aG bluetooth $USER# Log out and back in for changes to take effectOption 2: Grant capabilities to the binary
sudo setcap 'cap_net_raw,cap_net_admin+eip' $(which aranet)Option 3: Configure D-Bus policy
Create /etc/dbus-1/system.d/aranet.conf:
<!DOCTYPE busconfig PUBLIC "-//freedesktop//DTD D-Bus Policy//EN" "http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd"><busconfig> <policy user="YOUR_USERNAME"> <allow own="org.bluez"/> <allow send_destination="org.bluez"/> <allow send_interface="org.bluez.GattCharacteristic1"/> <allow send_interface="org.bluez.GattDescriptor1"/> <allow send_interface="org.freedesktop.DBus.ObjectManager"/> <allow send_interface="org.freedesktop.DBus.Properties"/> </policy></busconfig>Windows typically doesn’t require special permissions for Bluetooth, but:
- Run as Administrator if you encounter issues
- Check Windows Bluetooth settings - ensure Bluetooth is enabled
- Update Bluetooth drivers via Device Manager
Installation Issues
Section titled “Installation Issues”Homebrew installation fails
Try these solutions in order:
- Update Homebrew:
brew updatebrew upgrade- Re-tap the repository:
brew untap cameronrye/aranetbrew tap cameronrye/aranetbrew install aranet- Install from source instead:
brew install --build-from-source aranet- Check for conflicts:
brew doctorCargo build fails with btleplug errors
Common causes and solutions:
On Linux - missing D-Bus development files:
# Debian/Ubuntusudo apt install libdbus-1-dev pkg-config
# Fedora/RHELsudo dnf install dbus-devel pkgconfig
# Archsudo pacman -S dbus pkgconfOn macOS - missing Xcode tools:
xcode-select --installOutdated Rust toolchain:
rustup update stableShell completions not working
Generate and install completions for your shell:
aranet completions bash > ~/.local/share/bash-completion/completions/aranet# Or for system-wide:sudo aranet completions bash > /etc/bash_completion.d/aranetaranet completions zsh > ~/.zsh/completions/_aranet# Add to ~/.zshrc if not present:# fpath=(~/.zsh/completions $fpath)# autoload -Uz compinit && compinitaranet completions fish > ~/.config/fish/completions/aranet.fisharanet completions powershell >> $PROFILERestart your shell after installing completions.
Data & Export Issues
Section titled “Data & Export Issues”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:
- Use incremental sync - only download new data:
aranet sync <ADDRESS>- Filter by date range:
aranet history <ADDRESS> --since 2026-01-01 --until 2026-01-15- Limit the number of records:
aranet history <ADDRESS> --limit 1000- Download to local database for future queries:
# Sync downloads history to the local SQLite databasearanet sync <ADDRESS>
# Query cached data without connecting to devicearanet cache history <ADDRESS>CSV export has wrong encoding or format
Specify the output format explicitly:
# Standard CSV with headersaranet history <ADDRESS> --format csv > data.csv
# JSON for programmatic usearanet history <ADDRESS> --format json > data.json
# Plain text (default)aranet history <ADDRESS> --format textFor 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:
- Verify your system timezone is set correctly
- Check device interval - history timestamps are calculated from the device’s current time minus intervals
- Use JSON output for precise timestamp inspection:
aranet history <ADDRESS> --format jsonIf device time is significantly wrong, you may need to reconfigure the device using the official Aranet Home app.
TUI & GUI Issues
Section titled “TUI & GUI Issues”TUI display is garbled or colors are wrong
Check your terminal compatibility:
-
Use a modern terminal - The TUI requires 256-color or truecolor support. Recommended: iTerm2, Alacritty, Windows Terminal, Kitty.
-
Set TERM environment variable:
export TERM=xterm-256coloraranet tui- Force basic mode:
aranet tui --style basic- Disable Unicode if symbols don’t render:
aranet tui --asciiGUI won’t start or crashes on launch
Common solutions:
-
Check system requirements:
- macOS 11.0+ (Big Sur or later)
- Windows 10 version 1903+
- Linux with GTK 3.24+
-
On macOS - verify app permissions:
- Open System Settings → Privacy & Security
- Check Bluetooth and Accessibility permissions
-
Try launching from terminal to see error messages:
# macOS/Applications/Aranet.app/Contents/MacOS/aranet-gui
# Linuxaranet-gui --debug- Reset GUI settings:
rm -rf ~/.config/aranet-guiSystem 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.
Frequently Asked Questions
Section titled “Frequently Asked Questions”Which devices are supported?
Currently supported devices:
| Device | Sensors | Status |
|---|---|---|
| Aranet4 | CO2, Temperature, Humidity, Pressure | Full support |
| Aranet2 | Temperature, Humidity | Full support |
| AranetRn+ | Radon, Temperature, Pressure, Humidity | Full support |
| Aranet Radiation | Dose Rate, Total Dose | Full 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:
aranet read -d living-room -d bedroom -d officeTUI - Monitor multiple devices:
aranet tui --devices living-room,bedroom,office# Or monitor all aliased devices:aranet tui --allSet up aliases for easy access:
aranet alias set living-room AA:BB:CC:DD:EE:FFaranet alias set bedroom 11:22:33:44:55:66aranet alias listHow do I integrate with Home Assistant?
Use the aranet-service daemon to expose a REST API:
# Start the servicearanet-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 dataThen 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):
| Level | CO2 Range | Color | Meaning |
|---|---|---|---|
| Good | < 1000 ppm | Green | Air quality is good |
| Warning | 1000-1400 ppm | Amber | Consider ventilating |
| Poor | > 1400 ppm | Red | Ventilation needed |
These thresholds can be customized:
aranet set <ADDRESS> --co2-warning 800 --co2-alarm 1200Is 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.
Still Having Issues?
Section titled “Still Having Issues?”If you’ve tried the solutions above and still have problems:
- Check existing issues on GitHub Issues
- Open a new issue with:
- Your OS and version
- Output of
aranet doctor - Steps to reproduce the problem
- Full error message
- Join the discussion on GitHub Discussions for general questions