---
"title": "50. High Energy, Low Power: A Bluetooth Christmas Story"
"description": "Chris Castle has a two year nephew who, like most two year olds, likes pushing buttons—especially ones that turn lights on. When a Christmas tree appeared a few weeks ago, and lights were put up, he was very excited. At the same time, Chris was experimenting with Puck.js, a programmable low-power bluetooth button, and had a brainwave—he could combine his nephew's love of buttons and of lights. A true Christmas miracle."
"date": "2019-12-19"
"authors":
  -
    "name": "Charlie Gleason"
"url": "https://wp-www-staging.heroku.com/codeish-podcasts/50-high-energy-low-power-a-bluetooth-christmas-story/"
---

# 50\. High Energy, Low Power: A Bluetooth Christmas Story

Armed with a [Puck.js](https://www.puck-js.com/) button and a [bluetooth-powered power outlet](https://www.amazon.com/gp/product/B016Q1WVYE), Chris Castle decided to make the Christmas lights magic. He dug into the code, Puck.js documentation, and seemingly oft-ignored specifications, eventually reverse engineering the whole thing. He built a site around it, showing how it worked, while learning more about design, SVG animation, and the occasional perils of the tools we choose to use.

All so his nephew could press a button and see some magic happen.

Joined by Heroku UX / UI lead Charlie Gleason, Chris delves into the project; digging into his rationale and process, the technical challenges he faced, and how kids are really great at user testing. Most of all, together they try and find a little of joy that can only be captured by kids at Christmas.

![A GIF of Castle seeing the Christmas lights turning off and on - and flapping his arms](https://heroku-www-files.s3.amazonaws.com//uploads/a201134d-09cc-47f7-8900-3bc803de4591/castle-christmas-2up.gif)

## Links from this episode

- [Puck.js](https://www.puck-js.com/)
- [Bluetooth power outlet](https://www.amazon.com/gp/product/B016Q1WVYE)
- [xkcd comic on standards](https://xkcd.com/927/)
- [Wireshark](https://www.wireshark.org/)
- [Slides for Keg dot io](https://www.slideshare.net/crcastle/kegio)
- [Sandpit.js](https://sandpitjs.com/) and its [terrible documentation](https://sandpitjs.com/docs/)
- [Lynn Fisher](https://lynnandtonic.com/)
- [Refactoring UI](https://refactoringui.com/)
- [https://castle.christmas](https://castle.christmas/)