motionSensor v1.0.3

Motion sensor based on stream data. Sensor will check it the object is in motion or not by checking the value of the parameter. In order to trigger the motion (state On), the input argument should be either on or open You can also force the Off event, by providing either off or close(d)

Example of the message payload, where the input argument for the parameter is motionDetector:

 “motionDetector” : “on”

Required properties:

  • parameter


  • On
  • Off

Raw data:

  • resource (string)
  • data (string)