bell v1.0.3

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

The sensor will return back if the bell is on or off. If none of these is found it will throw the exception.

Input argument (item) can be:

  • string like on/off
  • rawData that holds on/off string
  • streamData parameter that holds on/off string

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

{ “bell” : “on” }

Required properties:

  • item

States:

  • on
  • off