Awesome Aqara magic cube home automation ideas

  Рет қаралды 45,744

Home Automation Guy

Home Automation Guy

3 жыл бұрын

Twist, flip, shake and slide this small Aqara Magic cube to trigger over 50 different automations in Home Assistant. In this video I show you what the cube is, how it works and how you can connect it to Home Assistant without using the Aqara Hub. I also show you how I use this cube to control things in my home office and my living room.
Links from the Video:
What is Zigbee? : • What is Zigbee?
Using Zigbee with Home Assistant and ZHA : • Set up Zigbee in Home ...
ZHA Aqara Magic Cube Home Assistant Blueprint : community.home-assistant.io/t...
Canva Stickers Template: www.canva.com/design/DAEeFGcO...
#homeautomation #smarthome #aqara #magiccube #homeassistant

Пікірлер: 114
@Dorff_Meister
@Dorff_Meister 2 жыл бұрын
Your summary at the end was really spot on, especially around accessibility.
@HomeAutomationGuy
@HomeAutomationGuy 2 жыл бұрын
Thanks! I firmly believe that there is huge potential for home automation to help with accessibility.
@chrisdestroy
@chrisdestroy 2 жыл бұрын
Awesome.. loving the stickers! Cheers for video mate!
@gradetough2038
@gradetough2038 2 жыл бұрын
Using your implementation as guidance I was able to get it going with Node-Red. I found I had better control with commands than with the BluePrint where some commands like rotate fired off when the face of the cube was on a side I didn't want. Thanks for the inspiration.
@HomeAutomationGuy
@HomeAutomationGuy 2 жыл бұрын
Great tip, thanks for letting us know!
@dclawson11
@dclawson11 2 жыл бұрын
Are you still planning on making a video of how you set it up with zigbee2mqtt? I am very interested in setting up side specific controls.
@Teleport73
@Teleport73 Жыл бұрын
I would like to see this also please. I've just bought a cube and am at a loss on how to get it working well with Zigbee2MQTT. Thanks
@KaranRajpal
@KaranRajpal Жыл бұрын
Same here. I've tried a bunch of things but couldn't get it to work for most of the actions.
@Alex-nt1br
@Alex-nt1br Жыл бұрын
No need for zigbee2mqtt. I use extra input_variable which I set to the face the cube is turned to. Then left/right rotate automations check that variable in order to execute the corresponding action.
@KaranRajpal
@KaranRajpal Жыл бұрын
@@Alex-nt1br Thank you! Mind posting a few images of what you did on imgur perhaps and sharing them here? I'm still fairly new to all this so I'm unsure about how this needs to be approached.
@xtremeideaz
@xtremeideaz 2 жыл бұрын
Thanks. I love the sticker idea!
@Qgal5kap123
@Qgal5kap123 2 жыл бұрын
Thanks for an informative video. I got a cube as part of a bunch of used aqara devices, and I had no idea what I would use it for. To me it seemed like a really silly gimmick, but now I can see that it has some practical uses.
@GagliardiPhotography
@GagliardiPhotography 2 жыл бұрын
Another great video. It's just a few days that I'm following you, but your videos are so much beautifully created! I'm watching them all! Thanks for the great work!
@HomeAutomationGuy
@HomeAutomationGuy 2 жыл бұрын
Thank you!
@PedrokasPT
@PedrokasPT 2 жыл бұрын
Ah so funny ! I couldn’t resists and just ordered one !!! Thanks 🙂
@TheSirSpence
@TheSirSpence 2 жыл бұрын
As a relative Home Assistant noob who has scoured KZfaq for info and ideas, I really appreciate the way you deliver information and explain things. Subscribed
@HomeAutomationGuy
@HomeAutomationGuy 2 жыл бұрын
Thank you! Glad you like it! I try and explain things the way I wish people would explain them to me
@cecastil
@cecastil 2 жыл бұрын
This is genious! Great ideas to implement for the magic cube in my office
@HomeAutomationGuy
@HomeAutomationGuy 2 жыл бұрын
It's been really useful in the office for me!
@DerekWalker55
@DerekWalker55 3 жыл бұрын
Great video, thanks 👍🏻
@enbyrne
@enbyrne 3 жыл бұрын
My brother got me one of these cubes for my birthday and I hadn't been able to think up any use cases, but I like the idea of dimming lights/audio with a simple flip and twist! I can only imagine the chaos if you accidentally drop the cube on the floor tho haha
@jamesd7448
@jamesd7448 2 жыл бұрын
I was curious along those same lines, how smart is it to realize accidental actions. Also, what when you set it back down does that register as a tap or is it smart enough a purposeful little up-and-down tap.
@enbyrne
@enbyrne 2 жыл бұрын
@@jamesd7448 in the end I only setup two rules for "flip to a particular side" - one for turning on the lights and the opposite side for turning them off again. I rarely actually use it because I'm getting something like a 30 percent success rate on it ever actually registering, so if I did drop the thing I think about as much would happen as were I to intentionally flip it (nothing). I've also setup three sides for "double tap" actions and they are just as poorly recognised. The only action I can depend on is shaking the cube. The "twist to control volume" I quickly disabled - I found it's too easy to trigger that by accident
@dretwav
@dretwav 2 жыл бұрын
Dropping the cube is an issue if, like me, you have cats.
@EbrahimHasan
@EbrahimHasan 2 жыл бұрын
Pretty imaginative. Instant subscribe.
@HomeAutomationGuy
@HomeAutomationGuy 2 жыл бұрын
Thanks 😊
@AS-os3lj
@AS-os3lj 3 ай бұрын
The labeling process was a good hint. Thank you.
@HomeAutomationGuy
@HomeAutomationGuy 3 ай бұрын
Glad it was helpful!
@dankelley9361
@dankelley9361 Жыл бұрын
Love your demo’s & explanations. Just got the pro version of the cube & hoping for better reliability. Love your example of using the cube on HA. Have never used HA & watching your video makes me realize why. You have to realize what Zigbee program your using to support specific blueprints & hoping the one you chose supports your current & new devices, seems like no standards are in place & lots of chaos ensues!
@HomeAutomationGuy
@HomeAutomationGuy Жыл бұрын
That's sadly true of Blueprints
@mikea3
@mikea3 Жыл бұрын
I like how you explained at the end
@EMarques1998
@EMarques1998 Жыл бұрын
Take note of all this cool funcionalities!! Stickers was a smart move.
@MarkGhali
@MarkGhali 2 жыл бұрын
I love your sensible approach to and clear explanation! I would love to see more explanation on HOW you did play/pause media etc
@HomeAutomationGuy
@HomeAutomationGuy 2 жыл бұрын
I just use the media player play/pause service calls. www.home-assistant.io/integrations/media_player/
@y29k15
@y29k15 10 ай бұрын
Thanks for covering the cons.
@waynenocton
@waynenocton 2 жыл бұрын
I would love to see your automations on Zigbee2MQTT, did you do another video?
@leonardostreit3527
@leonardostreit3527 2 жыл бұрын
Awesome
@stefanriegler8422
@stefanriegler8422 2 жыл бұрын
Thanks for your nice and useful ideas! Could you maybe make a video on how to use the magic cube with Zigbee2mqtt. What blueprint are you using for that? I think the advantage of knowing which side shows upwards when rotating the cube is so big, it opens so many possibilities. Hey Home Automation Guy, start the show!? :D
@IanTakats
@IanTakats 2 жыл бұрын
Thanks for the video and the great ideas. I have a cube and I view it more as a fun gimmick that is probably not for everyone. Your office set up looks good and I may borrow some of your ideas! I too find the cube to be unreliable when turning it over or moving it and I therefore find myself reverting back to using Shelly buttons.
@HomeAutomationGuy
@HomeAutomationGuy 2 жыл бұрын
Thanks Ian! I agree that it's mostly a bit of fun, I really enjoy playing with different types of smart home interfaces
@GaelyneGasson
@GaelyneGasson Жыл бұрын
I think I'd enjoy using a cube and like you, the process of planning how I'd use it and setting that up would be quite fun too. But... it's kind of expensive in Australia (and hard to find). Hopefully sometime in the future it or something like it will come along. Thanks for the video and hi I'm a new subscriber!
@HomeAutomationGuy
@HomeAutomationGuy Жыл бұрын
Welcome to the channel!
@matthewwildrick9643
@matthewwildrick9643 2 жыл бұрын
Thanks for this video -- I just bought one and looking forward to playing with it. I dont suppose you've ever tried the fibaro swipe? I like the idea of hidden gesture controls and want to try that next. Maybe i'll learn how to do my own blueprints and give back
@alanorourke6140
@alanorourke6140 2 жыл бұрын
Which blueprint do you recommend for zigbee to mqtt Thanks Great video
@fengjingbao
@fengjingbao 2 жыл бұрын
Thank you for the introduction of your very interesting and useful configuration of the cube. One question: how do you control your elgato keylight with it?
@HomeAutomationGuy
@HomeAutomationGuy 2 жыл бұрын
I use the Elgato Home Assistant integration which brings the devices in as Light entities. When I twist the cube it calls the light.turn_on service to increase or decrease the brightness by 10%
2 жыл бұрын
hey man cool project, what option do you use to change the next track of the song am using ZHA btw.
@HomeAutomationGuy
@HomeAutomationGuy 2 жыл бұрын
The action of my Automation is a Call Service, and I use it to call the media_player.media_next_track service and set the target to my office Google Speaker.
@Muadivz
@Muadivz 4 ай бұрын
Hey, you should do a new video speaking about the T1 !! :)
@Sparky_D
@Sparky_D 3 жыл бұрын
Another way to create different actions depending on which side of the cube is facing up (when using ZHA) is to have an automation select the "cube mode" from an input_select list when a side is up, then automations for rotate based on which cube mode is selected
@HomeAutomationGuy
@HomeAutomationGuy 3 жыл бұрын
Very clever Dave! Do you think that is something that could be added to the blueprint, or do you need to manually create the input_select outside of the blueprint?
@Sparky_D
@Sparky_D 3 жыл бұрын
@@HomeAutomationGuy it could probably be included in the blueprint. I haven't yet tried creating a blueprint so can't say for sure. All my configuration is old school yaml.
@sarasagar76
@sarasagar76 2 жыл бұрын
Please explain more.
@dretwav
@dretwav 2 жыл бұрын
I control the cube from node-red and find it very useful. I have one function node which subscribes to the mqtt events. That node parses the data and sends the info to one of 7 outputs (slide, tap ...). Any other node can then connect to the output and do whatever you want. Currently I use the twist to change brightness of lights or volume of speakers and the slide to start a particular music source. I have the google mini's as speakers and use TTS to nag me to take my meds. After I have taken them I toss the cube and it shuts off the reminder until the next day. You are correct that it would not be obvious to a guest and there is always the problem of a cat knocking it off the desk and triggering. Thanks for the video.
@HomeAutomationGuy
@HomeAutomationGuy 2 жыл бұрын
Those are really cool use cases! Maybe I should look into node-red...
@dretwav
@dretwav 2 жыл бұрын
@@HomeAutomationGuy I was a NodeJS programmer for many years before I retired so node-red is a good fit for me. When I first got the cube I was not using zigbee2mqtt so I just listened to Dconz events in node-red, parsed the data and published mqtt messages. After switching to zigbee2mqtt I just subscribe in node-red. I actually use node-red for many things not related to home assistant (parsing feeds from ADB-S aircraft tracking radios, parsing feeds from my weather station). If you have a programming background node-red will be easy to master, especially because you can write your own functions to do what you need to do instead of hunting around to see if someone else has already done it. I use Home Assistant for displaying information but do all my control in node-red.
@keviincosmos
@keviincosmos 2 жыл бұрын
@@HomeAutomationGuy Yes would be nice. The way you explain are so great!! Maybe some youtube live (not only NR) once/twice a month where we can ask questions and you just go with the flow, then we also see the mistakes and process.
@antoniodecrisci2369
@antoniodecrisci2369 2 жыл бұрын
Just curious, I have my lutron lights and shade system connected to HA and can control that in HA. Light devices show up as light.x and shades as cover.x. Can this cube also control Lutron lights (and shades)? Thanks.
@chrisbklein
@chrisbklein Жыл бұрын
Hello Do you plan to make a video about the new cube model T1 Pro? I just got it and the blueprints do not work correctly.
@corypowell3335
@corypowell3335 2 жыл бұрын
What is the smart speaker you use in your office? I just ordered two cubes after getting two Aqara sensors setup today!
@HomeAutomationGuy
@HomeAutomationGuy 2 жыл бұрын
I use a Google Nest Audio speaker, that way it acts as a speaker to play my music and I can ask the Google Assistant to do things as well.
@SignedForFun
@SignedForFun 2 жыл бұрын
i will go crazy with my 3 yo playing with the cube. excellent video though
@tanchwa3740
@tanchwa3740 7 ай бұрын
How did you end up controlling the lights on your desk? Are they just being turned on through smart sockets, or something through an app on your computer?
@jagadeeshv2763
@jagadeeshv2763 3 жыл бұрын
nice Ideas ...... let me order one, Let me update u after checking
@HomeAutomationGuy
@HomeAutomationGuy 3 жыл бұрын
Nice! Let us know what kind of automations you create with yours. I love learning more about other people's setups
@ashoktvm
@ashoktvm 2 жыл бұрын
can u tell me how i specify the automation of rotation based on face?
@simonshea
@simonshea Жыл бұрын
A year on, do you still use this or is it an expensive paper-weight?
@stephen5604
@stephen5604 2 жыл бұрын
Could you share your sticker icons you used on moo? Maybe the canva link?
@HomeAutomationGuy
@HomeAutomationGuy 2 жыл бұрын
What a great idea! I didn't even know you could share Canva designs. Here you go: www.canva.com/design/DAEeFGcOvyI/njeSi3gRU1c--k1bz6x57A/view
@SebastianDardzinski
@SebastianDardzinski Жыл бұрын
can you share your spotify automation for cube?
@sevyn13
@sevyn13 8 ай бұрын
10:40 A fellow Sea of Thieves player I see. I also heard some sax, Boxy fan?
@dretwav
@dretwav 2 жыл бұрын
Do you have a link to the vendor who sells the stickers? I currently just use nail polish to paint the cube like a die.
@HomeAutomationGuy
@HomeAutomationGuy 2 жыл бұрын
I used moo.com for mine.
@dennisbaauw
@dennisbaauw Жыл бұрын
I would like to implement the music part aswell to a side of my cube But I want it to be the radio. And I just cant figure out how to do this. Anyone have some advice on how to automate this?
@junkins
@junkins 2 жыл бұрын
Thanks! What size are the stickers?
@HomeAutomationGuy
@HomeAutomationGuy 2 жыл бұрын
1.5 inches across
@junkins
@junkins 2 жыл бұрын
@@HomeAutomationGuy Thanks!
@Dorff_Meister
@Dorff_Meister 2 жыл бұрын
Buy a Silhouette Cameo and some printable stickers. Print and cut the stickers. Attach. Spraying the sheet with a clear coat before cutting can increase the longevity of the sticker.
@HomeAutomationGuy
@HomeAutomationGuy 2 жыл бұрын
I'd never heard of a Silhouette Cameo, thanks for the suggestion!
@LotharKrupka
@LotharKrupka 2 жыл бұрын
Has anyone tried using 2 identical Aqara sensors with a conbee 2 and ZHA? I'm having a problem when I add them into HA. The first one works, and the Entity ID is correctly renamed (as I name it), but the second one gets an Entity ID which contains parts of the IEEE, and all the names have very long names. It doesn't matter which one is added first (Let's call them device A and device B, the first one added will always be renamed correctly). I have confirmed this behaviour several times with 2 temperature sensors, 2 motion sensors, and 2 cubes. The same behaviour does NOT happen with Sonoff sensors, only with Aqara (I have 6 sonoff temperature sensors, and they were all correctly renamed).
@nics8040
@nics8040 2 жыл бұрын
Can you listen to Apple Music or only Spotify?
@HomeAutomationGuy
@HomeAutomationGuy 2 жыл бұрын
You can use any Media Player that works with Home Assistant. I'm not sure about Apple music specifically as I don't use it
@nics8040
@nics8040 2 жыл бұрын
@@HomeAutomationGuy Did you do a video explaining how to use mqtt to create automationsfor twisting depending on whats facing up?
@muthanaalrawi4140
@muthanaalrawi4140 6 ай бұрын
my cube battery level always unknown . any Idea?
@HomeAutomationGuy
@HomeAutomationGuy 6 ай бұрын
Mine too, I am not sure if that value is supported in Zigbee2MQTT or ZHA.
@amblyline
@amblyline Жыл бұрын
cube is a future and it will have low power monochrome display ;) just saying
@CristianDPoeta
@CristianDPoeta 2 жыл бұрын
I did the installation and I didn't get any device in the Blueprint configuration.
@HomeAutomationGuy
@HomeAutomationGuy 2 жыл бұрын
Do you see it in your Entities area and has it been detected as the appropriate device type?
@CristianDPoeta
@CristianDPoeta 2 жыл бұрын
Thanks for answering! I am using zigbee2mqtt. In the device information only this information appears "Mi/Aqara smart home cube (MFKZQ01LM) by Xiaomi". In the automation window appears the basic features to configure, such as flip90. flip180, ...
@HomeAutomationGuy
@HomeAutomationGuy 2 жыл бұрын
No problems! The blueprint in the video description only works with ZHA. For Zigbee2mqtt you'll need to use this different blueprint: community.home-assistant.io/t/z2m-xiaomi-cube-controller/263006
@CristianDPoeta
@CristianDPoeta 2 жыл бұрын
Thank you very much!
@chrisrosenkreuz23
@chrisrosenkreuz23 Жыл бұрын
could just use a pencil. pretty sure those sides are eraser-safe. thank you for your work!
@jagadeeshv2763
@jagadeeshv2763 3 жыл бұрын
zigbee2mqtt vs zha what is your choice? and Y
@HomeAutomationGuy
@HomeAutomationGuy 3 жыл бұрын
I use Zigbee2MQTT because it gives me a bit more control and works well with my Docker Home Assistant setup. But most people I know use ZHA and it works perfectly fine for their needs
@jagadeeshv2763
@jagadeeshv2763 3 жыл бұрын
@@HomeAutomationGuy i'm one of that prople.
@HomeAutomationGuy
@HomeAutomationGuy 3 жыл бұрын
@@jagadeeshv2763 There's absolutely nothing wrong with that!
@jagadeeshv2763
@jagadeeshv2763 3 жыл бұрын
​@@HomeAutomationGuy I'm using sonoff zigbee hub (tasmota) .. it have some connectivity issue. when my pc (HA) reboot , Zigbee hub will be disconnected . we have to manually turn off and turn ON the hub to connect or wait for 15 to 30 to connect. so only planning to change to hace new device. so only thing Zigbee2MQTT or Zha
@HomeAutomationGuy
@HomeAutomationGuy 3 жыл бұрын
@@jagadeeshv2763 Start with ZHA.
@SeraphX2
@SeraphX2 2 жыл бұрын
ummm...weird way to go. get some water slide decal paper, find some images online and print your own.
@aihysp
@aihysp 2 жыл бұрын
it looks cool but dont buy it....
@lewiskelly14
@lewiskelly14 2 жыл бұрын
Pretty stupid you can't buy the Cube with colours on each side
@HomeAutomationGuy
@HomeAutomationGuy 2 жыл бұрын
100% agree. But making the stickers was fun :-D
@darkodimitrijevic8496
@darkodimitrijevic8496 Жыл бұрын
I was watching for about 3 minutes and he did not said How the F*** he controls some devices with this cube. I will search somewhere else. Dislike
@HomeAutomationGuy
@HomeAutomationGuy Жыл бұрын
That's because the video is 15 minutes long and the "how" is later on...
@keviincosmos
@keviincosmos 2 жыл бұрын
Once again, greeat video 🙌 Do you happen to know if there's a sweet zigbee2mqtt blueprint with many actions? I can't seen to find any that's compared to yours.
@HomeAutomationGuy
@HomeAutomationGuy 2 жыл бұрын
Unfortunately the one I used to use stopped working and I've also been unable to find a replacement 😢
@keviincosmos
@keviincosmos 2 жыл бұрын
@@HomeAutomationGuy if I found out I'll let you know. But node red could also be figure out. Should be more straightforward, but I'm new to that so still trying to understand stuff 😅
@B3NY_83
@B3NY_83 Жыл бұрын
Hi, I'm also trying yo find a good blueprint to use. For the moment I found Blueprint to use "Aqara Magic Cube Zigbee2MQTT - 2022-05-05" to be the most advanced. Please let me know if you find any other good blueprint.
@B3NY_83
@B3NY_83 Жыл бұрын
Hi, really great explanation and ideas to use the cube. As you said you use, zigbee2mqtt in your home automation. Which blueprint you found the best ? I tried multiple one's but the blueprint "Aqara Magic Cube Zigbee2MQTT - 2022-05-05" by SirGoodenough seems to be the most advanced 38+54 unique commands. Thanks a lot.
@gorgorgonzales3090
@gorgorgonzales3090 Жыл бұрын
Thanks for the great video! Turning on/off and dimmig lights works great now, but I am struggling with media controls through zigbee2mqtt. The blueprint I used for this does not give me those options and everything I tried in yaml didn'T work... maybe got any advice for that?
@HomeAutomationGuy
@HomeAutomationGuy Жыл бұрын
I use the media_player.stop and media_player.start services for this.
@gorgorgonzales3090
@gorgorgonzales3090 Жыл бұрын
@@HomeAutomationGuy of course, how could i not think of that 🤦‍♂ Thanks for the quick response!
Amazing Aqara FP2 Tricks | mmWave + GPT
13:01
Technithusiast
Рет қаралды 56 М.
Они убрались очень быстро!
00:40
Аришнев
Рет қаралды 3,4 МЛН
Which one of them is cooler?😎 @potapova_blog
00:45
Filaretiki
Рет қаралды 10 МЛН
MEU IRMÃO FICOU FAMOSO
00:52
Matheus Kriwat
Рет қаралды 21 МЛН
Control your smart home AND Siri Shortcuts with this!
9:25
Shane Whatley
Рет қаралды 26 М.
Best Smart Buttons for Home Assistant (WATCH before you BUY!)
20:18
Make It Work
Рет қаралды 100 М.
STOP Your Home Automation Right Now with Conditions!
8:21
Smart Home Solver
Рет қаралды 172 М.
The best and worst decisions I made for my smart home
17:03
Home Automation Guy
Рет қаралды 45 М.
This Smart Home Sensor is INCREDIBLE! Aqara FP2 mmwave
8:43
Smart Home Solver
Рет қаралды 663 М.
Aqara Magic Cube DIY  - Build Your Own
12:28
Smart Things DIY
Рет қаралды 933
Top 5 smart light automation ideas
9:31
Home Automation Guy
Рет қаралды 30 М.
Home automation that's private and local?! (Home Assistant Yellow)
19:49
this is so cool products #vairalshort #walker #nadlyne
0:26
Good Waka car
Рет қаралды 57 МЛН