logo elektroda
logo elektroda
X
logo elektroda
Dostępna jest polska wersja

Czy wolisz polską wersję strony elektroda?

Nie, dziękuję Przekieruj mnie tam

[OpenBK] How to control 10+ MQTT devices with Tuya Mini multi-click button?

antonioriosarroyo 30 0
ADVERTISEMENT
  • #1 21926871
    antonioriosarroyo
    Level 5  
    Posts: 11
    Hi, I have a question about multitouch. I want to use a Tuya Mini with OpenBK and use the button to turn several devices on and off, 10 or more in total, via MQTT.

    I know up to 5 presses is fine, but I need more. Any ideas?

    
    addEventHandler OnClick 14 publish Habitacion1/1/set toggle
    addEventHandler OnDblClick 14 publish Habitacion2/1/set toggle
    addEventHandler On3Click 14 publish Habitacion3/1/set toggle
    addEventHandler On4Click 14 publish Habitacion4/1/set toggle
    addEventHandler On5Click 14 publish Habitacion5/1/set toggle
    addEventHandler On6Click 14 publish Habitacion6/1/set toggle
    addEventHandler On7Click 14 publish Habitacion7/1/set toggle
    addEventHandler On8Click 14 publish Habitacion8/1/set toggle
    addEventHandler On9Click 14 publish Habitacion9/1/set toggle
    


    I know this code is wrong, it's just to express the idea.

    Thank you very much, have a good day


    Hi, what exact OpenBK firmware version/build are you using on the Tuya Mini?
    1.18.295
    Can you share the exact Tuya Mini model and your current button/channel configuration, especially what pin/channel 14 is set to in OpenBK?
    Yes
  • ADVERTISEMENT
ADVERTISEMENT