door v1.0.6

This sensor can be used in case you want either push the door state using a Broker - via getStreamData call, or if the state of the door comes from another node, via getRawData.

The sensor will return back if the door is open or closed. If none of these is found it will throw the exception.

Input argument (item) can be:

  • string like open/close
  • rawData which holds open/close string
  • streamData parameter that holds open/close string

Example: use as the item “door” and then push this data:

{ “door” : “open” }

Required properties:

  • item


  • open
  • closed