dusterp 414 Posted February 18, 2019 Report Share Posted February 18, 2019 I got my Iris CAMs working on ST with Generic Camera device handler. https://github.com/pstuart/smartthings-ps/blob/master/devicetypes/pstuart/generic-camera.src/generic-camera.groovy Just get the username and password from Iris app in the cam devices settings. Use the following path:http:///img/snapshot.cgi?img=vga Iris Who? Quote Link to post Share on other sites
OhioYJ 97 Posted February 19, 2019 Report Share Posted February 19, 2019 Will it take video? My understanding was they would take still images, video was the problem. Quote Link to post Share on other sites
dusterp 414 Posted February 19, 2019 Author Report Share Posted February 19, 2019 Just a snap shotIris Who? Quote Link to post Share on other sites
DogDazeII 11 Posted February 19, 2019 Report Share Posted February 19, 2019 just curious, what do I need to get out of the Iris setup? Do I have to unpair them from Iris first? do I have to attempt to factory reset the cams? At least it would be nice to still be able to look/see with them... Quote Link to post Share on other sites
thejq 2 Posted February 19, 2019 Report Share Posted February 19, 2019 @dusterp sorry I'm pretty new to ST. Could you write a quick into of how to install this handler and the camera? Or a link for a similar setup? Thanks Quote Link to post Share on other sites
dusterp 414 Posted February 20, 2019 Author Report Share Posted February 20, 2019 I got the video to work locally with a new handler. It tries to pull the cam up on both an internal and external address so I need to work on that to get external working. I never unpaired my cams from Iris, I just shut the hub off but shouldn't need to do that either. I was also able to get audio to work with:/img/media.savI'll post a link to the device handler and steps when I can. I also got it to show up in security as a cam that can record on alarm. Not sure on that working yet. I was also able to set up a rule that if the cam had motion it would turn which not sure if that's take a snap or attempt to record or nothing. Iris Who? DogDazeII 1 Quote Link to post Share on other sites
dusterp 414 Posted February 21, 2019 Author Report Share Posted February 21, 2019 Login here with your samung account to get to the smartthings ide: https://graph.api.smartthings.com Once you login click the hamburger menu top right select device handlers, on that page click create new device handler. Select 'from code' option and paste in the code from this post: https://community.smartthings.com/t/generic-camera-device-using-local-connection-new-version-now-available/3269/482Select create at the bottom and then at the top select publish and 'for me' should popup select that. It's now saved as a device type. Go to devices in hamburger menu. Select create new device. Name and label it and enter a device id like 6767. Select self published from version and pick 'test camera' for type, probably at the bottom of the list. Fill out location and hub info. Select create and it will show up in your device list in the app now. You'll need to go that new device in your ST app and select the cog wheel for that device's settings and enter the camera info. Get the username and password from the Iris app by looking at the camera's settings in Iris under local streaming on the device page under the more tab and settings. Use that as the camera user and camera password in ST. If you have port forwarding setup on your router you can enter that info for camera ip address and port and see it when off your local network. If not sure about port forwarding you can just enter the same info from the Iris app local streaming page for your IP in ST. Local streaming will only work when on your home network. Camera path to image: /img/snapshot.cgi?img=vga Camera path to video (media.sav will do audio on v2 cams):/img/media.savOr /img/video.sav That's it. angel23276 and DogDazeII 1 1 Quote Link to post Share on other sites
dusterp 414 Posted February 21, 2019 Author Report Share Posted February 21, 2019 Here's what they look like all setup. I have three v1 outdoor iris cams, two v1 indoor cams, and one v2 indoor/outdoor cam. They all work and all have audio. The bottom snap shot tile is a carousel tile you swipe left on to view your snaps or you can check the history to see all snaps. The videos don't record anywhere they just live stream. You can view them in full screen but it doesn't rotate to landscape. My Iris hub is also disconnected and they work fine. Just make sure you get the username and password from the before you disconnect it. Also make sure the cams are set how you want them. See previous post on setup. Iris Who? DogDazeII 1 Quote Link to post Share on other sites
thegillion 375 Posted February 21, 2019 Report Share Posted February 21, 2019 @dusterp I have recording. I am getting a ST hub on saturday. I can also setup a IFTTT event on the cameras too. Quote Link to post Share on other sites
dusterp 414 Posted February 22, 2019 Author Report Share Posted February 22, 2019 You got a new device handler for it? Iris Who? Quote Link to post Share on other sites
LobsterBoxed 0 Posted February 22, 2019 Report Share Posted February 22, 2019 Ok, so I followed your set up and I can take snapshots but no live video. Have checked and rechecked settings. Camera is still paired to Iris and somehow has audio. I don't remember it ever having audio. So I shut down the Iris hub and still the same error, "Camera cannot be found. We are trying to connect". Using ST Classic. New app only shows two power tiles and a motion sensor tile. This is great news that we can use our V2 camera! Thanks for sniffing this out. Any suggestions for my setup? Thanks! Quote Link to post Share on other sites
thegillion 375 Posted February 22, 2019 Report Share Posted February 22, 2019 12 hours ago, dusterp said: You got a new device handler for it? Iris Who? Once I get my ST hub in I will add it to yours if you like. Quote Link to post Share on other sites
dusterp 414 Posted February 22, 2019 Author Report Share Posted February 22, 2019 Ok, so I followed your set up and I can take snapshots but no live video. Have checked and rechecked settings. Camera is still paired to Iris and somehow has audio. I don't remember it ever having audio. So I shut down the Iris hub and still the same error, "Camera cannot be found. We are trying to connect". Using ST Classic. New app only shows two power tiles and a motion sensor tile. This is great news that we can use our V2 camera! Thanks for sniffing this out. Any suggestions for my setup? Thanks!Are you on your home network? Iris Who? Quote Link to post Share on other sites
LobsterBoxed 0 Posted February 22, 2019 Report Share Posted February 22, 2019 Yes, it was all done on my home network. Funny, I left the house and I was able to take stills from the camera, but no video. Quote Link to post Share on other sites
LobsterBoxed 0 Posted February 22, 2019 Report Share Posted February 22, 2019 Here are my settings: Camera ip Address: 192.XXX.X.XXX Camera User/Password: copied off Iris app Camera RTSP Port: 554 Camera Port: 80 Camera Path to Image: /img/snapshot.cgi?img=vga Camera Path to Video: /img/video.sav Does Camera require User Auth?: ON Does Camera use a Post of Get, normally Get?: GET Quote Link to post Share on other sites
LobsterBoxed 0 Posted February 22, 2019 Report Share Posted February 22, 2019 I removed and reinstalled the camera. It is now working. Is it necessary to enter the cameras IP address to the video and image path? Quote Link to post Share on other sites
Vettester 766 Posted February 23, 2019 Report Share Posted February 23, 2019 On 2/18/2019 at 4:54 PM, dusterp said: I got my Iris CAMs working on ST with Generic Camera device handler. Do you still have your Iris hub powered on? Quote Link to post Share on other sites
dusterp 414 Posted February 23, 2019 Author Report Share Posted February 23, 2019 No you shouldn't have to enter the IP in the path the code does that for you. Glad you got it working. Iris Who? Quote Link to post Share on other sites
dusterp 414 Posted February 23, 2019 Author Report Share Posted February 23, 2019 Do you still have your Iris hub powered on?No unhooked it first day I got ST. Iris Who? Quote Link to post Share on other sites
dusterp 414 Posted February 23, 2019 Author Report Share Posted February 23, 2019 Yes, it was all done on my home network. Funny, I left the house and I was able to take stills from the camera, but no video.Yeah stills work remotely just not video. Iris Who? Quote Link to post Share on other sites
Vettester 766 Posted February 23, 2019 Report Share Posted February 23, 2019 8 minutes ago, dusterp said: No unhooked it first day I got ST. Iris Who? Thanks Quote Link to post Share on other sites
dusterp 414 Posted February 23, 2019 Author Report Share Posted February 23, 2019 Yeah stills work remotely just not video. Iris Who? Note: video will work remotely in ST if you setup port forwarding on your router and use your external IP address. Iris Who? Quote Link to post Share on other sites
JRocket02 0 Posted March 2, 2019 Report Share Posted March 2, 2019 @thegillion Hey..Same guy that messaged you on your other post about Spectral. Did you get your ST hub yet and integrate these bad boys? Mine are integrated now into ST with live streaming and TAKE photos but no live video recording. That is what I am super interested in so please let me know sir I would really appreciate it. Also, just curious because you obviously are awesome with all this stuff, are you BETA testing Systronics? I'm in their BETA program but not sure if I'm going to go through with it since I'm already playing around with ST. Let me know and I can send you the BETA software they sent me if you are interested. Quote Link to post Share on other sites
Twhalen24 4 Posted March 4, 2019 Report Share Posted March 4, 2019 Org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed: script_dth_metadata_91ae2c7b_5c51_4698_99be_a49f1d72b100: 25: expecting '}', found ',' @ line 25, column 31. 24 attribute "hubactionMode", "string" ^ 1 error What am I doing wrong? Quote Link to post Share on other sites
dusterp 414 Posted March 4, 2019 Author Report Share Posted March 4, 2019 Make sure you got all the code in your handler and you didn't miss some. Iris Who? Quote Link to post Share on other sites