<commit_before># Luminary
An Android app for managing [Hue lights](https://www2.meethue.com/en-us), focused on speed and configurability.

> Made with [Create React Native App](https://github.com/react-community/create-react-native-app) because I'm lazy.

## Purpose
I've got those fancy wifi lights from Philips. They're awesome, but the published apps don't have what I'm looking for: speed and customization.
Once you replace all your lights, the first thing you need is a better light switch. Since Hue can do a lot more than turn on and off, many apps make toggling a second-rate citizen. The advanced features are polished, but when you just want a light on, it's annoyingly slow.

The first goal of Luminary is to be the best light switch available.

It achieves this in two ways:

### One-touch light toggle
The most common action should be the easiest. Tapping on a group of lights toggles their on/off state.

### Customizable layout
This isn't a normal light switch. It's a light switch for your entire home. With Luminary, you can customize what rooms are shown, where they are on the screen, and the size relative to other rooms.

for example: you could make your whole screen a giant toggle button for your living room, or you could take half your screen for the living room, and split the rest between the kitchen and stairwell. That's the level of control you're given.

![Example screenshot](./images/layout-screenshot.png)

## Unique features
Right now the focus is on speed, but here are some plans for the future:
- Scenes: add scene recall. No big surprise here.
- Animation builder: create animations for a set of lights. They'll probably be used like scenes.
- Alarm: configure your phone and light alarms simultaneously. This could be tricky with React Native/Expo...

Also, this isn't really a feature, but the backend uses a [GraphQL server called filament](https://github.com/PsychoLlama/filament). Because of this, I can keep extra data in Postgres, like animations and light usage history. But I haven't yet.

## Using it
This step isn't well polished, but should be straightforward. Open an issue if you run into problems.

- Download and run [filament](https://github.com/PsychoLlama/filament) on the same network as your Hue bridge.
- Then install the app. You can do this two ways:

### Method #1: build logs (Android)<commit_msg>Fix screenshot size<commit_after># Luminary
An Android app for managing [Hue lights](https://www2.meethue.com/en-us), focused on speed and configurability.

> Made with [Create React Native App](https://github.com/react-community/create-react-native-app) because I'm lazy.

## Purpose
I've got those fancy wifi lights from Philips. They're awesome, but the published apps don't have what I'm looking for: speed and customization.
Once you replace all your lights, the first thing you need is a better light switch. Since Hue can do a lot more than turn on and off, many apps make toggling a second-rate citizen. The advanced features are polished, but when you just want a light on, it's annoyingly slow.

The first goal of Luminary is to be the best light switch available.

It achieves this in two ways:

### One-touch light toggle
The most common action should be the easiest. Tapping on a group of lights toggles their on/off state.

### Customizable layout
This isn't a normal light switch. It's a light switch for your entire home. With Luminary, you can customize what rooms are shown, where they are on the screen, and the size relative to other rooms.

for example: you could make your whole screen a giant toggle button for your living room, or you could take half your screen for the living room, and split the rest between the kitchen and stairwell. That's the level of control you're given.

<img src="./images/layout-screenshot.png" alt="Example screenshot" width="250" />

## Unique features
Right now the focus is on speed, but here are some plans for the future:
- Scenes: add scene recall. No big surprise here.
- Animation builder: create animations for a set of lights. They'll probably be used like scenes.
- Alarm: configure your phone and light alarms simultaneously. This could be tricky with React Native/Expo...

Also, this isn't really a feature, but the backend uses a [GraphQL server called filament](https://github.com/PsychoLlama/filament). Because of this, I can keep extra data in Postgres, like animations and light usage history. But I haven't yet.

## Using it
This step isn't well polished, but should be straightforward. Open an issue if you run into problems.

- Download and run [filament](https://github.com/PsychoLlama/filament) on the same network as your Hue bridge.
- Then install the app. You can do this two ways:

### Method #1: build logs (Android)
{'fraction_non_alphanumeric': 0.06743697478991596, 'fraction_numerical': 0.0014705882352941176, 'mean_word_length': 4.243392070484582, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 6, 'https://': 8, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4240394', 'n_tokens_mistral': 1280, 'n_tokens_neox': 1205, 'n_words': 718}