List of functions

The event property has functions. Each function describes a specific type of event and has a number of acceptable values, which are events of the specified type that the sensor can transmit.

Function Description
vibration

Displaying events of physical interaction: vibrating, falling, tilting.

open

Displaying events for opening/closing doors, windows, and so on.

button

Displaying button click events.

motion

Displaying events relating to movement detection in the sensor range.

smoke

Displaying smoke detection events in the room.

gas

Displaying gas detection events in the room.

battery_level

Displaying battery charge events.

food_level

Displaying events related to the pet food level.

water_level

Displaying events relating to the water level.

water_leak

Displaying water leak events.

Function Description
vibration

Displaying events of physical interaction: vibrating, falling, tilting.

open

Displaying events for opening/closing doors, windows, and so on.

button

Displaying button click events.

motion

Displaying events relating to movement detection in the sensor range.

smoke

Displaying smoke detection events in the room.

gas

Displaying gas detection events in the room.

battery_level

Displaying battery charge events.

food_level

Displaying events related to the pet food level.

water_level

Displaying events relating to the water level.

water_leak

Displaying water leak events.

vibration

Displaying physical impact events: vibration, falling, flipping.

Below is a description of the vibration object from the Property description section.

parameters object
Parameter Type Description
instance String Function name for a property. Acceptable values: vibration.
events Array of event objects

Array of event objects that describe events supported by the property. Minimum number of events in the array: 1.

The event object that is a part of the events array
value String Function name for a property. Acceptable values:
  • tilt — Tilting.
  • fall — Falling.
  • vibration — Vibrating.
parameters object
Parameter Type Description
instance String Function name for a property. Acceptable values: vibration.
events Array of event objects

Array of event objects that describe events supported by the property. Minimum number of events in the array: 1.

The event object that is a part of the events array
value String Function name for a property. Acceptable values:
  • tilt — Tilting.
  • fall — Falling.
  • vibration — Vibrating.

open

Displaying events for opening/closing doors, windows, and so on.

Below is a description of the open object from the Property description section.

parameters object
Parameter Type Description
instance String Function name for a property. Acceptable values: open.
events Array of event objects

Array of event objects that describe events supported by the property. Minimum number of events in the array: 1.

The event object that is a part of the events array
value String Function name for a property. Acceptable values:
  • opened — Open.
  • closed — Closed.
parameters object
Parameter Type Description
instance String Function name for a property. Acceptable values: open.
events Array of event objects

Array of event objects that describe events supported by the property. Minimum number of events in the array: 1.

The event object that is a part of the events array
value String Function name for a property. Acceptable values:
  • opened — Open.
  • closed — Closed.

button

Displaying button click events.

Below is a description of the button object from the Property description section.

parameters object
Parameter Type Description
instance String Function name for a property. Acceptable values: button.
events Array of event objects

Array of event objects that describe events supported by the property. Minimum number of events in the array: 1.

The event object that is a part of the events array
value String Function name for a property. Acceptable values:
  • click — Single press.
  • double_click — Double press.
  • long_press — Long press.
parameters object
Parameter Type Description
instance String Function name for a property. Acceptable values: button.
events Array of event objects

Array of event objects that describe events supported by the property. Minimum number of events in the array: 1.

The event object that is a part of the events array
value String Function name for a property. Acceptable values:
  • click — Single press.
  • double_click — Double press.
  • long_press — Long press.

motion

Displaying events relating to movement detection in the sensor range.

Below is a description of the motion object from the Property description section.

parameters object
Parameter Type Description
instance String Function name for a property. Acceptable values: motion.
events Array of event objects

Array of event objects that describe events supported by the property. Minimum number of events in the array: 1.

The event object that is a part of the events array
value String Function name for a property. Acceptable values:
  • detected — Detected.
  • not_detected — Not detected.
parameters object
Parameter Type Description
instance String Function name for a property. Acceptable values: motion.
events Array of event objects

Array of event objects that describe events supported by the property. Minimum number of events in the array: 1.

The event object that is a part of the events array
value String Function name for a property. Acceptable values:
  • detected — Detected.
  • not_detected — Not detected.

smoke

Displaying smoke detection events in the room.

Below is a description of the smoke object from the Property description section.

parameters object
Parameter Type Description
instance String Function name for a property. Acceptable values: smoke.
events Array of event objects

