# Lightarr

Lightarr is a home automation tool that connects a Plex server to Wiz smart bulbs, automating lights during playback for a hands-free home theater experience. It is open source and self-hosted, installable on Docker Hub and Unraid.

Canonical page: https://ourlocalhost.com/app/2473/lightarr

## Description

Lightarr is a home automation tool that connects a Plex server to Wiz smart bulbs, automating lights during playback for a hands-free home theater experience.

## Platform availability

Available on 1 of 10 platforms: Unraid.

## Health score

32/100 (Low), based on 3 of 4 factors.
- Maintained: 50 (last commit 233 days ago)
- Popular: 0 (0 GitHub stars)
- Easy to install: 35 (1 install platform, install notes, Docker image)

## Links

- Docker Hub: https://hub.docker.com/r/aradd7/lightarr
- GitHub: https://github.com/AradD7/lightarr
- Unraid: https://ca.unraid.net/apps/lightarr-0nzbvyu1x3wl2i?q=Lightarr
- Documentation: https://youtu.be/4YhPkRt-W6o

## Common questions

### How do I connect Lightarr to Plex?

Set X_PLEX_TOKEN to your Plex authentication token in the container environment. In Plex, add a webhook pointing to the Lightarr server address with the path /plexhook.

### What port does the Lightarr interface use?

Lightarr defaults to port 10100 and the web interface is accessed at that server address and port. You can change the PORT variable and map the same port in Docker Compose.

### How does Lightarr find Wiz bulbs?

Set WIZ_SUBNET to the subnet where your Wiz bulbs are on the local network. After starting the app, use the Bulbs tab to view discovered bulbs and give them friendly names.

### How do I make Lightarr turn lights off or on?

Create a rule on the Rules tab and choose the Plex accounts, devices, and playback events that should trigger it. Add command and bulb pairs for actions such as turn off, turn on, dim, or change color.

### Where does Lightarr store its data?

The example Docker Compose mounts ./data to /data and sets DB_PATH to /data/lightarr.db. Your saved configuration is stored in that database file.

---
Source: Our Local Host (https://ourlocalhost.com/app/2473/lightarr), the self-hosted and open-source app directory.
