Set attribute on simulated Device?

How could I set an attribute on a simulated device? I would like a SmartApp to set a simulated motionSensor to active or inactive so I could use that simulated motionSensor in the SHM app.

You might take a look at The code for Mike Maxwell’s zone manager. He takes multiple real sensors and associate them with a single virtual zone sensor and then turns that on or off as the other sensors trigger. :sunglasses:

Yes, you can set the attribute in a simulated sensor. I (and I’m sure others) do this to create a delayed entry with the SHM.

I use WebCoRE to do this but there are certainly other options.

1 Like

Thanks, this will help I think.

1 Like

© 2019 SmartThings, Inc. All Rights Reserved. Terms of Use | Privacy Policy

SmartThings; SmartApps®; Physical Graph; Hello, Home; and Hello, Smart Home are all trademarks of the SmartThings, Inc.