[RELEASE] Foscam Camera Device Handler Universal DTH with Motion Detection - SD (FI89xx), HD Ambarella FI98xx, FI99xx, Cx, Gx, Rx, Ex, Zx, Fosbaby

Thanks for the update!
It fixed the issue with the motion notification emails not being sent out. They now work properly.

Would it be possible to disable push notifications and only get text messages when motion is detected?
I’m trying to set the Foscam Motion Alarm Monitor SmartApp using a cell phone number and disabling the push notifications option, but I keep getting both text and push notifications.

Configure the option as you want in the Foscam Motion Alarm Monitor SmartApp, you can pick any set/combination of options you like.

I tried but, when I add a cell phone number and disable the push notifications, I will still receive both.

I have given up trying to get streaming to work but will continue to try it with other phones as available.

In the mean time I would still like to use this as a motion and video detection method.

Not very successful so far.

In live logging I see this line:

β€Ž2β€Ž:β€Ž57β€Ž:β€Ž17β€Ž β€ŽPM: warn Current mode Home is not in the list of active monitoring modes [Away, Night], skipping checking for Monitor Alarms

What does this mean and how do I get home on the list of active monitoring modes?

Thanks in advance for any guidance.

Means that you haven’t select Home as the one of the modes in which it will monitor for motion detection monitoring. You’ve only selected Away and Night modes. Go back in the SmartApp and select Home or just remove the mode restriction.

Steaming takes tries. It works at times in a single go and others when the ST app or platform has issues it can take 4-5 tries.

1 Like

Just tested it’s working fine here. Make you’re on the latest versions of the app and DH. Maybe ST isn’t saving your preferences.

OK done and the message is no longer there. I still somehow cannot get anything to trigger.
Perhaps the below log can offer insight?

Here is the live log when I hit arm away, I have X’d out sensitive info:

