The description for this suggests that it contains a gyro, making me think HA would know when it had been picked up.
Please can someone who has one confirm this before I order a bunch?
The description for this suggests that it contains a gyro, making me think HA would know when it had been picked up.
Please can someone who has one confirm this before I order a bunch?
Iāve got a couple. They recognize when someone pushes their button, nothing more. (it reports battery level also).
Thank you!
There seem to be different models, according to Zigbee2MQTT
One with gyroscope (WXKG12LM)
Triggered action (e.g. a button click). Value can be found in the published state on the action
property. Itās not possible to read (/get
) or write (/set
) this value. The possible values are: single
, double
, hold
, release
, shake
.
One without (WXKG11LM).
Triggered action (e.g. a button click). Value can be found in the published state on the action
property. Itās not possible to read (/get
) or write (/set
) this value. The possible values are: single
, double
, triple
, quadruple
, hold
, release
.
Thank you. I just saw this right before you posted.
āShakeā probably wonāt do what I need.
I need a Zigbee gyro to detect up/down movement of an awning in the wind.
Itāll be a little more work, but if you can, take a look at making your own ESP module with a Gyroscope sensor like this one: MPU6050 Accelerometer/Gyroscope Sensor ā ESPHome
Yes, Iāve looked at that option but the ESP battery drain is too much and I canāt use the sleep/wake option.
ah yes, I can see that being a problem. So you need something thatās small, has long battery life, perhaps something like an Arduino or M0 with Lora radio? LoRa & Radio Feathers | Introducing Adafruit Feather | Adafruit Learning System
A ready made solution like the Aqara would be nice though, Iāll keep an eye out.
A couple of ifs; IF you are using DeCONZ on a Conbee II and IF you donāt mind using two sensors THEN the Aqira button AND an Aqira vibration sensor may work. (the vibration sensor under DeCONZ will report the actual tilt angle of the sensor. I had one in my mailbox to tell me if the door was left open, even partiallyā¦ and as a bonus it has a temp sensor to tell me how hot my mail was)
Hi @ashscott, I know you marked the topic as āsolvedā but hereās my hands-on experience with my Aqara buttons. They all identify as WXKG11LM in my Zigbee2MQTT, but
single
, double
, triple
, quadruple
single
, double
, hold
, release
None of the buttons display any kind of shake
action.
I bought 2 Aqara vibration sensors (DJT11LM) but they are by far not sensitive enough to detect the vibration that e.g. my washing machine creates.
Thank you. Looking at Aliexpress, the descriptions vary from vendor to vendor. Itās a minefield!
How did you do the button press? Mine only report battery level
Hereās a snippit from mine for an example. Your device ID will be different: If you recreate this automation with the built in automation editor, it will put in the proper ID for your system:
- id: 'bedroom_button_single_press'
alias: 'Bedroom_button_single_press'
description: 'Bedroom button single press'
trigger:
- device_id: 2b2cdb72fb832cec4c6cd446223f15b9
domain: zha
platform: device
type: remote_button_short_press
subtype: remote_button_short_press
condition: []
action:
- service: light.turn_on
data:
entity_id: light.all_interior_lights_zha_group_0x000e
In your Devices display of your button, just click on āCreate Automationā and it will guide you through it.
Ok, but I donāt have zha. It looked like I needed some extra hardware for it, is that correct?
No additional hardware. You just need to write an automation that triggers on the button being pressed. I use zha to control my zigbee hardware, the same technique can be used if you use zha2mqtt or deConz.
edit: You may also want to check out the specific button pressing routines in the Blueprints section here.