Arm Away Button

New to rule machine coming from webcore.

I have a new rule that happens when a motion sensor gets triggered the siren goes on.
I want to start the rule with a button on the dashboard that I can turn on (Arm away) or turn off (disarm)

what are the steps to do this ?

Are you using HSM?

what is HSM? I am using Hubitat

Hubitat Safety Monitor is a Hubitat built-in app for using Hubitat to control (or act as) a security system. It's worth taking a look.

Ok thanks for help.. how would I do this using the rule machine with a button on the dashboard?

If you want to try to do it with RM instead of HSM you could have the motion sensor be the trigger action in the rule, and then use a conditional before sounding an alarm. Something like this... though my example is probably too primitive to be of practical value (and untested). HSM is really a better way to go.

Great. programmed away and home for HSM

How can I set a button on the dashboard or mobile app to do the arm/disarm option?

If you go into HSM configuration you'll see options for arming and disarming. In my example I use security keypads either inside the front door or in the bedroom, but you can also just use buttons.

If you click on this option, you will see the following:

Screen Shot 2021-06-15 at 1.35.29 PM

You can then use the arm-away and disarm options with either a physical or virtual button, then add that button to a dashboard and away you go.

great that worked....