Your Alexa smart home, one click away in the macOS menu bar.
Lights, plugs, switches and Echo speakers in a fast, native panel.
Download for Mac · Install · Features · Troubleshooting · Build from source
Turning off a lamp shouldn't mean finding your phone, unlocking it and opening the Alexa app. Alexa Bar puts your devices where you already are: the menu bar. Click the ring, tap a light, done.
Lights
- On/off with one click, brightness by dragging the card's slider.
- Detail page with brightness presets, 5 white temperatures (warm to cool) and 12 colours.
- Each card glows in the colour the bulb is actually showing.
Plugs and switches
- Compact tiles you click to toggle, and Turn all off per section.
Echo speakers
- Volume slider, Speak (make it say any text) and Stop.
- Ask Alexa: type anything you would say out loud, such as "turn off the lights in 10 minutes" or "what's the weather", and your Echo does it.
Built like a Mac app
- Native SwiftUI, light and dark mode, no Dock icon.
- Open at Login, offered once after you sign in.
- Changes show instantly and roll back if Amazon rejects them.
- Status refreshes on a timer, when you open the panel, after sleep and when the network comes back. An offline banner tells you when you're disconnected.
- Keyboard shortcuts, VoiceOver labels, optional count of devices that are on next to the menu bar icon.
- Self-contained: nothing else to install.
Reliable with Amazon
- If Amazon refuses direct control of a device, the command is sent through your Echo instead.
- Sliders are debounced and repeated commands coalesced, so dragging doesn't trip Amazon's rate limit (HTTP 429). If it happens anyway, the app backs off and retries.
![]() Light mode |
![]() Light controls |
![]() Dark mode |
![]() Sign in with your Amazon account |
- macOS 14 Sonoma or later
- A Mac with Apple silicon (M1 or later)
- An Amazon account with Alexa devices, in one of the supported regions
- Download Alexa-Bar-x.y.z.dmg from the latest release.
- Open the disk image and drag Alexa Bar to Applications.
- Open Alexa Bar from Applications.
Release builds aren't notarized by Apple yet, so macOS asks you to confirm the first time:
- Open the app once. macOS says it can't verify it. Click Done.
- Open System Settings › Privacy & Security, scroll down and click Open Anyway next to "Alexa Bar", then confirm.
Or, in Terminal:
xattr -dr com.apple.quarantine "/Applications/Alexa Bar.app"- Click the ring icon in the menu bar.
- Enter your Amazon email, check the region and click Continue with Amazon.
- Amazon's own sign-in page opens in your browser. Sign in there, including any verification code. The panel fills with your devices when you're done.
You stay signed in across restarts. Settings › Sign Out removes the saved session.
| Action | How |
|---|---|
| Toggle a device | Click its card or tile |
| Set brightness or volume | Drag the slider on the card |
| Colours and white temperatures | Click › on a light card |
| More options for a device | Right-click it (turn on, turn off, hide) |
| Send any command | Type in Ask Alexa… and press Return |
| Choose which Echo runs commands | Settings › Echo › Voice speaker |
| Hide a device | Right-click › Hide from Menu Bar (restore in Settings) |
| Shortcut | Action |
|---|---|
| ⌘ R | Refresh devices |
| ⌘ , | Settings |
| Esc | Back |
| ⌘ Q | Quit (from Settings) |
Anything Alexa can control appears, with controls matching what the device supports:
| Device | Controls |
|---|---|
| Lights and bulbs | Power, brightness, colour, white temperature |
| Smart plugs and switches | Power |
| Fans, TVs, computers and other appliances behind a plug | Power |
| Echo, Echo Dot, Echo Show | Volume, speak, stop, typed commands |
Other device types (thermostats, locks, sensors) appear when Alexa reports controls for them, with a power toggle where they support one. Dedicated controls for those types aren't built yet.
🇺🇸 amazon.com · 🇮🇳 amazon.in · 🇬🇧 amazon.co.uk · 🇨🇦 amazon.ca · 🇦🇺 amazon.com.au · 🇩🇪 amazon.de · 🇫🇷 amazon.fr · 🇮🇹 amazon.it · 🇪🇸 amazon.es · 🇯🇵 amazon.co.jp · 🇧🇷 amazon.com.br · 🇲🇽 amazon.com.mx
- Your password never reaches Alexa Bar. You type it into Amazon's own
page. A temporary proxy on
127.0.0.1relays that page so Amazon can hand back session tokens, and it stops as soon as sign-in finishes. - Tokens stay on your Mac in
~/Library/Application Support/Alexa Bar/, readable only by your user. Sign Out deletes them. - No servers, analytics or tracking. The app talks only to Amazon's Alexa servers for your region.
- Logs in
~/Library/Logs/Alexa Bar/contain no passwords or tokens.
"Amazon is limiting requests right now"
Amazon answers HTTP 429 (Too Many Requests) when an account sends many commands in a short time, Echo commands especially. Alexa Bar already debounces sliders and retries with back-off. Wait a few seconds and try again.
Sign-in page doesn't open, or sign-in times out
Click Open Sign-in Page on the waiting screen, or Copy link and paste it into another browser. Sign-in waits up to 10 minutes. Make sure the region matches the Amazon site you use for Alexa.
A device is missing
Check that it appears in the Alexa app and that you didn't hide it (Settings › Hidden devices). Then click refresh (⌘ R).
"Sent through your Echo"
Amazon sometimes refuses direct control for a device or region. Alexa Bar then sends the command as if you had spoken it to your Echo, which may answer out loud. Pick the Echo to use in Settings › Echo.
"Your Amazon session expired"
Amazon occasionally ends sessions, for example after a password change. Sign in again from the panel.
Something else
Settings › Help › Reconnect restarts the connection. For a bug report,
attach ~/Library/Logs/Alexa Bar/helper.log (Settings › Help › Logs ›
Show in Finder) to a new issue.
Quit Alexa Bar (Settings › Quit), delete it from Applications, then remove its data:
rm -rf ~/Library/"Application Support/Alexa Bar" ~/Library/Logs/"Alexa Bar"
defaults delete com.alexabar.AlexaBarAlexa Bar.app
├── Contents/MacOS/AlexaBar SwiftUI menu bar app: all UI and state
└── Contents/Resources/helper/
├── python/ standalone CPython 3.12
├── site-packages/ AlexaPy and dependencies
├── alexabar_helper/ Amazon session and API layer
└── run_helper.py
The Swift app starts a small Python helper as a child process and exchanges
one JSON object per line over stdin/stdout
(protocol.py). The helper wraps
AlexaPy for Amazon's sign-in, then
uses the same web endpoints as the Alexa website:
| Purpose | Endpoint |
|---|---|
| Smart home device list | GET /api/behaviors/entities |
| Device status | POST /api/phoenix/state |
| Device control | PUT /api/phoenix/state |
| Echo speak, volume, stop, typed commands | POST /api/behaviors/preview |
| Echo list and volume | /api/devices-v2/device, /api/devices/…/allDeviceVolumes |
These are private Amazon APIs. They work today but can change without notice.
Requirements: macOS 14+, the Xcode Command Line Tools
(xcode-select --install) and internet access on the first build, which
downloads a pinned, SHA-256 verified Python runtime.
git clone https://github.com/flerk3n/Alexa-Bar.git
cd Alexa-Bar
make install # builds build/Alexa Bar.app, copies it to /Applications and opens it| Command | Result |
|---|---|
make app |
build/Alexa Bar.app |
make dmg |
build/Alexa-Bar-<version>.dmg |
make install |
Build, install to /Applications, open |
make clean |
Remove build output |
Signed and notarized release:
VERSION=1.1.0 SIGN_IDENTITY="Developer ID Application: Your Name (TEAMID)" make app
NOTARY_PROFILE=<notarytool keychain profile> scripts/make_dmg.sh| Path | Contents |
|---|---|
Sources/AlexaBar/App |
App entry, AppModel and its actions |
Sources/AlexaBar/Backend |
Helper process client |
Sources/AlexaBar/Models |
Devices, states, presets, regions |
Sources/AlexaBar/Support |
Preferences, login item, logging, network |
Sources/AlexaBar/Views |
SwiftUI views and components |
backend/alexabar_helper |
Python helper package |
Packaging |
Info.plist template, entitlements |
scripts |
Build, DMG, install, Python fetcher, icon renderer |
On recent SDKs SwiftUI's
@Stateis a macro whose compiler plugin ships only with Xcode. The views use@ViewState, an alias for SwiftUI'sStateproperty wrapper, so the project also builds with just the Command Line Tools.
Bug reports and pull requests are welcome. For larger changes, please open an
issue first to discuss the idea. When reporting a bug, include your macOS
version, Amazon region, the device type, and the relevant lines from
~/Library/Logs/Alexa Bar/helper.log.
- AlexaPy by Keaton Taylor and Alan Tse, which handles Amazon's sign-in.
- alexa-remote2, whose work documented many of the Alexa endpoints.
- python-build-standalone for the relocatable Python runtime.
Full list of bundled software and licenses: THIRD_PARTY_NOTICES.md.
Alexa Bar is an independent project. It is not affiliated with, endorsed by or sponsored by Amazon. Alexa, Echo and related marks are trademarks of Amazon.com, Inc. or its affiliates. Use it at your own risk; Amazon may change or restrict the services it relies on at any time.
MIT © 2026 flerk3n




