Welcome to dingus.dk

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.

Xiaomi cube in Home Assistant as remote control

February 10, 2020
Xiaomi cube with channel logos

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.


IHC and Home Assistant tips

February 7, 2020

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.


Customizing Home Assistent IHC auto setup

February 2, 2020

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.


IHC Viewer for Home Assistant

May 10, 2018

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.


Improved MAXCube support in Home Assistant

May 10, 2018

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.