HSM Arm/Disarm via a v-switch

I have a v-switch that is used inside a Rule Machine Rule, if on, do stuff, if off, do stuff.

Some of the stuff is to disable and enable HSM rules, in general it catches the 4 unique rules (37-40) that I have setup however the HSM itself (35) seems to remain unchanged.


What am I missing?

C-8 running 2.4.1.177

Logs.

1 Like

Here is the log from 2 days ago

I just disabled the Camping switch


and everything disabled

Re-enabled the Camping switch


and you can see HSM is still disabled

I then go in and have to manually enable the rest of HSM

Thanks, Rick

Your rule has this action:

Screenshot 2025-06-24 at 4.15.26 PM

That action only arms HSM Rules, not the other aspects of HSM. That is not the reversal of this action:

Screenshot 2025-06-24 at 4.17.20 PM

See these action options:

It looks to me as though your rule did exactly what you asked it to do. So, what am I missing? If you want to arm HSM, then you'd need to either Arm Away, Arm Home, or Arm Night, which were disarmed by Disarm All, but not rearmed with Arm All HSM Rules.

Thanks Bruce, still not clear

So if HSM Disarm All does in fact disarm all rules and HSM proper, what is the opposite of that?

And can you describe Arm Home/Away/Night for me? Are they tied to Modes which I don't use?

There is no 'opposite' of that. HSM has two parts, the main app and the child app HSM Rules. Disarm All disarms both the main app and the HSM Rules. You aren't using Home/Away/Night. To get from the fully disarmed state, to rearm Water, Smoke, Gas and Carbon Monoxide, you would Disarm HSM (send a Disarm command). See the button at the bottom of you screenshot of HSM:

Screenshot 2025-06-24 at 4.47.40 PM

Ordinarily, HSM has Water, Smoke, Gas and Carbon Monoxide armed all of the time. Disarm All is the one command that disarms them. Are you sure you want to disarm those items? HSM Rules can be disabled directly by a switch:

Or, you could disarm each HSM rule individually, using Arm All HSM Rules to rearm all of them. Disarm All is probably not what you really want for this.

Well, from a strictly UI/Work flow/End User experience, may I suggest to either remove the HSM from being with Disabled All or add it to the Enable All

And yes, I will re-think disabling HSM and only disable my add-ons

Thanks

This can't happen due to backwards compatibility. However, the next release (as early as tomorrow) adds a new element to the list I showed above in RM. There will be an option to 'Re-Arm Water-Smoke-Gas-CO'. I think that's more user friendly (under the covers it sends a 'disarm' command). Following a 'Disarm All' command, it's what you'd want to do.

2 Likes