This is a custom device type. This works with the Android IP Camera app. It allows you to take photos, record video, turn on/off the led, focus, overlay, and night vision. It displays various sensors including battery level, humidity, temperature, and light (lux). The sensor data is all dependent on what your phone supports.
You have to adjust your router settings to allow the port to be forwarded to your phone.
I set up static ip addresses for my phones with different ports forwarded. (ie 8091, 8092, ā¦).
Hey @rob_a_landry, thanks for putting something like this together! Iām trying to get it it work but itās just not working correctly for me yet. I am using an old Samsung GS3 for the camera/device. I created the device type in IDE, then created the device, downloaded the free version of the IP Webcam onto the SG3, found the internal IP address, forwarded a HTTP port on my router from that IP address (made it 8081), checked the external IP of the SG3 and put that into the ST preferences for the ST app, and I still cannot get it to work. I started a stream from the SG3 IP camera app, and used the phoneās internal IP address and port to open up a browser window. I can get to the settings on that window, but nothing else seems to work. In the ST settings, I tried both the internal and external IP address, the port number I forwarded and the remote port that showed up on IPChicken, and still nothing. When testing, I would try to take a photo from ST app, and sometimes it would freeze up, but no photo ever showed up on ST.
Is it required that we use something like Dropsync? Is that my issue? From the OP, I thought it may be optional. I was hoping to just see a stream on my ST app dashboard and then, hopefully, set it up on SmartTiles. Am I doing something else wrong setting up the IPās or with port forwarding? Any help would be much appreciated!
My goal is to have a tablet and a phone mounted in the house running SmartTiles/ActiON, and also have both of those run this IP Camera, as they will be mounted where I need cameras. Thanks!
Iāve got it working with an old Droid Razr. Did you verify that you can get to the browser interface through the external IP (not using SmartThings)?
I tried to rewrite the code using hubActions, but I could not get the two requests to ever produce a picture. I tried doing a GET followed by a delayed hub action followed by the final GET.
The reason I would like this to use hubAction / parse() is that the code will then run on the local network and I can close the hole on the firewall. I donāt need live streaming for this application, and I donāt like to open up unnecessary holes in the firewall.
This is great thanks for taking the time and effort to do this.
I do have a question - when creating the device what do I out under ādevice network idā? I had the full address, what I can type into my browser to see the camera. Then in all I put the ip and the port separately. Iām not getting an image though, no connection it seems. I have it forwarded and working in a few different apps and devices so I know the forwarding is functining the way it should be.
Also, does it matter if my port forward is set to https rather than http?
If I understand this other post correctly, the network device id can be anything as long as its unique. The author says keep it short, sweet, and descriptive:
Iāve managed to get through step 3 successfully. Iāve never played with port forwarding, though, so Iām still muddling through this.
I gave up on using a phone. I needed a camera in the garage, which is not air-conditioned, and I think the phone kept rebooting when it got too hot. I replaced the phone with a ārealā IP camera that I got at Costco, using another IP camera device available from the community.
hi
I was triying to install this app but I am getting erros
Ć Org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed: script1442926809777964417830.groovy: 114: expecting ā)ā, found ābackgroundColorsā @ line 114, column 8. 98 backgroundColors:[ ^ 1 error
How much of a problem is it to have the password exposed in the URL like that?
I meanā¦itās a problem.
I know this is just experimental and all, and I really like the concept, but do you have a plan for making it more secure (or is there anything we can do on our end that Iām not thinking of) in the future?
Due to the way httpget works i think this is the only way. Honestly i havent used this setup in months, but i could try setting the username and pwd in a header and see the results. Hang tight and ill tinker.