So I’ve been using the https://graph.api.smartthings.com/api/hubs/HUB_ID_HERE end point for status monitoring my devices for months now and it’s been fine and great.
Reading other people’s progress and uses for the motion sensor to detect power was kind of cool (for me I’d like to use a regular switch to turn my Hue lights on/off but have them remember state of the last scene so that when they get powered on they can just automatically select the last scene UNLESS there was a power failure in which case there would be more logic built in to keep the lights off depending on time, or if anyone was home, etc. I’d like to get “powerSource” as an available event in the API.
So my question is, is there such an endpoint that will show ALL of the devices events? I’m looking for something similar to the page: https://graph.api.smartthings.com/device/DEVICE_ID_HERE/events (and when you click the “from device” link beside the name of the device).
I’m looking for a way to get all the events from a device and I decide which ones I want to filter out because right now the hub endpoint is only showing “displayed” which I understand, but I’d love to be able to see everything.
This is probably a really simple answer and I just don’t know where to look to find it (hopefully!)