Xaiomi Aqara Gen 2 Button Not Showing Up

Hi,

I have a Xaiomi Gateway and about a dozen sensors (motion, temp/humid, door, etc) installed and working in home assistant, where their respective entity IDs & values are viewable in HA. I have two gen 2 Xaiomi Aqara wireless mini switches that are synced to my Mi Home app, but they are not showing up in HA.

The button presses are registered in the Mi Home app, the Mi Home app automations based on button presses work, but the sensors do not show up as entities in HA (I’ve checked for binary_switch, sensor_switch.aq2, remote.b1acn01). I’ve removed them from Mi Home and readded them, rebooted HA, but their entity IDs still do not show up in HA.

My Mi Home region is China Mainland (works will all of my other sensors), and my HA version is 0.79.3.

What am I missing?

Yup, exactly same issue than mine, I’ve post it yesterday, see : Aqara Wireless Mini Switch - WXKG11LM

Seems like this is due to the python Library that HA is using - PyXiaomiGateway

I found this in my startup logs:

2018-10-16 19:40:55 ERROR (SyncWorker_8) [xiaomi_gateway] Unsupported device found! Please create an issue at Issues · Danielhiversen/PyXiaomiGateway · GitHub and provide the following data: {‘cmd’: ‘read_ack’, ‘model’: ‘remote.b1acn01’, ‘sid’: ‘158d0001ef628a’, ‘short_id’: 54475, ‘data’: ‘{“voltage”:3085}’}

Thus, I posted my data to this issue.

1 Like

Well, looking at the commits, the dev seems to have add those device on the 7th october, see : https://github.com/Danielhiversen/PyXiaomiGateway/commits/master

How can we do to have those lastest changes in our HA ?

1 Like

Same here, how do I update this file? Can’t even find it with the configurator. At the moment I only have a phone available to make it even more complicated

There’s new infos here : https://github.com/Danielhiversen/PyXiaomiGateway/issues/118
The components will be add in the v.0.81 of Hass, wich is already in pre release https://github.com/home-assistant/home-assistant/releases

0.81 is out, someone have try ?
I will tonight.

I have the same issue. The 1st generation is visible but the 2nd isn’t.
Any update/solution on the matter?

Any updates on this?

I am getting:
Unsupported click_type detected: iam

I am using: WXKG11LM mini switch

I just got this switch. Sometimes it works fine, and sometimes I get the error:

Unsupported click_type detected: iam

I do not think I am pressing the button differently. The hub talks at me in Chinese but I cannot understand it.

1 Like

Looks like mine was defective, i got the exact same model and it worked without any hassle

Hi there,

Do you find a solution for your problem ?

"I am getting:
Unsupported click_type detected: iam

I am using: WXKG11LM mini switch"

Yeah the solution was buying another one unfortunately

I don’t think it’s a solution for me because, i’ve got 4 mini switch with the same issue :confused: