Page 1 of 4

Generic Scene Switch

Posted: 2026年 Jan 19日 06:42
by Sugar

Single, double and long press button. Generic switch. Single Button. It's exposed, but not working.

Screenshot_2026-01-18-22-38-53-788_com.tuya.smart.jpg

Button Virtual id: bffb42c510aceee3a7lecn

Triple Scene Switch:

Screenshot_2026-01-19-05-38-26-923_com.alibaba.aliexpresshd-edit.jpg
Screenshot_2026-01-19-05-43-10-968_com.tuya.smart.jpg

Single, double and long press. It's exposed, but not working.

Virtual ID: bf02bbf9376b905655vpu5

Another triple Scene Switch:

Screenshot_2026-01-19-05-44-56-024_com.alibaba.aliexpresshd-edit.jpg

Single, double and long press. It's exposed, but not working.

Virtual ID: bf7faf9d5de46d95e0zofp

If possible to add/fix
Thank you.


Re: Generic Scene Switch

Posted: 2026年 Jan 22日 17:33
by fangping.guo

Hello, I have made changes to the bridge configuration on the cloud. You can restart your Matter gateway and wait for a few minutes before testing again.


Re: Generic Scene Switch

Posted: 2026年 Jan 22日 18:49
by Sugar
fangping.guo 2026年 Jan 22日 17:33

Hello, I have made changes to the bridge configuration on the cloud. You can restart your Matter gateway and wait for a few minutes before testing again.

Hello, hello.

How did you expose them?
I will ask again on Aqara why it's still not working :D

Thank you.

Edit:

Opera Zrzut ekranu_2026-01-22_123716_forum.aqara.com.png

Topic here: https://forum.aqara.com/t/need-help-wit ... hes/215430

Edit 2: I just added the IKEA BILRESA dual button to the Moes Matter Controller, then Moes Matter Bridge exposed it correctly to the Aqara app, but it's the same situation as with the Zigbee button, presses won't be registered in Aqara.

If IKEA is directly paired with their matter controller it's working correctly.

Virtual ID of that IKEA BILRESA dual button Matter over Thread device is: bf67a2ghxcourbp6


Re: Generic Scene Switch

Posted: 2026年 Jan 28日 22:34
by Sugar

Any update on that? Thanks :)


Re: Generic Scene Switch

Posted: 2026年 Jan 29日 10:14
by fangping.guo

From the log 2026-01-29 00:07:01:915 GMT +00:00, I can see that when you click the third button of the device ID: bf7faf9d5de46d95e0zofp, the Tuya Gateway generates three Matter events and corresponding parameters:

  1. GenericSwitchOnInitialPress, newPosition=1;
  2. GenericSwitchOnShortRelease, previousPosition=1;
  3. GenericSwitchMultiPressComplete, PreviousPosition=0, TotalNumberOfPressesCounted=1;

I believe the events we sent are correct. Could you please inquire with Aqara whether they think there are any abnormalities in the events we sent? In their opinion, what events and parameters should be triggered by a single click, a double click, and a long press? If they could clarify the specific expectations for the different behaviors of the generic switch device type, I would be willing to make the necessary modifications.


Re: Generic Scene Switch

Posted: 2026年 Jan 29日 19:52
by Sugar
fangping.guo 2026年 Jan 29日 10:14

From the log 2026-01-29 00:07:01:915 GMT +00:00, I can see that when you click the third button of the device ID: bf7faf9d5de46d95e0zofp, the Tuya Gateway generates three Matter events and corresponding parameters:

  1. GenericSwitchOnInitialPress, newPosition=1;
  2. GenericSwitchOnShortRelease, previousPosition=1;
  3. GenericSwitchMultiPressComplete, PreviousPosition=0, TotalNumberOfPressesCounted=1;

I believe the events we sent are correct. Could you please inquire with Aqara whether they think there are any abnormalities in the events we sent? In their opinion, what events and parameters should be triggered by a single click, a double click, and a long press? If they could clarify the specific expectations for the different behaviors of the generic switch device type, I would be willing to make the necessary modifications.

Specification is the same for previous matter versions. For true, I don't understand everything here.

1.png
2.png
3.png
4.png

If it is not helpful, I have sent an email directly to Aqara support and asked them if they can share an example of how they exposed their Zigbee buttons with their Matter Bridge. I will attach the answer when it arrives.
Thanks :)


Re: Generic Scene Switch

Posted: 2026年 Jan 30日 09:35
by fangping.guo

For the device you are using, the value of the featuremap for the switch cluster that we have declared is 30 (0x1E), which means that bits 1, 2, 3, and 4 are enabled while bits 0 and 5 are not. Correspondingly, we will generate event IDs 1, 2, 3, 4, 5, and 6.


Re: Generic Scene Switch

Posted: 2026年 Jan 31日 04:08
by Sugar
fangping.guo 2026年 Jan 30日 09:35

For the device you are using, the value of the featuremap for the switch cluster that we have declared is 30 (0x1E), which means that bits 1, 2, 3, and 4 are enabled while bits 0 and 5 are not. Correspondingly, we will generate event IDs 1, 2, 3, 4, 5, and 6.

Did you change something? Long press is working correctly for all these buttons now, only single and double press is not working.

Video:


Re: Generic Scene Switch

Posted: 2026年 Feb 2日 09:22
by fangping.guo

No, I didn't make any changes. I merely view our configuration and informed you of our reporting status.


Re: Generic Scene Switch

Posted: 2026年 Feb 5日 22:19
by Sugar
fangping.guo 2026年 Feb 2日 09:22

No, I didn't make any changes. I merely view our configuration and informed you of our reporting status.

Aqara support asked if you could share parameters for single press, double press, and long press, so they can check it better.

Same as here, if I assume correctly, here is for a single press, yes?

Opera Zrzut ekranu_2026-02-05_141504_tuyaos.com.png

They asked as well if you have confirmations that it is working with any other matter platforms, for single and double press, since long press is working correctly. It doesn't have to be that particular switch from that topic; if you have confirmation of any other switches that support single, double, and long presses working with 3rd party matter controllers.

Let's use that switch for single, double and long press parameters. device ID: bffb42c510aceee3a7lecn

I pressed that switch to create logs at 22:10 on 08.02.2026 UK TIME ZONE.

Thank you.