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

Main Menu

Security mode not working properly !

Started by domotiqa.com, September 25, 2007, 01:51:44 PM

Previous topic - Next topic

domotiqa.com

I was looking on it, thanks I modified my message above !
[url="http://www.domotiqa.com"]http://www.domotiqa.com[/url] - home automation

domotiqa.com

the virtual device -1001 (DEVICEID_EVENTMANAGER)

I guess it's in order to setup event not attach to device !!

http://wiki.linuxmce.org/index.php/Plain_Text_DCE_Messages
[url="http://www.domotiqa.com"]http://www.domotiqa.com[/url] - home automation

domotiqa.com

it's working !!!

I putted in the Configuration field of the camera attached to the sensor

netcam_url  http://ip/pathToVideo
# sending pluto tripped on/off events on motion start/end
on_event_start /usr/pluto/bin/MessageSend 127.0.0.1 n°Sensor -1000 2 9 25 1
on_event_end /usr/pluto/bin/MessageSend 127.0.0.1 n°Sensor -1000 2 9 25 0
[url="http://www.domotiqa.com"]http://www.domotiqa.com[/url] - home automation

domotiqa.com

 ;D ;D ;D and the picture in alert log work also (but the image is a little bit not sync)  8)

great, however it's a tricks !!
[url="http://www.domotiqa.com"]http://www.domotiqa.com[/url] - home automation

bulek

Hi,

maybe I'm not following this, but this should all work if camera ID is used in threadx.conf. Did you have to change to sensor ID to get it working ?

if that's true then it's a bug and mantis report should be filed... I had this working under Pluto 0.44 with no problem. Cameras by themselves triggered proper security events. Have no clue why this has changed...

Regards,

Bulek.
Thanks in advance,

regards,

Bulek.

domotiqa.com

yes the Id is the wright one !
In fact it was working with the unarmed mode, but not with the other one !!

If someone make it work in a different way, I'd like to know how !
[url="http://www.domotiqa.com"]http://www.domotiqa.com[/url] - home automation

d0t

Hey domotiqa.com,

Thank you for posting your solution.  I spent many hours trying to find a fix - the use of active sensors for security in LMCE 710b4 still seems broken.  The various states do not work as expected using both the DVD and CD installation methods, when trying to use motion with my panasonic ip camera.  After I manually added a new motion detection sensor following your instructions, I managed to get things working as needed. 

Cheers!
.

domotiqa.com

[url="http://www.domotiqa.com"]http://www.domotiqa.com[/url] - home automation

Cj_MaN

In order to send security events directly to the motion camera, and to get a picture from it, you'll have to relate the motion camera to itself in the Device_Device_Related table.
By ex:
Le's say that your MotionCameraID is 77, you'll have to add this as FK_Device and FK_Device_Related in the Device_Device_Related table.

>mysql -u root
>use pluto_main
>INSERT INTO Device_Device_Related (FK_Device, FK_Device_Related) VALUES ($MotionCameraID, $MotionCameraID);

In your case you'll have to substitute the $MotionCameraID variable with you MotionCameraID = Device ID - from Web Admin

domotiqa.com

thank's for your feedback !
finnaly, we'll make everything work ;-)
[url="http://www.domotiqa.com"]http://www.domotiqa.com[/url] - home automation