Http push

kkiwerska

n3wb
Joined
Feb 2, 2016
Messages
1
Reaction score
0
Hi,

I'm new to this forum. Been reading for a while now, specifically looking for an item I was unable to find, hence my question:
Does BI support HTTP push for arming/disarming motion detection?

See, i have a Tasker scenario whereby when I disconnect from my wifi (therefore just left home), the follow ARM intent is sent to my Foscams:
http://XXXX.dyndns.org:44XX/cgi-bin/CGIProxy.fcgi?cmd=setMotionDetectConfig&isEnable=1&linkage=10&snapInterval=2&sensitivity=3&triggerInterval=10&schedule0=281474976710655&schedule1=281474976710655&schedule2=281474976710655&schedule3=281474976710655&schedule4=281474976710655&schedule5=281474976710655&schedule6=281474976710655&area2=112&area3=112&area4=112&usr=XXXX&pwd=XXXX

I have a DISARM script automatically sent to my cameras when my phone re-connects to my wifi:
http://xxxx.dyndns.org:44xx/cgi-bin/CGIProxy.fcgi?cmd=setMotionDetectConfig&isEnable=0&usr=xxxxx&pwd=xxxxxxxx

This works pretty handy as my FOSCAMs detect (speculate really) when I'm in the vicinity and ARM/DISARM accordingly. Pretty flawlessly I admit.
Been browsing through all tabs and menus in BI and only found some Geoloc process, probably based on 3G, which I don't trust (besides the battery consumption).

Do we have some module/procedure in BI where I can get these intents listened to?

Thanks,
KK
 

bp2008

Staff member
Joined
Mar 10, 2014
Messages
12,685
Reaction score
14,052
Location
USA
Blue Iris does have an API you can call into for enabling and disabling motion detection, but nothing as simple as you want. You would have to log in to get a session string and then individually disable or enable motion detection on every camera with a separate request. All the requests are done with HTTP POST, sending and receiving JSON strings. You can read more about it in the Blue Iris help file, JSON interface section.
 

Audioadam

n3wb
Joined
May 6, 2015
Messages
21
Reaction score
5
What you want to do is set up profiles or schedules and just trigger the change of that, which can be done via one http request. Furthermore, blue Iris has this functionality already built in by gps locating in the app. Check the hep files for more info.


Sent from my iPhone using Tapatalk
 
Top