Update: I’m not getting any Home Assistant reaponce from the Magic Cube so I’ll try to revive it with this video.
I read an article about the Aqara Cube T1 Pro and had to have one. It can trigger home automation tasks in 28 different ways such as shaking it or flipping it until a particular number is on top. Cool. I grabbed one on from Amazon for $23.
Then I wondered how to make it work. It’s a zigbee device that requires an Aqara $30-$50 hub which I don’t have. The bloggers seem to like the Sonoff Zigbee 3.0 USB Dongle (CC2652P + CP2102N) that can be flashed with improvements for $21.
Since I’m trying to migrate form SmartThings/ActionTiles to Home Assistant, I plugged the dongle into my Home Assistant server. It was discovered immediately as a Zigbee Home Automation integration. I opened the integration, selected devices then “+” to add device. I put the Cube in pairing mode and it was discovered. Selected the new device and was presented with the page to add a new Automation. I chose the “Device Shaken” trigger and “Toggle Den Lamp 1” as the action. It worked.
I solved one other problem along the way. I have several TreatLife (Tuya) WiFi Smart Light Bulbs that I added using the TreatLife app. I also have three other Smart (Tuya) devices that I added using the Smart Life app. The Smart Life devices are discovered by Home Assistant as Tuya devices but not the TreatLife devices. The TreatLife Light Bulbs can now be discovered by the Smart Life app. Once done, they are also discovered by Home Assistant.