Aurora is my open source Rasperry Pi voice assistant, based on the OpenAI Realtime API. I just shipped native wake word detection, including a trained model (Aurora), a training pipeline and on-device support for gathering training data from your long suffering household ("Aurora, learn how I say your name").
When I first built this project I used Porcupine from Picovoice. They had a free one seat version that worked great for this, but sadly they're pulling the plug at the end of this month. I can't afford their commercial license for an open source assistant so I urgently needed a replacement.
OpenWakeWord is the obvious replacement and seems quite popular with the Home Assistant community. The training notebook does not work though, and some alternatives suggested in the comments wouldn't run for me either. Maybe I'll go back to this if it comes back to life but it didn't look like a good bet for now.
I turned of course to Claude Code. To start with it agreed with the OpenWakeWord intuition but after some persuasion it put together a small CNN (looking at a spectrogram of the current audio capture) and trained and tuned it based on synthetic data. This worked surprisingly well. I'm in the process of fine tuning the model with samples captured from the Raspberry Pi from various family members (kicking off a data capture session is now a feature of the assistant). The detector is a drop in replacement for Porcupine so if you're looking to replace Picovoice that would be a good starting point.
If you use Aurora upgrade to the latest code and then follow the instructions in .env.example to migrate from Porcupine. You can use aurora.onyx to get up and running immediately, or see the wake_word folder readme to train your own from scratch. If you use the Raspberry Pi sample collection copy those files into the data folder and retrain to improve the model.
Aurora is an open source smart assistant designed for the Raspberry Pi and functional on Windows, Mac and anything else that can run Python.
Aurora uses the OpenAI realtime API, and is pretty similar to the advanced voice mode in ChatGPT. The idea is a replacement for Amazon Alexa and Google Home that anyone can build and extend.
I have had this running for nearly a year. It was functional but the code was a mess. OpenAI just promoted their realtime API from beta, and that prompted me to refactor the project and get it into shape for a public release.
While Amazon is slowly rolling out an LLM version of Alexa, I'm not buying another device that just wants to show me ads. I also don't want an assistant that has been engineered to minimize costs. Aurora is an exercise in what is possible using the best models available combined with helpful tools.
The project has a plug-in architecture for tool support, so you can pick and choose what makes sense. This first release supports timers, Perplexity Sonar, Todoist and a kid conflict resolution system that in my house is known as 'cheese night'. I'll be adding more tools over time, and the architecture makes it easy to contribute (please do!).
When I first designed Aurora I used an Adafruit BrainCraft HAT which has a small display and some nice LEDs. This combined with a Raspberry Pi 4 and a couple of speakers makes for a compact assistant. The project contains interface code for this specific setup, and also a generic version that will run anywhere. As with tool support the interface can be extended to support other devices.
Check out Aurora on GitHub, contribute if you come up with a cool tool or UI, and please send me a photo if you build an assistant.
Updated 2025-09-13 21:56:
Added support for the Bay Area 511 API to provide arrival times. You configure an agency and stop ID and then can ask 'when is the next L' and get arrival times. This is really useful for me. There is a new tool calling image state for the Raspberry Pi version and times are now poems based on the timer name.
Updated 2025-09-21 19:44:
Recipe support added. Ask Aurora to cook with you and she will guide you step by step through a recipe.
LIFX light bulbs are also now supported. Add names and IDs to settings and then Aurora can switch lights on and off.
Also added OpenSCAD and STL files for 3D printing a case for the BrainCraft version.
Updated 2026-02-28 18:46:
Upgraded to the new gpt-realtime-1.5 model. Also added a setting so it's easy to go back to the original gpt-realtime if that's what you prefer.
Updated 2026-06-27 23:20:
Added a flash briefing tool. By default this downloads and plays the most recent episode of the BBC Global News Podcast. There is a setting to override this with the RSS feed for the podcast of your choice.
Aurora also now features native wake word detection (more details here). This should work reasonably well out of the box, but you can also train it to better recognize your voice and environmental false triggers. It's also possible to train a new wake word from scratch if you'd prefer a different name.
Updated 2026-08-08 16:24:
Aurora gets into a lengthy discussion with Alexa, which eventually gives up.
Updated 2026-10-25 22:46:
Moved from Realtime to GPT-Live. This makes for a much more natural experience with full duplex and task chaining - you can now ask Aurora to switch on a light, add a to do item and tell you a story in one request. There are some configuration changes so if upgrading check .env.example and see the new example backend instructions (GPT-Live has instructions for the model talking to you, gpt-live-1, and the model handling tool calls, gpt-5.6-luna by default). A new version of the OpenAI client library is required as well so upgrade based on requirements.txt.
From the department of things I wouldn't have bothered with a year ago, here's a python script to set Todoist label colors.
Why? I like a productivity environment with some color and flare, and it also helps to visually recognize what a task relates to. But setting label colors is more clicks than I have patience for.
How? Just figure out embeddings for each available color and then for each label. Use cosine similarity to set the color that best suits each label. Colors will stay consistent for existing labels and new ones will get just a dash of semantic meaning in their assignments.
Here's the code (you need an OpenAI API key and a Todoist API token set as environment variables):
Updated 2026-03-07 03:28:
I have been wondering what a Cadillac version of this silly project would look like. The current version gives me colors, but not based on a lot of meaning. I also have to remember to find and run the python script when I add a new label. So I refactored this to run in Google Apps Script and to try and make those colors mean something. This is a two step process. First, the script uses GPT 5.4 to generate a description of each color including cultural significance and the kinds of tasks it might be associated with. Embeddings for these descriptions are cached. Second, the script loads three tasks for each label and finds the most similar color embedding for the sample tasks.
The script is scheduled to run weekly so I don't need to remember to do anything, always a big win.
It might end up being irritating as label colors will change over time. This might convey a subtle sense of what the label currently means, or it might just make it harder to remember the associations. Too soon to tell. In case this is ever helpful to anyone here's the code:
We recently got an electric vehicle and unsurprisingly our electricity usage has shot up - something like 125% so far. This is of course offset by not needing to buy gas, but the PG&E bill is starting to look eye watering.
PG&E offers an exciting and nearly impenetrable number of rate plans. Right now we're on E-TOU-C which PG&E says is the best choice for us. This is a time of use plan which makes a lot of sense - electricity is cheap off peak and expensive when it's in high demand. Running the dishwasher at the end of the day saves a few cents. Charging an EV at the right time is a big deal.
I decided to simulate our bill on each plan, with and without EV charging.
This turns out to be astonishingly complicated. There is probably a significant energy saving in having the billing systems sweat a bit less. It's not just peak vs. off peak, the rates are different for summer and winter. In some plans peak is a daily occurrence and in others it doesn't apply to weekends and holidays (raising the exciting sub investigation of what PG&E considers to be a holiday). Some plans have a daily use fee. Our plan has a discount for baseline usage, others do not.
That's all just for the conventional time of use plans. The EV plans introduce a 'part-peak' period so there are three different rates based on time of day. They also have different definitions of summer.
I had imagined a quick spreadsheet but this has turned into a python exercise. The notebook is included below. If you use this you'll need to estimate your average daily EV charging needs and also your baseline details. It uses a year of data downloaded from PG&E to run the simulation, so use the year before you started charging an EV. I think I've captured most of the details but I did take a shortcut with the baseline calculations - it uses calendar months instead of billing periods. PG&E billing periods range from 28-33 days, presumably because that will be cheaper in the long run.
It would be nice if PG&E had some kind of what-if modelling but I guess that's not in their best interests. Right now the web site says I should stick on E-TOU-C, which looks like a bad idea even based on the past year of usage. All of the plans are pretty close for me based on historical usage though. Adding an EV shows a huge difference. Off peak rates are a lot cheaper but in exchange the peak rates are much higher. I'll save a lot moving to the EV2 plan, which is what I've just done. It's not clear how you should choose between the different EV oriented plans without getting into this level of detail, but they are all better than the conventional time of use options if you have better things to do.
I evaluated the E-TOU-B, E-TOU-C and E-TOU-D time of use plans and the EV Rate A, EV Rate B, EV2 and E-ELEC plans for people with an EV or other qualifying electrical thing. The chart at the top of the post shows PG&E's estimates for the past year, my estimates and then my estimates with EV charging included.
TensorFlow Hub has a great sample for transferring the style of one image to another. You might have seen Munch's The Scream applied to a turtle, or Hokusai's The Great Wave off Kanagawa to the Golden Gate Bridge. It's fun to play with and I wondered how it would work for a timelapse video. I just posted my first attempt, four different shots of San Francisco and I think it turned out pretty well.
The four sequences were all shot on an A7C, one second exposure, ND3 filter and aperture/ISO as needed to hit one thousandth of a second before fitting the filter. Here's an example shot:
I didn't want The Scream or The Wave, so I asked my kids to pick two random pieces of art each so I could have a different style for each sequence:
The style transfer network wants a 256x256 style image so I cropped and resized the art as needed.
The sample code pulls images from URLs. I modified it to connect to Google Drive, iterate through a source folder of images and write the transformed images to a different folder. I'm running this in Google Colab which has the advantage that you get to use Google's GPUs and the disadvantage that it will disconnect, timeout, run out of memory etc. To work around this the modified code can be run as many times as needed to get through all the files and will only process input images that don't already exist in the output folder. Here's a gist of my adapted colab notebook:
One final problem is that the style transfer example produces square output images. I just set the output to 1920x1920 and then cropped a HD frame out the middle of each image to get around this.
Here's a more detailed workflow for the project:
I usually shoot timelapse with a neutral density filter to get some nice motion blur. When I shot this sequence it was the first time I'd used my filter on a new camera/lens and screwing in the filter threw off the focus enough to ruin the shots. Lesson learned - on this camera I need to nail the focus after attaching the filter. As I've been meaning to try style transfer for timelapse I decided to use this slightly bad sequence as the input. Generally for timelapse I shoot manual / manual focus, fairly wide aperture and ISO 100 unless I need to bump this up a bit to get to a 1 second exposure with the filter.
After shooting I use LRTimelapse and Lightroom 6 to edit the RAW photos. LRTimelapse reduces flicker and works well for applying a pan and/or zoom during processing as well. For this project I edited before applying the style transfer. The style transfer network preserves detail very well and then goes crazy in areas like the sky. Rather than zooming into those artifacts I wanted to keep them constant which I think gives a greater sense of depth as you zoom in or out.
Once the sequence is exported from Lightroom I cancel out of the LRTimelapse render window and switch to Google Colab. Copy the rendered sequence to the input folder and the desired style image and then run the notebook to process. If it misbehaves then Runtime -> Restart and run all is your friend.
To get to video I use ffmpeg to render each sequence. For this project at 24 frames per second and cropping a 1920x1080 frame from each of the 1920x1920 style transfer images.
Then DaVinci Resolve to edit the sequences together. I added a 2 second cross dissolve between each sequence and a small fade at the very beginning and end.
Finally, music. I use Filmstro Pro and for this video I used the track Durian.