Hey everyone, I wanted to share my recent experience integrating some non-branded smart switches and plugs into my Home Assistant setup. I’ve been using Home Assistant on my Raspberry Pi for a while now, and while most of my devices like WLED or WebOS TV work seamlessly, I recently purchased some off-brand devices from Amazon that support Google Home and Alexa. At first, I was a bit stumped on how to get them working within Home Assistant. Let me walk you through my journey and hopefully help anyone else who’s facing the same challenge!
The Challenge
I bought these devices with the hope of expanding my smart home setup without breaking the bank. They worked perfectly fine with Google Home and Alexa, but when I tried adding them to Home Assistant, I hit a bit of a wall. The devices wouldn’t show up in the integrations list, and I couldn’t find any straightforward way to connect them. I even reached out to the manufacturers, but they weren’t very helpful.
The Solution
After some research and trial and error, I discovered that Home Assistant has a built-in integration called MQTT that can act as a bridge for these devices. Here’s what I did:
-
Set Up MQTT Broker
I installed an MQTT broker on my Raspberry Pi. If you’re not familiar, MQTT is a lightweight messaging protocol that allows devices to communicate with each other. I chose Mosquitto because it’s easy to set up and widely supported. -
Configure the Devices
Most off-brand devices have a mobile app for setup. I used the app to configure the devices and note down their MQTT topics and payloads. This was a bit tricky, but I found some great community resources that helped me decode the necessary information. -
Create Automations
Once the devices were connected to MQTT, I set up automations in Home Assistant to control them. For example, I created a scene where turning on a specific switch also dims the lights and plays some music. It’s been a game-changer! -
Testing and Fine-Tuning
I spent some time testing each device to ensure they were responding correctly. There were a few hiccups along the way, like inconsistent response times, but tweaking the MQTT settings and automations smoothed things out.
The Outcome
It’s been a rewarding experience! I now have a fully integrated smart home setup with both branded and off-brand devices. The best part is that I saved a significant amount of money without compromising on functionality. I’d highly recommend exploring MQTT if you’re looking to integrate non-branded devices into your Home Assistant ecosystem.
If anyone has questions or needs help with a similar setup, feel free to reach out! I’m happy to share more details or troubleshoot together. Happy automating! ![]()