Hello
newbie question here (sorry if answered before, I didnt find it)
So, I have purchased a xiaomi zigbee Button connected trough zigbee2mqtt that's capable of different kind of taps (single, double, triple, long, etc....) and it's recoginized as such on the dashboard. Dashboard shows the kind of tap I phisically push on the button, so no problem on the recognition side.
this is the button: https://zigbee.blakadder.com/Xiaomi_WXKG01LM.html
my isse is that I would like to do this scene:
- one tap, roll my shaes to 30%
- double tap, roll the shades to 60%
- triple Tap, roll the shades to 90%
- Long tap, shades to 0%
my problem is that when I go to screnes to create one, in the seccion where is select the trigger ("activation devices") I have to add one, (wich is my button) but instead of selecting one from the list of devices that I have on domotics, it ask me to recognize it (it's strange to me a pairing here instead of a dropdown menu with all devices but...)
the thing is that I click on "add device", and "pair" my button clicking on it. and it works, gets paired. BUT it does not recognize there if I do a tap, double tap, etc.. it's onle recognized as "ON" on the code section.
so the question is... Can I add a DOUBLE TAP (etc) on the Xiaomi button instead SINGLE TAP as activation device on the Scene?
thanks!
SCENES issue: - Xiaomi double tap Topic is solved
Moderators: leecollings, remb0
-
- Posts: 14
- Joined: Thursday 23 July 2020 11:47
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
- waaren
- Posts: 6028
- Joined: Tuesday 03 January 2017 14:18
- Target OS: Linux
- Domoticz version: Beta
- Location: Netherlands
- Contact:
Re: SCENES issue: - Xiaomi double tap
I use the same button and on my system it is recognized as a selector type switch.soyelposeido wrote: ↑Sunday 08 November 2020 19:04 so the question is... Can I add a DOUBLE TAP (etc) on the Xiaomi button instead SINGLE TAP as activation device on the Scene?
At the edit screen of that switch you can add level actions like
Code: Select all
http:///127.0.0.1:<domoticz port>/json.htm?type=command¶m=switchscene&idx=<scene idx>&switchcmd=On
Debian buster, bullseye on RPI-4, Intel NUC.
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
-
- Posts: 14
- Joined: Thursday 23 July 2020 11:47
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: SCENES issue: - Xiaomi double tap
Thanks
On the Devices lits appears as
- TYPE Light/Switch
- Subtype: Selector Switch
on the Switches TAB, it does recognize the different tap options:

on the Scene section, when the button is paired I see:
(It's here where I expected to be able to select the nunber of taps for THIS scene:

and for the code, I'll have a look at it, as I dont understand how it works, thanks!
waaren wrote: ↑Sunday 08 November 2020 19:52 At the edit screen of that switch you can add level actions likeCode: Select all
http:///127.0.0.1:<domoticz port>/json.htm?type=command¶m=switchscene&idx=<scene idx>&switchcmd=On
- waaren
- Posts: 6028
- Joined: Tuesday 03 January 2017 14:18
- Target OS: Linux
- Domoticz version: Beta
- Location: Netherlands
- Contact:
Re: SCENES issue: - Xiaomi double tap
Mine look similarsoyelposeido wrote: ↑Sunday 08 November 2020 20:29 on the Switches TAB, it does recognize the different tap options:
now press edit on that switch
At the edit screen of the button set it like below (three ///) And set Local Networks (no username/password): on the settings page to allow 127.0.0.1
Debian buster, bullseye on RPI-4, Intel NUC.
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
-
- Posts: 14
- Joined: Thursday 23 July 2020 11:47
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: SCENES issue: - Xiaomi double tap
so... no scene needed? great! thanks
-
- Posts: 14
- Joined: Thursday 23 July 2020 11:47
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: SCENES issue: - Xiaomi double tap
just came back to report that it works like a charm! thanks
Who is online
Users browsing this forum: No registered users and 1 guest