npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

homebridge-oasis-mini

v1.0.0

Published

Homebridge plugin for Oasis Mini kinetic sand table

Downloads

107

Readme

Homebridge Oasis Mini

A Homebridge plugin that integrates the Oasis Mini kinetic sand table into Apple HomeKit, allowing you to control your sand table via Siri and the Home app.

Features

This plugin creates four separate HomeKit accessories for comprehensive control:

| Accessory | Type | Description | |-----------|------|-------------| | Power | Switch | Wake/sleep control - turn your Oasis Mini on and off | | Drawing | Switch | Play/pause control - start and stop the current pattern | | Light | Lightbulb | Full RGB LED control with brightness, hue, and saturation | | LED Effect | Television | Select from 43 different LED light effects |

LED Effects

The plugin supports all 43 built-in LED effects:

| # | Effect | # | Effect | |---|--------|---|--------| | 0 | Solid | 22 | Gradient Cycle | | 1 | Rainbow | 23 | Rainbow Runner | | 2 | Rainbow Glitter | 24 | Twinkle Random | | 3 | Confetti | 25 | Two Color Chase | | 4 | Sinelon | 26 | Multi Color Chase | | 5 | BPM | 27 | Breathing | | 6 | Juggle | 28 | Hue Breathing | | 7 | Theater | 29 | Fire | | 8 | Theater Rainbow | 30 | Ice | | 9 | Color Wipe | 31 | Ocean | | 10 | Random Color Wipe | 32 | Lava | | 11 | Single Sparkle | 33 | Forest | | 12 | Multi Sparkle | 34 | Party | | 13 | Flash | 35 | Fairy | | 14 | Rainbow Flash | 36 | Candy Cane | | 15 | Christmas | 37 | Hanukkah | | 16 | Holi | 38 | Kwanzaa | | 17 | Comet | 39 | Valentine | | 18 | Bouncing Ball | 40 | Independence | | 19 | Multi Bouncing Ball | 41 | St Patrick | | 20 | Noise | 42 | Halloween | | 21 | Color Wave | | |

Requirements

  • Homebridge v1.6.0 or later
  • Node.js v18.0.0 or later
  • An Oasis Mini sand table with network connectivity
  • Your Oasis Mini device serial number

Installation

Using Homebridge UI (Recommended)

  1. Open the Homebridge UI
  2. Go to the Plugins tab
  3. Search for homebridge-oasis-mini
  4. Click Install

Using npm

npm install -g homebridge-oasis-mini

Configuration

Using Homebridge UI

  1. Open the Homebridge UI
  2. Go to Plugins > Homebridge Oasis Mini
  3. Click Settings
  4. Enter your device serial number
  5. Click Save

Manual Configuration

Add the following to your config.json:

{
  "platforms": [
    {
      "platform": "OasisMini",
      "name": "Oasis Mini",
      "serial": "YOUR_SERIAL_NUMBER",
      "pollingInterval": 30
    }
  ]
}

Configuration Options

| Option | Required | Default | Description | |--------|----------|---------|-------------| | platform | Yes | "OasisMini" | Must be "OasisMini" | | serial | Yes | - | Your device serial number (e.g., OM123456789) | | name | No | "Oasis Mini" | Display name in HomeKit | | pollingInterval | No | 30 | Status polling interval in seconds (5-300) |

Finding Your Serial Number

Your Oasis Mini serial number can be found:

  • On a sticker on the bottom of your device
  • In the Oasis app under Settings

The serial number format is typically OM followed by numbers (e.g., OM123456789).

Usage

Once configured, four accessories will appear in your Home app:

Power Control

  • ON: Wakes the device from sleep
  • OFF: Puts the device to sleep

Drawing Control

  • ON: Starts/resumes the current pattern
  • OFF: Pauses the current pattern

Light Control

  • Toggle the LED ring on/off
  • Adjust brightness (0-100%)
  • Change color using hue and saturation

LED Effect Selector

  • Appears as a TV accessory in HomeKit
  • Use the input selector to choose between 43 LED effects
  • The current effect is shown as the active input

Siri Commands

Example voice commands:

  • "Hey Siri, turn on the Oasis Mini"
  • "Hey Siri, pause the Oasis Mini Drawing"
  • "Hey Siri, set the Oasis Mini Light to blue"
  • "Hey Siri, set the Oasis Mini Light to 50%"
  • "Hey Siri, turn off the Oasis Mini Light"

Siri Control for LED Effects

The LED Effect selector uses a Television service, which doesn't support direct Siri voice commands for switching effects. However, you can use Apple Shortcuts to create Siri-enabled commands for your favorite effects:

  1. Open the Shortcuts app on your iPhone/iPad
  2. Tap + to create a new shortcut
  3. Add action → HomeControl [your home name]
  4. Select Oasis Mini LED Effect
  5. Choose the effect you want (e.g., Rainbow)
  6. Tap the shortcut name at the top and rename it (e.g., "Oasis Rainbow")
  7. Save the shortcut

Now you can say "Hey Siri, Oasis Rainbow" to activate that effect.

Repeat for any other effects you want to control by voice.

How It Works

The plugin communicates with your Oasis Mini via MQTT over WebSocket. It connects to the same cloud service used by the official Oasis app, so no local network configuration or port forwarding is required.

The plugin:

  1. Connects to the Oasis MQTT broker using your device serial number
  2. Subscribes to status updates from your device
  3. Sends commands when you interact with HomeKit controls
  4. Polls for status updates as a fallback (configurable interval)

Troubleshooting

Device not responding

  1. Ensure your Oasis Mini is powered on and connected to WiFi
  2. Verify the serial number is correct (check the Oasis app)
  3. Check the Homebridge logs for connection errors
  4. Restart Homebridge

Status not updating

  • The plugin polls for status updates based on pollingInterval
  • Real-time updates are received via MQTT when available
  • Try reducing the polling interval for faster updates

Accessories not appearing in HomeKit

  1. Restart Homebridge
  2. Remove and re-add the Homebridge bridge in HomeKit
  3. Check that the plugin is configured correctly

Debug Logging

Enable debug logging in Homebridge to see detailed plugin activity:

DEBUG=* homebridge

Development

Building from Source

# Clone the repository
git clone https://github.com/wowthatisrandom/Oasis-Mini-HB.git
cd homebridge-oasis-mini

# Install dependencies
npm install

# Build the plugin
npm run build

# Link for local development
npm link

Available Scripts

| Script | Description | |--------|-------------| | npm run build | Compile TypeScript to JavaScript | | npm run watch | Watch mode for development | | npm run lint | Run ESLint | | npm run clean | Remove the dist folder |

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Disclaimer

This plugin is not affiliated with, endorsed by, or connected to Grounded LLC, the makers of Oasis Mini. Use at your own risk.

Acknowledgments

  • Homebridge for the amazing home automation platform
  • The Oasis Mini team for creating a beautiful product