Actions: Arguments and usage with fibaro:call

close

Applies to: blind

Usage

This action takes no arguments.

Example


open

Applies to: blind

Description

Opens a blind.

Usage

This action takes no arguments.

Example

pressButton

Applies to: Virtual_device

Description

Triggers a virtual device button press.

Usage

This action takes one argument.

  • The number of the button to be pressed.  Each element of a virtual device has a unique number starting from 1.  If your virtual device has two labels followed by two buttons, the buttons will be numbered 3 and 4.

Example

sendDefinedEmailNotification

Applies to: HC_user

Description

Sends a notification to the email address associated with a user.

Usage

This action takes one argument.

  • The id of the notification to be sent.

Example

sendDefinedPushNotification

Applies to: IOS_device

Description

Sends a push notification to a device.

Usage

This action takes one argument.

  • The id of the notification to be sent.

Example

sendDefinedSMSNotification

Applies to: HC_user

Description

Sends an SMS notification to a phone number.

Usage

This action takes two arguments.

  • The phone number to send the message to.
    This should be in the form xxyyyyyyyyy where xx = country code and yyyyyyyyy = phone number.
  • The id of the notification to be sent.

Example

sendEmail

Applies to: HC_user

Description

Sends an email to the email address associated with a user.

Usage

This action takes two arguments.

  • The subject of the email.
  • The message body of the email.

Example

sendPhotoToEmail

Applies to: IP_camera

Description

Sends a still image from a camera to a specified email address.

Usage

This action takes one argument.

  • The email address to send the image to.

Example

sendPhotoToUser

Applies to: IP_camera

Description

Sends a still image from a camera to the email address associated with a user.

Usage

This action takes one argument.

  • The id number of the user to send the image to.

Example

sendPush

Applies to: IOS_device

Description

Sends a push notification to an iOS device.

The device must have connected with the Home Centre recently, however once this connection has been made the app can be closed.

Usage

This action takes one argument.

  • The message to be pushed to the device.

Example

setArmed

Applies to: motion_sensor, door_sensor, window_sensor, smoke_sensor

Description

Arms or disarms a device.

Usage

This action takes one argument.

  • The armed state of the device. 0 = disarmed, 1 = armed.

Example

setB

Applies to: rgb_driver

Description

Sets the brightness of the blue channel of an rgb_driver.

Usage

This action takes one argument.

  • The brightness (0-99) of the channel.

Example

setColor

Applies to: rgb_driver

Description

Sets the colour of an rgb_driver.

This is done by setting the brightness of the red, green, blue and white channels.

Usage

This action takes four arguments.

  • The brightness (0-99) of the red channel.
  • The brightness (0-99) of the green channel.
  • The brightness (0-99) of the blue channel.
  • The brightness (0-99) of the white channel.

Even if the device is in RGB mode, the white channel needs to be specified – in this case, just use 0.

Example

setG

Applies to: rgb_driver

Description

Sets the brightness of the green channel of an rgb_driver.

Usage

This action takes one argument.

  • The brightness (0-99) of the channel..

Example

setProperty

Applies to: virtual_device

Description

Sets value of the elements of a virtual device (labels and sliders).

Usage

This action takes two arguments.

  • The name of the element.
  • The value to set the element to.

Example

setR

Applies to: rgb_driver

Description

Sets the brightness of the red channel of an rgb_driver.

Usage

This action takes one argument.

  • The brightness (0-99) of the channel..

Example

setSlider

Applies to: virtual_device

Description

Triggers a change in the value of a virtual device slider.

Usage

This action takes two arguments.

  • The number of the slider to be changed.  Each element of a virtual device has a unique number starting from 1.  If your virtual device has two labels followed by two buttons and then a slider, the slider will be numbered 5.
  • The value (0-99) to set the slider to.

Example

setTargetLevel

Applies to: thermostat_setpoint

Description

Sets the target temperature of a thermostat_setpoint.

Usage

This action takes one argument.

  • A temperature in degrees.

Example

setTime

Applies to: thermostat_setpoint

Description

Sets the value of the timeStamp property of the thermostat_set.

Usage

This action takes one argument.

  • A timestamp.

Example

setValue

Applies to: dimmable_light, blind, rgb_driver

Description

Sets the brightness of a dimmable_light or rgb_driver or sets the position of a blind.

When changing the brightness of rgb_drivers, all channels are set to the same level (white light)

Usage

This action takes one argument.

  • A value (0-99) representing the brightness of the light or position of the blind.
    For a blind, 0 = fully closed, 99 = fully open.

Example

startProgram

Applies to: rgb_driver

Description

Instruct the rgb_driver to play one of the preconfigured colour programmes.

Usage

This action takes one argument.

    • The light programme number to run.

Example

stop

Applies to: blind

Description

Stops the movement of a blind.

Usage

This action takes no arguments.

Example

turnOff

Applies to: binary_light, dimmable_light, rgb_driver

Description

Turns off a device.

Usage

This action takes no arguments.

Example

turnOn

Applies to: binary_light, dimmable_light, rgb_driver

Description

Turns on a device.

Usage

This action takes no arguments.

Example