root
May 4, 2017, 3:54pm
1
i recently purchased 360 smart camera and i love it and the app works well. since i have smartthings hub controlling everything. i was wondering if there is a way i can integrate this camera with the hub.
1 Like
@pstuart made a couple device handlers for generic IP cameras. You can check those out and see if they work for you.
The code is now available via the github link above. This was written live on my weekly show Live Code Fridays…
This just takes whatever stream URL you want, creates a child device from child smartapp and passes it into the device for streaming.
Will add more features to this over time, but its a simple way to add streaming video feeds to SmartThings.
Android works far better than iOS, since iOS doesn’t support as many protocols, etc. Might take some tinkering to find the right settings / resolution, etc. to optimize.
How to Install:
Github integration works for smartapps and devicetypes, just add the repo and copy down the files
or
Install from Code for each smartapp and the devicetype
Publish the connect app and devicetype (don’t publish the child smartapp)
Go to Marketplace…
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…
There are 360 camera that comes with apps in which you can update. That makes it reasonable to buy one.
Just purchased one of these also. I was able to import the generic video camera device type, and smartthigns shows it online but no video is displayed… Nmap port scan shows port 80 open, anyone had luck with this camera? It was an awesome purchase at 30 bucks, bt would like to use it with smartthings instead of its own proprietary app…
root
August 29, 2017, 7:46pm
5
any luck? i havent been able to get anywhere! to be honest i havent done anything as i got busy!