Turn your TV into a home assistant using Raspberry Pi
By Bunnie Huang. Posted
This article was originally published as part of HackSpace magazine, which has since been incorporated into Raspberry Pi Official Magazine.
One of my favourite aspects of the Raspberry Pi is its rich ecosystem of applications. A good example of this is Alasdair Allan’s demo
(hsmag.cc/MXDCSf), combining a magic mirror and Google AIY to create a voice-activated home assistant. I especially like the mix because then I don’t have to listen to the long-winded responses of audio-only home assistants. This example really shows off the Pi’s application ecosystem.
One downside of the magic mirror is the need to dedicate a whole screen to the application. Even if you had a spare TV laying around, finding a spot to put it, and wrapping it in a custom frame can take a lot of time and effort. Wouldn’t it be nice if you could somehow merge the magic mirror’s output onto the TV screen you already have?
Fortunately, there’s a partial solution to the problem – it’s technically feasible to encrypt the HDMI video coming from your Raspberry Pi so the TV can understand it. Once encrypted, portions of the screen can be cherry-picked to come from either the Pi or your existing home entertainment system. I’ve built a system called NeTV2 that can do this. It’s basically a Raspberry Pi HAT that sports an FPGA, wrapped into a custom plastic case and, as of the time of publication, it’s crowdfunding over at hsmag.cc/Hbragk.
Although a programmable video overlay seems like a blindingly obvious widget that should be readily available off the shelf, the manipulation of encrypted data is legally challenging. You can read more about the subtle legal challenges on the Crowd Supply page linked above.
Now, one can technically merge a magic mirror onto any TV screen by just plugging NeTV2 in-line with the main video cable and loading up the application. Combine it with Google AIY to make a voice-activated home assistant, or perhaps just open a small browser window and connect to your baby monitor, or track how long it is until your pizza arrives while you enjoy the game. These are just a few examples of what’s made possible with video overlay, and we’re just starting to scratch the surface of the possibilities. If the legal challenges around processing encrypted video can be resolved, NeTV2 can also power even more exciting applications, utilising AI on video feeds to help with everything from real-time translations to fantasy sports to health and assistive care.
Andrew ‘Bunnie’ Huang is a hacker by night, entrepreneur by day, and writer by procrastination. He’s a co‐founder of Chibitronics, troublemaker‐at‐large for the MIT Media Lab, and a mentor for HAX in Shenzhen.
Subscribe to Raspberry Pi Official Magazine
Save up to 37% off the cover price and get a FREE Raspberry Pi Pico 2 W with a subscription to Raspberry Pi Official Magazine.
More articles
Make your RAM go further – Raspberry Pi OS memory optimisation tips
In issue 164 of Raspberry Pi Official Magazine we have been playing around with the new Raspberry Pi 5 1GB RAM. While the RAM shortage caused by the demands of AI infrastructure is annoying beyond belief, this has been a great chance for us to really get to grips with RAM. Generating images in Stable […]
Read more →
Mighty Projects – 1GB Computer in Raspberry Pi Official Magazine 164
It’s normal for computers to get faster and more pwerful, but the new-ish Raspberry Pi 5 1GB is a step in the other direction: it has all the processing power and the same GPIO pins of its more costly siblings, but with only 1GB of RAM it’s at a price that’s friendlier on the wallet […]
Read more →
Win one of five 256GB Raspberry Pi Flash Drives
If you’ve been around long enough, you know that every Raspberry Pi accessory is top quality, and the latest Flash Drive is no different. Fancy a big one? We have five up for grabs, and you can enter below… Win 1 of 5 256GB Raspberry Pi Flash Drives
Read more →