In addition to the motion alarm enable/disable issue, the R2’s have a number of additional features that get overwritten whenever the camera is enabled/disabled in the ST app.
1- Sound detection
The R2 has 5 different sound sensitivity levels (same as motion), Lowest, Lower, Low, Medium, High. If I change these in the official Foscam app, they are defaulted to “Low” whenever I enable the camera in ST. Could we have options to control the Sensitivity in the DH the same as motion?
2- Push Notifications
The R2 also has the ability to send push notifications in the official app (or by accessing the camera web interface). The Push notification “checkbox” is always removed whenever I enable the camera via ST. Could this be ignored in the DH or have the option to enable/disable in the settings?
Appreciate the amazing work you’ve done for those of us using Foscam cameras and hope these suggestions will be considered (especially sound since the HVAC unit turning on/off sets off a sound alarm. This R2 is crazy sensitive to noise).
My camera keeps disconnecting when going to a preset or trying to PTZ the camera within ST. If no movement, camera works fine, but any movement in camera will disconnect the video. Any solutions?
RBoy
(www.rboyapps.com - Making SmartThings Easy!)
807
Will keep in the pipeline for R2 specific customizations. In general Foscam audio are VERY sensitive. By default the DH sets the audio sensitivity to lowest because of this issue.
Thanks it appears on my R2, it defaults to “Low” (the default) which probably explains the sensitivity although the 9831W shows “Lowest” like you mentioned. Based on update notes from other iOS apps, developers mention "Fixed motion on/off for Foscam Ambarella devices (R2 and C2) so it appears the C2 is also affected but I cannot confirm as I do not have this model.
I have finally figure out my Alarm arm/disarm issue with my C2 and FI9900P. I’m betting it works with all the camera’s having issues too.
At some point Foscam changed the commands from
cmd=setMotionDetectConfig&isEnable=0
to
cmd=setMotionDetectConfig1&isEnable=0
i edited the device handler for the misbehaving cameras and everything works again
edit 1: of course now the motion detection doesn’t work at all. Smart thing shows the switch as enabled but it does nothing. I have a feeling that they also changed the detection area command as well.
edit2: It has something to do with the dection areas being cleared when the detector is toggled.
RBoy
(www.rboyapps.com - Making SmartThings Easy!)
810
So some folks have been asking how to configure the motion detection area and enter that string in the camera settings page. So here’s are the instructions:
I’m working on connecting a Foscam F19821 camera using your Foscam device handler.
I’m able to connect to the cam both over my local network and remotely via port forwarding in a browser. I’ve setup port 88 for http and 8888 for https. I’ve forwarded all 3 ports, 88, 8888, and 888 (Onvif) to the camera.
In the Camera configuration in, I’m starting off with the internal ip address and port 88 but I’m getting camera not found.
Am I missing something?
[edit] Interesting development…I can snap pictures from both internal an external and they display in my client properly. It can also detect motion. th eonly thing I can do is see the live feed.
Have you found the area in RBoy’s code to change to fix this issue? I didn’t realise that the setMotionDetectConfig1 fixed the switch but didn’t actually enable motion detection. Would really like to get this corrected and wondering if you could advise the lines of code we need to change to fix this issue?
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?
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.
RBoy
(www.rboyapps.com - Making SmartThings Easy!)
821
Are you on the latest ST iOS app? Try to delete the device and start over.
What iOS / iPhone?
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?