Here is my solution:
I modified my notication device that i used for an alarm panel in smart things..
you send it specially formatted messages and it sets attributes that you can then display on your dashboards...
You cannot really use the notify app or the hsm as you can only send one notification . I use rule machine..
see pictures below along with code
I really appreciate your solution to the intrusion notification problem, but as a new user, I need help understanding the steps required to get it setup. Could you please explain a couple things?
Did you paste the code you wrote into the Drivers Code area? Once it's there, are there any steps to make it available?
If I only want to know which door or window is opened during an intrusion, can I skip the first rule - HSM status reports "changed"
For the Intrusion Rule, how do I setup the Actions to Run section?
How is the Commands device accessed?
Sorry for so many questions, but I'd really like to use your great solution!
A bit more help and advice please. I created a virtual switch device with the enable Auto Off set at 2S. I named it "Clear HSM Alerts". It appears in my device list as a virtual switch.
So in the HSM APP step, when I go in I select "Custom" rules and try to create a new rule named "Clear HSM Alerts". When I do this, I cannot select the "Clear HSM Alerts" virtual switch I created. It does not appear. I can only select Contact sensors, etc. I'm not seeing the "Configure" text and items to cancel alerts with clear HSM Alert you showed in your post above.
I am obviously missing something. Your help is appreciated.
You want to go to Configuring Arming/Disarming/Cancel Options, then scroll down to Cancel Alert Options , click the button that reads:Cancel Alertsby turning on one of these switches, and select the switch that you created.
Doesn’t look like you have anything using a “normal” arm/disarm option, so I’m guessing it’s not giving you a way to configure. Try adding a device temporarily to the Intrusion Away sensor list and see if you get the configure option.
That worked. Adding a device to the Intrusion options. You obviously have to utilize the Intrusion options to get the Configure option displayed. I really wish that the HSM Application would allow configuration for users who just want to use the Water alert functionality and not the Alarm/Intrusion functions. This includes being able to place Water Alert Arm status on a tile.
The way that I did this was to create a new Global Variable, specifically a string variable, in Rule Machine, then I created a new rule in RM that’s triggered by the sensor opening, this rule then writes to the variable what happened at that date and time. I can now show that variable in dashboard. This is the rule:
The only extra thing I did was to add a virtual button with a corresponding rule that when pressed, resets the variable to “I checked the mail on %date% at %time%” & added this button to the dashboard. This way I know if no mail has been delivered since I last checked it.
I think that by changing the trigger from my example to “HSM changed”, you should be able get a dashboard panel that shows what triggered your alert at a date and time.