I replaced my smart speakers with this open-source setup, and I’m never going back


My Alexa smart speakers were meant to usher in a future where I controlled everything in my smart home with my voice. Instead, they turned out to be a closed system with limited capabilities and some serious privacy issues. I decided it was time they were replaced.

The problems with proprietary smart speakers

Unwanted ads and major privacy concerns

Amazon Alexa Echo dot with a skull emoji. Credit: Studio Romantic / Shutterstock | Tim Brookes / How-To Geek

Popular smart speakers such as Amazon’s Echo devices are designed to be appealing. They’re reasonably priced and promise to let you control your smart home simply and easily with your voice. The problem is that they’re essentially gateways to closed smart home ecosystems.

You don’t have any control over which devices will work with your smart speaker or the features that they offer. Features can be removed or never make it to some locales, and useful features can end up behind paywalls. You end up having to adapt your smart home to fit the smart speakers, rather than the other way around.

Then there are the privacy concerns. My Echo smart speakers send most of my voice interactions to the cloud to be processed, and it was revealed that third-party contractors were listening to some of these recordings to judge the quality of the responses. It means anything I say within earshot of my Echos could end up on third-party servers and even be listened to by other people.

My Echo Show devices are even worse, regularly displaying unwanted ads, despite me having bought them outright. The benefits of using these smart speakers no longer outweigh the downsides.

Image of Amazon Echo Gen 4 speaker on desk.


7 Reasons I’m Ditching My Amazon Echo Smart Speakers

“Alexa, it’s time to go.”

Building a smart speaker for Home Assistant

An inexpensive kit is all you need

The XIAO ESP32-S3 on the reSpeaker Lite development board. Credit: Adam Davidson / How-To Geek

Home Assistant offers an alternative. The free and open-source smart home software has its own voice assistant. You can set up a pipeline that will convert your spoken commands to text to be processed by Assist, and will then convert Assist’s text response to speech to play through your smart speaker.

For this to work, you need the smart speaker hardware. You can buy a ready-made smart speaker such as the Home Assistant Voice Preview to use with Home Assistant, or you can build your own. I decided on the latter option, as it was a cheaper way to test out how well a local smart speaker could work.

I opted for the reSpeaker Lite Voice Assistant Kit from Seeed Studio as it included everything I needed to build an open-source smart speaker, including a development board with a two-mic array and onboard audio processing, an ESP32 to communicate with Home Assistant, a speaker to play the spoken responses, and a simple enclosure. It cost less than $30 and wasn’t too difficult to put together.

Once I’d built it and flashed the relevant firmware, I connected it to Home Assistant. For speed, rather than setting up my own voice pipeline, I used the Home Assistant Cloud speech-to-text (STT) and text-to-speech (TTS) processing that’s included as part of a Home Assistant Cloud subscription. Before long, I was ready to test my smart speaker out.

The onboard audio processing and two-mic array work well. Even when I’ve had music playing on my hi-fi speakers right next to the smart speaker, it’s still been able to detect the wake word and understand my commands. Wake word detection isn’t as strong as proprietary smart speakers, but it’s more than good enough for my needs so far.

The Seeed Studio reSpeaker Lite on a white background.

Brand

Seeed Studio

CPU

ESP32-S3R8

The reSpeaker Lite Voice Assistant Kit includes a two-mic array, a pre-soldered XIAO ESP32-S3 controller, and an XMOS XU316 audio processor with onboard natural language understanding, interference cancellation, acoustic echo cancellation, noise suppression, and automatic gain control. Hooked up a 5W speaker, you can create your own local voice assistant that you can connect to Home Assistant via ESPHome.


What Home Assistant’s Assist can do out of the box

Control your smart home with your voice

The native Assist voice assistant in Home Assistant doesn’t use any AI-powered smarts to understand your commands and perform the relevant actions. Instead, it turns what you say into text and tries to match that text against a library of supported sentence patterns. If a match is found, it then runs the appropriate action.

For example, you can ask Assist to “turn on the living room light,” and it will match that pattern to the relevant intent and turn the light on. You can use a wide range of different wordings, such as “turn the living room light on,” “turn the lights in the living room on,” or “switch on the light in the living room.”

However, not every phrase variation is included in the sentence patterns, so saying something like “In the living room, turn the light on” doesn’t work. It means that Assist isn’t quite as versatile as something like Alexa or Google Home, which process the commands in the cloud and use natural language processing to understand your intent.

Much of the time, however, Assist will understand what you’re asking if you use simple commands, and the reaction times are fast. Using my newly built smart speaker, for example, I could ask Assist to turn the light off, and it would happen in less than a second, which is comparable to what Alexa could do. You can improve how well Assist responds by limiting what you expose and using clear names and aliases.

Assist can do more than just control devices. You can ask it for the weather, start timers, add items to your shopping list, and more.

Add a conversation agent for AI-powered smarts

When Assist can’t help, an LLM can

What Assist can’t do by itself is answer broader, more general questions in the way proprietary smart speakers can. For example, you can ask Alexa what the highest-grossing movie of 2022 is, and you’ll get the answer. Assist can’t do this without help.

What you can do, however, is connect an LLM as a conversation agent for Assist. If Assist can’t handle the query itself, it’s passed to the LLM instead. Using options such as OpenAI’s API or a local LLM running on your own hardware, you can give Assist the brains to be able to answer these questions.

What’s even better is that it makes Assist more capable of controlling your smart home, too. You don’t need to stick to the set sentences that Assist uses; you can say things such as “It’s a little too dark in here,” and the LLM will infer that you want the lights turned on and make it happen.

