# Apex Connect+ for Raycast

URL: https://www.raycast.com/advaitthakur/apexconnect

> Control your ApexOS smart home with Apex Connect: lights, covers, climate, media players, cameras and sensors, with menu bar items.

- Install: raycast://extensions/advaitthakur/apexconnect
- Author: [Advait Thakur](https://www.raycast.com/advaitthakur)
- Installs: 2
- Platforms: macOS
- Categories: Other
- Updated: 2026-11-20
- Source: https://github.com/raycast/extensions/tree/e38232e713cc42a58cac81b8d3af9261fd1624e5/extensions/apexconnect/

## Commands

- **All Entities**: Get/Set states of Apex Connect entities
- **Covers**: Get/Set states of Apex Connect covers
- **Fans**: Get/Set states of Apex Connect fans
- **Lights**: Get/Set states of Apex Connect lights
- **Persons**: Get/Set states of Apex Connect persons
- **Sensors**: Get/Set states of Apex Connect sensors
- **Binary Sensors**: Get/Set states of Apex Connect binary sensors
- **Media Players**: Get/Set states of Apex Connect mediaplayers
- **Automations**: Apex Connect automations
- **Dashboard**: Open Apex Connect dashboard
- **Climate**: Get/Set states of Apex Connect climate entities
- **All Entities with Attributes**: Query Apex Connect entity attributes
- **Batteries**: Query Batteries
- **Motions**: Query Motion Sensors
- **Vacuum Cleaners**: Query Vacuum Cleaners
- **Cameras**: Query Cameras
- **Scripts**: Query Scripts
- **Buttons**: Query Buttons
- **Scenes**: Query Scenes
- **Switches**: Get/Set states of Apex Connect Switches
- **Helpers**: Get/Set states of Apex Connect Helpers
- **Updates**: Get/Set states of Apex Connect Entity Updates
- **Doors**: Get/Set states of Apex Connect Entity with device class door
- **Weather**: Get Weather states of Apex Connect Entity Weather
- **Windows**: Get/Set states of Apex Connect Entity with device class window
- **Notifications Menu**: Display Persistent Notifications, Low Batteries and Update in the Menu Bar
- **Zones**: Get states about Zones
- **Weather Menu**: Display Weather entity in the Menu Bar
- **Assist**: Conversation with Apex Connect Assist
- **Media Player Menu**: Display Media Players in the Menu Bar
- **Lights Menu**: Display Lights in the Menu Bar
- **Covers Menu**: Display Covers in the Menu Bar
- **Batteries Menu**: Display Batteries in the Menu Bar
- **Entities Menu**: Show given entities in the Menu Bar
- **Entity Menu 1**: Show a Single Entity directly in the Menubar

## README

<div align="center">
  <img src="https://github.com/raycast/extensions/raw/e38232e713cc42a58cac81b8d3af9261fd1624e5/extensions/apexconnect//assets/apex-connect.png" width="96" alt="Apex Connect logo" />

  <h1>Apex Connect for Raycast</h1>

  <p>Control your ApexOS-powered smart home right from Raycast. 🚀</p>

  <p>
    <img src="https://img.shields.io/badge/license-MIT-blue.svg" alt="Released under the MIT license." />
    <img src="https://img.shields.io/badge/PRs-welcome-brightgreen.svg" alt="PRs welcome!" />
    <img src="https://img.shields.io/badge/platform-macOS-lightgrey.svg" alt="macOS only (Raycast)" />
  </p>
</div>

---

Apex Connect is a [Raycast](https://raycast.com) extension for [ApexOS](https://apexinfosys.in). Search, view, and control every entity in your smart home — lights, covers, climate, media players, cameras, and more — without leaving your keyboard.

#### Features

- Manage every entity type: lights, switches, covers, fans, climate, media players, cameras, vacuums, scripts, scenes, automations, and more
- Menu bar widgets for lights, covers, media players, batteries, weather, notifications, and arbitrary entities
- Real-time state updates over a WebSocket connection
- Automatic switching between an internal (home network) and external (cloud) URL based on WiFi SSID or reachability
- Optional deep-linking into the Apex Connect companion app instead of the browser

#### Requirements

- [Raycast](https://raycast.com) on macOS
- An ApexOS instance reachable over HTTP(S), plus a long-lived access token

#### Installation

This extension isn't published on the Raycast Store — install it in developer mode:

```bash
git clone https://github.com/AdvaitT17/apexconnect-raycast.git
cd apexconnect-raycast
npm install
npx ray develop
```

`ray develop` builds the extension and adds it to Raycast. Once it's running you can close the terminal — the commands stay available in Raycast.

#### Setup

##### Get an access token

1. Go to your ApexOS instance, e.g. `https://user.cloud.apexinfosys.in`
2. Click your profile (next to notifications) in the left sidebar
3. Scroll down to **Long-Lived Access Tokens**
4. Click **Create Token** and store it somewhere safe — Apex Connect won't show it again

##### Configure the extension

Open the Raycast preferences for Apex Connect (or run any Apex Connect command) and set:

| Preference | Description |
| --- | --- |
| **Apex Connect URL** | Your instance URL, e.g. `https://user.cloud.apexinfosys.in` |
| **API Token** | The long-lived access token from above |
| **Internal Apex Connect URL** *(optional)* | Your instance's address on your home network, e.g. `http://apexconnect.local:1702` |
| **Home Network Detection** *(optional)* | WiFi SSID(s) that identify your home network |

##### Home network detection

If you set an internal URL, Apex Connect uses it whenever it detects you're on your home network — either because the current WiFi SSID matches one you've listed, or because the internal URL responds to a ping (ping detection can be disabled if it's too slow for your setup).

**Example:**

- Apex Connect URL: `https://user.cloud.apexinfosys.in`
- Internal URL: `http://apexconnect.local:1702`
- Home WiFi SSIDs: `MyWifi1`, `MyWifi2`

On `MyWifi1` or `MyWifi2`, the internal URL is used. On any other network, it falls back to the Apex Connect URL.

> **Security note:** if your internal URL uses a `.local` hostname, it's resolved via mDNS, which isn't authenticated — any device on the same network can answer for it. Use HTTPS with a valid certificate for your internal URL where possible, and avoid combining a `.local` address with **Ignore Certificates** on networks you don't fully trust.

#### Commands

<details>
<summary>Full list of commands</summary>

| Command | Type | Description |
| --- | --- | --- |
| All Entities | view | Get/set states of all entities |
| All Entities with Attributes | view | Query entity attributes |
| Lights | view | Get/set states of lights |
| Switches | view | Get/set states of switches |
| Covers | view | Get/set states of covers |
| Fans | view | Get/set states of fans |
| Climate | view | Get/set states of climate entities |
| Media Players | view | Get/set states of media players |
| Cameras | view | Query cameras |
| Vacuum Cleaners | view | Query vacuum cleaners |
| Sensors | view | Get/set states of sensors |
| Binary Sensors | view | Get/set states of binary sensors |
| Batteries | view | Query batteries |
| Motions | view | Query motion sensors |
| Doors | view | Entities with device class "door" |
| Windows | view | Entities with device class "window" |
| Persons | view | Get/set states of persons |
| Zones | view | Get states about zones |
| Weather | view | Get weather entity states |
| Automations | view | Manage automations |
| Scripts | view | Query scripts |
| Scenes | view | Query scenes |
| Buttons | view | Query buttons |
| Helpers | view | Get/set states of helpers |
| Updates | view | Get/set states of entity updates |
| Assist | view | Conversation with Apex Connect Assist |
| Dashboard | no-view | Open the Apex Connect dashboard |
| Connection Check | view | Check the connection to Apex Connect |
| Notifications Menu | menu-bar | Persistent notifications, low batteries, and updates |
| Weather Menu | menu-bar | Weather entity in the menu bar |
| Media Player Menu | menu-bar | Media players in the menu bar |
| Lights Menu | menu-bar | Lights in the menu bar |
| Covers Menu | menu-bar | Covers in the menu bar |
| Batteries Menu | menu-bar | Batteries in the menu bar |
| Entities Menu | menu-bar | Arbitrary entities in the menu bar |
| Entity Menu 1 / 2 / 3 | menu-bar | A single entity pinned directly to the menu bar |

</details>

#### Screenshots

|                                                     |                                                     |
| --------------------------------------------------- | --------------------------------------------------- |
| ![All Entities](https://github.com/raycast/extensions/raw/e38232e713cc42a58cac81b8d3af9261fd1624e5/extensions/apexconnect//media/apexconnect-1.png)        | ![Lights](https://github.com/raycast/extensions/raw/e38232e713cc42a58cac81b8d3af9261fd1624e5/extensions/apexconnect//media/apexconnect-2.png)              |
| ![Media Players](https://github.com/raycast/extensions/raw/e38232e713cc42a58cac81b8d3af9261fd1624e5/extensions/apexconnect//media/apexconnect-3.png)        | ![Covers](https://github.com/raycast/extensions/raw/e38232e713cc42a58cac81b8d3af9261fd1624e5/extensions/apexconnect//media/apexconnect-4.png)              |

#### License

[MIT](https://github.com/raycast/extensions/raw/e38232e713cc42a58cac81b8d3af9261fd1624e5/extensions/apexconnect//LICENSE)
