I saw the rule example below in this thread. I'm trying to create a single rule that would handle the 3 button presses of an Aqara mini button. Can someone explain to me how this trigger was achieved, i.e., "Select Button Device *"? Currently I have 3 different triggers, one for each button press.
-Thanks
Can I use rule machine to make a single button do different things based on the status of the controlled item? Specifically asking about shade control -
Rule MachineĀ® / All things Rule Machine - Hubitat

That 2021 thread predates the introduction of Hubitat's Button Controller (and Basic Button Controller) apps, and discusses a version of Rule Machine that is long gone.
Button Controller is basically a fork of Rule Machine, but with a UI focusesd on managing button devices exclusively.
I've never used Basic Button Controller (or Basic Rules), but much like how Button Controller is to Rule Machine, I'm guessing Basic Button Controller is to Basic Rules.
5 Likes
That would explain why I can't duplicate it in Rule Machine! Here's what I have so for for the trigger handling 3 button presses. it seems somewhat redundant to me though, because I'll need If/Then logic in the action or actions to handle the 3 different button presses.

Try the button controller app.
4 Likes
Thanks I'll check it out! Would you recommend one of these over the other:

Update: I'm loving the Button Controllers app!
I was initially resistant to Button Controller (BC) when it first came out as I was in a "I'm going to do everything in Rule Machine" phase, but BC rocks.
BC makes life a ton easier for managing button-device actions, and the actions/rule setup/building is just like Rule Machine (so very familiar in that way). I'm getting a lot more mileage out of Button Controller than I anticipated.
4 Likes
TBH I forgot there were two versions of it now.
I believe itāll depend on how complex you need the actions to be once a button is pushed.
Basic button controller is probably the better place to start.
If you canāt achieve what you need from that, then button controller should be capable of doing anything rule machine can, with respect to the complexity of the actions.
The advantage of using either of these purpose-designed apps (over rule machine itself) is that itās much easier for the user to assign actions to various button taps, holds, double taps etc.
2 Likes
Yes, I just began using it and really like it!
I didn't know about the Button Controller but really like it now that I'm using it.
-Thanks
2 Likes
I was the exact same way. I had the mindset of I am making all rules in Rule Machine. Then on a rainy Saturday when I couldn't work outside I was just browsing around and decided to see what Button Controller is.
Button Controller where you been all my life? It is the absolute best way to control buttons. The problem I was having is I use single tap, double tap, and hold on almost all my buttons and sometimes those may not control things in that room. In Rule Machine I was losing track of which buttons had open press functions and which ones were used up. Button Controller fixes that as you simply open it up and there is either a command in the function slot or there isn't. It's great.
1 Like