Connecting PEQ Camera (Icamera 1000) to SmartThings

I’m at work so I can’t test for you right now, but I don’t believe you need it.
You can try putting “Administrator” in the field and see what happens.

Also are you able to access the camera through a web browser by just putting in the IP? If you can, then when you click Administration it should prompt for the user name and pw (and I forget but I think Synthesis is right that the default username is Administrator with blank pw.) You can also then change the login under Maintenance.

Hey Synthesis,

This is what I am seeing

9e382554-6f16-4960-aad2-105dec670287 12:32:30 PM: error java.lang.NullPointerException: Cannot invoke method tokenize() on null object @ line 497
9e382554-6f16-4960-aad2-105dec670287 12:32:30 PM: debug Setting camera IP to null
9e382554-6f16-4960-aad2-105dec670287 12:32:30 PM: warn DNS unable to resolve hostname null., Error: null
9e382554-6f16-4960-aad2-105dec670287 12:32:30 PM: trace Request was successful, data=[AD:true, Status:3, RD:true, Authority:[[name:., data:a.root-servers.net. nstld.verisign-grs.com. 2017062300 1800 900 604800 86400, type:6, TTL:48517]], Question:[[name:null., type:1]], CD:false, RA:true, TC:false], status=200
9e382554-6f16-4960-aad2-105dec670287 12:32:30 PM: debug Enabling Alarm
9e382554-6f16-4960-aad2-105dec670287 12:32:19 PM: error java.lang.NullPointerException: Cannot invoke method tokenize() on null object @ line 497
9e382554-6f16-4960-aad2-105dec670287 12:32:19 PM: debug Setting camera IP to null
9e382554-6f16-4960-aad2-105dec670287 12:32:19 PM: warn DNS unable to resolve hostname null., Error: null
9e382554-6f16-4960-aad2-105dec670287 12:32:19 PM: trace Request was successful, data=[AD:true, Status:3, RD:true, Authority:[[name:., data:a.root-servers.net. nstld.verisign-grs.com. 2017062300 1800 900 604800 86400, type:6, TTL:47974]], Question:[[name:null., type:1]], CD:false, RA:true, TC:false], status=200
9e382554-6f16-4960-aad2-105dec670287 12:32:19 PM: trace poll()
9e382554-6f16-4960-aad2-105dec670287 12:32:19 PM: debug Stream URL = http://null:null/img/video.mjpeg
9e382554-6f16-4960-aad2-105dec670287 12:32:19 PM: debug Executing 'configure’
9e382554-6f16-4960-aad2-105dec670287 12:32:19 PM: debug Updated with settings: [:]

I understand somewhere there is something wrong host name, port not going. However, I do not find a place holder to configure these.

Where do I give the ip and port of my camera.
Steps followed

  1. created smartApp… saved and published.
  2. created DTH… saved and published

3a) created SmartThings on app. When opened it crashs the app shuts down.

3b) created a simulator and see in the logs error sent above.

Please let me know what am I missing or not done right.

Thx

By the Way the same steps with Generic and generic child camera worked absolutely fine. So also I am able to access the camera using browser.

Hi SmartChap, after you run the SmartApp, it should create the iCamera device and you should be able to set the IP through the properties on the device. (This probably isn’t something that can be done in the simulator. Perhaps you can open the Live Logging in the IDE while you try to install this on your phone, rather than using the simulator.)

Are you saying your ST app crashes and won’t let you get that far? When you reopen ST, do you have an iCamera device? If not then I will try adding code to avoid trying to connect before an IP is set.

Thank you for a quick response Carter.

Yes i am able to add the iCamera from Phone App. And yes it crashs ST when I click on the iCamera on App. It is not letting me go that far. Again I am using it on iPhone I have not tried on android if the behavior is any different.

Hi Carter,

With Android it worked. I am able configure the camera. I will update you ones I set up motion sensing and push notifications options.

Thx
P

Interesting after the first one is setup from android tried from iPhone and now able to configure remaining camera. So initial setup is working like a charm both from android and iOS.

This path worked for me on my iCamera 1000’s. The tricky part was reconfiguring the cameras.

Steve

For any interested Sercomm icamera2 users. Rboy Apps has shown interest in developing a device handler and smart app for the icamera2. Of course, this would be dependent on community interest.
This would be similar to their Foscam IP Camera with Motion Detection Alarm app. Here is the reply from Rboy when asked the question.
"Thanks. We haven’t considered it but happy to look into it if there are enough requests from users. Please feel free to contact others and have them contact us with their requests also, if we can get about 10-15 requests we can definitely looking at creating a custom DH and SmartApp for it."
Soo, if you have this camera, please email Rboy Apps support and encourage the development.

1 Like

PM’ed @RBoy. Fingers crossed for development…

1 Like

How do we contact @RBOY because I am very interested in getting this working.
Thank you

Can anyone help me out with these camera’s? I keep getting the error message that live video stream could not be aquired.

What did you have to do to configure these? I know its been a couple of years but it would help tremendously if you can share.

I’ll look into it this weekend. Mine’s been out of commission for a while but I’ve been considering bringing it back online.

I made a few modifications to my SmartApp and device handler, try to install my code as directed in my post above: Connecting PEQ Camera (Icamera 1000) to SmartThings

Let me know if you have any issues (one problem I ran into was resolved by rebooting my hub.)

Daniel,

Thank you for the updated code.
I’ve deleted my device. Deleted the existing handler and app. I re-installed code from your repo. and some issues were resolved.

  1. Camera installed from your code no issues. (previously I had to install from PSTUARTS code, then change the device type and update all conifgurations.)

  2. I was successful in implementing and aquiring an image from the “TAKE” button.

  3. On/Off toggles are working again.

Unresolved:
I am still unable to acquire a live feed from my camera. I get mixed responses.

  1. Screen flashes to what I can only assume is a full screen video. then flashes back to the all devices page.
  2. Live stream tries to initiate and returns an “error attempting to access live stream url”

I am amusing I do not have my camera configured correctly. I am going to factory reset right now and check results.

Can you or anyone else provide info on the streaming/http/network settings and configurations?

I never expected this to be as difficult as it has been to configure.

Thanks

Factory Defaulting the camera did not help. I am still getting the same results.