Skip to content

AranetBar 1.0.0

Choose a tag to compare

@wschenk wschenk released this 22 Oct 13:52
· 8 commits to main since this release

AranetBar is a single-file Swift menu bar app that shows your Aranet4's CO₂,
temperature, humidity, pressure and battery, read passively from the device's
BLE advertisement — no connection, no battery cost, and it does not fight the
Aranet phone app for the link.

Install

  1. Download AranetBar-1.0.0.zip below and unzip it.
  2. Drag AranetBar.app to /Applications.
  3. First launch: right-click the app → Open → Open.

The app is ad-hoc signed, not notarized (no Apple Developer ID), so Gatekeeper
blocks an ordinary double-click the first time. If you prefer the terminal:

xattr -dr com.apple.quarantine /Applications/AranetBar.app

Then allow the Bluetooth permission prompt. Your Aranet4 must be paired first in
System Settings → Bluetooth.

What it does

  • Menu bar shows a colour-coded dot plus the current CO₂ in ppm
  • Dropdown: CO₂, temperature (°C and °F, with a remembered toggle), humidity,
    pressure, battery, status, signal strength and measurement age
  • Reads the advertisement only — never opens a GATT connection
  • Duty-cycled scanning (5 s on, 15 s off), since the sensor logs every 5 min
  • Universal binary (Apple silicon + Intel), macOS 13 or later

Notes

  • Readings only change every logging interval (300 s by default). The menu shows
    how old the measurement is, and dims when it goes stale, rather than pretending
    a five-minute-old number is live.
  • The history log is not implemented; see PROTOCOL.md in the repo.
  • Not affiliated with Aranet. "Aranet4" is a trademark of SAF Tehnika.

SHA-256: dc0623c9643340803b1bb0eb71f6346508d7821dd48b369fa2892d0179b66562