Skip to Content
🚀 We just launched! Please star us on Github!

Fan Channel

Channel Category: fan

Controls fan devices, including speed, oscillation, and modes for air circulation.


Required Properties

PropertyData TypeRangeUnitPermissions
onBooltrue/false-RW (Read/Write)

Property Details

on

Indicates the on/off state of the fan:

  • true: The fan is on.
  • false: The fan is off.

Optional Properties

PropertyData TypeRangeUnitPermissions
swingBooltrue/false-RW (Read/Write)
speedUchar0–100%RW (Read/Write)
directionEnumclockwise/counter_clockwise-RW (Read/Write)

Property Details

swing

Indicates whether the swing mode is enabled:

  • true: Swing mode is enabled.
  • false: Swing mode is disabled.

speed

Represents the rotation speed of the fan:

  • Expressed as a percentage (0–100%) of the maximum supported speed.

direction

Specifies the direction of the fan’s rotation:

  • Possible values:
    • clockwise
    • counter_clockwise
Last updated on