I’ve got Smart Home Monitor state changes working in ST. When I arm/disarm my Vista system, ST sets the Security status for SHM appropriately. Just add the logic you need with the following commands in your alarmServer Smart App:
> sendLocationEvent(name: "alarmSystemStatus", value: "away")
> sendLocationEvent(name: "alarmSystemStatus", value: "stay")
> sendLocationEvent(name: "alarmSystemStatus", value: "off")
Should also be able to monitor manual user state changes of SMH I don’t have that working yet, but the basics are:
> subscribe(location, "alarmSystemStatus", alarmHandler)
> def alarmHandler(evt) {
> log.debug "Alarm Handler value: ${evt.value}"
> log.debug "alarm state: ${location.currentState("alarmSystemStatus")?.value}"
> }
Thanks to @AndyRawson for this info!