GSzabados
(Gabor Szabados)
December 11, 2019, 12:48am
2
Samsung has a camera for Smartthings which is fully integrated into the new app.
Foscam has a DH through RBoy Apps, but it is not compatible with the new App yet.
And there is a Generic DH which might work with your existing camera, but it is not compatible with the new App yet.
After a week of hacking around while waiting for support to respond to my ticket, I finally figured out how to do local http GET and parse the response for cameras.
So I wrote this nice little generic camera device that I have tested with Panasonic Cameras and D-Link cameras and should work for any camera that has a url to retrieve the latest image.
Requirements:
Code here… https://github.com/pstuart/smartthings-ps/blob/master/devicetypes/generic_camera.groovy
Edit preferences after install in devices in IDE or on App on phone:
-IP of the camera, this is your local ip, does NOT need to be publicly accessible
-Port of the camera, typically 80 but could be anything
-Path to image, different for each camera
Panasonic Camera is "/SnapshotJPEG?Resolution=640x480&Quality=Clarity"
D-Link…