On these pages I write a bit about my various electronics/computer projects and other fun stuff. I started writing in Danish on this website, but since I am mostly getting response from non Danish readers, I am going to switch to English. I am not going to translate all the older posts on the website, so use google translate and see if it makes sense.
The Xiaomi cube is a zigbee remote control (The official name is “Xiaomi Aqara smart home cube”). It can detect how you turn the cube (detect which face up is up), shake, tap and rotation. When I bought this I did not know exactly what I was going to do with it. I just thought it would be fun to play with it.
I have made it an internet radio remote control for a chromecast using Home Assistant automations. I have an internet radio channel on each side of the cube, and flipping the cube will start the channel facing up. I made channel logos on each face of the cube. Turning the cube will increase or decrease the volume. Shaking the cube will stop the audio.
In this post I will give some tips about the most asked questions I get for IHC and home assistant, and include examples I have used in my own setup. Basically it is about how the get something from IHC into HA or the other way.
How to turn on Philips hue light (or some other Home Assistant light) using an IHC push button.
I have had some questions about the auto setup of IHC in Home Assistant, and since this is not described on the Home Assistant documentation pages, this post will be about how you can customize the auto setup.
This is a custom component for Home Assistant that will give you a tree view of the IHC project directly within Home Assistant. You can expand the tree and get the resource ids to be used for manually configuring your IHC setup in HA.
I have made a pull request to Home Assistant with the option to configure the update interval for MaxCube. It should be include in the next HA release. (Or you can get it from github if you can’t wait)
I have been using this now for about 2 months, and not had any issues with reset of MaxCube (See my previous description of MaxCube) I have been using an update interval of 5 minutes.