"Smart Home Monitoring" integration

smartapp
smarthomemonitor

(nir Dweck) #1

Hi,
I know how to receive the arm/disarm events from “smart home monitoring” in my smartapp.

subscribe(location, "alarmSystemStatus", alarmHandler)
def alarmHandler(evt) {
  if ( evt.value.equals("away") ) {
  	armAway();
  } else if ( evt.value.equals("stay") ) {
  	armStay();
  } else if ( evt.value.equals("off") ) {
	disarm();
  }
}

Has anyone found a way to receive configuration notifications from the APP? I would like to know when ever a user has added a device to the “smart home monitor” so I can subscribe to events from that device also in my smartApp.
Thanks,
Nir


(David Roop) #2

Is there an event value when an intruder is detected?