Xiaomi Buttons/Cube Events

Hey all! I am really hoping to get some help! Please excuse any under/over explanation! I have been going at this for days! I would be grateful to anyone who could point me in the right direction!!!

I have Hassio, Aqara Cube and Smartthings connected.
I could NOT get the Mi Home dev app running with Android/iOS apps… So instead I am using SmartThings Hub with DTH (MagicCube), and I do have the Cube connected.

Smartthings Log: Cube Outputs 7 button values, Name: “Last Action” or “Button” & Value: “Pushed”, “Slide”, “Flip 90” etc, & “Data”: “button1”, “2”, “3”, etc.

HA Event Log: Using event: smarthings.button, the output is “Pushed”, regardless of the action. I cannot see a unique identifier/data for the separate actions.

So my question is, where is the ST unique event data in HA/how do I use it?

Smartthings Log:

HA Event Log: smartthings.button
Event 61 fired 4:31 AM:
{
“event_type”: “smartthings.button”,
“data”: {
“component_id”: “main”,
“device_id”: “2fcf9ce1-****-4b39-8120-a720c77f7a50”,
“location_id”: “816bb91f-2094-4026-a1cd-fbc63d7f8bb6”,
“value”: “pushed”,
“name”: “MiCube”,
“data”: {}
},
“origin”: “LOCAL”,
“time_fired”: “2020-04-10T08:31:27.509654+00:00”,
“context”: {
“id”: “2c0fee3908bc421899f0ff7c8e07e3ae”,
“parent_id”: null,
“user_id”: null
}
}
Event 60 fired 4:31 AM:
{
“event_type”: “smartthings.button”,
“data”: {
“component_id”: “main”,
“device_id”: “2fcf9ce1- ****-4b39-8120-a720c77f7a50”,
“location_id”: “816bb91f-2094-4026-a1cd-fbc63d7f8bb6”,
“value”: “pushed”,
“name”: “MiCube”,
“data”: {}
},
“origin”: “LOCAL”,
“time_fired”: “2020-04-10T08:31:16.509128+00:00”,
“context”: {
“id”: “0670046f4f1f424aa911a5293d7ae7dc”,
“parent_id”: null,
“user_id”: null
}
}
Event 59 fired 4:31 AM:
{
“event_type”: “smartthings.button”,
“data”: {
“component_id”: “main”,
“device_id”: “2fcf9ce1- ****-4b39-8120-a720c77f7a50”,
“location_id”: “816bb91f-2094-4026-a1cd-fbc63d7f8bb6”,
“value”: “pushed”,
“name”: “MiCube”,
“data”: {}
},
“origin”: “LOCAL”,
“time_fired”: “2020-04-10T08:31:11.006818+00:00”,
“context”: {
“id”: “ff4fdc6a2f1542f9bd068dfa72d603ac”,
“parent_id”: null,
“user_id”: null
}
}

I am really going crazy here! I own a ST Button, Sylvania Dimmer, 2 Cubes, (Zigbee Galore) etc - all which have the same issue using the ST HUB. I KNOW that I am missing something, and I have tried believe me! I really need help guys!!

THANKS SO MUCH IN ADVANCE!!!
I am always learning from you all!

1 Like

I know nothing about Smartthings, except the constant complaints on this forum about how crap it is.

I can tell you that the Xiaomi Cube (and their other zigbee gear) works well with zigbee2mqtt.

I know, I cringe adding another given that I have ST, Aqara, and use MQTT broker/Node Red already… I have found some device handlers that I’m trying (not with high hopes)… Thanks for the empathy Nick : )

Hi, did you manage to integrate Aqara cube into home assistant via smartthings, I have been trying a lot but I couldn’t manage.

1 Like