Samsung SmartCam Motion Detection Switch Device Handler
I’m pleased to announce my very first public SmartThings Device Type, built for the Samsung SmartCam series of IP cameras.
I picked up a SmartCam on Prime Day and was mostly pleased with the ST integration, but I didn’t understand why I couldn’t toggle the camera’s motion sensor setting (to enable and disable local recording based on motion detected by the camera itself). Based on work by @greko6, @justin007, @XFighter, and others (see original thread) I was able to build a device handler to interface with the camera and control the motion detection switch.
- View and modify SmartCam’s motion detection on/off setting
- DTH handles all Digest Authentication automatically - just enter camera IP and password and it’s ready to go
- Supports newest SmartCam firmware (that I know about, anyways)
- Supports SmartThings’ “Device Health” capability (
Note: This Device Handler is only for toggling the on-camera motion detection setting. Viewing a live stream of the camera in SmartThings can be done with the built-in SmartCam integration, and the SmartCam+ mobile app can be used to toggle video recording to phone or SD, review previously recorded video, communicate via 2-way audio, etc.
- SmartCam set up on your local network
- Static IP assigned to the camera
- SNH-P6410BN (Firmware
- SNH-V6414BN (Firmware
I’ve only been able to test this on my SmartCam HD Pro. Please let me know if it works for you on another device/firmware version combination.
Please let me know if you have any issues using this, or if you have any requests for additional (complementary) functionality, by posting in this thread.
Instructions can be found in the README document in the repo. For Github integration, use the following:
- Support for toggling audio detection (definitely possible)
- Support for dynamic IP addresses (requires SmartApp for device management, but possible)
- Support for camera acting as SmartThings motion sensor (not sure if this is possible)
If you find this useful, please let me know! I enjoy knowing that my code has benefitted someone.