What it does
Smart light apps play each string's built-in effects on their own. String Theory sets every bulb's colour itself, so your strings can do much more.
One long string
Lay strings end to end and every show runs across all of them, with chases flowing from one string into the next. Use as many strings as you like.
Shows for every season
Valentine's Day, St. Patrick's Day, Easter, Canada Day and Fourth of July fireworks, Halloween, Hanukkah, Christmas and New Year's Eve, plus rainbows, a sunrise and sunset, aurora colours, Slava Ukraini, embers, Fibonacci and more. Most still themes can animate too.
Make your own
Pick colours and an effect to make a pattern, or build a playlist that switches between themes with chases, fades or quick changes.
Schedules and zones
Lights come on around sunset, or at set times, and can fade in and out. Group strings into zones, such as the porch and the garage, each with its own show and timetable, or change them all at once. Holiday autopilot picks the show by date.
Siri and Apple Home
Your lights join the Home app as Christmas Lights. "Hey Siri, turn on the Christmas lights", or ask for any show by name: "turn on Grinch Christmas Lights". With a HomePod or Apple TV it works away from home too, with nothing opened to the internet.
Hockey nights
All 32 NHL teams in their colours. Follow yours and, during its games, the lights switch to the team's colours and every goal sets off a red goal light, then they go back to your show.
A real app on your phone
Add it to your home screen. The bulbs at the top are a picture of your house, with every string where it hangs (even strings woven between each other, and flood lights) showing what it's doing right now. Every show's card plays a preview.
Runs in your home
Not a hosted service: you run it on your own Pi or home computer. It talks to your lights over your home Wi-Fi, with no cloud or account, and the app works on your network (or, if you choose, through a tunnel with a password). Only following a hockey team goes online, to read the NHL's public live scores.
Try it now
The demo is the real app, with pretend lights. Everything works except lighting actual bulbs:
- Shows: browse every show and watch its preview. Flip Animate on a theme, pick a solid colour, star your favourites and drag them into order, and see all 32 NHL teams on the Hockey tab.
- Create: make a pattern from your own colours, or build a playlist from your favourites, still or animated.
- Now: the bulbs at the top play whatever you pick. Try the on/off switch and the speed slider.
- Setup: say where each string hangs and watch the picture at the top change.
Anything you make is saved in your browser only.
Open the demoWhat you need
About an hour, once.
String Theory isn't a hosted service. There's no account to sign up for and nothing runs on this website: you download it and run it on a computer in your home, on the same Wi-Fi as your lights. This site is just information and a demo with pretend lights.
NOMA/Tuya Wi-Fi light strings
Strings that work in the Smart Life or Tuya Smart app, where each bulb can be its own colour (often sold as RGBIC, colour bar or dreamcolor). Tested with NOMA smart C9 lights.
Something to run it
A Raspberry Pi is ideal: always on and frugal, with a one-step installer. Any home computer (Mac, Windows or Linux, desktop or laptop) works too, directly or in Docker. The lights follow the schedule while it's on and awake.
A free Tuya developer account
Needed once to get each controller's local key. After that, everything runs at home without it.
How it works
Each light controller accepts a picture: one colour per bulb. String Theory works out each moment of the show and sends every string its part, two or three times a second.
Get the keys
Move your lights into Smart Life, link it to a free Tuya developer project, and run the tinytuya wizard to save each string's local key.
Start it up
Run the Raspberry Pi installer,
docker compose up, or the home computer script. It asks which strings you have and in what order.Open the app
Browse to your Pi from your phone, add it to your home screen, and pick a show. Run Find the seams to check your strings are in order.
Get String Theory
String Theory is free and open source under the MIT licence. Download it from GitHub, where the README has full setup instructions for a Raspberry Pi, Docker or a home computer.
No support is provided. String Theory is shared as-is, as a starting point for your own project. There's no help with setup and no promise it works with your lights. The guides in the repository, and an AI coding assistant, are the way to adapt it.