[RELEASE] Foscam Camera Device Handler Universal DTH with Discovery, Live Video Streaming, Motion Sensor/Alarm Integration - SD (FI89xx), HD Ambarella FI98xx, FI99xx, Cx, Gx, Rx, Ex, Zx, Fosbaby

did you change the port for the video stream itself or the camera admin interface?

I got sent an email to support with all of my troubleshooting tips and any information that might be useful, I was also careful to generalize the issue so they can’t blame it on a 3rd party app. So, my issue is “The hub crashes during increased API calls” not stating specifically what app I’m having issues with, as I’d have issues with all apps that require this. We’ll see what they reply with. I’m considering running up to Best Buy tomorrow and buying a second hub just to verify to them (and myself) that it’s a hub side issue and not the apps causing it.

1 Like

Hello RBoy. OK I deleted and reinstalled everything still Black no video but I did go to the logs and here is the error
error java.lang.NullPointerException

It gets the IP address and says request was successful now if I can just figure out what this error is I think I can fix it

error java.lang.NullPointerException

Thanks so much for writting this. I am excited to get these working I have 3 of these cameras.

Not anything I can fix. This looks like a coding error

error java.lang.NullPointerException

Can you please PM me the IDE live logs. Also hit refresh once to ensure it picks up the latest settings.

First let me say I am so excited to find a group of home automation people like me and would like t thank you all for building this site and writing all of this great custom code. I had a Vera and I returned it for a ST. So happy now I have a Harmony and an echo too. I guess now all I need is a hue :slight_smile:

RBoy I will PM you the logs.

Thanks again for such a great community

1 Like

I should have seen this earlier, there in lies your problem. You’ve entered your ip/hostname incorrectly:

All you need a simple

myhost.com

or

X.X.X.X

EDIT: Updated the DH to use the words Hostname instead of URL in the input description to avoid confusion.

No in the screen shot and picture I sent you I blanked it out. It was set correctly. I will send it to you with the username and password since I can change them later

I do see that my Wifi is dropping the connection every once in a while. I will hard wire the camera later but it only goes down ocassionally. Looks like the wifi unit in the camera is going bad. :frowning:

Your issue is that you’ve entered the full URL instead of the hostname, your logs are showing it. I would suggest delete the device and start over since it also caches the address to reduce overhead on the platform and improve performance.

The hostname is http://nysaint.com

Can you tell me what I should be using I don’t understand

Actually it is http://nysaint.com:6500

In the IP Address field:
nysaint.com

In the port field:
6500

Should I just use my external IP address with no http

Yes you can do that also

I just tried with my external IP address only.

No luck. So frustrating

.

I can try to do the entire process again if you think that will help.

Do you noticed your “Settings”, “IP”, it’s showing that you’re entering the FULL URL instead of just the hostname or IP address. That’s your issue.

BTW you’re also publicly posted your username and password in the same image, I would delete it.

I will change it but I think I understand just the IP address. OK let me try that

OK that fixed the IP errors but still the NULL error and no video. I surrender. :slight_smile:

Your settings looks like they’re really messed up. Your video stream is returning null for it’s address. Like I said delete your device and start over, it’s working for everyone else. Give it a break and start over fresh with a clear mind :slight_smile:

© 2019 SmartThings, Inc. All Rights Reserved. Terms of Use | Privacy Policy

SmartThings; SmartApps®; Physical Graph; Hello, Home; and Hello, Smart Home are all trademarks of the SmartThings, Inc.