This page last changed on Feb 04, 2014 by mred.

Hi all,

I started trawling through the documentation but decided I could probably save myself a little time by asking the experts!

What I want to do is very simple: run a simple Applescript if any of my three Z-wave motion detectors are triggered.

Can I do this easily with OpenRemote, and if so, are there any examples?

Thanks in advance!

Cheers,

Ed

This is what you can do with the OpenRemote native Zwave implementation: http://www.openremote.org/display/docs/OpenRemote+2.0+How+To+-+Z-Wave

(User documentation start: http://www.openremote.org/display/docs/OpenRemote+2.0+User+Tutorial)

Posted by pz1 at Feb 04, 2014 09:48

Yes, you can do this with OpenRemote. There are examples how to do it in the Othmar Kyas' book http://www.openremote.com/wp-content/uploads/2013/12/How-To-Smart-Home-PDF-OR.pdf

Posted by aktur at Feb 04, 2014 09:55

FWIW: Othmar's book and this document do deal with presence detection scripting, but not based on Z-Wave motion detectors. Motion detectors are not in the list of OpenRemote certified Z-Wave devices.

Posted by pz1 at Feb 04, 2014 10:34

Motion detectors are not in the list of OpenRemote certified Z-Wave devices.

Good that I did not know about this . I'm using Z-wave motion detectors without problems with following rules:

rule "Mark PIR1"
when
  $e: Event(source=="PIR 1-OnOffSensor")
then
  // Call Applescript via VPIR1 command
  execute.command("VPIR1");
end

BTW, they were imported in my pro design without problems.

Posted by aktur at Feb 04, 2014 10:45

Michal,

Please contact Pierre and have your motion detector added to the list.

Thanks,

– Juha

Posted by juha at Feb 04, 2014 11:55

I was aware that some can be considered as a binary sensor, but I don't know if it works with any multi sensor z-wave device. So it is indeed good to report specific devices that work with a protocol

Posted by pz1 at Feb 04, 2014 14:00
Document generated by Confluence on Jun 05, 2016 09:37