Page 1 of 1

How to create button providing multiple options

Posted: Thursday 04 August 2022 16:20
by ChrisVH1982
Apologies if my question is too obvious. Maybe I am missing the right keywords required to find the answer myself.
My ceiling fan can be remote controlled using a 433 Mhz. The 433 Mhz transreceiver, which is attached to Domoticz, was able to learn and replicate the signals. So for testing I created a virtual button to turn on the fan. But the fan has 9 buttons and therefore same number of options available. I do not necessarily want to create 9 buttons for just one device.
Looking at other devices I have such as Xiaomi button or Shelly Button, it looks like that one button supports multiple actions. So I am wondering how I can create one button for my ceiling fan and create up to 9 functions / actions as shown in the screenshot attached but like (1 | 2 | 3 | Light | OFF ...)

Re: How to create button providing multiple options

Posted: Thursday 04 August 2022 21:11
by FireWizard
Hello @ChrisVH1982,

You wrote:
So I am wondering how I can create one button for my ceiling fan and create up to 9 functions / actions as shown in the screenshot attached but like (1 | 2 | 3 | Light | OFF ...)
Just to verify.

Are you asking how to create a virtual Selector Switch?
An example see here: https://forum.mysensors.org/topic/4933/ ... z-tutorial

This is quite simple, but you provided insufficient information on what this Selector Switch (the various buttons) should do.

Regards

Re: How to create button providing multiple options

Posted: Friday 05 August 2022 16:10
by ChrisVH1982
FireWizard wrote: Thursday 04 August 2022 21:11 Hello @ChrisVH1982,

You wrote:
So I am wondering how I can create one button for my ceiling fan and create up to 9 functions / actions as shown in the screenshot attached but like (1 | 2 | 3 | Light | OFF ...)
Just to verify.

Are you asking how to create a virtual Selector Switch?
An example see here: https://forum.mysensors.org/topic/4933/ ... z-tutorial

This is quite simple, but you provided insufficient information on what this Selector Switch (the various buttons) should do.

Regards
That tutorial does the trick, thank you very much!

Re: How to create button providing multiple options

Posted: Sunday 14 August 2022 14:53
by Sarcas
After discovering that my ceiling fan with TUYA can't be added to Domoticz, I accidentally stumbled upon this post. Tried my remote and I'll be damned! My 433 picks it up :D
Thanks for posting!