Just build a game for your guests: Connect each event to a custom ringtone of the gateway and ask your guests to discover all 9 gestures. This could be the automation:
You are right. Channel 1 (the right button) and the dual channel (both_click) works fine. Channel 0 is utterly broken with firmware 1.4.1_149.0143. The new firmware has no benefits so far.
I haven’t tried yet. But Home gw has default automation for the wireless switch in case of double click to arm or disarm the alarm. That automation should be available with the virtual event too, my guess.
Well still can’t get a single “alert” action on cube - any tips?
Ans also instead of swing get the following with chinese lady speaking out of gateway
2017-08-12T22:07:34.034435+03:00 home hass[10638]: #033[32m2017-08-12 22:07:34 INFO (MainThread) [homeassistant.core] Bus:Handling <Event cube_action[L]: entity_id=binary_sensor.cube_15xxx, action_type=iam>#
This (“iam”) is the pairing event. I don’t remember. Does the cube have a pairing button inside? The voice appears if you press the pairing button of an already paired device. This happens on the wireless wall switch sometimes if you press both buttons at the same time, because the device doesn’t have a pairing button and the pairing is bound to this combination.
What’s the firmware version of your gateway? Try to add the device without the mi home app: Press the button of the gateway three times and the pairing button of the device once. If the device was already paired with another gateway (by accident?) press the pairing button for 20 seconds. The device/blue led will blink a few times. Now you can pair the device again: Gateway button 3 times + Pairing button of the device once.
To clarify it: There is a “wifi version” and a “zigbee” version. The zigbee version works fine with the xiaomi component, because it’s zigbee and paired like any other device. The wifi version needs another protocol and must be integrated separately into home assistant. f.e. by the xiaomiplug custom component.There is no official support of the device so far.
Furthermore: The wifi version cannot measure power consumption / load / is used. The zigbee version reports this values. If you want to buy one of these devices: Take the zigbee one.
Did I get it right: It’s possible to create a automation (at the mi home app), which connects a wireless button (or another subdevice) which the arm/disarm function of the gateway? In this case the automation could be triggered by a virtual button event.