c8c72212-cc62-435b-a8e9-566b662bdab5 β€Ž3β€Ž:β€Ž39β€Ž:β€Ž27β€Ž β€ŽPM: info Polled: Sound Motion Alarm On
c8c72212-cc62-435b-a8e9-566b662bdab5 β€Ž3β€Ž:β€Ž39β€Ž:β€Ž27β€Ž β€ŽPM: trace Received response from camera to httpGet, headers=text/plain, status=200
c8c72212-cc62-435b-a8e9-566b662bdab5 β€Ž3β€Ž:β€Ž39β€Ž:β€Ž26β€Ž β€ŽPM: trace Sending httpGet command -> http://XXX.XXX.XXX.XXX:88/cgi-bin/CGIProxy.fcgi?usr=XXXXXXXX&pwd=XXXXXXXXXX&cmd=getDevState
c8c72212-cc62-435b-a8e9-566b662bdab5 β€Ž3β€Ž:β€Ž39β€Ž:β€Ž26β€Ž β€ŽPM: trace IPAddress XXX.XXX.XXX.XXXis a public IP Address
c8c72212-cc62-435b-a8e9-566b662bdab5 β€Ž3β€Ž:β€Ž39β€Ž:β€Ž26β€Ž β€ŽPM: trace Using cached IPAddress=XXX.XXX.XXX.XXX
c8c72212-cc62-435b-a8e9-566b662bdab5 β€Ž3β€Ž:β€Ž39β€Ž:β€Ž26β€Ž β€ŽPM: debug Checking motion alarm status
ab283758-5e92-46f0-a13a-10ad6c0b673e β€Ž3β€Ž:β€Ž39β€Ž:β€Ž24β€Ž β€ŽPM: info SHM COMPLETED ARM/AWAY CHILDREN:1 ISA:ab283758-5e92-46f0-a13a-10ad6c0b673e, TIME:0.24
d8c72388-42d9-4286-993d-d787ce520fc8 β€Ž3β€Ž:β€Ž39β€Ž:β€Ž24β€Ž β€ŽPM: debug summaryData: [[icon:indicator-dot-green, iconColor:#79b821, value:Armed (Away)], [icon:indicator-dot-green, iconColor:#79b821, value:Everything OK]] - [[icon:indicator-dot-gray, value:Disarmed, iconColor:#878787], [icon:indicator-dot-green, value:Everything OK, iconColor:#79b821]]
d8c72388-42d9-4286-993d-d787ce520fc8 β€Ž3β€Ž:β€Ž39β€Ž:β€Ž24β€Ž β€ŽPM: trace onSecurityEnable(MODE_AWAY)
ab283758-5e92-46f0-a13a-10ad6c0b673e β€Ž3β€Ž:β€Ž39β€Ž:β€Ž24β€Ž β€ŽPM: trace 0
ab283758-5e92-46f0-a13a-10ad6c0b673e β€Ž3β€Ž:β€Ž39β€Ž:β€Ž24β€Ž β€ŽPM: trace adding subscriptions to Alert with Sirens
ab283758-5e92-46f0-a13a-10ad6c0b673e β€Ž3β€Ž:β€Ž39β€Ž:β€Ž24β€Ž β€ŽPM: trace subscribeChildApps()
ab283758-5e92-46f0-a13a-10ad6c0b673e β€Ž3β€Ž:β€Ž39β€Ž:β€Ž24β€Ž β€ŽPM: info SHM TRYING ARM/AWAY CHILDREN: 1 ISA: ab283758-5e92-46f0-a13a-10ad6c0b673e
ab283758-5e92-46f0-a13a-10ad6c0b673e β€Ž3β€Ž:β€Ž39β€Ž:β€Ž24β€Ž β€ŽPM: info SHM armDisarmCheck executing away
5b63bf6b-d9ae-4238-9d97-ebf0487358af β€Ž3β€Ž:β€Ž39β€Ž:β€Ž24β€Ž β€ŽPM: debug INITIALIZED, settings: [sirenDevices:[Aeon Siren], sirenDuration:2, triggerResetTime:1485111668045, contactSensors:[Deck Door, Garage Door], motionSensors:[cam1]]
5b63bf6b-d9ae-4238-9d97-ebf0487358af β€Ž3β€Ž:β€Ž39β€Ž:β€Ž24β€Ž β€ŽPM: debug Updated with settings: [sirenDevices:[Aeon Siren], sirenDuration:2, triggerResetTime:1485111668045, contactSensors:[Deck Door, Garage Door], motionSensors:[cam1]]
d8c72388-42d9-4286-993d-d787ce520fc8 β€Ž3β€Ž:β€Ž39β€Ž:β€Ž24β€Ž β€ŽPM: debug intrusionState()
c696bf94-cf65-43a3-9422-bf2a6d5c065b β€Ž3β€Ž:β€Ž39β€Ž:β€Ž22β€Ž β€ŽPM: debug Checking Camera cam1 for Active Motion Alarms
c8c72212-cc62-435b-a8e9-566b662bdab5 β€Ž3β€Ž:β€Ž39β€Ž:β€Ž22β€Ž β€ŽPM: info Polled: LED Off

After that It keeps looping through this:

β€Ž3β€Ž:β€Ž48β€Ž:β€Ž02β€Ž β€ŽPM: info Polled: LED Off

c8c72212-cc62-435b-a8e9-566b662bdab5 β€Ž3β€Ž:β€Ž48β€Ž:β€Ž02β€Ž β€ŽPM: info Polled: Sound Motion Alarm On

c8c72212-cc62-435b-a8e9-566b662bdab5 β€Ž3β€Ž:β€Ž48β€Ž:β€Ž02β€Ž β€ŽPM: trace Received response from camera to httpGet, headers=text/plain, status=200

c8c72212-cc62-435b-a8e9-566b662bdab5 β€Ž3β€Ž:β€Ž48β€Ž:β€Ž02β€Ž β€ŽPM: trace Sending httpGet command -> http://104.186.150.32:88/cgi-bin/CGIProxy.fcgi?usr=XXXXXXXX&pwd=XXXXXXXX9&cmd=getDevState

c8c72212-cc62-435b-a8e9-566b662bdab5 β€Ž3β€Ž:β€Ž48β€Ž:β€Ž02β€Ž β€ŽPM: trace IPAddress XXXXXXXXX is a public IP Address

c8c72212-cc62-435b-a8e9-566b662bdab5 β€Ž3β€Ž:β€Ž48β€Ž:β€Ž02β€Ž β€ŽPM: trace Using cached IPAddress=XXXXXXXXXX

c8c72212-cc62-435b-a8e9-566b662bdab5 β€Ž3β€Ž:β€Ž48β€Ž:β€Ž02β€Ž β€ŽPM: debug Checking motion alarm status

c696bf94-cf65-43a3-9422-bf2a6d5c065b β€Ž3β€Ž:β€Ž48β€Ž:β€Ž00β€Ž β€ŽPM: trace Last motion detection check was done 3.337 seconds ago

c696bf94-cf65-43a3-9422-bf2a6d5c065b β€Ž3β€Ž:β€Ž48β€Ž:β€Ž00β€Ž β€ŽPM: trace Heartbeat monitor called

c696bf94-cf65-43a3-9422-bf2a6d5c065b β€Ž3β€Ž:β€Ž47β€Ž:β€Ž57β€Ž β€ŽPM: debug Checking Camera cam1 for Active Motion Alarms

c8c72212-cc62-435b-a8e9-566b662bdab5 β€Ž3β€Ž:β€Ž47β€Ž:β€Ž57β€Ž β€ŽPM: info Polled: LED Off

c8c72212-cc62-435b-a8e9-566b662bdab5 β€Ž3β€Ž:β€Ž47β€Ž:β€Ž57β€Ž β€ŽPM: info Polled: Sound Motion Alarm On

Update.

I finally have everything but streaming working. Tried the above post regarding C2 cameras to leave the RTSP port blank, still no streaming even after repeated tries.

I have tried streaming on:

Samsung Galaxy Note 4 running Android 6.0.1
Apple 6S running iOS version 10.2 (14C92)
Samsung Galaxy S4 running Android 5.0.1

Question, which motion detection area parameters take precedence, the ones on the Foscam web interface where you click and define a rectangle or the ones on the ST app?

2nd question in the ST app setting what does 1023 mean in the setting β€œarea 1 = 1023”?

More questions. I installed an ST motion sensor on the front porch. I want it to beep the siren on the Foscam C2 in my living room whenever someone approaches the door.
On the smart home monitor dashboard I created a custom rule called front door for motion as follows:
device: motion sensor
select: front door
once per day: off
once within this number of min: .10
Only when mode is: away, home,night
alert with sirens: Cam 1 selected
alert duration: 1min

I hit done after every entry but still don’t get any siren on the cam when motion is detected. Am I going about this the right way?

You can’t trigger the alarm on the camera externally, in the next release we will disable the β€œalarm” capability as it’s causing some confusion for users. The alarm capability is actually used to turn on the monitoring and take a snapshot. It’s not really an alarm. Instead you should use the β€œswitch” to turn on the motion monitoring. The sound alarm on the camera is triggered when there is motion (sound or motion or human as configured on the camera), make sure you’ve enable the option for the sound alarm in the ST device settings.

1 Like

Thank you for the reply.

Does anyone know the answer to this?

ST app takes preference. That string is what you can replace to make a custom detection scene. See the posts above for details on how it is calculated.

1 Like

Is there a start video record button, I see the stop, but no start?

Hi all,

I want to use Foscam C1 in order to detect motion in a specific zone. If motion within that zone is detected then i want to turn a light on and send a notification.

Is that possible with Rboy’s device handler?

Thanks a lot in advance

See this post

2 Likes

RBoy,

I would like to use the detection areas I set up on the foscam web interface instead of the ones in the ST app.

I try leaving the Enter Motion Detection Area Parameters field empty but upon clicking done it reverts back to the auto generated parameters for all ten areas.

How do I get it to stay blank or accept the foscam area detection over the ST app detection areas?

Thank you in advance for all your support.

For some reason today, video and is no longer working…

Thank you.

I tried reinstalling both DH and SmartApp. Saving, refreshing and enabling disabling options, but I still get push notifications. Also tried to reboot ST and Foscams.

My wife runs the ST app on her Android phone too, could this mess things up perhaps?
Any other suggestion that I could try?

Thanks, I appreciate your help.