skycris
(Ayden)
October 10, 2024, 6:14pm
1
I have a Ring Cam and I have a question regarding Ring device control from ST CLI.
Inaccurate motionSensor status
When I checked from Ring app, the cam Motion Detection is “On”. However, when I tried
smartthings devices:component-status “DEVICE_ID”, it is still “inactive”.
imageCapture image
imageCapture encrypted
imageCapture captureTime
healthCheck checkInterval 60 s
healthCheck healthStatus
healthCheck DeviceWatch-Enroll
healthCheck DeviceWatch-DeviceStatus “online”
motionSensor motion “inactive”
Get history
Can we get motion detection history from CLI?
ST app shows motion detection history as follow. Can we get this information from CLI?
Turn on/off Motion Detection from CLI
Can we switch on/off motion Detection from CLI?
skycris:
Inaccurate motionSensor status
When I checked from Ring app, the cam Motion Detection is “On”. However, when I tried
smartthings devices:component-status “DEVICE_ID”, it is still “inactive”.
Could be a matter of timing.
Yes.
bep@debian12:~$ smartthings devices:history 3
────────────────────────────────────────────────────────────────────────
Time Component Capability Attribute Value
────────────────────────────────────────────────────────────────────────
10/9/2024, 10:39:18 PM main motionSensor motion "inactive"
10/9/2024, 10:38:48 PM main motionSensor motion "active"
10/9/2024, 10:38:41 PM main motionSensor motion "inactive"
10/9/2024, 10:38:11 PM main motionSensor motion "active"
10/9/2024, 10:38:10 PM main motionSensor motion "inactive"
────────────────────────────────────────────────────────────────────────
10/9/2024, 10:37:40 PM main motionSensor motion "active"
10/9/2024, 10:06:32 PM main motionSensor motion "inactive"
10/9/2024, 10:06:01 PM main motionSensor motion "active"
10/9/2024, 9:35:45 PM main motionSensor motion "inactive"
10/9/2024, 9:35:14 PM main motionSensor motion "active"
────────────────────────────────────────────────────────────────────────
10/9/2024, 9:32:27 PM main motionSensor motion "inactive"
10/9/2024, 9:31:57 PM main motionSensor motion "active"
10/9/2024, 9:29:02 PM main motionSensor motion "inactive"
10/9/2024, 9:28:32 PM main motionSensor motion "active"
10/9/2024, 8:56:24 PM main motionSensor motion "inactive"
────────────────────────────────────────────────────────────────────────
10/9/2024, 8:55:53 PM main motionSensor motion "active"
10/9/2024, 8:52:10 PM main motionSensor motion "inactive"
10/9/2024, 8:51:40 PM main motionSensor motion "active"
10/9/2024, 8:48:56 PM main motionSensor motion "inactive"
10/9/2024, 8:48:26 PM main motionSensor motion "active"
────────────────────────────────────────────────────────────────────────
? Fetch more history records ([y]/n)?
No. These are the commands available for a Ring camera:
bep@debian12:~$ smartthings devices:commands xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxx
Backyard Home
Capabilities:
─────────────────
1 refresh
2 healthCheck
3 webrtc
4 imageCapture
5 motionSensor
6 battery
─────────────────
And as seen in the ST Advanced Web App
skycris
(Ayden)
October 10, 2024, 8:45pm
3
You are my life saver. Thanks!