I’ve had one for a couple of years now and I still haven’t come up with any use for it. I also searched several times for good examples but haven’t found any ether.
I use to let my 75+ years old parents in law switch off my alarm. Everything from computer to mobile phone is to hard for them to understand. So I just let them shake the cube…
I got one and have set it up to control the lounge lights (shake for on-dimmed-off), and TV/amplifier input (upward side switches to TV / Wii / XBox / Computer / AppleTV / Music. I also have a Harmony Companion, but you have to remember what each button does. Much better with stickers on the sides.
If only I could stream Belgian TV channels to my ChromeCast enabled TV from HomeAssistant - I could then also give it too my parents so they can watch the TV they want when they come babysit.
Kodi has VRT.nu and (if you have Telenet) Yelo plugins, I use those to watch TV, the telenet account does need to have a TV subscription (but you could just as well use your parents’ credentials if they have it and you don’t).
Yes. I know I need to listen for events. That is the same for all deconz switches.
But the issue is that there is nothing that separates rotation from other events and a rotation can have the same value as a move or turn of the cube.
I have noticed something new.
I deleted my Magic Cube and cleaned manually the core.device_registry and core.entity_registry.
And then restarted HA and repaired the cube.
It then gets recorded as switch_81 and switch_82. 81 is battery sensor also.
Then I restart Home Assistant and the switch_82 autorenames (I did nothing) to Mi Magic Cube. The battery sensor stays as switch_81.
Now turning the cube is switch_82. And rotation are events from mi_magic_cube.
Then I rename the device in Phoscon and all events become the new name and you cannot separate the events again. The problem is that the Cube gets registered as two different switches by default but the minute you rename the cube to something else they merge to one. If the event names has a suffix auto appended it would work.