Can you tell me how you’ve set the device settings? I’ve followed the instructions to the letter and my feed isn’t showing. Did you have to change anything in the DH code?
I didn’t change the code for live stream at all. I do have the “Enable this if the camera is a HD Model” and “Enable HD Cam MJPEG stream” toggled on
Hi
I just got the Foscam SmartApp installed with the Device Handler. Everything shows up but when I select my camera, the entire ST iOS app crashes.
My camera is a Foscam FI9821P IP camera.
Any thoughts?
This is what shows up in the Live logs when I attempt to add the camera.
Clear
f11aa46f-d5f5-4eda-b777-af6e77cdc66e 8:30:21 PM: debug motionOrContactHandler(Motion Sensor - Living room motion:inactive)
c9237577-d938-4610-99c8-1b75a9b16520 8:30:17 PM: debug getChildDevices(false), children=1
c9237577-d938-4610-99c8-1b75a9b16520 8:30:17 PM: debug getChildDevices(false), children=1
c9237577-d938-4610-99c8-1b75a9b16520 8:30:14 PM: debug getChildDevices(false), children=1
c9237577-d938-4610-99c8-1b75a9b16520 8:30:14 PM: debug getChildDevices(false), children=1
9834344f-28d9-4ebc-9193-0bb31262ee58 8:30:14 PM: trace Refresh()
c9237577-d938-4610-99c8-1b75a9b16520 8:30:03 PM: debug MediaRenderer device found[devicetype:04, mac:B827EBC9598F, ip:C0A801EE, port:C156, ssdpPath:/description.xml, ssdpUSN:uuid:7965344d10a7787e39d26cc4aaa5a271::urn:schemas-upnp-org:device:MediaRenderer:1, ssdpTerm:urn:schemas-upnp-org:device:MediaRenderer:1, hub:0a35454a-4e30-43cd-9c5d-1632b227a4dc]
c9237577-d938-4610-99c8-1b75a9b16520 8:30:02 PM: debug getChildDevices(false), children=1
9834344f-28d9-4ebc-9193-0bb31262ee58 8:30:02 PM: trace poll()
c9237577-d938-4610-99c8-1b75a9b16520 8:30:01 PM: debug syncDevices()
56a1e157-b112-46f3-8aa0-52f6d8cc7787 8:29:58 PM: trace Preset names -> [null, null, null]
56a1e157-b112-46f3-8aa0-52f6d8cc7787 8:29:58 PM: trace Getting present names from camera [FoscamOne]
56a1e157-b112-46f3-8aa0-52f6d8cc7787 8:29:58 PM: trace Cruise names -> [null, null]
56a1e157-b112-46f3-8aa0-52f6d8cc7787 8:29:58 PM: trace Getting cruise names from camera [FoscamOne]
56a1e157-b112-46f3-8aa0-52f6d8cc7787 8:29:53 PM: trace Preset names -> [Invalid! Select/Refresh Camera]
56a1e157-b112-46f3-8aa0-52f6d8cc7787 8:29:53 PM: trace Getting present names from camera null
56a1e157-b112-46f3-8aa0-52f6d8cc7787 8:29:53 PM: trace Cruise names -> [Invalid! Select/Refresh Camera]
56a1e157-b112-46f3-8aa0-52f6d8cc7787 8:29:53 PM: trace Getting cruise names from camera null
9f4a2879-c4a7-4db4-8943-fc807fc1917d 8:29:53 PM: debug Parse returned {{ linkText }} has arrived
f11aa46f-d5f5-4eda-b777-af6e77cdc66e 8:29:49 PM: info SHM isActiveSensor(motion:active, app: off, location: off) = false, locationId: 64c7c4bb-9e55-4fbb-b033-c99ccad6b2cc, ISA: f11aa46f-d5f5-4eda-b777-af6e77cdc66e
f11aa46f-d5f5-4eda-b777-af6e77cdc66e 8:29:49 PM: debug motionOrContactHandler(Motion Sensor - Living room motion:active)
If there is anything else I need to get, please let me know.
EDIT
Ok I noticed this is just for the Motion Smart App that this happens for. I do see the camera and Im able to add it as a thing. I have the IP address in along with the username and password. The camera shows off. If I attempt to turn it on, it thinks for a bit and goes back to off.
Are you on the latest ST iOS app? Try to delete the device and start over.
What iOS / iPhone?
Ok
I think I have it working now. I went in and set some ‘probably’ needed options after adding the camera as a thing. Now I can set it up for automation.
One thing I noticed however is when viewing the livestream, maximizing the video just makes the stream go black. Also if I try to move the camera the stream ends. There are some instances where I have to back completely out of the camera for the stream to connect again.
Just for information sake:
iPhone 7+
iOS 10.2 Beta 4
Latest ST app
Tried on my wife’s phone as well. Same phone but iOS 10.1. Same behavior
I cant get either of my foscams to stream video through the app. I followed the instructions to create a new device handler with your code, then created a device in the IDE with the device type of the Rboy foscam. it shows up as a device in the app, so i configure it but it shows camera unavailable. I have 2 C1’s, both of which i can reach with my phone and log into the web interface. ive tried deleting both cameras and the device handler, then reinstalled the handler and created new devices. They were using port 88, but i saw your note about 2 digit ports, so i changed one to port 889 with the same result. It looks like it adds the camera but for some reason the app wont stream the video. What else can i look at? Or is there just an issue with C1s not streaming in the app? Thanks!
Hello Guys! I have some problems when click +Add a Thing… Fosc… appears but then the app crash, and when open again the app, I can see a message that says “Crash manager submitted report”… could you help me?
Report it to ST support, its’ a bug with the ST mobile app.
Anyways, you shouldn’t be in the +Add a thing tab to install this device. See the Foscam instructions here (scroll down to the Foscam instructions):
In the new App, yes, I need to +Add a Thing…
I did all your step by step, but the crush continue…
Again, no, you don’t - follow the instructions and the device will show up.
@RBoy any thoughts on the new Foscam FN3104W-B4-1T 720P WiFi Wireless Security System, 4-ch NVR? Do you think this will integrate using the current Device Handlers and your SmartApp?
Sorry, I dont know if my app, but when you create a new device via code, its not appear directly in “My Things” you need to tap in Add a Thing, if not, you never see this new device… Im trying all the ways, but the error is the same…
BTW, Im adding other devices, and I have no problem…
I have an interesting one… for some reason my cameras keep getting “turned off” which apparently stops them from reporting motion.
I turn them on, they work… then eventually they go off.
... 5:52:21 PM: trace IPAddress xx.xx.xx.xx is a public IP Address
... 5:52:21 PM: info Polled: Flip Status 0, Mirror Status 0
... 5:52:20 PM: trace Received response from camera to httpGet, headers=text/plain, status=200
... 5:52:20 PM: info Polled: Motion Alarm Callback Notification Disabled
... 5:52:20 PM: trace Using cached IPAddress=xx.xx.xx.xx
... 5:52:20 PM: trace Sending httpGet command -> http://xx.xx.xx.xx:202/get_params.cgi?user=[insert user here]&pwd=[yeah that's not happening]
... 5:52:20 PM: trace Motion: None, Armed: Off
... 5:52:20 PM: trace Using cached IPAddress=xx.xx.xx.xx
... 5:52:20 PM: trace Motion: None, Armed: Off
... 5:52:20 PM: trace Received response from camera to httpGet, headers=text/plain, status=200
... 5:52:19 PM: trace Sending httpGet command -> http://xx.xx.xx.xx:202/set_alarm.cgi?motion_armed=1&motion_sensitivity=5&motion_compensation=1&sounddetect_enabled=0&sounddetect_sensitivity=9&mail=0&upload_interval=0&user=[insert user here]&pwd=[yeah that's not happening]
... 5:52:19 PM: trace Motion Level is Low
... 5:52:19 PM: debug Enabling Alarm
... 5:52:19 PM: debug Toggling Alarm
There’s apparently nothing doing this – that I can tell – but I’m sitting at the IDE now watching events go by waiting to see if somehow there’s something turning it off.
I removed my camera from the app then followed the instructions on this page, like you recommended:
After i create the device, it shows up in my Things, and i configure it with the IP, user/password, port, etc. I save the info, go back to the camera, hit the refresh button, but still cant get the stream in the app. I touch the stream box, it says in the top right that its Active, but i get a black box that says “Camera Unavailable”.
I can stream the camera in a browser, as well as set up the camera in smarttiles. Any tips on getting it to stream through the app?
Hi all,
I installed this smartapp and got it workingbut with the following limitations:
- I have to change the IP if I am on my internal wifi or not (internal/external IP). Is there a way to specify both IP so that the app switches to one or the other automaticaly ?
- When I watch the stream through the smartapp, as soon as I press any button the stream stops. It is problematic as if I want to rotate the camera it shuts the stream down
- My camera is upside down and I select flip and mirror in the settings but it’s not consistently working (sometime it does, sometime it doesn’t).
Any help is appreciated here.
My Foscam is a FI8918W
Thanks
Hi guys, I just discovered this great app, but it looks like rboyapps.com is down. Is the handler and the monitor smartapp listed anywhere else?
Can anyone send it to me?
Thanks!
Sorry about that. We’re working with the ISP to get it back online. It
should be up in a few hours.
Hello is anyone able to confirm compatibility of this with the Foscam R2?
One more thing, when I create the new device, I can see something called “Tiles Missing” in my “Things” section, but its not the name for my new device… when I click on this “Tiles Missing” thing, the apps crash.
@mixhabier you should not add a thing but add a device from the smartthings IDE as explained in the doc (https://graph.api.smartthings.com/device/list)
Then fill a name, a device network id(2000, 2001+++), type “RBoy Foscam IP Camera”, version published and select your hub then click create and it will appear in your devices list.