Mike Kasberg

Husband. Father. Software engineer. Linux user.

Image for I Made My Own Perfect Alarm Clock by Hacking an Echo Show 5 with Claude

I Made My Own Perfect Alarm Clock by Hacking an Echo Show 5 with Claude

01 Dec 2026

The perfect alarm clock doesn’t exist.

Or at least, it didn’t, for me, until I made it for myself by hacking an Echo Show 5 with Claude. With Claude, you can quickly, easily, and cheaply write new software that bends hardware to your will, making it do exactly what you want. This is like the golden era of personal devices! What a fun time to be a software engineer!

To tell the story right, I think it’s worth backing up a little to start at the beginning. Over the past several months, there’s been a niche trend to hack your TV with Claude. You can block ads and spyware at the network level, disable unnecessary background processes that slow things down, and even install a custom launcher that removes ads and looks much cleaner and calmer. This was all technically possible a couple years ago if you were willing to dedicate enough time to root your device and build a custom launcher for it, but few people did. With Claude, however, it’s much easier and faster to accomplish – particularly with some of the open source projects like CleanYourTV and dumbtv that have popped up to help. These days, almost anyone can install a custom launcher on their TV in 30 minutes or less!

The Beginning: Clean Your TV

The trend started back in October when Gathin got frustrated with his parents’ TV and vibe coded a fix in an afternoon:

Muzzammil jumped on the trend, and had a FireTV version working the same day:

The story even got picked up by a couple bigger media sites like TechCrunch!

Inspired by Gathin and others, and sick of the ads on my own Roku TV stick, I bought a $30 Fire TV Stick 4K Plus just to hack it. I used dumbtv and had my new home screen working in like fifteen minutes. As it turns out, Claude is excellent at working on semi-old purpose-built hardware (like TVs). If the hardware is a few years old, there’s probably a jailbreak for it. Claude can do the jailbreak carefully and precisely. And once the device is jailbroken, simple software like a launcher, or watch face, or other kind of widget is nearly trivial for Claude to build. I had a great experience using dumbtv, and I got hooked!

Installing dumbtv on my Fire TV Stick DumbTV setup finished

Over the next several days I realized how much I really like this. It’s totally worth the $30 TV stick to be able to run my own software that feels calming rather than stressful with flashing ads, and I’d actually recommend this Fire TV stick route to anyone who’s interested in hacking their own TV but doesn’t have one that’s hackable. (If you try this, make sure you get the right one – they’re not all easily hackable.) After using my new hacked Fire TV for several days and enjoying it, I got to wondering what else I might be able to hack around my house.

Amazon Echo Show 5: Hackable Alarm Clock

I’ve had an Amazon Echo Show 5 sitting in my closet for a couple years. I used it as an alarm clock several years ago. I know many people just use their phones these days, but I’ve always liked having an actual clock by my bed that’s easy to read and informative. And the Echo Show 5 was actually my favorite alarm clock for the couple of years I used it. It had a reasonable night mode and a “sunrise” wakeup feature where the screen would get progressively brighter in the mornings. I set my background to a beautiful beach scene, and found that I really enjoyed waking up to that bright beach in the mornings. But as much as I liked the Echo as an alarm clock, it was imperfect, and I eventually stopped using it out of frustration with some of its downsides: My wife didn’t like having Alexa in the bedroom, the Echo was always a little slow or buggy, and occasionally showed ads or notifications despite having previously disabled them. When I stopped using the echo, I missed some features I was never able to fully replicate with my phone or other devices.

That is, until now. These days, you can just use Claude to bend pretty much any hardware to your will. The Echo Show 5 is, in my opinion, actually the perfect hardware for a bedside alarm clock. I asked Claude what the options were. It found that you can root the device using amonet, install LineageOS 18.1, and then do Whatever The F#@% You Want using adb to connect to your freshly-setup vanilla Android 11 device. Much like Gathin on his parents’ TV, in about an hour total, I’d not only rooted my device and installed LineageOS, but I’d also vibe-coded my own alarm clock app from scratch and installed it as the new launcher/home screen for the device. My Echo Show now boots straight into my alarm clock app where I can do anything that’s possible in Android code.

Nobody makes an alarm clock that’s quite what I want. Amazon is filled with cheap $10-20 plastic crap, gimmicks like cheap LEDs, fake wood, projections, and chargers, and fancier alarm clocks that still don’t do exactly what I want. Having tried many different alarm clocks over the years, here’s what I’ve found to be perfect for me:

  • Large clock display
  • Show the day of the week and date
  • Today’s and tomorrow’s weather
  • Upcoming alarms
  • Very dim, but always-on night mode
  • Sunrise silent alarm (no sound, brighter screen)
  • Alarm with sunrise (brighter and then noise)
  • Alarms configurable to repeat on specific days
  • Alarms that only trigger once (tomorrow), and then go away
  • Beautiful or inspirational backgrounds