I’ve set up my smart speaker with an LLM conversation agent, and it now does everything I need it to do. I can control my smart home, start timers, ask for general information, and play music, just like I could with Alexa. I’m currently using a cloud LLM, but once I make my fortune, I’ll buy a decent AI rig and be able to run my smart speaker completely locally at last.

You don’t need to be tied down to a proprietary smart speaker

Using smart voice assistants such as Alexa may be convenient, but there are far too many downsides. I’m really happy with my open-source smart speaker, so it’s time to say “Alexa, goodbye.”



Source link

Leave a Reply

Subscribe to Our Newsletter

Get our latest articles delivered straight to your inbox. No spam, we promise.

Recent Reviews


Serials have become the backbone of the streaming era, especially on Netflix. Serialized television is when a show’s plot unfolds in sequential order over the course of a season. It’s long-form storytelling that typically works best with dramas—Stranger Things, The Crown, etc. Watching the episodes in release order matters. Often, these shows are binged because the complex character arcs and cliffhangers encourage streaming multiple episodes at once.

Serial shows can feel like homework, especially when you fall behind on an episode and need to catch up. That always happens to me, and it leads to anxiety I didn’t want. Thankfully, Netflix offers shows where viewers can jump at any time and not feel lost. These episodic series are perfect for jumping around and picking the episodes you want to watch. One of the most famous comedies ever fits the criteria of an episodic sitcom. Anthology shows, including a Netflix sci-fi classic, are also ideal for watching episodes out of order.

Black Mirror

Welcome to your worst nightmare

Black Mirror wants to scare you. Charlie Brooker’s sci-fi anthology series has been warning humanity about the dangers of technology since 2011. It seems like ages ago that Rory Kinnear had sexual intercourse with a pig in the first episode. Apologies for the spoiler, but the media’s role in the spread of misinformation has never been more relevant.

Black Mirror features self-contained episodes with a beginning, middle, and an end. There has only been one direct sequel: USS Callister: Into Infinity, a season 7 episode that continues the events of season 4’s USS Callister. Otherwise, feel free to jump around and check out the best episodes of each season. Since most episodes feature bleak endings, I’ll leave you with one that ends on an upbeat note: San Junipero.

Seinfeld

Greatest comedy ever?

Comedies are the perfect vehicle for episodic storytelling. While having an overarching plot throughout a season helps attract viewers, many comedy fans are just looking for a few laughs. Write a self-contained story with numerous jokes over 20 to 30 minutes, and you’re ready to go. Seinfeld, aka the show about nothing, is the ideal escape from serialized dramas.

Seinfeld stars Jerry Seinfeld as a fictionalized version of himself as he navigates the comedic scene in New York City. The show revolves around Jerry’s interactions with his friends George (Jason Alexander), Elaine (Julia Louis-Dreyfus), and Kramer (Michael Richards). The gang faces a problem, hilarity ensues, and the episode ends. That’s really all you need to know. Enjoy the laughs.

Guillermo del Toro’s Cabinet of Curiosities

The genre maestro curates new horror stories

There’s a reason why Guillermo del Toro is considered the “King of the Monsters.” The genre expert is as elite as it comes when dealing with mythology and creating new worlds. The Oscar winner relied on his horror expertise in the anthology series Guillermo del Toro’s Cabinet of Curiosities.

I hate referring to episodes of television as “mini-movies.” However, that’s how I would describe the eight episodes of Cabinet of Curiosities. Each director puts their own signature style on a story and brings audiences into their terrifying creation. Del Toro wrote two of the episodes, including one about a demon being summoned. Some are scarier than others, but horror fans will feel right at home with this series. ​​​​​​​

Beat Bobby Flay

Bobby brings the heat

As I’ve gotten older, the Food Network has become one of my favorite channels. I mean, who doesn’t love food? I love eating my (average) home-cooked meal while watching contestants duke it out in the kitchen on my favorite show, Beat Bobby Flay. The competition breaks down into two rounds. In the first round, two chefs have 20 minutes to construct a meal using a secret ingredient. The winner advances to the main event, where they face off against Bobby Flay.

The challenger gets to pick the dish for the final round, so Bobby has a disadvantage. However, Bobby is an award-winning chef with a few tricks up his sleeves. He can handle making a version of your grandmother’s lasagna. With episodes available on Netflix, be prepared to learn why Bobby always throws chiles into his dishes.​​​​​​​

S.W.A.T.

Broadcast TV still knows how to make entertaining programs

The procedural is a genre best produced on broadcast television. Name a cop, doctor, or law drama—chances are it’s a procedural on broadcast TV. While the way we watch television has changed, people still love these types of shows on CBS, NBC, Fox, and ABC. Law & Order, NCIS, and Criminal Minds are procedurals that gained a bigger following thanks to streaming.

S.W.A.T. is cut from the same cloth as Chicago P.D. and CSI. Sergeant Daniel “Hondo” Harrelson (Shemar Moore) is tasked with leading a new S.W.A.T. unit in the LAPD. This action-packed show utilizes a “case of the week” formula in which the team must solve a dangerous situation, such as active shooters and hostage situations. You’re in and out in 44 minutes. What’s better than that?​​​​​​​


Netflix has more content coming your way

After you’re done watching these shows, stay on Netflix for more top-notch content. Netflix has an entire section dedicated to thrillers, and this week, The Guilty and El Camino are two of the section’s best. Keep an eye out for new movies, like Alan Ritchson’s War Machine, which is currently in the streamer’s top 10.

Subscription with ads

Yes, $8/month

Simultaneous streams

Two or four




Source link