I’m trying to use the rule engine with buttons but struggling with the operators to make it work. Would love some assistance.
Setup and goal: I have a flic hub/buttons integrated to Hubitat through the maker API. Within Hubitat I am using a virtual button named flic button 1 H. This virtual button is present in Sharptools for the rule engine. I also have a simulated button within SmartThings. The goal is for rule engine to trigger a push, doubletap, or held on the smartthings button whenever the flic button is pushed.
I realize there are multiple ways to do this with hub connect and other ways, but in the future I might want to change the action that happens on the flic button. Having sharptools rule engine perform the action will give me the flexibility to change things in the future very easily.
My problem is I do not fully understand the operators in relation to a button.
I’m trying to setup a rule that states: If the Flic button 1 H does anything (push, doubletap, held) then trigger the rule. Within the flow I will setup 3 IF statements to trigger either a push, doubletap, or held. I have the Smartthings flic button 1 ST action correct. I can easily trigger the push, doubletap, held. I’m struggling with the Trigger and IF statements.
I’ve tried using “changes and is not 2” since the virtual button only has 1 button but that didn’t do anything.
whenever I select one of the basic operators the value has to be an integer.
Has anyone trigger button pushes before that can help me