Skip to content

Boxscape/HueyUI

Repository files navigation

HueyUI

A webinterface to control Bluetooth Hue lights using Huey.

Usage

First, setup Huey.

Run the ./bin/create-database script to create the SQLite database. (Requires php-cli)

Create a .env file, with a single variable SOCKET_PATH, which should point to where the UNIX socket opened by Huey is located.
For example:
SOCKET_PATH='/srv/huey/var/huey.sock'

Serve the ./public folder using your favorite webserver.

Features

The app has 3 different tabs: presets, groups and lights.

Presets

A preset contains brightness and color levels for each light.

You can create a new preset by clicking the + button. It wil store the color and brightness for each light as they are set at that moment.

Groups

You can group multiple lights together, for example: "Kitchen", "Living room", etc.

Setting the color or brightness for a group applies it to all lights in that group.

Lights

List of the individual lights. You can control each light separately.

Menus

If there's a cogwheel in the top-left, that can be used to reorder the current list.

The + button in the top-right corner allows you to add a new preset/group.

Opening the context menu on a list item (right-click on desktop or long-press on mobile), allows you to edit that entry.

Tip

You can use Website-to-APK make an app out of this.

Disclaimer

I made this (mostly) as a learning exercise. It works well enough for my purposes, but YMMV.

The docs here are hastily written and might contain errors.

It's likely this won't receive updates or bug fixes.

About

A webinterface to control Bluetooth Hue lights using Huey

Resources

License

Stars

Watchers

Forks

Packages

No packages published