[Solved] Hubitat safety monitor not working as expected

Hi! So I am having a problem to set the correct state in the HSM. At 10pm the "Integrated Mode Manager" changes the mode to night mode. HSM changes to armedNight but right away it changes again to disarmed as you can see in the logs below.

Here are some screenshots:




I tried to uninstall and reinstall HSM. I also tried to click the button done in HSM. But neither worked.

@bravenel @bcopeland Could you please take a look at the problem above? Even with the latest update from yesterday, I still have the problem happening.

What does HSM do if you manually put the hub in night mode?

1 Like

Thanks for your message. Exactly the same problem. So, for me, it seems something related to HSM.

What do the logs show?

Paste a screenshot from a desktop browser, as those are far easier to read.

Look for any rule or other action that could be triggered by HSM changing state which might cause what you're seeing.

1 Like

I replicated your setup and am unable to reproduce the problem; mine arms and stays Armed-Night with identical configuration (aside from lower delays to make testing easier). My guess is that you have some other automation (or perhaps an option elsewhere in HSM, though I can't think of anything) that is interfering with this setup. Have you checked your Apps list for anything else that could be doing this? It would most likely be some sort of rule-type app (Rule Machine rule, Basic Rule, Simple Automation Rule, etc.) or a custom app, but it could really be anything that touches HSM status or even mode.

Logs, as suggested above, could also help narrow this down, though it will depend on the the logging of your particular app. Those from HSM may be revealing if it is related to configuration there, but again, it could be coming from something else.

1 Like

I believe I found the problem. I use the envisalink driver for my alarm system and this line was causing the problem:

sendLocationEvent(name: "hsmSetArm", value: "disarm");

Thanks for everyone's help!

2 Likes