I’m sure you can find find some of these features on many alarm clocks, but I haven’t found any alarm clock that gets all of them right. And while it might not seem like a big deal to settle for an alarm clock that doesn’t show the weather the way I like, the point is I don’t have to settle anymore. I like to see what the weather’s going to be today before I check my phone, so I know how to dress, and now I can. I can make an alarm clock (with some software help from Claude) that does exactly what I want, and I can have a clean and ad-free UI to boot!

Installing a custom clock to my Echo with adb

Of course, you already know where this is headed. With Claude and a rooted Echo Show, I was able to build exactly what I wanted into my new alarm clock app. And it wasn’t hard! I’ll show the exact prompt here for completeness, because I think it’s fun to peek behind the curtain and see how others are using AI – skip over this if it’s not interesting to you. I was experimenting with speaking my prompt aloud instead of typing it, and here’s the exact spoken stream-of-consciousness prompt I used with Opus 5.5:

We’re going to vibe code an alarm clock app, but before we start doing that, we’re just going to nail down the spec. It’s for an Echo Show 5 device, so make sure that we can match the screen resolution exactly when we test. I’m going to want to see some prototypes of different screens we can build visually. So think about an easy way that we can visually preview these Android screens before we actually implement them. Fundamentally, it’s going to be a clock, so it should have a large clock display front and center. It’s also going to support custom background images, and it’s going to support a nighttime mode where the background is all black and the numbers are a very dark red outline, so they don’t produce very much light at nighttime. For alarms, it’ll support a sound alarm with any custom sound that you want. And it might come with some sounds, but we will also support the option to wake up without a sound, but it’ll enable daytime mode and brighten the screen over the course of about 5 to 15 minutes. It needs to run on Lineage OS 18.1, which is the Android operating system I’m running on the Echo Show 5 device. It should also support weather information. I like to see the weather when I wake up. This should be smaller, perhaps in the top left corner, and should show the high and low for the day as well as a weather icon and maybe a 1 or 2 line description of what the weather’s like today. Actually, let’s also include tomorrow’s weather too. Tomorrow should be even smaller than today, perhaps below it again in the top left corner. Eventually, I think we’re going to want to add the option to change the background based on specific days or events, like maybe Christmas and Halloween or other holidays or even birthdays. So keep that in the back of our mind for the planning process, but we’re not building that for the initial version. This will need to run 24/7. So think about whether it’s best to do that as an app on the Lineage OS Android device, or if it’s better to do it as some kind of custom launcher or something along the lines of what Fully Kiosk does, but we’re not building a web kiosk. We’re just building a native Android app. I just want it to show by default the clock, not the home screen listing other apps. Although there should still be some way to exit the app and view the other apps if you want to. Most of the time, it should show the clock. What questions do you have for me so far based on everything we’ve talked about?

The prompt worked shockingly well, and I was genuinely impressed with some of the UI patterns Claude suggested in some prototypes. I’d love to say this was a one-shot, where Claude handled everything and no further effort was required of me. And in fact, I provided almost no technical guidance on the Android app itself. It just worked. But also, I think the iteration and refinement I put into this after Claude’s prototype really made the app much better, and gave it a level of polish that would never have been attainable with AI alone. In fact, I’ve been using this alarm clock as my daily driver for a week now, and almost every day I wake up and fix the biggest thing I disliked from the previous night. On the first couple nights I made night mode way better. (Our first attempt looked good on a computer but wasn’t readable in practice.) Later adjustments tweaked the way weather is displayed, or improved readability in the UI. Claude enables pretty rapid iteration here, but I think it’s the iterative improvements that add up to a polished product in a way that isn’t otherwise possible. It isn’t quite perfect yet, but it’s already better than anything else I’ve ever used and it keeps getting better!

Want to use my code on your own Echo Show, or port the idea to another device? The code is available on GitHub as mkasberg/nightstand.

Using Claude to root, hack, modify, improve, and repurpose old devices is genuinely fun, and it feels so fulfilling to be able to make a device work exactly how you want, on a level that wasn’t previously possible. Welcome to the golden era of personal devices! What are you building next? I’d love to see it!

About the Author

Mike Kasberg

👋 Hi, I'm Mike! I'm a husband, I'm a father, and I'm a staff software engineer at Strava. I use Linux daily at work and at home. And I enjoy writing about Linux, open source, programming, 3D printing, tech, and other random topics. I'd love to have you follow me on X or LinkedIn to show your support and see when I write new content!

Share!

If you enjoyed this blog post, I'd love it if you could share it with your network!

I run this blog in my spare time. There's no need to pay to access any of the content on this site, but if you find my content useful and would like to show your support, buying me a coffee is a small gesture to let me know what you like and encourage me to write more great content!