Array of event objects that describe events supported by the property. Minimum number of events in the array: 1.

The event object that is a part of the events array
value String Function name for a property. Acceptable values:
  • detected — Detected.
  • not_detected — Not detected.
  • high — High level.
parameters object
Parameter Type Description
instance String Function name for a property. Acceptable values: smoke.
events Array of event objects

Array of event objects that describe events supported by the property. Minimum number of events in the array: 1.

The event object that is a part of the events array
value String Function name for a property. Acceptable values:
  • detected — Detected.
  • not_detected — Not detected.
  • high — High level.

gas

Displaying gas detection events in the room.

Below is a description of the gas object from the Property description section.

parameters object
Parameter Type Description
instance String Function name for a property. Acceptable values: gas.
events Array of event objects

Array of event objects that describe events supported by the property. Minimum number of events in the array: 1.

The event object that is a part of the events array
value String Function name for a property. Acceptable values:
  • detected — Detected.
  • not_detected — Not detected.
  • high — High level.
parameters object
Parameter Type Description
instance String Function name for a property. Acceptable values: gas.
events Array of event objects

Array of event objects that describe events supported by the property. Minimum number of events in the array: 1.

The event object that is a part of the events array
value String Function name for a property. Acceptable values:
  • detected — Detected.
  • not_detected — Not detected.
  • high — High level.

battery_level

Displaying battery charge events.

Below is a description of the battery_level object from the Property description section.

parameters object
Parameter Type Description
instance String Function name for a property. Acceptable values: battery_level.
events Array of event objects

Array of event objects that describe events supported by the property. Minimum number of events in the array: 1.

The event object that is a part of the events array
value String Function name for a property. Acceptable values:
  • low — Low.
  • normal — Normal.
parameters object
Parameter Type Description
instance String Function name for a property. Acceptable values: battery_level.
events Array of event objects

Array of event objects that describe events supported by the property. Minimum number of events in the array: 1.

The event object that is a part of the events array
value String Function name for a property. Acceptable values:
  • low — Low.
  • normal — Normal.

food_level

Displaying events related to the pet food level.

Below is a description of the food_level object from the Property description section.

parameters object
Parameter Type Description
instance String Function name for a property. Acceptable values: food_level.
events Array of event objects

Array of event objects that describe events supported by the property. Minimum number of events in the array: 1.

The event object that is a part of the events array
value String Function name for a property. Acceptable values:
  • empty — Empty.
  • low — Low.
  • normal — Normal.
parameters object
Parameter Type Description
instance String Function name for a property. Acceptable values: food_level.
events Array of event objects

Array of event objects that describe events supported by the property. Minimum number of events in the array: 1.

The event object that is a part of the events array
value String Function name for a property. Acceptable values:
  • empty — Empty.
  • low — Low.
  • normal — Normal.

water_level

Displaying events relating to the water level.

Below is a description of the water_level object from the Property description section.

parameters object
Parameter Type Description
instance String Function name for a property. Acceptable values: water_level.
events Array of event objects

Array of event objects that describe events supported by the property. Minimum number of events in the array: 1.

The event object that is a part of the events array
value String Function name for a property. Acceptable values:
  • empty — Empty.
  • low — Low.
  • normal — Normal.
parameters object
Parameter Type Description
instance String Function name for a property. Acceptable values: water_level.
events Array of event objects

Array of event objects that describe events supported by the property. Minimum number of events in the array: 1.

The event object that is a part of the events array
value String Function name for a property. Acceptable values:
  • empty — Empty.
  • low — Low.
  • normal — Normal.

water_leak

Displaying water leak events.

Below is a description of the water_leak object from the Property description section.

parameters object
Parameter Type Description
instance String Function name for a property. Acceptable values: water_leak.
events Array of event objects

Array of event objects that describe events supported by the property. Minimum number of events in the array: 1.

The event object that is a part of the events array
value String Function name for a property. Acceptable values:
  • dry — There's no leak.
  • leak — There's a leak.
parameters object
Parameter Type Description
instance String Function name for a property. Acceptable values: water_leak.
events Array of event objects

Array of event objects that describe events supported by the property. Minimum number of events in the array: 1.

The event object that is a part of the events array
value String Function name for a property. Acceptable values:
  • dry — There's no leak.
  • leak — There's a leak.

Support