LinuxMCE Forums
June 19, 2013, 06:00:33 pm GMT-1 *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Rule #1 - Be Patient - Rule #2 - Don't ask when, if you don't contribute - Rule #3 - You have coding skills - LinuxMCE's small brother is available: http://www.agocontrol.com
 
   Home   Help Search Chat Login Register  
Pages: [1]
  Print  
Author Topic: Receive HTTP Notification When IP Camera is Triggered  (Read 1154 times)
d0t
Newbie
*
Posts: 14


View Profile
« on: March 18, 2008, 11:37:11 pm »

I have a Panasonic BL-C131a IP camera, which is now working well with LinuxMCE and the motion wrapper.  This camera, and many others, has a feature to 'Send Notification When Triggered', which can be sent via email or HTTP (some Axis cameras have TCP notifications).  This particular camera has on-board motion and thermal sensing capabilities, and allows you to send different notifications for different 'triggers'.

I am very interested in interfacing this camera with LinuxMCE using HTTP notifications, which would reduce the load and power consumption on the core (not to mention the network!).  Basically the IPCam could hit a particular URL on the core when it detects motion or thermal events, passing the type of event to LMCE in a parameter, which instructs the core to record from the camera for a designated amount of time.  This should also eliminate false positives in the security system when someone is PTZing the camera directly.  It also eliminates the complexities of using the motion wrapper, and could allow lower spec cores to monitor many intelligent IP cameras.

While I am able program, I'm by no means a software engineer Smiley  As I'm also new to LinuxMCE, naturally I have a few questions before I attempt this feat:

-Are there already facilities in LMCE to receive HTTP notifications, and turn them into MessageSend commands to the DCERouter?
-If not, what is the cleanest way to approach implementing this (without hacking something together)?
-Would anyone else be interested in using this feature?
-Is anyone willing to help out with development?

Regards,
.
« Last Edit: March 18, 2008, 11:41:57 pm by d0t » Logged
hari
Administrator
LinuxMCE God
*****
Posts: 2414



View Profile WWW
« Reply #1 on: March 19, 2008, 12:43:21 am »

I don't know of any generic way (but hey, I still have to explore big parts of the code). Basically you want a cgi that does the MessageSend for you. Should be pretty straight forward.

best regards,
Hari
Logged

rock your home - http://www.agocontrol.com home automation
hari
Administrator
LinuxMCE God
*****
Posts: 2414



View Profile WWW
« Reply #2 on: March 19, 2008, 12:49:37 am »

you may want to look at that thread for the MessageSend parameters: http://forum.linuxmce.org/index.php?topic=2631.15
Logged

rock your home - http://www.agocontrol.com home automation
d0t
Newbie
*
Posts: 14


View Profile
« Reply #3 on: March 21, 2008, 05:01:06 am »

Thanks for the suggestions Hari, cgi should do the trick Wink

.
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!