awesome-ha-blueprints
awesome-ha-blueprints copied to clipboard
New Controller - Remote Switch H1 (Double Rocker)
Manufacturer
Xiaomi Aqara
Model
WRS-R02
Short Description
Remote Switch H1 (Double Rocker)
Image
Actions
[Integration] ZHA
remote_left_button_short_press: sent when clicking the button remote_left_button_double_press: sent when double clicking the button remote_left_button_long_press: sent when continuously pressing the button remote_left_button_long_release: sent when releasing the button after a long press remote_right_button_short_press: sent when clicking the button remote_right_button_double_press: sent when double clicking the button remote_right_button_long_press: sent when continuously pressing the button remote_right_button_long_release: sent when releasing the button after a long press
Additional Details
- [X] I'd like to help developing this blueprint.
Useful resources
https://gist.github.com/xuxiaoqiao/6ed8dcb950f26337218d0507733970a0#file-aqara_h1_remote-py https://github.com/zigpy/zha-device-handlers/
Additional context
I'd like to help, but i'm no developer or such.
Hi @randyjc ,
thank you so much for your suggestion! I'm happy to add support for this controller to our project. :) I'll let you know as soon as a blueprint for this device and hooks support are ready to be tested. Changes will be included in a Pull Request which will be linked to this issue. We could then continue our conversation for proper testing and feedback there.
Thanks!
@randyjc I see you provided events for ZHA. Could you also please look for action mappings for this controller regarding Zigbee2MQTT and deCONZ? It would be awesome if we could support the device with those integrations as well. :)
Thank you so much for your precious help!
Hi,
I did make a little blueprint for this one, based on @EPMatt work, for Z2M.
You can check here : https://github.com/schiz0phr3ne/ha-blueprints/blob/main/blueprints/controllers/aqara_wrs-r02/aqara_wrs-r02_zigbee2mqtt.yaml
If I can help, let me know how (I can't help on other Zigbee integrations than Z2M).
@randyjc, don't you have triple press on ZHA ?
Need to add that, with firmware on my devices (version = 2019www. ; date = 20200907), long press and release after long press are unreliable : release event comes after 4 seconds. So if you loop on long press, loop is stoped 4 seconds after release.