cURL & HTTP Request Help Required Alarm Intergration

vwsplitty

Young grasshopper
Oct 21, 2015
78
20
Hi im trying to get a bit more info together to integrate my blue iris set up with my alarm system.
I have already been asking some questions here (thank to @fenderman )

Only Sent Out Email When Alarm Is Set

Back ground:

I am up dating my set up with a few new cameras and thought i would take a look at sort out the main problem i have: far to many alerts for no events that mean anything-.

What i want to be able to do is change a profile when i am out so it only sends out alerts then. I tried the geofence route with mine and my wife phones (IOS) and it does work but the battery takes a bit of kick.

i have a house galaxy g2-20 alarm which is connected to the net via the selfmon monitoring service and really want to integrate the alarm with blue iris.

I have looked in to the output from the alarm and could get something out via I/0 of the alarm panel to serial which would most liklely be the "best" option but i have found that the selfmon service (galaxyguy) can send out a cURL when a certain thing takes place on the alarm.

for example when i "set" the alarm the selfmon service will send out an http://xxxxxxxxxxxxxx.

So after getting the information that blueiris will respond to an http:// string for profile change i want to try and get the two things working together.

so far locally i can use:

username:password@ipadress:port/admin?profile=5&lock=2 which will set the profile to no5 in this case.

but i can only get this working if i uncheck "use secure key and login page", if i dont uncheck i have to enter the user and password on the same web page you would get from the web login and THEN it will carry out the change, this is even with the user and password filled in the http text line as above.

can i not use the http request with this option checked?

my other option i found was to enter "^191.168.1.*" in the limit ip adresses field which meant that any address from 192.168.1.0 to 192.168.1.254 can log in with out any authentication.
using this option and the text string above works as i want but i dont want to open this option for the whole of the WAN.


i spoke to the person behind selfmon who gave me a list of the servers that send out the cURL but as in domain.co.uk not IP's

so my questions is:

1. what is the best way to get the profile change over WAN with http string but still be secure?
2. can i add domain.co.uk (example) to ip allowed ip addresses or does it actually have to be ip addresses?
3. can i affect a http string profile change without entering a user and password
4. should i be using stunnel if i plane to send a user and password in the http/https string?
 
i have progressed a little further in as much as i have found

1. use secure session needs to be unchecked
2. you need to use either the WAN ip or domain no LAN ip to affcet the change
3. the user and password go on the rear as in http://ip or domain:port/admin?profile=5&lock=2&user=usernamehere&pw=passwordhere please note must be admin privileges on account being used
 
Just an update if anyone is reading.

Installed stunnel and I can now use the https version to send my request meaning my password and user are sent over a secure connection (but of course would still be in plain text)
 
Any info on how to do this with Honeywell totalconnect2 service ... cannot get either honeywell tech support or my monitoring service to engage.

My objective is to use events for open sensor to trigger camera .. the totalconnect2 service has very granular notifications but only via email or sms ... i have added a user account and dedicated email address for each camera .. each time the sensor opens (regardless of armed or unarmed) an email alert is send .. so the email has name of camera in both the email address and the subject line. I am heading down path to have an email client convert this to appropriate http command .. problem is there is a 10 second lag between sensor status change to open and processing the email.

Ideally i could somehow get my vista 20P and or 7847i device to directly trigger the http command for same event ad within my local lan rather than over public IP.

Suggestions?
 
Not sure I have a gaxaly alarm.

You are best to google “galaxyguy forum”

And get in contact with this person
 
Not sure I have a gaxaly alarm.

You are best to google “galaxyguy forum”

Or “selfmon”

And get in contact with this person