Hi,
In external app I’m polling to get status of a device with a contactSensor.
https://api.smartthings.com/v1/devices/{{deviceID}}/status
I get something like this which is great.
“contact”: {
“value”: “open”,
“timestamp”: “2021-01-06T17:04:19.677Z”
}
I need to know if it was opened and then closed since the last poll. Otherwise it may open then close and by the time I poll again it will look like it never opened!
Short of polling every second is there anything I can do?
From the documentation, there is a limit of 20 subscriptions per smart app so I can’t use a subscription to push the door open event, as location may need more sensors than that.
Any ideas?
Thanks,
S